/* ============================================================
   Ju & Ju Photographie — Feuille de styles (version immersive)
   ============================================================ */

:root {
  --cream: #f6f1e8;
  --cream-2: #ece2d5;
  --paper: #fffaf2;
  --sand: #e7ddd0;
  --ink: #191713;
  --ink-soft: #3d362f;
  --muted: #81766d;
  --line: #ddd2c5;
  --form-line: rgba(25, 23, 19, 0.14);
  --terracotta: #9a533d;
  --gold: #b08d57;
  --gold-soft: #d8bd88;
  --white: #ffffff;

  --serif: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  --sans: "Jost", "Jost Fallback", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --nav-offset: 88px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: var(--nav-offset);
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
}

body {
  position: relative;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink-soft);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 17px;
}


img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.02;
  letter-spacing: -0.018em;
}

.section { padding: clamp(70px, 10vw, 142px) 24px; }

.section__head { max-width: var(--container); margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section__title { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -0.03em; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 34px;
  border: 1px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  background: none;
}
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }
.btn--ghost-light { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--gold); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn[hidden] { display: none !important; }

/* ============================================================
   Préchargeur
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner { text-align: center; }
.preloader__mono {
  font-family: var(--serif); font-size: 2.4rem; color: var(--cream);
  letter-spacing: 0.1em; display: block; margin-bottom: 18px;
}
.preloader__bar { display: block; width: 160px; height: 1px; background: rgba(255,255,255,0.2); overflow: hidden; }
.preloader__fill { display: block; height: 100%; width: 0; background: var(--gold-soft); transition: width 1.1s var(--ease); }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10001;
  padding: 22px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(246, 241, 232, 0.97);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--line);
}
.nav.nav--menu-open {
  background: var(--cream);
}
.nav__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { display: flex; flex-direction: column; line-height: 1; color: #fff; transition: color 0.4s; }
.nav.is-scrolled .nav__logo { color: var(--ink); }
.nav__logo-mark { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.02em; }
.nav__logo-sub { font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase; opacity: 0.8; margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__link {
  position: relative; font-size: 0.82rem; letter-spacing: 0.06em; color: #fff;
  font-weight: 400; transition: color 0.3s;
}
.nav.is-scrolled .nav__link { color: var(--ink-soft); }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: var(--gold); transition: width 0.3s var(--ease);
}
.nav__link:hover::after { width: 100%; }
.nav__link--cta {
  border: 1px solid rgba(255,255,255,0.5); padding: 9px 22px; border-radius: 50px;
}
.nav__link--cta::after { display: none; }
.nav.is-scrolled .nav__link--cta { border-color: var(--line); }
.nav__link--cta:hover { background: var(--gold); color: #fff !important; border-color: var(--gold); }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; z-index: 1100; }
.nav__burger span { width: 26px; height: 2px; background: #fff; transition: all 0.35s var(--ease); }
.nav.is-scrolled .nav__burger span { background: var(--ink); }
.nav__burger.is-open span { background: var(--ink); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 19s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero__overlay { position: absolute; inset: 0; background:
  radial-gradient(circle at 50% 36%, rgba(20,18,15,0.05), rgba(20,18,15,0.42) 48%, rgba(20,18,15,0.74)),
  linear-gradient(180deg, rgba(20,18,15,0.32) 0%, rgba(20,18,15,0.2) 40%, rgba(20,18,15,0.6) 100%); }

.hero__content { color: #fff; max-width: 980px; padding: 0 24px; }
.hero__eyebrow { margin-bottom: 1.6rem; color: rgba(255,255,255,0.9); text-transform: uppercase; }
.hero__eyebrow-main { display: block; font-size: 0.78rem; letter-spacing: 0.34em; }
.hero__eyebrow-sub { display: block; margin-top: 6px; font-size: 0.58rem; letter-spacing: 0.28em; opacity: 0.9; }
.hero__title { font-size: clamp(3rem, 8.4vw, 6.6rem); color: #fff; font-weight: 500; letter-spacing: -0.035em; }
.hero__title span { display: block; }
.hero__title-em { font-style: italic; color: var(--gold-soft); }
.hero__sub { margin: 1.8rem auto 0; max-width: 680px; font-size: clamp(1rem, 1.7vw, 1.2rem); letter-spacing: 0.01em; color: rgba(255,255,255,0.9); }
.hero__actions { margin-top: 2.6rem; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; color: #fff; }
.hero__scroll-line {
  width: 2px; height: 48px;
  background: rgba(255, 255, 255, 0.38);
  position: relative; overflow: hidden;
  border-radius: 1px;
}
.hero__scroll-line::after {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 2px; height: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.45);
  animation: hero-scroll-line 2.2s var(--ease) infinite;
}
@keyframes hero-scroll-line {
  0% { transform: translateY(0); opacity: 1; }
  75% { transform: translateY(38px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
.hero__scroll-txt { font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.9; }

/* ============================================================
   Intro
   ============================================================ */
