@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap");

:root {
  --bg: #faf9f6;
  --bg-subtle: #f3f2ee;
  --paper: #ffffff;
  --ink: #242220;
  --muted: #6b6762;
  --line: #e5e2db;
  --line-strong: #d0ccc3;
  /* Primaire : ton chaud discret (texte, liens ancrés) */
  --accent: #3a342f;
  /* Secondaire : bleu acier doux, contraste sur beige */
  --secondary: #bdbc8e;
  --secondary-hover: #dddca9;
  --secondary-soft: rgba(91, 138, 158, 0.12);
  --font-head: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  /* Grille unique : même largeur max et même pourcentage pour toutes les sections */
  --layout-max: 1180px;
  --layout-edge: 92%;
  --measure: 62ch;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  /* Hauteur du hero accueil — aligne le filigrane SVG sous la landing */
  --landing-min-height: min(100dvh, 920px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  background: var(--bg);
  transition: background-color 0.3s var(--ease-out);
}

.startup-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #080808;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transform-origin: top center;
  transition: opacity 0.9s ease, visibility 0.9s ease, transform 2.8s cubic-bezier(0.22, 1, 0.36, 1), clip-path 2.65s cubic-bezier(0.22, 1, 0.36, 1);
  clip-path: inset(0 0 0 0 round 0);
}

.startup-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(80% 55% at 50% 100%, rgba(0, 0, 0, 0.38), transparent 72%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.05) 0%, rgba(7, 7, 7, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.9s ease;
}

.startup-loader__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  display: block;
  opacity: 0;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1), filter 1.15s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s ease;
}

.startup-loader.is-started .startup-loader__video {
  opacity: 1;
}

.startup-loader__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 48% at 50% 22%, rgba(255, 255, 255, 0.07), transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.42) 100%);
}

.startup-loader__hud {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 4.6vh, 44px);
  transform: translateX(-50%);
  width: min(330px, 82vw);
  padding: clamp(9px, 1.5vw, 12px) clamp(11px, 1.9vw, 15px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(10, 10, 10, 0.28);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.startup-loader__brand {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  line-height: 0;
}

.startup-loader__mark {
  width: 20px;
  height: auto;
  object-fit: contain;
  opacity: 0.86;
  filter: invert(1);
}

.startup-loader__logo {
  height: clamp(14px, 2vw, 17px);
  width: auto;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.95;
}

.startup-loader__label {
  margin: 0.34rem 0 0.32rem;
  text-align: center;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.58rem;
  color: rgba(244, 241, 236, 0.84);
}

.startup-loader__bar {
  position: relative;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.startup-loader__bar > span {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, rgba(242, 238, 231, 0.28), rgba(242, 238, 231, 0.95));
  animation: startup-loader-progress 4s linear forwards;
}

@keyframes startup-loader-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.startup-loader.is-leaving {
  opacity: 0.01;
  visibility: hidden;
  transform: translateY(-8%) scale(1.04);
  clip-path: inset(0 0 100% 0 round 0 0 24px 24px);
}

.startup-loader.is-leaving::after {
  opacity: 1;
}

.startup-loader.is-leaving .startup-loader__video {
  transform: scale(1.09);
  filter: saturate(1.12) contrast(1.08) blur(3px);
  opacity: 0.84;
}

.startup-loader.is-leaving .startup-loader__hud {
  opacity: 0;
  transform: translateX(-50%) translateY(16px) scale(0.98);
  transition: opacity 1.05s ease, transform 1.2s ease;
}

.startup-loader.is-leaving-reduced {
  opacity: 0;
  visibility: hidden;
}

body.lightbox-open,
body.nav-open,
body.afk-carousel-open,
body.startup-loader-open {
  overflow: hidden;
}

html:has(body.lightbox-open),
html:has(body.nav-open),
html:has(body.afk-carousel-open),
html:has(body.startup-loader-open) {
  overflow: hidden;
}

main {
  position: relative;
  isolation: isolate;
}

/*
 * Forme 1.svg — grande, centrée, faible opacité.
 * Masque CSS + couleur secondaire (cohérent avec le site).
 * Accueil : uniquement sous la landing (.home-main), pas derrière le hero plein écran.
 */
main::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
  background-color: var(--secondary);
  -webkit-mask-image: url("../images/site/1.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center center;
  -webkit-mask-size: min(1650px, 96vw) auto;
  mask-image: url("../images/site/1.svg");
  mask-repeat: no-repeat;
  mask-position: center center;
  mask-size: min(1650px, 96vw) auto;
  box-sizing: border-box;
}

.home-main::before {
  top: var(--landing-min-height);
}

main > * {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  main::before {
    opacity: 0.055;
  }
}

a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease-out);
}

