/* ==========================================================
   Showkapics — feuille de style
   Direction « Galerie » noir & blanc
   ========================================================== */

:root {
  --ink: #312023;
  --ink-2: #3c282c;
  --paper: #e2dcce;
  --paper-2: #d8d1c1;
  --line: #c9bfad;
  --line-dark: #4b363a;
  --muted: #5e4f4c;        /* 5.6:1 sur --paper */
  --muted-dark: #cfc5b3;   /* 7:1 sur --ink */
  --serif: "Figtree", "Avenir Next", "Avenir", system-ui, sans-serif;
  --sans: "Figtree", "Avenir Next", "Avenir", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0; }
.dark .eyebrow { color: var(--muted-dark); }
.h-display { font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.01em; margin: 0; }
.h-section { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 88px); line-height: 1; margin: 12px 0 0; }
em, .it { font-style: italic; }
.dark { background: var(--ink); color: var(--paper); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .02em; text-decoration: none;
  border: 1px solid currentColor; background: transparent; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid:hover { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.dark .btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.dark .btn--solid:hover { background: transparent; color: var(--paper); }
.dark .btn--ghost { color: var(--paper); }
.dark .btn--ghost:hover { background: var(--paper); color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-inner { display: inline-flex; align-items: center; gap: 10px; pointer-events: none; will-change: transform; }

/* ---------- Header (se compacte au scroll) ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--paper);
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.header__bar {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad);
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: height .4s var(--ease);
}
.logo { font-size: 14px; font-weight: 600; letter-spacing: .32em; text-decoration: none; display: inline-block; transform-origin: left center; transition: transform .4s var(--ease); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav a { text-decoration: none; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__tools { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid currentColor; border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: transparent; cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: .08em; min-width: 40px; min-height: 34px; border-radius: 999px; transition: background-color .3s, color .3s; }
.lang button[aria-pressed="true"] { background: currentColor; }
.lang button[aria-pressed="true"] span { color: var(--ink); }
.header.is-light .lang button[aria-pressed="true"] span, .header.is-compact .lang button[aria-pressed="true"] span { color: var(--paper); }
.burger { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid currentColor; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 18px; height: 18px; }

.header.is-compact { background: rgba(226, 220, 206, .86); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); }
.header.is-compact .header__bar { height: 58px; }
.header.is-compact .logo { transform: scale(.9); }

@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header.menu-open { background: var(--ink); color: var(--paper); }
  .header.menu-open .lang button[aria-pressed="true"] span { color: var(--ink); }
  .header.menu-open .nav {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); color: var(--paper);
    padding: 12px var(--pad) 28px; font-family: var(--serif); font-size: 34px;
  }
  .header.menu-open .nav a { padding: 6px 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(40px, 8vw, 96px)) 0 clamp(48px, 7vw, 88px); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ink); }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.hero__blob--1 { width: 60vmax; height: 60vmax; left: -15vmax; top: -25vmax; background: radial-gradient(circle, #6e4a50 0%, transparent 65%); animation: drift1 22s ease-in-out infinite alternate; }
.hero__blob--2 { width: 55vmax; height: 55vmax; right: -20vmax; top: 5vmax; background: radial-gradient(circle, #4a2f34 0%, transparent 65%); animation: drift2 26s ease-in-out infinite alternate; }
.hero__blob--3 { width: 40vmax; height: 40vmax; left: 30vw; bottom: -25vmax; background: radial-gradient(circle, #8a6a6a 0%, transparent 60%); opacity: .3; animation: drift3 30s ease-in-out infinite alternate; }
.hero__grain { position: absolute; inset: -50%; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes drift1 { to { transform: translate3d(18vw, 14vh, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-22vw, 10vh, 0) scale(.9); } }
@keyframes drift3 { to { transform: translate3d(-12vw, -16vh, 0) scale(1.2); } }
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-4%, 3%); } 66% { transform: translate(3%, -5%); } 100% { transform: translate(-2%, 2%); } }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__title { font-size: clamp(58px, 9.4vw, 148px); line-height: .92; margin-top: 20px; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .ln > span { display: inline-block; }
.hero__lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: #d6cdbd; max-width: 540px; margin: 32px 0 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__photo { margin: 0; position: relative; translate: 0 var(--py, 0px); max-width: 520px; justify-self: end; width: 100%; }
.hero__photo img { width: 100%; border-radius: 2px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.hero__photo figcaption { margin-top: 12px; font-size: 13px; color: var(--muted-dark); display: flex; justify-content: space-between; gap: 12px; }
.stats { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line-dark); }
.stat { padding: 24px 0 0; }
.stat + .stat { padding-left: clamp(16px, 3vw, 40px); border-left: 1px solid var(--line-dark); }
.stat__num { font-family: var(--serif); font-size: clamp(44px, 6vw, 80px); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 13px; color: var(--muted-dark); margin-top: 8px; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* ---------- Portfolio ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 6vw, 72px); }
.filters { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.filters button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 14px; font-weight: 500; transition: background-color .3s, color .3s, border-color .3s; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.sub-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--ink); padding-bottom: 14px; margin: 0 0 8px; }
.sub-head h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; margin: 0; }
.sub-head p { margin: 0; color: var(--muted); font-size: 14px; }

.series { list-style: none; margin: 0 0 clamp(72px, 10vw, 128px); padding: 0; }
.serie { border-bottom: 1px solid var(--line); }
.serie[hidden] { display: none; }
.serie__btn {
  width: 100%; border: 0; background: transparent; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 8px 24px; align-items: center;
  padding: 26px 0;
}
.serie__num { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.serie__title { font-family: var(--serif); font-size: clamp(30px, 4vw, 52px); line-height: 1.05; transition: transform .6s var(--ease); display: inline-block; }
.serie__meta { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; }
.serie__count { font-size: 13px; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
.serie__count svg { width: 20px; height: 20px; transition: transform .5s var(--ease); }
.serie__strip { grid-column: 2 / -1; display: flex; gap: 10px; overflow: hidden; margin-top: 14px; }
.serie__strip img { height: clamp(90px, 13vw, 150px); width: auto; flex: none; transition: transform .7s var(--ease), filter .7s var(--ease); filter: grayscale(1) contrast(1.05); }
.serie__btn:hover .serie__title, .serie__btn:focus-visible .serie__title { transform: translateX(12px); }
.serie__btn:hover .serie__count svg { transform: translateX(6px); }
.serie__btn:hover .serie__strip img, .serie__btn:focus-visible .serie__strip img { filter: none; }
.serie__btn:hover .serie__strip img:nth-child(odd) { transform: translateY(-6px); }
.serie__btn:hover .serie__strip img:nth-child(even) { transform: translateY(6px); }
@media (hover: none) { .serie__strip img { filter: none; } }
@media (max-width: 640px) {
  .serie__btn { grid-template-columns: 36px minmax(0, 1fr); }
  .serie__count { grid-column: 2; }
  .serie__strip { grid-column: 1 / -1; overflow-x: auto; scrollbar-width: none; }
  .serie__strip::-webkit-scrollbar { display: none; }
}

.masonry { columns: 3 300px; column-gap: 20px; }
.shot { break-inside: avoid; margin: 0 0 20px; }
.shot[hidden] { display: none; }
.shot button { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); cursor: zoom-in; overflow: hidden; }
.shot img { width: 100%; transition: transform 1s var(--ease); }
.shot button:hover img { transform: scale(1.03); }
.shot figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; font-size: 14px; }
.shot figcaption span:last-child { color: var(--muted); }

/* ---------- Visionneuse (dialog) ---------- */
.viewer { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ink); color: var(--paper); overscroll-behavior: contain; }
.viewer::backdrop { background: rgba(0, 0, 0, .9); }
.viewer[open] { animation: viewerIn .5s var(--ease) both; }
@keyframes viewerIn { from { opacity: 0; } to { opacity: 1; } }
.viewer__bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--pad); background: rgba(49, 32, 35, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-dark); }
.viewer__bar h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 34px); margin: 0; line-height: 1.1; }
.viewer__bar p { margin: 2px 0 0; font-size: 13px; color: var(--muted-dark); }
.viewer__close { width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--paper); background: transparent; color: var(--paper); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.viewer__close svg { width: 18px; height: 18px; }
.viewer__body { max-width: 1400px; margin: 0 auto; padding: clamp(20px, 4vw, 48px) var(--pad) 80px; }
.viewer__body.is-album { columns: 2 340px; column-gap: 20px; }
.viewer__body figure { margin: 0 0 20px; break-inside: avoid; }
.viewer__body.is-single { display: flex; justify-content: center; }
.viewer__body.is-single img { max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); width: auto; }
.viewer__body .v-in { animation: vIn .8s var(--ease) both; }
@keyframes vIn { from { opacity: 0; transform: translate3d(0, 30px, 0); } to { opacity: 1; transform: none; } }