.intro { background: var(--cream); }
.intro__grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.intro__title { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.03em; margin: 0.6rem 0 1.6rem; }
.intro__text p { margin-bottom: 1.2rem; color: var(--ink-soft); max-width: 48ch; }
.intro__text em { color: var(--gold); font-style: italic; }

.intro__stats {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: clamp(20px, 4vw, 38px);
  margin-top: 2.4rem;
}
.stat { display: flex; flex-direction: column; flex: 0 1 auto; min-width: 0; }
.stat__num {
  font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 2.8rem); color: var(--ink); line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat:last-child .stat__num { min-width: 9.5ch; }
.stat__label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 6px; max-width: 14ch; }

.intro__media { position: relative; }
.intro__media picture { display: block; width: 100%; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; }
.intro__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.intro__media-2 { position: absolute; width: 52%; bottom: -36px; right: -24px; aspect-ratio: 1/1 !important; border: 8px solid var(--cream); box-shadow: 0 20px 50px rgba(0,0,0,0.15); }

/* ============================================================
   Citation + cartes
   ============================================================ */
.approach { background: var(--cream-2); }
.approach__quote { max-width: 960px; margin: 0 auto clamp(50px, 7vw, 90px); text-align: center; }
.approach__q { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 4.4vw, 3.4rem); color: var(--ink); line-height: 1.18; letter-spacing: -0.02em; }

.approach__cards { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.approach__cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 980px;
  gap: 16px;
  align-items: stretch;
}
.approach__cards--4 .acard {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.acard {
  position: relative;
  z-index: 0;
  padding: 24px 22px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: transparent;
}
.acard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.62);
  transform-origin: center;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.45s var(--ease), border-color 0.45s var(--ease);
  pointer-events: none;
}
.acard:hover::before {
  transform: scale(1.03);
  border-color: rgba(176, 141, 87, 0.55);
  background: var(--paper);
  box-shadow: 0 16px 42px rgba(25, 23, 19, 0.1);
}
.acard h3 { font-size: 1.45rem; margin: 0 0 10px; line-height: 1.15; }
.acard p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; }

/* ============================================================
   Prestations
   ============================================================ */
.services { background: var(--cream-2); }
.presta { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.presta__media picture { display: block; width: 100%; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; }
.presta__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.presta__lead { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 1.8rem; max-width: 46ch; }
.presta__list { list-style: none; margin: 0 0 2.2rem; padding: 0; }
.presta__list li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--line); color: var(--ink); font-size: 1rem; }
.presta__list li:last-child { border-bottom: 1px solid var(--line); }
.presta__list li::before { content: "♥"; position: absolute; left: 0; top: 13px; color: var(--gold); font-size: 0.9rem; }
.presta-options {
  max-width: var(--container);
  margin: clamp(48px, 7vw, 80px) auto 0;
  padding-top: clamp(8px, 2vw, 16px);
}
.presta-options__label {
  text-align: center;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(24px, 4vw, 36px);
}
.presta-options__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  align-items: stretch;
}
.presta-card {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 28px);
  border-radius: 18px;
  border: 1px solid transparent;
  background: transparent;
}
.presta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  border: 1px solid var(--line);
  background: var(--paper);
  transform-origin: center;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.45s var(--ease), border-color 0.45s var(--ease);
  pointer-events: none;
}
.presta-card:hover::before {
  transform: scale(1.03);
  border-color: rgba(176, 141, 87, 0.55);
  background: var(--white);
  box-shadow: 0 16px 42px rgba(25, 23, 19, 0.1);
}
.presta-card__title {
  font-size: clamp(1.35rem, 2.5vw, 1.55rem);
  margin: 0 0 8px;
  line-height: 1.15;
}
.presta-card__meta {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.presta-card__text {
  flex: 1;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.58;
  margin: 0 0 18px;
}
.presta-card__price {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
}
.services__cta { text-align: center; margin-top: clamp(36px, 5vw, 56px); }
.portfolio-cta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin-top: clamp(36px, 5vw, 56px);
}
.page-hero__switch {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin-top: 28px;
}