a:hover {
  color: var(--secondary);
}

p a {
  text-decoration: underline;
  text-decoration-color: rgba(91, 138, 158, 0.35);
}

img {
  max-width: 100%;
  display: block;
}

.container,
.wide-wrap {
  width: min(var(--layout-max), var(--layout-edge));
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* ——— Apparition progressive ——— */
.js-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease-out), background-color 0.25s ease;
}

.site-header:hover {
  box-shadow: 0 6px 24px rgba(36, 34, 32, 0.06);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.brand:hover {
  color: var(--ink);
  opacity: 0.88;
}

.brand__mark {
  display: block;
  width: 34px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
  transition: transform 0.25s var(--ease-out);
}

.brand__logo {
  display: block;
  height: clamp(22px, 3.25vw, 32px);
  width: auto;
  max-width: min(210px, 50vw);
  object-fit: contain;
  transition: transform 0.25s var(--ease-out);
}

.brand:hover .brand__mark,
.brand:hover .brand__logo {
  transform: scale(1.03);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.lang-switch__btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-switch__btn:hover {
  color: var(--ink);
}

.lang-switch__btn.is-active {
  background: var(--secondary);
  color: #fff;
}

.nav {
  display: flex;
  gap: 10px 26px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--line-strong);
}

.nav a.active {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}

/* Bouton menu mobile (barres visibles uniquement sous le breakpoint) */
.nav-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px;
  border: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  border-radius: 4px;
  z-index: 120;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(91, 138, 158, 0.12);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

.nav-toggle__lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 22px;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition:
    transform 0.28s var(--ease-out),
    opacity 0.2s ease;
  transform-origin: center;
}

body.nav-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle__bar {
    transition: none;
  }
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(18, 16, 15, 0.48);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
  pointer-events: none;
}

.nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .nav-backdrop {
    transition: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .lang-switch {
    margin-left: 0;
    margin-right: 0.15rem;
  }

  .brand__mark {
    width: 30px;
  }

  .brand__logo {
    max-width: min(168px, 46vw);
    height: clamp(20px, 4.8vw, 28px);
  }

  .header-inner {
    position: relative;
    z-index: 110;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(17.5rem, 86vw);
    margin: 0;
    padding: calc(4.25rem + env(safe-area-inset-top, 0px)) 1.35rem 1.5rem;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: rgba(250, 249, 246, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: 1px solid var(--line);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.32s var(--ease-out);
    z-index: 115;
    overflow-y: auto;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.82rem;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav a.active {
    border-bottom-color: var(--secondary);
  }

  body.nav-open .site-header .nav {
    transform: translateX(0);
  }

  body.has-landing-hero:not(.landing-header-solid) .site-header .nav a {
    color: var(--muted);
  }

  body.has-landing-hero:not(.landing-header-solid) .site-header .nav a:hover {
    color: var(--ink);
    border-bottom-color: var(--line-strong);
  }

  body.has-landing-hero:not(.landing-header-solid) .site-header .nav a.active {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
  }

  body.has-landing-hero.landing-header-solid .site-header .nav a {
    color: var(--muted);
  }

  body.has-landing-hero .nav-toggle {
    color: #000000;
  }

  body.has-landing-hero.landing-header-solid .nav-toggle {
    color: var(--ink);
  }

  body.has-landing-hero:not(.landing-header-solid) .nav-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  body.has-landing-hero.landing-header-solid .nav-toggle:hover {
    background: rgba(91, 138, 158, 0.12);
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .nav {
    transition: none;
  }
}

/* ——— Typo ——— */
h1,
h2 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
}

h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

.kicker {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.ornament {
  display: none;
}

.lead {
  font-size: 1.08rem;
  max-width: var(--measure);
  color: #3a3633;
  line-height: 1.58;
}

.lede--inline {
  max-width: min(var(--measure), 100%);
  margin-bottom: 0;
}

/* ——— Page hero ——— */
.page-hero {
  padding: 2.75rem 0 2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-hero--compact {
  padding: 1.75rem 0 1rem;
}

.page-hero h1 {
  max-width: 18ch;
}

.page-hero .lede {
  margin-top: 0.85rem;
  max-width: var(--measure);
  color: var(--muted);
  font-size: 0.98rem;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* ——— Boutons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 11px 20px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s var(--ease-out), box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(36, 34, 32, 0.1);
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn.primary:hover {
  background: #2e2926;
  border-color: #2e2926;
  color: #fff;
}

.btn.alt {
  background: transparent;
  color: var(--accent);
}

.btn.alt:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn.ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn.ghost:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.5rem;
}

/* ——— Accueil ——— */

/* Hero : première impression — toile immersive + cadre “atelier” */
.landing-hero {
  position: relative;
  isolation: isolate;
  min-height: var(--landing-min-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(5.5rem, 14vh, 8rem) 0 clamp(4rem, 10vh, 6rem);
  margin-bottom: 0;
  overflow: hidden;
}

.landing-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.landing-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 38%;
  transform: scale(1.08);
  animation: landing-kenburns 28s ease-in-out infinite alternate;
}

@keyframes landing-kenburns {
  0% {
    transform: scale(1.06) translate(0%, 0%);
  }
  100% {
    transform: scale(1.14) translate(-1.5%, 1%);
  }
}

.landing-hero__bg-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(22, 20, 18, 0.82) 0%, rgba(22, 20, 18, 0.45) 38%, rgba(22, 20, 18, 0.2) 58%, rgba(36, 34, 32, 0.35) 100%),
    radial-gradient(ellipse 80% 60% at 70% 40%, transparent 0%, rgba(22, 20, 18, 0.5) 100%);
  pointer-events: none;
}

.landing-hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.landing-hero__accent-line {
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 22%;
  width: 4px;
  z-index: 2;
  background: linear-gradient(180deg, transparent, var(--secondary) 20%, rgba(201, 176, 120, 0.95) 55%, transparent);
  opacity: 0.95;
  box-shadow: 0 0 24px rgba(91, 138, 158, 0.35);
  pointer-events: none;
}

.landing-hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(44px, 7vw, 88px);
  align-items: center;
}

.landing-hero__text {
  color: #f7f4ee;
  max-width: 40rem;
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.35);
}

.landing-hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  color: rgba(247, 244, 238, 0.72);
}

.landing-hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.landing-hero__title-main {
  font-size: clamp(2.35rem, 5.8vw, 4rem);
  display: block;
  background: linear-gradient(135deg, #fffefc 0%, #e8f2f6 45%, #d4a574 160%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 28px rgba(0, 0, 0, 0.4));
}

@supports not (background-clip: text) {
  .landing-hero__title-main {
    color: #fffefc;
    background: none;
    filter: none;
  }
}

.landing-hero__lede {
  margin: 0 0 1.75rem;
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.65;
  color: rgba(247, 244, 238, 0.9);
  max-width: 36rem;
}

.landing-hero__lede strong {
  color: #fff;
  font-weight: 600;
}

.landing-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.landing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.landing-cta--primary {
  color: #1c1a18;
  background: linear-gradient(165deg, #f2efe8 0%, #dce9ee 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.landing-cta--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  color: #1c1a18;
}

.landing-cta--ghost {
  color: rgba(247, 244, 238, 0.92);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(247, 244, 238, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.landing-cta--ghost:hover {
  background: #dddca93f;
  border-color: rgba(183, 214, 226, 0.55);
  color: #fff;
  transform: translateY(-2px);
}

.landing-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.55);
  font-weight: 600;
  line-height: 1.45;
}

.landing-hero__dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 4px rgba(91, 138, 158, 0.25);
}

.landing-hero__visual {
  position: relative;
  justify-self: end;
  max-width: min(100%, 440px);
  width: 100%;
}

/* Cadre bois : taille du montage ; la zone toiles est plus petite, centree au trou */
.landing-hero__frame-mount {
  position: relative;
  max-width: 550px;
  transform: scale(1.6);
  aspect-ratio: 1024 / 832;
}

.landing-hero__frame-slider {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 62%;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 2px;
  background: #e8e4dc;
  z-index: 1;
}

.landing-hero__frame-paintings {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 2px;
}

.landing-hero__frame-wood {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center;
  z-index: 2;
}

.landing-hero__frame-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.1s var(--ease-out);
  filter: saturate(1.05) contrast(1.02);
}