/* ---------- À propos ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__text p { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; }
.facts { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts li span:first-child { color: var(--muted); }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }

/* ---------- Formation ---------- */
.course { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.course__list { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.course__list li { counter-increment: c; display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.course__list li::before { content: counter(c, decimal-leading-zero); color: var(--muted-dark); font-size: 13px; padding-top: 4px; }
.badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid currentColor; border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }
.course__note { color: var(--muted-dark); font-size: 15px; margin: 20px 0 0; }
@media (max-width: 860px) { .course { grid-template-columns: 1fr; } }

/* ---------- Avis ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.review { border: 1px dashed var(--line); padding: 32px; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1.25; color: var(--muted); }
.review footer { font-size: 14px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { text-align: left; }
.contact__title { font-size: clamp(56px, 11vw, 168px); }
.contact__row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.contact__note { margin-top: 24px; color: var(--muted-dark); font-size: 15px; max-width: 560px; }

.footer { border-top: 1px solid var(--line-dark); padding: 28px 0 40px; font-size: 13px; color: var(--muted-dark); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--paper); }

/* ==========================================================
   Animations au scroll (activées seulement par le JS)
   ========================================================== */
.motion .reveal { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.motion .reveal.is-in { opacity: 1; transform: none; }
.motion .reveal-img { clip-path: inset(12% 0 12% 0); transition: clip-path 1.4s var(--ease), opacity 1s var(--ease), transform 1.4s var(--ease); }
.motion .reveal-img.is-in { clip-path: inset(0 0 0 0); }


/* ---------- Ajouts : scroll cue, parallaxe ---------- */
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(40px, 6vw, 64px); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--muted-dark); }
.scroll-cue__line { width: 56px; height: 1px; background: currentColor; transform-origin: left; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.about__photo { translate: 0 var(--py, 0px); }

/* ==========================================================
   Animations par section (seulement avec .motion)
   ========================================================== */
/* Hero : lignes du titre qui montent, photo qui se dévoile */
@keyframes lineUp { from { transform: translate3d(0, 110%, 0); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
@keyframes photoIn { from { opacity: 0; clip-path: inset(18% 8% 18% 8%); transform: scale(1.06); } to { opacity: 1; clip-path: inset(0 0 0 0); transform: none; } }
.motion .hero__title:not(.is-static) .ln > span { animation: lineUp 1.1s var(--ease) both; }
.motion .hero__title:not(.is-static) .ln:nth-child(1) > span { animation-delay: .15s; }
.motion .hero__title:not(.is-static) .ln:nth-child(2) > span { animation-delay: .28s; }
.motion .hero__title:not(.is-static) .ln:nth-child(3) > span { animation-delay: .41s; }
.motion .hero-in { animation: fadeUp 1s var(--ease) both; animation-delay: var(--d, 0s); }
.motion .hero-photo img { animation: photoIn 1.6s var(--ease) .35s both; }

/* Titres de section : le texte monte derrière un masque */
.split { overflow: hidden; padding-bottom: .1em; }
.split__in { display: inline-block; }
.motion .split .split__in { transform: translate3d(0, 105%, 0); transition: transform 1.2s var(--ease); }
.motion .split.is-in .split__in { transform: none; }

/* Filets qui se tracent */
.motion .draw { border-bottom-color: transparent; position: relative; }
.motion .draw::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .1s; }
.motion .draw.is-in::after { transform: scaleX(1); }
.motion .draw-top { border-top-color: transparent; }
.motion .draw-top::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--line-dark); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.motion .draw-top.is-in::before { transform: scaleX(1); }

/* Séries : glissent depuis la gauche, vignettes en cascade */
.motion .reveal--left { transform: translate3d(-48px, 0, 0); }
.motion .serie .serie__strip img { opacity: 0; translate: 0 24px; transition: opacity .8s var(--ease), translate .8s var(--ease), transform .7s var(--ease), filter .7s var(--ease); }
.motion .serie.is-in .serie__strip img { opacity: 1; translate: 0 0; }
.motion .serie.is-in .serie__strip img:nth-child(2) { transition-delay: .1s, .1s, 0s, 0s; }
.motion .serie.is-in .serie__strip img:nth-child(3) { transition-delay: .2s, .2s, 0s, 0s; }
.motion .serie.is-in .serie__strip img:nth-child(4) { transition-delay: .3s, .3s, 0s, 0s; }

/* Listes (à propos, formation) : lignes en cascade */
.motion .stagger > li { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.motion .stagger.is-in > li { opacity: 1; transform: none; }
.motion .stagger.is-in > li:nth-child(2) { transition-delay: .1s; }
.motion .stagger.is-in > li:nth-child(3) { transition-delay: .2s; }
.motion .stagger.is-in > li:nth-child(4) { transition-delay: .3s; }

/* Avis : cartes qui se posent */
.motion .reveal--scale { transform: translate3d(0, 30px, 0) scale(.96); }

/* ==========================================================
   Mobile : lecture confortable
   ========================================================== */
@media (max-width: 860px) {
  .hero__photo { max-width: none; justify-self: stretch; }
}
@media (max-width: 640px) {
  :root { --pad: 22px; --header-h: 64px; }
  body { font-size: 18px; line-height: 1.65; }
  .eyebrow { font-size: 13px; letter-spacing: .16em; }
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero__title { font-size: clamp(56px, 16.5vw, 76px); }
  .hero__lead { font-size: 19px; margin-top: 24px; }
  .hero__cta { flex-direction: column; align-items: stretch; margin-top: 32px; }
  .hero__cta .btn, .contact__row .btn { width: 100%; min-height: 56px; font-size: 16px; }
  .hero__photo figcaption, .shot figcaption { font-size: 15px; }
  .stats { grid-template-columns: 1fr; }
  .stat { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .stat__num { font-size: 52px; min-width: 70px; }
  .stat__label { font-size: 16px; margin: 0; }
  .section { padding: 84px 0; }
  .h-section { font-size: clamp(44px, 12.5vw, 56px); }
  .section__head { margin-bottom: 36px; }
  .filters { width: 100%; }
  .filters button { flex: 1; font-size: 15px; }
  .sub-head h3 { font-size: 30px; }
  .sub-head p { font-size: 16px; }
  .serie__btn { padding: 24px 0; }
  .serie__num, .serie__count { font-size: 15px; }
  .serie__title { font-size: 32px; }
  .serie__meta { font-size: 16px; }
  .serie__strip img { height: 120px; }
  .masonry { column-gap: 0; }
  .shot { margin-bottom: 28px; }
  .about__text p { font-size: 19px; }
  .facts li { font-size: 16px; flex-wrap: wrap; gap: 4px 16px; }
  .course__list li { font-size: 18px; padding: 16px 0; }
  .course__note, .contact__note { font-size: 17px; line-height: 1.6; }
  .course .btn { width: 100%; }
  .review { padding: 26px; min-height: 200px; }
  .review blockquote { font-size: 24px; }
  .review footer { font-size: 15px; }
  .contact__title { font-size: clamp(56px, 17vw, 80px); }
  .footer { font-size: 15px; }
  .footer .wrap { flex-direction: column; }
  .viewer__bar p { font-size: 15px; }
  .viewer__body.is-album { columns: 1; }
  .lang button { min-width: 44px; min-height: 38px; font-size: 13px; }
}

/* Tout couper si l'utilisateur préfère moins d'animations */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-img, .split__in, .stagger > li, .serie__strip img { opacity: 1 !important; transform: none !important; translate: none !important; clip-path: none !important; }
  .hero__photo, .about__photo { translate: none !important; }
  .hero__blob { opacity: .4; }
}

/* ==========================================================
   Catégories en carrousel (un bloc = une catégorie)
   ========================================================== */
.hero__grid--solo { grid-template-columns: minmax(0, 1fr); }
.hero__grid--solo .hero__title { font-size: clamp(60px, 9vw, 136px); }
.about__grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 820px; }

.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vw, 80px) clamp(20px, 3vw, 40px); align-items: start; }
.cat[hidden] { display: none; }
.cat__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 14px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--ink); }
.cat__num { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
.cat__count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

.carousel { position: relative; background: var(--ink); outline-offset: 6px; }
.car__track { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.car__track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; scroll-snap-stop: always; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; }
.slide__btn { width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; display: flex; align-items: center; justify-content: center; }
.slide img { width: 100%; height: 100%; object-fit: contain; }
.car__nav { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 999px; border: 0; background: rgba(226, 220, 206, .92); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.car__nav svg { width: 20px; height: 20px; }
.car__nav--prev { left: 14px; } .car__nav--next { right: 14px; }
.car__nav:hover { transform: scale(1.06); }
.carousel:hover .car__nav, .carousel:focus-within .car__nav { opacity: 1; }
.car__nav[disabled] { opacity: 0 !important; pointer-events: none; }
@media (hover: none) { .car__nav { display: none; } }
.dots { display: flex; justify-content: center; gap: 6px; padding-top: 14px; }
.dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .4s var(--ease), background-color .4s var(--ease); }
.dot[aria-current="true"] { width: 22px; background: var(--ink); }

.empty { grid-column: 1 / -1; border: 1px dashed var(--line); padding: clamp(40px, 7vw, 96px) clamp(24px, 5vw, 64px); text-align: center; }
.empty__title { font-family: var(--serif); font-size: clamp(32px, 5vw, 56px); line-height: 1.05; margin: 0 0 12px; }
.empty p:last-child { color: var(--muted); margin: 0 auto; max-width: 520px; }

@media (max-width: 760px) {
  .cats { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .cat__title { font-size: 30px; }
  .cat__count { font-size: 15px; }
  .carousel { margin: 0 calc(var(--pad) * -1); }
  .dot { width: 8px; height: 8px; }
  .dot[aria-current="true"] { width: 24px; }
}
@media (prefers-reduced-motion: reduce) { .car__track { scroll-behavior: auto; } }
@media (max-width: 640px) { .hero__grid--solo .hero__title { font-size: clamp(52px, 15.5vw, 72px); } }

/* ---------- Format Instagram : 4:5, photos collées bord à bord ---------- */
.cats { gap: clamp(56px, 7vw, 104px) clamp(24px, 3.5vw, 48px); }
.cat__title { display: block; margin: 0 0 18px; font-size: clamp(30px, 3.2vw, 44px); }
.carousel { background: var(--paper); overflow: hidden; }
.car__track { gap: 0; }
.slide { aspect-ratio: 4 / 5; overflow: hidden; }
.slide__btn { display: block; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

.cat__count { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 5px 11px; border-radius: 999px; background: rgba(49, 32, 35, .6); color: var(--paper); font-size: 13px; font-weight: 600; letter-spacing: .02em; font-variant-numeric: tabular-nums; pointer-events: none; }
.dots { padding-top: 16px; }
@media (min-width: 761px) { .cat:nth-child(even) { margin-top: clamp(80px, 9vw, 140px); } }
@media (max-width: 760px) { .cat__title { font-size: 32px; margin-bottom: 14px; } .carousel { margin: 0 calc(var(--pad) * -1); } }

/* Montages (plusieurs photos empilées) : affichés en entier dans le cadre 4:5 */
.slide:has(.fit-contain) { background: var(--paper); }
.slide img.fit-contain { object-fit: contain; }
.slide__btn:hover img.fit-contain { transform: none; }

/* ---------- Bannière + logo ---------- */
.hero__grid--solo { display: block; }
.banner { position: relative; margin-bottom: 0; }
.banner__img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 60% 50%; border-radius: 4px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.banner__logo { position: absolute; left: clamp(16px, 3vw, 40px); bottom: 0; width: clamp(92px, 11vw, 150px); height: auto; border-radius: 50%; transform: translateY(45%); box-shadow: 0 0 0 4px var(--ink), 0 10px 30px rgba(0, 0, 0, .5); background: var(--ink); }
.banner__id { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 14px 0 0 calc(clamp(16px, 3vw, 40px) + clamp(92px, 11vw, 150px) + 18px); min-height: calc(clamp(92px, 11vw, 150px) * .45 - 14px); }
.banner__name { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; }
.banner__handle { font-size: 14px; color: var(--muted-dark); }
.banner + .banner__id + .eyebrow { margin-top: clamp(32px, 5vw, 56px); }
@media (max-width: 640px) {
  .banner__img { aspect-ratio: 4 / 3; object-position: 62% 50%; }
  .banner__id { margin-top: 10px; }
}

/* Photos panoramiques coupées sur deux slides : aucun décalage, aucun zoom, aucune ligne entre les deux */
.car__track { transform: translateZ(0); }
.slide, .slide__btn, .slide img { transform: none !important; translate: none !important; }
.slide { margin: 0; padding: 0; }

/* Safari iOS : taille fixe 4:5 sur chaque slide, sans dépendre des hauteurs en %, pour que deux moitiés d'une même photo s'alignent au pixel */
.car__track { align-items: flex-start; }
.slide { height: auto; aspect-ratio: auto; align-self: flex-start; display: block; }
.slide__btn { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; overflow: hidden; }
.slide img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.slide img.fit-contain { height: 100%; aspect-ratio: auto; object-fit: contain; }

/* Typographie façon Classique Autowerks : une seule police géométrique (Figtree) */
.h-display, .h-section, .serie__title, .cat__title, .sub-head h3, .viewer__bar h2, .empty__title, .banner__name, .review blockquote { font-weight: 600; letter-spacing: -.02em; }
.hero__title { font-weight: 700; letter-spacing: -.035em; line-height: .95; }
.contact__title { font-weight: 700; letter-spacing: -.035em; }
.h-display em, .h-section em { font-weight: 500; }
.cat__title { font-size: clamp(24px, 2.4vw, 32px); }
body { font-weight: 400; }
.eyebrow { font-weight: 700; }
.btn { font-weight: 500; letter-spacing: .03em; }

/* Phrase d'accroche signée */
.hero__lead { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; color: #e2dcce; max-width: 600px; }
.hero__lead .sign { display: block; margin-top: 14px; font-size: 15px; font-weight: 600; font-style: italic; letter-spacing: .06em; color: var(--muted-dark); }
.hero__lead strong { display: inline-block; margin-top: 10px; color: var(--paper); font-weight: 600; }
.footer__links a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.contact__row .btn { min-width: 260px; }
@media (max-width: 640px) { .contact__title { font-size: clamp(44px, 13.5vw, 64px); } }
.split { padding-bottom: .16em; }

/* Avis client réel */
.reviews:has(.review--real:only-child) { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.review--real { border: 0; border-left: 2px solid var(--ink); padding: 8px 0 8px clamp(20px, 3vw, 36px); min-height: 0; gap: 20px; }
.review--real blockquote { color: var(--ink); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.35; font-weight: 500; letter-spacing: -.01em; }
.review--real footer { font-size: 15px; font-weight: 600; color: var(--ink); }
.review--real footer a { text-decoration: none; border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { .review--real blockquote { font-size: 22px; } }

.reviews:has(.review--real) { gap: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 56px); }
@media (min-width: 900px) { .reviews:has(.review--real + .review--real) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .reviews:has(.review--real + .review--real) .review--real blockquote { font-size: clamp(20px, 1.9vw, 26px); } }

/* ==========================================================
   TRANSITIONS « WOW »
   ========================================================== */
/* 1. Rideau d'intro */
.intro { display: none; }
.motion .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; background: #312023; color: #e2dcce; clip-path: inset(0 0 0 0); animation: introOut .9s cubic-bezier(.77,0,.18,1) 1.35s forwards; }
.intro__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.intro__logo { width: 84px; height: 84px; border-radius: 50%; animation: introLogo .9s cubic-bezier(.2,.7,.2,1) both; }
.intro__word { display: flex; overflow: hidden; font-weight: 700; font-size: clamp(28px, 6vw, 56px); letter-spacing: .28em; }
.intro__word span { display: inline-block; animation: introLetter .7s cubic-bezier(.2,.7,.2,1) both; }
.intro__word span:nth-child(1){animation-delay:.25s}.intro__word span:nth-child(2){animation-delay:.3s}.intro__word span:nth-child(3){animation-delay:.35s}.intro__word span:nth-child(4){animation-delay:.4s}.intro__word span:nth-child(5){animation-delay:.45s}.intro__word span:nth-child(6){animation-delay:.5s}.intro__word span:nth-child(7){animation-delay:.55s}.intro__word span:nth-child(8){animation-delay:.6s}.intro__word span:nth-child(9){animation-delay:.65s}.intro__word span:nth-child(10){animation-delay:.7s}
.intro__bar { width: 160px; height: 1px; background: rgba(255,255,255,.2); overflow: hidden; }
.intro__bar i { display: block; height: 100%; background: #e2dcce; transform-origin: left; animation: introBar 1.2s cubic-bezier(.65,0,.35,1) .15s both; }
@keyframes introLogo { from { opacity: 0; transform: scale(.6) rotate(-90deg); } to { opacity: 1; transform: none; } }
@keyframes introLetter { from { transform: translate3d(0, 110%, 0); } to { transform: none; } }
@keyframes introBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.intro.is-skip { display: none !important; }
/* le hero démarre après le rideau */
.motion.has-intro .hero-in, .motion.has-intro .hero__title .ln > span { animation-delay: calc(var(--d, 0s) + 1.6s) !important; }
.motion.has-intro .hero__title .ln:nth-child(2) > span { animation-delay: 1.73s !important; }
.motion.has-intro .hero__title .ln:nth-child(3) > span { animation-delay: 1.86s !important; }

/* 2. Bannière : zoom avant qui se relâche au scroll */
.banner { overflow: hidden; border-radius: 4px; }
.banner__img { transform: scale(var(--bz, 1)); transform-origin: 60% 50%; will-change: transform; }
.motion .banner__img { animation: bannerIn 1.8s cubic-bezier(.2,.7,.2,1) both; }
.motion.has-intro .banner__img { animation-delay: 1.3s; }
@keyframes bannerIn { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }
.banner { overflow: visible; }
.banner__img-wrap { overflow: hidden; border-radius: 4px; }
.motion .banner__logo { animation: logoPop .9s cubic-bezier(.34,1.56,.64,1) both; animation-delay: calc(var(--logo-d, 0s) + .9s); }
.motion.has-intro .banner__logo { --logo-d: 1.4s; }
@keyframes logoPop { from { transform: translateY(45%) scale(0) rotate(-120deg); } to { transform: translateY(45%) scale(1) rotate(0); } }

/* 3. Bandeau géant qui défile selon le scroll */
.band { overflow: hidden; background: var(--ink); color: var(--paper); padding: clamp(18px, 3vw, 30px) 0; border-top: 1px solid var(--line-dark); }
.band__track { display: flex; gap: clamp(24px, 4vw, 56px); width: max-content; white-space: nowrap; font-weight: 700; font-size: clamp(44px, 9vw, 128px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; transform: translate3d(var(--bx, 0px), 0, 0); will-change: transform; }
.band__track span:nth-child(4n+3) { -webkit-text-stroke: 1.5px var(--paper); color: transparent; }
.band__track b { font-weight: 400; font-size: .5em; align-self: center; opacity: .6; }

/* 4. Catégories : rideau qui se lève sur le carrousel + titre qui glisse */
.motion .cat .carousel { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s cubic-bezier(.77,0,.18,1); }
.motion .cat.is-in .carousel { clip-path: inset(0 0 0 0); }
.motion .cat .car__track { transform: scale(1.15); transition: transform 1.8s cubic-bezier(.2,.7,.2,1); transform-origin: center; }
.motion .cat.is-in .car__track { transform: scale(1); }
.motion .cat .cat__title { opacity: 0; transform: translate3d(-30px, 0, 0); transition: opacity .9s var(--ease) .25s, transform .9s var(--ease) .25s; }
.motion .cat.is-in .cat__title { opacity: 1; transform: none; }
.motion .cat.reveal { opacity: 1; transform: none; }

/* 5. Curseur personnalisé (souris uniquement) */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .motion .cursor { display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 150; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0) scale(var(--cs, 1)); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease); will-change: transform; }
  .motion .cursor.is-view { width: 88px; height: 88px; margin: -44px 0 0 -44px; mix-blend-mode: normal; background: rgba(246,245,242,.95); }
  .cursor__label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .25s; }
  .cursor.is-view .cursor__label { opacity: 1; }
  .motion .cursor.is-link { transform: translate3d(var(--cx), var(--cy), 0) scale(2.6); }
}

/* 6. Visionneuse : ouverture en cercle depuis la photo cliquée */
.motion .viewer[open] { animation: viewerCircle .8s cubic-bezier(.77,0,.18,1) both; }
@keyframes viewerCircle { from { clip-path: circle(0% at var(--vx, 50%) var(--vy, 50%)); } to { clip-path: circle(150% at var(--vx, 50%) var(--vy, 50%)); } }

/* 7. Sections sombres : bord qui se déroule */
.motion .section.dark { clip-path: inset(0 0 0 0 round 0); }
.motion .stats .stat__num { display: inline-block; }

/* 8. Barre de progression de lecture */
.progress { position: fixed; left: 0; top: 0; z-index: 60; height: 2px; width: 100%; background: currentColor; transform-origin: left; transform: scaleX(var(--p, 0)); color: #e2dcce; mix-blend-mode: difference; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .intro, .cursor, .progress { display: none !important; }
  .band__track { transform: none !important; }
  .cat .carousel, .cat .car__track, .cat .cat__title, .banner__img, .banner__logo { clip-path: none !important; transform: none !important; opacity: 1 !important; }
  .banner__logo { transform: translateY(45%) !important; }
}

/* Version « smooth » : mouvements plus doux et plus longs */
.motion .intro { animation: introOut 1.1s cubic-bezier(.65,0,.35,1) 1.05s forwards; }
@keyframes introOut { to { opacity: 0; visibility: hidden; transform: translateY(-2%); } }
@keyframes introLogo { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes logoPop { from { opacity: 0; transform: translateY(65%) scale(.85); } to { opacity: 1; transform: translateY(45%) scale(1); } }
@keyframes bannerIn { from { clip-path: inset(8% 8% 8% 8% round 12px); opacity: .4; } to { clip-path: inset(0 0 0 0 round 4px); opacity: 1; } }
.motion.has-intro .hero-in, .motion.has-intro .hero__title .ln > span { animation-delay: calc(var(--d, 0s) + 1.25s) !important; }
.motion.has-intro .hero__title .ln:nth-child(2) > span { animation-delay: 1.38s !important; }
.motion.has-intro .hero__title .ln:nth-child(3) > span { animation-delay: 1.51s !important; }
.motion.has-intro .banner__img { animation-delay: 1s; }
.motion .cat .carousel { clip-path: inset(18% 6% 0 6% round 8px); opacity: 0; transition: clip-path 1.6s cubic-bezier(.22,1,.36,1), opacity 1.2s ease; }
.motion .cat.is-in .carousel { clip-path: inset(0 0 0 0 round 0); opacity: 1; }
.motion .cat .car__track { transform: scale(1.08); transition: transform 2.2s cubic-bezier(.22,1,.36,1); }
.band__track { font-size: clamp(36px, 7vw, 96px); }
.band__track span:nth-child(4n+3) { -webkit-text-stroke: 1px var(--paper); }
.motion .reveal { transition-duration: 1.4s; transition-timing-function: cubic-bezier(.22,1,.36,1); }
.motion .split .split__in { transition: transform 1.5s cubic-bezier(.22,1,.36,1); }
.motion .viewer[open] { animation: viewerCircle 1s cubic-bezier(.65,0,.35,1) both; }

@media (min-width: 1100px) { .reviews:has(.review--real + .review--real + .review--real) { grid-template-columns: repeat(3, minmax(0, 1fr)); } .reviews:has(.review--real + .review--real + .review--real) .review--real blockquote { font-size: clamp(18px, 1.5vw, 22px); } }

@media (min-width: 900px) { .reviews:has(.review--real:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .reviews:has(.review--real:nth-child(4)) .review--real blockquote { font-size: clamp(19px, 1.7vw, 24px); } }
@media (min-width: 900px) { .reviews.reviews:has(.review--real + .review--real + .review--real + .review--real) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .reviews.reviews:has(.review--real + .review--real + .review--real + .review--real) .review--real blockquote { font-size: clamp(19px, 1.7vw, 24px); } }
/* 5 avis (ou nombre impair) : le dernier prend toute la largeur en 2 colonnes */
@media (min-width: 900px) { .reviews.reviews .review--real:nth-child(odd):last-child:not(:only-child) { grid-column: 1 / -1; max-width: 860px; } }

/* ===== Palette Sable · Brun prune · Rouge signal ===== */
:root { --accent: #ff2a00; --accent-2: #e02500; }
.btn--solid, .dark .btn--solid { background: var(--accent); color: var(--paper); border-color: var(--accent); font-weight: 600; box-shadow: 0 10px 30px -12px rgba(255, 42, 0, .55); transition: background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.btn--solid:hover, .dark .btn--solid:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--paper); box-shadow: 0 14px 38px -10px rgba(255, 42, 0, .7); }
.btn--solid:focus-visible { outline-color: var(--accent); }
::selection { background: var(--ink); color: var(--paper); }

/* ===== Fluidité ===== */
.slide__btn, .viewer__body figure { background: var(--paper-2); }
.car__track { will-change: scroll-position; -webkit-overflow-scrolling: touch; }
.motion .viewer[open] { animation: viewerCircle .55s cubic-bezier(.65,0,.35,1) both; }
.viewer__body .v-in { animation-duration: .45s; }

/* ===== Accroche hero : crème, gras italique, avec un trait ===== */
.hero__lead strong { display: block; margin-top: 18px; padding-left: 16px; border-left: 2px solid var(--paper); color: var(--paper); font-weight: 700; font-style: italic; font-size: 1.08em; letter-spacing: -.005em; line-height: 1.35; }
.fact__link { color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color .3s var(--ease); }
.fact__link:hover { text-decoration-color: currentColor; }

/* ===== Fenêtre de réservation ===== */
.book { width: min(560px, 100%); max-width: 100%; max-height: 100%; max-height: 100dvh; margin: auto 0 0 auto; padding: 0; border: 0; background: var(--ink); color: var(--paper); overscroll-behavior: contain; }
@media (min-width: 700px) { .book { margin: auto; max-height: calc(100dvh - 48px); border-radius: 20px; } }
@media (max-width: 699px) { .book { width: 100%; margin: auto 0 0; border-radius: 22px 22px 0 0; } }
.book::backdrop { background: rgba(49, 32, 35, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.book__inner { padding: 22px clamp(18px, 4vw, 32px) calc(28px + env(safe-area-inset-bottom)); }
.book__head { display: flex; justify-content: space-between; align-items: center; }
.book__head .eyebrow { margin: 0; color: var(--muted-dark); }
.book__close { width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-dark); background: transparent; color: var(--paper); display: grid; place-items: center; cursor: pointer; }
.book__close svg { width: 18px; height: 18px; }
.book__title { font-size: clamp(30px, 6vw, 40px); line-height: 1.05; letter-spacing: -.02em; font-weight: 600; margin: 14px 0 10px; }
.book__lead { margin: 0 0 22px; color: var(--muted-dark); font-size: 15px; line-height: 1.55; }
.book fieldset { border: 0; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.book__label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); margin: 0 0 4px; padding: 0; }
.pack { position: relative; display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: 14px; cursor: pointer; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.pack input, .extra input { position: absolute; opacity: 0; pointer-events: none; }
.pack__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pack__name { font-size: 18px; font-weight: 600; }
.pack__price { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pack__tag { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.pack__spec { font-size: 14px; line-height: 1.45; color: var(--muted-dark); }
.pack:has(input:checked) { border-color: var(--paper); background: rgba(226, 220, 206, .06); }
.pack:has(input:checked)::after { content: ""; position: absolute; top: 16px; right: -1px; width: 3px; height: 22px; background: var(--paper); border-radius: 2px; }
.pack:has(input:focus-visible), .extra:has(input:focus-visible) { outline: 2px solid var(--paper); outline-offset: 2px; }
.extra { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line-dark); border-radius: 12px; cursor: pointer; font-size: 15px; }
.extra::before { content: ""; width: 18px; height: 18px; flex: none; border: 1px solid var(--muted-dark); border-radius: 5px; transition: background-color .2s var(--ease); }
.extra:has(input:checked)::before { background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23312023' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--paper); }
.extra:has(input:checked) { border-color: var(--paper); }
.extra b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.book__msg { margin: 0 0 20px; padding: 16px; background: var(--paper); color: var(--ink); border-radius: 14px; font: 14px/1.6 var(--sans); white-space: pre-wrap; word-break: break-word; }
.book__go { width: 100%; min-height: 56px; justify-content: center; }
.book__status { min-height: 1.4em; margin: 12px 0 0; text-align: center; font-size: 14px; color: var(--muted-dark); }
.motion .book[open] { animation: bookUp .45s cubic-bezier(.22,1,.36,1) both; }
@keyframes bookUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.book { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.pack:has(input:checked)::after { content: none; }
.pack:has(input:checked) .pack__name::before { content: "✓ "; }
.book__go { position: sticky; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 2; }

.field { display: grid; gap: 6px; font-size: 14px; color: var(--muted-dark); }
.field input { font: 16px/1.4 var(--sans); color: var(--paper); background: rgba(226, 220, 206, .06); border: 1px solid var(--line-dark); border-radius: 12px; padding: 13px 14px; width: 100%; transition: border-color .25s var(--ease); -webkit-appearance: none; appearance: none; }
.field input::placeholder { color: var(--muted-dark); opacity: .55; }
.field input:focus { outline: none; border-color: var(--paper); }

/* ===== Liste des prix ===== */
.prices { width: min(760px, 100%); }
.pr-brand { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .38em; }
.pr-brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--line-dark); }
.pr-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin: 22px 0 24px; }
.pr-title { margin: 0; font-size: clamp(72px, 18vw, 120px); line-height: .82; font-weight: 800; letter-spacing: -.045em; }
.pr-title em { font-weight: 400; }
.pr-claim { margin: 0 0 6px; max-width: 320px; font-size: 16px; line-height: 1.35; font-style: italic; font-weight: 500; }
.pr-list { display: grid; gap: 12px; }
.pr-pack { border: 1.5px solid var(--line-dark); border-radius: 22px; padding: 20px 22px; display: grid; gap: 14px; }
.pr-pack--line { border-color: var(--paper); }
.pr-pack--full { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pr-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.pr-head h3 { margin: 4px 0 4px; font-size: clamp(30px, 7vw, 40px); line-height: 1; font-weight: 700; letter-spacing: -.025em; }
.pr-badge { margin: 0; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); }
.pr-tag, .pr-ideal { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted-dark); }
.pr-ideal { font-style: italic; }
.pr-price { margin: 0; font-size: clamp(46px, 12vw, 68px); line-height: .85; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.pr-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; border-top: 1px solid var(--line-dark); padding-top: 14px; }
.pr-specs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 560px) { .pr-specs, .pr-specs--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pr-spec { display: grid; gap: 2px; align-content: start; }
.pr-spec b { font-size: 18px; font-weight: 700; }
.pr-spec span { font-size: 13px; line-height: 1.35; color: var(--muted-dark); }
.pr-pack--full .pr-badge, .pr-pack--full .pr-tag, .pr-pack--full .pr-ideal, .pr-pack--full .pr-spec span { color: #5e4f4c; }
.pr-pack--full .pr-specs { border-top-color: #c9bfad; }
.pr-extras { display: grid; gap: 10px; margin: 24px 0 18px; padding: 18px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.pr-extra { display: flex; align-items: baseline; gap: 16px; font-size: 17px; font-weight: 500; }
.pr-extra b { font-weight: 800; font-size: 20px; }
.pr-plus { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted-dark); }
.pr-plus li::before { content: "✦ "; }
/* Bas de la liste des prix : centré */
.pr-extras { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); justify-content: center; gap: 14px clamp(28px, 8vw, 64px); text-align: center; }
.pr-extras .book__label { grid-column: 1 / -1; margin: 0; }
.pr-extra { flex-direction: column; align-items: center; gap: 4px; }
.pr-extra span { font-size: 16px; }
.pr-extra b { font-size: 24px; }
.pr-plus { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
/* Suppléments cliquables + exemples */
button.pr-extra { font: inherit; color: inherit; background: transparent; border: 1px solid var(--line-dark); border-radius: 16px; padding: 14px 16px 12px; cursor: pointer; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
button.pr-extra:hover { border-color: var(--muted-dark); }
button.pr-extra[aria-expanded="true"] { border-color: var(--paper); background: rgba(226, 220, 206, .06); }
.pr-extra__see { font-style: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.pr-extra__see::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--ease); }
button.pr-extra[aria-expanded="true"] .pr-extra__see::after { transform: rotate(-135deg) translateY(-1px); }
.pr-extras { padding-bottom: 18px; }
.pr-ex { margin: 0 0 24px; }
.pr-ex .cat__title { font-size: 20px; margin: 0 0 12px; text-align: center; }
.pr-ex .carousel { border-radius: 14px; overflow: hidden; }
.pr-ex .dots { margin-top: 12px; }
.pr-ex__soon { text-align: center; color: var(--muted-dark); margin: 0; }
.motion .pr-ex:not([hidden]) { animation: bookUp .45s cubic-bezier(.22,1,.36,1) both; }
.pr-ex .cat, .pr-ex .carousel { margin-left: 0 !important; margin-right: 0 !important; width: auto; }
.pr-extra__see { letter-spacing: .04em; text-transform: none; font-size: 13px; white-space: nowrap; }
/* Suppléments : deux cases identiques, contenu centré */
.pr-extras { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; margin-left: auto; margin-right: auto; width: 100%; align-items: stretch; }
button.pr-extra { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; min-height: 150px; }
button.pr-extra span { line-height: 1.3; min-height: 2.6em; display: flex; align-items: center; justify-content: center; }
/* Bas de page centré */
.footer .wrap { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.footer .wrap > * { margin: 0; }

/* ===== Ta valeur : stories ===== */
.tv-lead { max-width: 560px; margin: -8px 0 32px; color: var(--muted); font-size: 18px; line-height: 1.5; }
.cat--tv { max-width: 440px; margin: 0 auto; }
.cat--tv .carousel { border-radius: 18px; overflow: hidden; }
.cat--tv .slide__btn, .cat--tv .slide img { aspect-ratio: 9 / 16 !important; }
.cat--tv .slide { position: relative; }
.tv-hit { position: absolute; left: 8%; right: 8%; top: 73.3%; height: 6%; border-radius: 999px; z-index: 2; }
.tv-hit:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.tv-cta { display: flex; justify-content: center; margin-top: 32px; }
.tv-cta .btn { min-width: 280px; justify-content: center; }
@media (max-width: 699px) { .cat--tv { max-width: none; } .tv-cta .btn { width: 100%; min-height: 56px; } }