/* ============================================================
   Portfolio / Galerie
   ============================================================ */
.portfolio { background: var(--cream); content-visibility: auto; contain-intrinsic-size: auto 900px; }
.gallery {
  max-width: 1400px; margin: 0 auto;
  columns: 3; column-gap: 16px;
}
.gallery__item {
  position: relative; margin-bottom: 16px; break-inside: avoid;
  overflow: hidden; border-radius: var(--radius); cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.gallery__item picture { display: block; width: 100%; }
.gallery__item img { width: 100%; transition: transform 0.8s var(--ease), filter 0.8s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); filter: saturate(1.06); }
.gallery__item:active img { transform: scale(1.14); }

.pf .gallery {
  --pf-gap: 16px;
  gap: var(--pf-gap);
  columns: auto;
  column-count: unset;
}
.pf .gallery__row {
  display: contents;
}
.pf .gallery__item {
  margin-bottom: 0;
  break-inside: auto;
  min-height: 0;
  overflow: hidden;
  align-self: stretch;
  position: relative;
}
.pf .gallery__item picture {
  display: block;
  width: 100%;
  height: 100%;
}
.pf .gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.pf .gallery__item img:not([src]) {
  background: rgba(28, 26, 23, 0.06);
}

@media (min-width: 981px) {
  .pf .gallery {
    /* vw + px : évite le 100% qui bascule sur la hauteur du conteneur dans grid-auto-rows */
    --pf-col: calc((min(100vw - 48px, 1400px) - 2 * var(--pf-gap)) / 3);
    --pf-row: calc((var(--pf-col) * 4 / 3 - var(--pf-gap)) / 2);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: var(--pf-row);
    grid-auto-flow: dense;
  }
  .pf .gallery__item--portrait {
    grid-column: span 1;
    grid-row: span 2;
  }
  .pf .gallery__item--landscape-wide {
    grid-column: span 2;
    grid-row: span 2;
  }
  .pf .gallery__item--landscape-narrow {
    grid-column: span 1;
    grid-row: span 1;
  }
  .pf .gallery__item--landscape:not(.gallery__item--landscape-wide):not(.gallery__item--landscape-narrow) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .pf .gallery__item--row-full {
    grid-column: 1 / -1;
    grid-row: span 2;
  }
}

/* ============================================================
   Nous
   ============================================================ */
.about { background: var(--cream); padding-bottom: clamp(48px, 6.5vw, 88px); }
.about__people { max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: clamp(50px, 8vw, 110px); }
.person { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.person--reverse { grid-template-columns: 1.1fr 0.9fr; }
.person--reverse .person__photo { order: 2; }
.person__photo picture { display: block; width: 100%; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.person__name { font-size: clamp(2rem, 4vw, 3rem); }
.person__name small {
  font-size: 0.38em;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.person__role { font-family: var(--sans); color: var(--gold); letter-spacing: 0.12em; font-size: 0.8rem; text-transform: uppercase; margin: 8px 0 20px; }
.person__body p { margin-bottom: 1rem; color: var(--ink-soft); }
.about__note { max-width: 760px; margin: clamp(48px, 7vw, 90px) auto 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--ink); line-height: 1.3; }
.about__video { margin: clamp(52px, 7vw, 80px) auto 0; }
.about__video--portrait { max-width: min(340px, 78vw); }
.about__video--landscape { max-width: min(920px, 94vw); }
.about__video-inner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 20px 50px rgba(28, 26, 23, 0.12);
}
.about__video--portrait .about__video-inner { aspect-ratio: 9 / 16; }
.about__video--landscape .about__video-inner { aspect-ratio: 16 / 9; }
.about__video-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.about__video-facade {
  background: var(--ink);
  cursor: pointer;
}
.about__video-facade picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.about__video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__video-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.about__video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.about__video-play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--ink);
}
.about__video-play:hover .about__video-play-icon,
.about__video-play:focus-visible .about__video-play-icon {
  transform: scale(1.06);
  transition: transform 0.25s var(--ease);
}
.about__video-play:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 4px;
}