.landing-hero__frame-img.is-active {
  opacity: 1;
  z-index: 1;
}

.landing-hero__frame-meta {
  margin: 0.65rem 0 0 0.25rem;
  margin-top: 70px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  min-height: 1.35em;
}

.landing-hero__frame-meta:empty {
  display: none;
}

.landing-hero__frame-note {
  margin: 1.15rem 0 0 1rem;
  font-family: var(--font-head);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(247, 244, 238, 0.82);
  max-width: 14em;
}

.landing-hero__scroll {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: clamp(1rem, 4vh, 1.75rem);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(247, 244, 238, 0.75);
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  transition: color 0.25s ease, transform 0.25s var(--ease-out);
}

.landing-hero__scroll:hover {
  color: #fff;
  transform: translateX(-50%) translateY(3px);
}

/* translateY avant rotate(45deg) : le mouvement reste vertical à l’écran */
.landing-hero__scroll-icon {
  width: 22px;
  height: 22px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(0) rotate(45deg);
  margin-top: -4px;
  animation: landing-nudge 2.2s ease-in-out infinite;
}

@keyframes landing-nudge {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
    opacity: 0.75;
  }
  50% {
    transform: translateY(8px) rotate(45deg);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .landing-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .landing-hero__text {
    margin: 0 auto;
  }

  .landing-hero__cta {
    justify-content: center;
  }

  .landing-hero__meta {
    justify-content: center;
    text-align: center;
  }

  .landing-hero__visual {
    justify-self: center;
    max-width: 360px;
    order: -1;
  }

  .landing-hero__frame-note {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .landing-hero__frame-meta {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .landing-hero__accent-line {
    top: 10%;
    bottom: auto;
    height: 120px;
    opacity: 0.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-hero__bg-img {
    animation: none;
    transform: scale(1.08);
  }

  .landing-hero__scroll-icon {
    animation: none;
  }

}

/* Header transparent sur le hero */
body.has-landing-hero .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(18, 16, 15, 0.78) 0%, rgba(18, 16, 15, 0) 100%);
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.has-landing-hero.landing-header-solid .site-header {
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(36, 34, 32, 0.05);
}

body.has-landing-hero:not(.landing-header-solid) .brand {
  color: rgba(247, 244, 238, 0.95);
}

body.has-landing-hero:not(.landing-header-solid) .brand:hover {
  color: #fff;
  opacity: 1;
}

body.has-landing-hero:not(.landing-header-solid) .nav a {
  color: rgba(247, 244, 238, 0.78);
}

body.has-landing-hero:not(.landing-header-solid) .nav a:hover {
  color: #fff;
  border-bottom-color: rgba(247, 244, 238, 0.35);
}

body.has-landing-hero:not(.landing-header-solid) .nav a.active {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}

body.has-landing-hero.landing-header-solid .nav a.active {
  color: var(--secondary);
}

body.has-landing-hero:not(.landing-header-solid) .brand__mark,
body.has-landing-hero:not(.landing-header-solid) .brand__logo {
  filter: invert(1) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

body.has-landing-hero:not(.landing-header-solid) .lang-switch {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(10, 9, 9, 0.35);
}

body.has-landing-hero:not(.landing-header-solid) .lang-switch__btn {
  color: rgba(255, 255, 255, 0.85);
}

body.has-landing-hero:not(.landing-header-solid) .lang-switch__btn.is-active {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

#decouvrir {
  scroll-margin-top: 5.5rem;
}

.home-main {
  padding-bottom: 3rem;
}

.scene {
  width: min(var(--layout-max), var(--layout-edge));
  max-width: 100%;
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.media-stack {
  padding: 0;
}

.media-stack video {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #111;
  box-shadow: 0 12px 40px rgba(36, 34, 32, 0.08);
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.media-stack:hover video {
  box-shadow: 0 18px 48px rgba(36, 34, 32, 0.12);
}

.video-caption {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.media-stack .home-quote {
  width: 100%;
  max-width: none;
  margin: 1.15rem 0 0;
  padding: 0 0 0 1rem;
}

.home-quote {
  width: 100%;
  max-width: 100%;
  margin: 1.15rem 0 0;
  padding: 0 0 0 1.25rem;
  border-left: 3px solid var(--secondary);
  box-sizing: border-box;
}

.home-quote p {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-style: normal;
  font-weight: 500;
  margin: 0 0 0.5rem;
  line-height: 1.45;
}

.home-quote cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.breathe {
  margin: 0 auto;
  width: min(var(--layout-max), var(--layout-edge));
  max-width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.breathe-copy p {
  margin: 0 0 0.9rem;
  color: #3a3633;
  max-width: var(--measure);
}

.breathe-media {
  margin: 0;
  transition: transform 0.35s var(--ease-out);
}

.breathe-media:hover {
  transform: translateY(-3px);
}

.breathe-media img {
  width: 100%;
  height: auto;
}

.home-regions {
  width: min(var(--layout-max), var(--layout-edge));
  max-width: 100%;
  margin: 0 auto 2.5rem;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
}

.home-regions > p {
  max-width: var(--measure);
  color: var(--muted);
}

.region-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.1rem;
}

.region-chips a {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-radius: 4px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease, color 0.2s ease;
}

.region-chips a:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
}

.section-block {
  width: min(var(--layout-max), var(--layout-edge));
  max-width: 100%;
  margin: 0 auto 2.5rem;
}

.section-block p {
  max-width: var(--measure);
}

.inline-art {
  margin: 1rem 0 1.25rem;
}

.inline-art img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 14px 36px rgba(36, 34, 32, 0.1);
}

.inline-art figcaption {
  margin-top: 0.55rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.scene-inline-art {
  max-width: min(100%, 34rem);
}

.scene-inline-art figcaption {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bio-inline-art {
  max-width: min(100%, 36rem);
}

.expo-inline-art {
  margin-top: 1.15rem;
  max-width: min(100%, 37rem);
}

.section-block--expo-media .kicker {
  margin-bottom: 0.7rem;
}

.expo-media-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: start;
}

.expo-media-row .expo-inline-art {
  margin-top: 0;
  max-width: 100%;
}

.expo-media-copy h2 {
  margin-top: 0;
}

.expo-media-copy p {
  max-width: 58ch;
}

.parallax-band {
  position: relative;
  margin: clamp(1.6rem, 4vh, 2.6rem) 0;
  min-height: clamp(290px, 42vh, 460px);
  display: grid;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center calc(75% + var(--parallax-shift, 0px));
  background-attachment: scroll;
  will-change: background-position;
}

.parallax-band__inner {
  width: min(var(--layout-max), var(--layout-edge));
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(1.3rem, 5vh, 2.1rem) 0;
}

.parallax-band__content {
  max-width: min(100%, 44rem);
  padding: clamp(1rem, 2.3vw, 1.35rem);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(15, 13, 12, 0.38);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.parallax-band__kicker {
  margin: 0 0 0.45rem;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.parallax-band__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.12;
}

.parallax-band__text {
  margin: 0.65rem 0 0;
  max-width: 56ch;
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.93);
}

.pull-quote {
  font-family: var(--font-head);
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0 0 1.1rem;
  padding: 0 0 0 1rem;
  border-left: 2px solid var(--secondary);
  color: #322e2a;
}

.pull-quote small {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Bandeau : pleine largeur ; le contenu aligné passe par .container à l’intérieur */
.ribbon {
  margin: 0;
  padding: 2rem 0 2.5rem;
}

.flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.flow img {
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.flow img:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 32px rgba(36, 34, 32, 0.08);
}

.flow figure {
  margin: 0;
}

/* ——— Expositions ——— */
/* Grille stricte 40 % / 60 % ; chronologie = panneau scrollable */
.expo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  gap: 1.25rem 1.5rem;
  align-items: start;
  margin-top: 1.25rem;
}

.expo-permanent {
  padding: 1.1rem 1.15rem 1.15rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  border-left: 3px solid var(--secondary);
  box-shadow: 0 2px 14px rgba(36, 34, 32, 0.04);
}

.expo-permanent__title {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  margin: 0.12rem 0 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.expo-permanent .kicker {
  margin-bottom: 0.18rem;
}

.expo-permanent__lead {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.expo-permanent__list {
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  color: #3a3633;
  font-size: 0.8rem;
  line-height: 1.55;
}

.expo-permanent__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.35rem;
  padding: 0.38rem 0;
  border-bottom: 1px solid var(--line);
}

.expo-permanent__list li:last-of-type {
  border-bottom: none;
}

.expo-permanent__venue {
  font-weight: 600;
  font-family: var(--font-head);
  font-size: 0.82rem;
  color: var(--ink);
}

.expo-permanent__sep {
  color: var(--line-strong);
  font-weight: 400;
}

.expo-permanent__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0.45rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  background: #bdbc8e21;
  border-radius: 4px;
}

.expo-permanent__meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--secondary);
  opacity: 0.55;
}

.expo-permanent__hint {
  margin: 0.65rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

.expo-permanent__hint a {
  font-weight: 600;
}

.expo-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.85rem;
}

.timeline-wrap {
  padding: 0;
}

.timeline-panel {
  margin: 0;
  width: 100%;
  max-width: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 22px rgba(36, 34, 32, 0.06);
  overflow: hidden;
}

.timeline-panel__head {
  padding: 1rem 1.15rem 0.65rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.timeline-panel__head .kicker {
  margin-bottom: 0.35rem;
}

.timeline-panel__title {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
}

.timeline-panel__intro {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 50ch;
}

.timeline-scroll {
  max-height: min(420px, calc(100vh - 14rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.35rem 0.6rem 0.65rem 1rem;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--secondary-soft) var(--bg-subtle);
}

.timeline-scroll:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.timeline-scroll::-webkit-scrollbar {
  width: 7px;
}

.timeline-scroll::-webkit-scrollbar-track {
  background: var(--bg-subtle);
  border-radius: 4px;
}

.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 4px;
}

.timeline-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

.event {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  transition: background 0.15s ease;
}

.event:hover {
  background: var(--secondary-soft);
}

.event strong {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--secondary);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ——— Biographie ——— */
.bio-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin: 1.75rem auto 2rem;
  width: min(var(--layout-max), var(--layout-edge));
  max-width: 100%;
}

.bio-prose p {
  margin: 0 0 0.9rem;
  max-width: var(--measure);
  color: #3a3633;
}

.bio-aside {
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: box-shadow 0.25s ease;
}

.bio-aside:hover {
  box-shadow: 0 8px 28px rgba(36, 34, 32, 0.05);
}

.press-list li {
  border-bottom-color: var(--line);
}

/* ——— Contact compact ——— */
.contact-page .page-hero--compact {
  border-bottom: none;
  padding-bottom: 0.5rem;
}

.contact-panel {
  padding: 0 0 2.5rem;
}

.contact-panel__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.25rem 2rem;
  padding: 1.25rem 1.35rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(36, 34, 32, 0.04);
  transition: box-shadow 0.3s ease;
}

.contact-panel__grid:hover {
  box-shadow: 0 8px 32px rgba(36, 34, 32, 0.07);
}

.contact-panel__info {
  padding: 0.15rem 0;
}

.contact-mail {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.35rem;
}

.contact-mail:hover {
  color: var(--secondary-hover);
}

.contact-tel {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--ink);
}

.contact-sep {
  opacity: 0.45;
  padding: 0 0.25rem;
}

.contact-galeries {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.contact-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.form-compact {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.form-compact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.form-compact label {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-compact input,
.form-compact textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-compact input:focus,
.form-compact textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px var(--secondary-soft);
}

.form-compact .btn {
  margin-top: 0.25rem;
  align-self: flex-start;
}

.form-note {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

.form-note--status {
  display: none;
  margin-top: 0.35rem;
  padding: 0.78rem 0.92rem;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.45;
  box-shadow: 0 8px 18px rgba(36, 34, 32, 0.08);
}

.form-note--status.is-visible {
  display: block;
}

.form-note--status::before {
  content: "";
  display: inline-block;
  width: 0.68rem;
  height: 0.68rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  vertical-align: -0.08em;
}

.form-note--status.is-success {
  color: #1f4c2f;
  border-color: rgba(74, 121, 82, 0.35);
  background:
    linear-gradient(115deg, rgba(244, 251, 244, 0.96), rgba(233, 245, 235, 0.94)),
    repeating-linear-gradient(
      -35deg,
      rgba(74, 121, 82, 0.08) 0 8px,
      rgba(255, 255, 255, 0.05) 8px 16px
    );
}

.form-note--status.is-success::before {
  background: #4a7952;
}

.form-note--status.is-error {
  color: #7a2f2a;
  border-color: rgba(166, 72, 62, 0.35);
  background:
    linear-gradient(115deg, rgba(255, 246, 244, 0.96), rgba(252, 235, 231, 0.93)),
    repeating-linear-gradient(
      -35deg,
      rgba(166, 72, 62, 0.09) 0 8px,
      rgba(255, 255, 255, 0.05) 8px 16px
    );
}

.form-note--status.is-error::before {
  background: #a6483e;
}

/* Ancien contact (si pages non migrées) */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.25rem auto 2rem;
  width: min(var(--layout-max), var(--layout-edge));
  max-width: 100%;
}

.contact-card {
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.form-lite input,
.form-lite textarea {
  border: 1px solid var(--line);
  border-radius: 4px;
}

.form-lite input:focus,
.form-lite textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px var(--secondary-soft);
}

/* ——— Galerie ——— */
.gallery-shell {
  width: min(var(--layout-max), var(--layout-edge));
  max-width: 100%;
  margin: 0.75rem auto 2.5rem;
}

.gallery-page-intro {
  width: min(var(--layout-max), var(--layout-edge));
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.gallery-page-intro p {
  margin: 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 0.92rem;
}

.gallery-count {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--secondary);
  font-weight: 500;
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0.85rem 0 1.1rem;
}

.filter-btn {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 4px;
  padding: 7px 13px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.12s ease;
}

.filter-btn:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

.gallery-grid {
  columns: 4 240px;
  column-gap: 11px;
}

.work {
  break-inside: avoid;
  margin: 0 0 11px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.work:hover {
  box-shadow: 0 10px 28px rgba(36, 34, 32, 0.09);
  transform: translateY(-2px);
}

.work__open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  text-align: left;
  color: inherit;
}

.work__open:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.work__open img {
  width: 100%;
  vertical-align: middle;
  transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
}

.work:hover .work__open img {
  transform: scale(1.03);
}

.work__hover-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.6rem 0.7rem;
  background: linear-gradient(to top, rgba(24, 22, 20, 0.9) 30%, transparent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s var(--ease-out);
  pointer-events: none;
}

.work__region {
  display: block;
  margin-top: 3px;
  font-size: 0.65rem;
  opacity: 0.88;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.work:hover .work__hover-cap,
.work__open:focus-visible .work__hover-cap {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Lightbox ——— */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 16, 15, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lightbox__panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem 1rem;
  pointer-events: none;
}

.lightbox__panel > * {
  pointer-events: auto;
}

.lightbox__stage {
  max-width: min(92vw, var(--layout-max));
  max-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.lightbox__img {
  max-width: 100%;
  max-height: min(78vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox__caption {
  margin: 0;
  text-align: center;
  color: #f5f3f0;
  font-size: 0.9rem;
  max-width: 50ch;
  line-height: 1.45;
}

.lightbox__counter {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 243, 240, 0.65);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.lightbox__nav:hover {
  background: var(--secondary);
  transform: translateY(-50%) scale(1.05);
}

.lightbox__nav--prev {
  left: 0.75rem;
}

.lightbox__nav--next {
  right: 0.75rem;
}

@media (max-width: 640px) {
  .lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 1.35rem;
  }
  .lightbox__nav--prev {
    left: 0.35rem;
  }
  .lightbox__nav--next {
    right: 0.35rem;
  }
}

/* ——— Footer ——— */
.footer {
  margin-top: 2rem;
  padding: 2.2rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--bg-subtle);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr 1fr;
  gap: 1.35rem 1.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col p {
  margin: 0;
  line-height: 1.55;
}

.footer-col--about {
  max-width: 32ch;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0.35rem;
  line-height: 0;
}

.footer-brand__mark {
  display: block;
  width: 24px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
  opacity: 0.92;
}

.footer-brand__logo {
  display: block;
  height: clamp(15px, 2.4vw, 19px);
  width: auto;
  max-width: min(132px, 55vw);
  object-fit: contain;
  opacity: 0.88;
}

.footer a {
  color: var(--secondary);
}

.footer a:hover {
  color: var(--secondary-hover);
}

.footer-grid strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.38rem;
}

.footer-tagline {
  margin-top: 0.4rem;
  font-family: var(--font-head);
  font-style: italic;
  color: var(--accent);
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  margin-top: 1.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
}

.footer-copy__sep {
  color: rgba(76, 74, 71, 0.45);
}

.footer-copy a {
  color: var(--muted);
}

.footer-copy a:hover {
  color: var(--secondary);
}

.legal-page .page-hero--compact {
  margin-bottom: 1.35rem;
}

.legal-card {
  width: min(var(--layout-max), var(--layout-edge));
  max-width: 100%;
  margin: 0 auto 2.5rem;
  padding: clamp(1rem, 2.2vw, 1.35rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(36, 34, 32, 0.05);
}

.legal-card h2 {
  margin-top: 1.1rem;
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  margin: 0 0 0.55rem;
  line-height: 1.6;
}

.legal-card ul {
  margin: 0.3rem 0 0.7rem 1.15rem;
  padding: 0;
}

.afk-carousel {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: #040404;
}

.afk-countdown {
  position: fixed;
  right: clamp(0.7rem, 2vw, 1.25rem);
  bottom: clamp(0.7rem, 2vh, 1.15rem);
  z-index: 120;
  margin: 0;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(18, 16, 15, 0.74);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  pointer-events: none;
}

.afk-countdown[hidden] {
  display: none !important;
}

.afk-carousel[hidden] {
  display: none !important;
}

.afk-carousel__stage {
  position: absolute;
  inset: 0;
}

.afk-carousel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 900ms ease-in-out;
  filter: saturate(1.03) contrast(1.02);
}

.afk-carousel__img.is-visible {
  opacity: 1;
}

.afk-carousel__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 7, 7, 0.18) 0%, rgba(8, 7, 7, 0.4) 68%, rgba(8, 7, 7, 0.72) 100%),
    linear-gradient(90deg, rgba(8, 7, 7, 0.6) 0%, rgba(8, 7, 7, 0.05) 50%, rgba(8, 7, 7, 0.35) 100%);
  pointer-events: none;
}

.afk-carousel__caption {
  position: absolute;
  left: clamp(1rem, 3vw, 2.2rem);
  bottom: clamp(1rem, 4vh, 2rem);
  z-index: 2;
  max-width: min(92vw, 40rem);
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.afk-carousel__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.afk-carousel__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 3.8vw, 2.5rem);
  line-height: 1.08;
}

.afk-carousel__meta {
  margin: 0.3rem 0 0;
  font-size: clamp(0.82rem, 1.5vw, 1rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.afk-carousel__hint {
  margin: 0.65rem 0 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.82);
}

.afk-carousel__count {
  position: absolute;
  right: clamp(0.85rem, 2.4vw, 1.5rem);
  bottom: clamp(0.9rem, 3vh, 1.5rem);
  z-index: 2;
  margin: 0;
  padding: 0.35rem 0.62rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(8, 7, 7, 0.3);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

@media (max-width: 640px) {
  .afk-carousel__caption {
    max-width: min(94vw, 30rem);
  }

  .afk-carousel__hint {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .afk-carousel__img {
    transition: none;
  }
}

@media (max-width: 960px) {
  .scene,
  .breathe,
  .flow,
  .bio-columns,
  .contact-layout,
  .contact-panel__grid,
  .expo-hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-col--about {
    max-width: none;
  }

  .footer-brand__mark {
    width: 22px;
  }

  .footer-brand__logo {
    max-width: min(118px, 70vw);
    height: clamp(14px, 3.5vw, 17px);
  }

  .footer-copy__sep {
    display: none;
  }

  .form-compact__row {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    columns: 2 160px;
  }

  .event {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .timeline-scroll {
    max-height: none;
    overflow-y: visible;
  }

  .parallax-band {
    min-height: clamp(250px, 34vh, 340px);
    background-attachment: scroll;
  }

  .expo-media-row {
    grid-template-columns: 1fr;
  }
}