/* ============================================================
   Témoignages
   ============================================================ */
.testi { background: var(--ink); color: var(--cream); }
.testi .eyebrow { color: var(--gold-soft); }
.testi .section__title { color: var(--cream); }
.testi__slider { max-width: 900px; margin: 0 auto; overflow: hidden; text-align: center; }
.testi__track { display: flex; transition: transform 0.7s var(--ease); }
.testi__item { min-width: 100%; padding: 0 12px; flex: 0 0 100%; }
.testi__item p { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.32; color: var(--cream); letter-spacing: -0.01em; }
.testi__item cite { display: block; margin-top: 24px; font-family: var(--sans); font-style: normal; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); }
.testi__dots {
  display: flex; gap: 10px; justify-content: center; align-items: center;
  margin-top: 40px; padding-bottom: 6px;
}
.testi__dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,0.25); cursor: pointer; transition: all 0.3s;
  flex-shrink: 0;
}
.testi__dots button.is-active { background: var(--gold-soft); width: 11px; height: 11px; }

/* ============================================================
   Contact / Wizard
   ============================================================ */
.contact { background: var(--cream); display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 80px); max-width: var(--container); margin: 0 auto; align-items: start; }
.contact__aside { position: sticky; top: 120px; align-self: start; }
.contact__intro { position: static; }
.contact__intro .section__title { text-align: left; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.contact__intro p { margin-top: 1.2rem; color: var(--ink-soft); max-width: 40ch; }
.contact__intro em { color: var(--gold); font-style: italic; }
.contact__info { list-style: none; margin-top: 2.4rem; display: flex; flex-direction: column; gap: 18px; }
.contact__info li { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 14px; }
.contact__info span { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact__info a { font-size: 1.1rem; color: var(--ink); }
.contact__info a:hover { color: var(--gold); }
.contact__info--plain { font-size: 1.05rem; color: var(--ink); }
.contact__social-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.contact__social-links a { font-size: 1.1rem; color: var(--ink); }
.contact__social-links a:hover { color: var(--gold); }

.wizard { background: var(--paper); border: 1px solid var(--form-line); border-radius: 10px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 32px 78px rgba(25,23,19,0.08); width: 100%; min-width: 0; }

@media (min-width: 981px) {
  .wizard { margin-top: clamp(72px, 10vw, 148px); }
}

.wizard__progress { display: grid; gap: 12px; margin-bottom: 34px; }
.wizard__progress-label { color: var(--gold); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.wizard__progress-bar { height: 3px; background: var(--cream-2); border-radius: 0; overflow: hidden; }
.wizard__progress-bar span { display: block; height: 100%; width: 25%; background: var(--gold); border-radius: 3px; transition: width 0.5s var(--ease); }

.wizard__body {
  display: grid;
  min-width: 0;
}

.step {
  grid-area: 1 / 1;
  display: grid;
  gap: 18px;
  align-content: start;
  min-width: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.step.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  animation: wizardStepIn 0.35s var(--ease);
}
@keyframes wizardStepIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes stepIn { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: translateX(0); } }
.step__title { font-family: var(--serif); font-weight: 500; color: var(--ink); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -0.02em; margin: 0 0 8px; }

.field { margin-bottom: 0; }
.field label,
.field__label {
  display: block;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 400;
  padding: 0;
}
.field--chips {
  border: 0;
  outline: none;
  background: transparent;
  padding: 0;
  margin: 0;
}
.field--chips:focus,
.field--chips:focus-within {
  outline: none;
  box-shadow: none;
}
.field label small,
.field__label small { color: var(--muted); font-size: 0.74rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--cream);
  border-radius: var(--radius);
  outline: none;
  font-weight: 300;
  box-shadow: none;
  transition: none;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  background: var(--cream-2);
  border-color: var(--gold-soft);
  transform: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: #fff;
  outline: none;
  box-shadow: none;
}
.field input.is-error { border-color: var(--terracotta); background: #f7ece6; }
.field textarea { resize: vertical; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0;
  margin: 0;
}
.chips:focus,
.chips:focus-within,
.chips[role="radiogroup"]:focus,
.chips[role="radiogroup"]:focus-within {
  outline: none;
  box-shadow: none;
}
.chip {
  padding: 11px 18px;
  border: 0;
  border-radius: 50px;
  background: var(--cream);
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.35;
  color: var(--ink-soft);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  box-shadow: inset 0 0 0 1px transparent;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.chip:hover,
.chip:focus,
.chip:focus-visible,
.chip:active {
  outline: none;
  transform: none;
  border: 0;
}
.chip:hover:not(.is-selected),
.chip:focus-visible:not(.is-selected) {
  background: var(--cream-2);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--gold-soft);
}
.chip.is-selected {
  background: var(--ink);
  color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.chip.is-selected:hover,
.chip.is-selected:focus-visible {
  background: var(--ink-soft);
  color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.wizard__nav .btn:hover,
.wizard__nav .btn:active {
  transform: none;
}

/* Wizard — retours visuels sans saut de mise en page */
.wizard__form {
  min-width: 0;
}
.wizard__form .btn {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  transform: none !important;
}
.wizard__form .btn--dark:hover {
  background: var(--gold);
  color: var(--white);
}
.wizard__form .btn--ghost:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--gold-soft);
}
.wizard__form .field input,
.wizard__form .field textarea {
  min-height: 52px;
  border: 1px solid transparent;
  background-color: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.wizard__form .field input:hover,
.wizard__form .field textarea:hover {
  border-color: transparent;
  transform: none;
  box-shadow: inset 0 0 0 1px var(--gold-soft);
  background-color: var(--cream-2);
}
.wizard__form .field input:focus,
.wizard__form .field textarea:focus {
  border-color: transparent;
  transform: none;
  box-shadow: inset 0 0 0 1px var(--gold);
  background-color: #fff;
}
.wizard__form .field input.is-error,
.wizard__form .field textarea.is-error {
  box-shadow: inset 0 0 0 1px var(--terracotta);
  background-color: #f7ece6;
}
.wizard__form .field textarea {
  resize: none;
  height: 120px;
  min-height: 120px;
}
.wizard__form .field input:-webkit-autofill,
.wizard__form .field input:-webkit-autofill:hover,
.wizard__form .field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--cream) inset;
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  transition: background-color 99999s ease-out 0s;
}
.wizard__form .field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
}

.wizard__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.wizard__error {
  margin-top: 20px;
  padding: 14px 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--terracotta);
  background: rgba(154, 83, 61, 0.08);
  border: 1px solid rgba(154, 83, 61, 0.25);
  border-radius: var(--radius);
}
.wizard__error a { text-decoration: underline; }
.wizard__error a:hover { color: var(--gold); }
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.wizard__nav .btn { flex: 0 0 auto; }
#btnNext, #btnSubmit { margin-left: auto; }
#btnSubmit[hidden], #btnNext[hidden], #btnPrev[hidden] { display: none !important; }

.wizard__success { text-align: center; padding: 40px 10px; animation: stepIn 0.5s var(--ease); }
.wizard__success-heart { color: var(--gold); font-size: 1.15em; }
.wizard__success h3 { font-size: 2.4rem; margin-bottom: 12px; }
.wizard__success p { color: var(--ink-soft); margin-bottom: 26px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: 28px 24px; }
.footer__line {
  max-width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px 24px;
  font-size: 0.82rem; line-height: 1.5;
}
.footer__left { justify-self: start; text-align: left; }
.footer__center {
  justify-self: center;
  display: flex; align-items: center; justify-content: center;
  gap: 10px 14px; flex-wrap: wrap;
}
.footer__right { justify-self: end; text-align: right; }
.footer__brand { font-family: var(--serif); font-size: 1.05rem; color: var(--cream); font-weight: 500; }
.footer__line a { color: rgba(255,255,255,0.78); transition: color 0.3s; white-space: nowrap; }
.footer__line a:hover { color: var(--gold-soft); }
.footer__dot { color: rgba(255,255,255,0.35); user-select: none; }
.footer__top {
  max-width: var(--container);
  margin: 0 auto 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}
.footer__top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.32);
  background: transparent;
  color: rgba(255,255,255,0.82);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.footer__top-btn:hover {
  color: var(--cream);
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
}
.back-top-fab {
  display: none;
  position: fixed;
  right: 14px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 9990;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,0.94);
  color: var(--ink);
  box-shadow: 0 6px 22px rgba(0,0,0,0.12);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.back-top-fab span { display: block; transform: translateY(-1px); }
.back-top-fab:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.back-top-fab:active { transform: translateY(0); }
body.menu-open .back-top-fab { z-index: 9990; }

/* ============================================================
   Page légale (CGV)
   ============================================================ */
.legal-hero {
  background: var(--cream-2);
  padding-top: clamp(120px, 16vw, 160px);
  padding-bottom: clamp(48px, 7vw, 72px);
  text-align: center;
}
.legal-hero__inner { max-width: 760px; margin: 0 auto; }
.legal-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  letter-spacing: -0.03em;
  margin-top: 0.6rem;
}

.legal { background: var(--cream); }
.legal__inner { max-width: 760px; margin: 0 auto; }
.legal__block {
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
}
.legal__block:first-child { border-top: 0; padding-top: 0; }
.legal__block h2 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.85rem;
  line-height: 1.2;
}
.legal__block p {
  color: var(--ink-soft);
  line-height: 1.78;
  margin-bottom: 0.85rem;
}
.legal__block p:last-child { margin-bottom: 0; }
.legal__block a { color: var(--ink); border-bottom: 1px solid var(--gold-soft); transition: color 0.3s; }
.legal__block a:hover { color: var(--gold); }

.faq { background: var(--cream); }
.faq__inner { max-width: 760px; margin: 0 auto; }
.faq__intro {
  text-align: center; max-width: 540px; margin: 0 auto 2.5rem;
  color: var(--ink-soft); line-height: 1.7;
}
.faq__list { border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 2rem 1.25rem 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  position: relative;
  transition: color 0.3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary { color: var(--gold); }
.faq__item[open] summary::after { content: "−"; }
.faq__item p {
  padding: 0 0 1.35rem;
  color: var(--ink-soft);
  line-height: 1.78;
  max-width: 68ch;
}
.faq__item a { color: var(--ink); border-bottom: 1px solid var(--gold-soft); }
.faq__item a:hover { color: var(--gold); }
.faq__cta {
  text-align: center;
  margin-top: clamp(40px, 6vw, 64px);
}
.faq__cta p { color: var(--ink-soft); margin-bottom: 1.2rem; }

.nav__link--active { color: var(--gold-soft); }
.nav.is-scrolled .nav__link--active { color: var(--gold); }

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 11000;
  background: rgba(15,13,11,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox__img { max-width: 96vw; max-height: 94vh; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox__close { position: absolute; top: 24px; right: 30px; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); color: #fff; width: 54px; height: 54px; border-radius: 50%; font-size: 2rem; cursor: pointer; transition: background 0.3s; }
.lightbox__nav:hover { background: rgba(255,255,255,0.2); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

/* ============================================================
   Page Portfolio
   ============================================================ */
.page-hero { position: relative; min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 120px 24px 70px; }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,15,0.5), rgba(20,18,15,0.6)); }
.page-hero__content { color: #fff; max-width: 760px; }
.page-hero__content .eyebrow { color: var(--gold-soft); }
.page-hero__title { color: #fff; font-size: clamp(2.8rem, 6.5vw, 5rem); letter-spacing: -0.03em; }
.page-hero__sub { margin-top: 1rem; color: rgba(255,255,255,0.9); }

/* ============================================================
   Page 404
   ============================================================ */
.error-page { background: var(--ink); }
.error-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.error-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.error-hero__media picture { display: block; width: 100%; height: 100%; }
.error-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.error-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 36%, rgba(20,18,15,0.08), rgba(20,18,15,0.45) 48%, rgba(20,18,15,0.78)),
    linear-gradient(180deg, rgba(20,18,15,0.35) 0%, rgba(20,18,15,0.25) 40%, rgba(20,18,15,0.72) 100%);
}
.error-hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 720px;
  padding: 0 8px;
}
.error-hero__content .eyebrow { color: rgba(255,255,255,0.88); margin-bottom: 1.2rem; }
.error-hero__code {
  font-family: var(--serif);
  font-size: clamp(5rem, 18vw, 11rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.12);
  margin: 0 0 -0.15em;
  user-select: none;
}
.error-hero__title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}
.error-hero__text {
  margin: 1.4rem auto 0;
  max-width: 42ch;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.9);
}
.error-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 2.2rem;
}

/* ============================================================
   Galeries privées
   ============================================================ */
.galeries { background: var(--cream); content-visibility: auto; contain-intrinsic-size: auto 2400px; }
.galeries__inner { max-width: var(--container); margin: 0 auto; }
.galeries__intro {
  max-width: 52ch;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}
.galeries__hint { display: block; margin-top: 0.5rem; font-size: 0.92rem; color: var(--muted); font-style: italic; }
.galeries__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.galeries__card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.galeries__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
}
.galeries__card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 33% 20px 20px;
  background: none;
  pointer-events: none;
}
.galeries__card-label {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  color: #fff;
  text-align: center;
  width: 100%;
  max-width: 100%;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.72),
    0 0 32px rgba(0, 0, 0, 0.45);
}
.galeries__card:hover {
  transform: scale(1.03);
  border-color: rgba(176, 141, 87, 0.55);
  box-shadow: 0 16px 42px rgba(25, 23, 19, 0.14);
}
.galeries__card:hover img { transform: scale(1.10); filter: saturate(1.05); }
.galeries__card:active {
  transform: scale(1.05);
}
.galeries__card:active img { transform: scale(1.16); }
@media (max-width: 980px) {
  .galeries__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .galeries__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

.pf { background: var(--cream); }
.pf-filters { max-width: var(--container); margin: 0 auto clamp(34px, 5vw, 54px); display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pf-filter { padding: 9px 20px; border-radius: 50px; border: 1px solid var(--line); background: var(--white); font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.04em; color: var(--ink-soft); cursor: pointer; transition: all 0.3s var(--ease); }
.pf-filter:hover { border-color: var(--gold); color: var(--ink); }
.pf-filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pf-empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 2rem 1rem;
  max-width: 36ch;
  margin: 0 auto;
}
.pf-empty code { font-size: 0.9em; color: var(--muted); }
.pf .gallery.is-packing {
  min-height: 280px;
}
.pf .gallery.is-layout-stable {
  grid-auto-flow: row;
}
.gallery__item.is-hidden { display: none; }

/* ============================================================
   Animations au scroll
   ============================================================ */
.reveal { opacity: 0; transition: opacity 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .approach__cards--4 { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
}

@media (max-width: 980px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__media { max-width: 480px; margin: 30px auto 0; }
  .approach__cards { grid-template-columns: 1fr; max-width: 480px; }
  .presta { grid-template-columns: 1fr; }
  .presta__media { max-width: 420px; margin: 0 auto; }
  .presta-options__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .contact { grid-template-columns: 1fr; }
  .contact__aside {
    display: contents;
    position: static;
  }
  .contact__intro { order: 1; }
  .wizard { order: 2; margin-top: clamp(36px, 6vw, 56px); }
  .wizard__body { display: block; }
  .step {
    grid-area: auto;
    display: none;
  }
  .step.is-active {
    display: grid;
  }
  .wizard__nav {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .wizard__nav .btn,
  #btnNext,
  #btnSubmit {
    width: 100%;
    margin-left: 0;
  }
  .contact__info { order: 3; margin-top: clamp(28px, 5vw, 40px); }
  .pf .gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    grid-auto-flow: row;
    gap: 12px;
    columns: auto;
    column-count: auto;
  }
  .pf .gallery__item {
    grid-column: auto;
    grid-row: auto;
    align-self: start;
  }
  .pf .gallery__item picture {
    height: auto;
  }
  .pf .gallery__item img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }
  .pf .gallery__item--landscape img,
  .pf .gallery__item--landscape-wide img,
  .pf .gallery__item--landscape-narrow img {
    aspect-ratio: 3 / 2;
  }
  .pf .gallery__item--portrait,
  .pf .gallery__item--landscape-wide,
  .pf .gallery__item--landscape-narrow,
  .pf .gallery__item--row-full {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: auto;
  }
  .pf .gallery__item--landscape,
  .pf .gallery__item--landscape:not(.gallery__item--landscape-wide):not(.gallery__item--landscape-narrow) {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: auto;
  }
  .gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    columns: auto;
    column-count: auto;
  }
  .gallery__item {
    margin-bottom: 0;
    break-inside: auto;
  }
  .gallery__item--landscape {
    grid-column: 1 / -1;
  }
  /* Portfolio mariage : portraits par paires (évite les trous) */
  .pf .gallery__item--featured {
    grid-column: 1 / -1;
  }
  .pf .gallery__pair {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .pf .gallery__pair .gallery__item {
    margin-bottom: 0;
  }
  /* Portfolio accueil : ordre mobile 1-4-2-3-5-6-7-8-10-11-9-12 */
  .portfolio .gallery__item[data-photo="1"] { order: 1; }
  .portfolio .gallery__item[data-photo="4"] { order: 2; }
  .portfolio .gallery__item[data-photo="2"] { order: 3; }
  .portfolio .gallery__item[data-photo="3"] { order: 4; }
  .portfolio .gallery__item[data-photo="5"] { order: 5; }
  .portfolio .gallery__item[data-photo="6"] { order: 6; }
  .portfolio .gallery__item[data-photo="7"] { order: 7; }
  .portfolio .gallery__item[data-photo="8"] { order: 8; }
  .portfolio .gallery__item[data-photo="10"] { order: 9; }
  .portfolio .gallery__item[data-photo="11"] { order: 10; }
  .portfolio .gallery__item[data-photo="9"] { order: 11; }
  .portfolio .gallery__item[data-photo="12"] { order: 12; }
}

@media (max-width: 560px) {
  .approach__cards--4 { grid-template-columns: 1fr; max-width: 460px; }
}

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .nav__links {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: var(--cream);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__link { color: var(--ink) !important; font-size: 1.4rem; font-family: var(--serif); }
  .nav__link--cta { border-color: var(--ink); padding: 12px 30px; }
  .nav__burger { display: flex; }

  .testi__slider {
    max-width: none;
    margin: 0;
    overflow: visible;
    text-align: left;
  }
  .testi__track {
    transform: none !important;
    transition: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 24px 6px;
    scroll-padding-inline: 24px;
  }
  .testi__track::-webkit-scrollbar { display: none; }
  .testi__item {
    min-width: 86%;
    flex: 0 0 86%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    padding: 0 8px;
  }
  .testi__item p { font-size: clamp(1.25rem, 5.2vw, 1.65rem); }

  .person, .person--reverse { grid-template-columns: 1fr; gap: 24px; }
  .person--reverse .person__photo { order: 0; }
  .person__photo { max-width: 360px; }

  .intro__media-2 { right: 0; }

  .hero__actions { flex-direction: column; width: 100%; max-width: 300px; margin-left: auto; margin-right: auto; }
  .hero__actions .btn { width: 100%; }

  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }

  .footer__line {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 12px;
  }
  .footer__left, .footer__right { justify-self: center; text-align: center; }

  .back-top-fab {
    display: inline-flex;
  }
}

@media (max-width: 540px) {
  .gallery { gap: 10px; }
  .wizard__steps button { width: 26px; height: 26px; font-size: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
