/* ==========================================================================
   Galerie ALISÉYA — feuille de style
   Charte : Bleu Abyssal #0F2B3C · Bronze Doré #C5A059 · Teck Océan #0B4F59 · Sable Toile #F7F4ED
   Les 4 couleurs sont modifiables depuis l'espace artiste (variables ci-dessous).
   ========================================================================== */
:root {
  --bleu: #0F2B3C;
  --teck: #0B4F59;
  --or: #C5A059;
  --sable: #F7F4ED;

  --sable-2: color-mix(in srgb, var(--sable) 86%, var(--bleu) 14%);
  --or-doux: color-mix(in srgb, var(--or) 45%, transparent);
  --texte: #2c3e48;
  --texte-doux: #5d6e78;
  --taupe: #B9AD94;

  --f-script: "Great Vibes", "Allura", cursive;
  --f-serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --f-sans: "Montserrat", "Poppins", system-ui, sans-serif;

  --wrap: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 30px 60px -30px rgba(15, 43, 60, .55);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-weight: 300;
  line-height: 1.75;
  color: var(--texte);
  background: var(--sable);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--bleu); text-decoration: none; }
a:hover { color: var(--teck); }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
::selection { background: var(--or); color: var(--bleu); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--bleu); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--f-serif); font-weight: 400; color: var(--bleu); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.script { font-family: var(--f-script); font-weight: 400; font-size: 1.35em; }
.eyebrow {
  font-size: .72rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
  color: var(--or); margin-bottom: 1.2rem; display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-sans); font-size: .76rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  background: var(--bleu); color: #fff; border: 1px solid var(--bleu);
  padding: 15px 30px; border-radius: 999px; cursor: pointer;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--teck);
  transform: translateY(101%); transition: transform .5s var(--ease-out); border-radius: inherit;
}
.btn:hover { color: #fff; transform: translateY(-2px); border-color: var(--teck); }
.btn:hover::before { transform: none; }
.btn-gold { background: var(--or); border-color: var(--or); color: var(--bleu); }
.btn-gold::before { background: var(--sable); }
.btn-gold:hover { color: var(--bleu); border-color: var(--sable); }
.btn-line { background: transparent; border-color: rgba(247, 244, 237, .6); color: var(--sable); }
.btn-line::before { background: var(--sable); }
.btn-line:hover { color: var(--bleu); border-color: var(--sable); }
.btn-small { padding: 11px 22px; font-size: .68rem; }

.round {
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--or); background: transparent;
  color: var(--bleu); font-size: 1.15rem; cursor: pointer; display: grid; place-items: center;
  transition: background .3s, color .3s, transform .3s var(--ease), opacity .3s;
}
.round:hover { background: var(--bleu); border-color: var(--bleu); color: var(--sable); transform: scale(1.06); }
.round:disabled { opacity: .3; pointer-events: none; }

/* ---------- Rideau d'ouverture ---------- */
.curtain { display: none; }
.js .curtain {
  position: fixed; inset: 0; z-index: 900; background: var(--bleu); color: var(--sable);
  display: grid; place-content: center; justify-items: center; text-align: center;
  transition: transform 1.1s var(--ease-out) .1s, visibility 0s linear 1.3s;
}
.curtain-mark { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.curtain-mark span { font-family: var(--f-script); font-size: 3.4rem; color: var(--or); line-height: 1; opacity: 0; animation: fadeUp .9s var(--ease) .2s forwards; }
.curtain-ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.curtain-ring circle { fill: none; stroke: var(--or); stroke-width: 1; stroke-dasharray: 352; stroke-dashoffset: 352; animation: draw 1.3s var(--ease) forwards; }
.curtain-name { font-family: var(--f-serif); font-size: 2.2rem; letter-spacing: .3em; padding-left: .3em; margin: 22px 0 0; opacity: 0; animation: fadeUp .9s var(--ease) .25s forwards; }
.curtain-sub { font-family: var(--f-script); color: var(--or); font-size: 1.7rem; margin: 4px 0 0; opacity: 0; animation: fadeUp .9s var(--ease) .55s forwards; }
.loaded .curtain { transform: translateY(-100%); visibility: hidden; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Barre de progression ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--or), color-mix(in srgb, var(--or) 50%, var(--sable))); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(24px, calc((100% - var(--wrap)) / 2));
  color: var(--sable);
  transition: background .5s var(--ease), color .5s var(--ease), height .5s var(--ease), box-shadow .5s, transform .5s var(--ease);
}
.site-header.solid {
  --header-h: 70px;
  background: color-mix(in srgb, var(--sable) 88%, transparent); color: var(--bleu);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--or-doux);
}
.site-header.hide { transform: translateY(-100%); }
.brand { display: flex; flex-direction: column; line-height: 1; color: inherit; }
.brand:hover { color: inherit; }
.brand-title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: .16em; }
.brand-sub { font-size: .58rem; letter-spacing: .5em; text-transform: uppercase; color: var(--or); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav i { display: none; }
.nav a:not(.btn) { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: inherit; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--or);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav a:not(.btn):hover::after, .nav a.current::after { transform: scaleX(1); transform-origin: left; }
.site-header:not(.solid) .nav .btn { background: transparent; border-color: rgba(247, 244, 237, .55); }
.burger { display: none; background: none; border: 0; width: 46px; height: 46px; cursor: pointer; position: relative; z-index: 2; color: inherit; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: .4s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 27px; left: 18px; }
.burger[aria-expanded="true"] span { left: 10px; top: 22px; }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* ---------- Hero diaporama ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--bleu); color: var(--sable); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: -4% 0; margin: 0; opacity: 0; transition: opacity 1.6s var(--ease); will-change: transform, opacity; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(0, 0, 0); } to { transform: scale(1.02) translate3d(-1.5%, -1%, 0); } }
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bleu) 70%, transparent) 0%, transparent 28%),
    linear-gradient(90deg, color-mix(in srgb, var(--bleu) 94%, transparent) 0%, color-mix(in srgb, var(--bleu) 78%, transparent) 38%, color-mix(in srgb, var(--bleu) 25%, transparent) 66%, transparent 85%),
    linear-gradient(0deg, color-mix(in srgb, var(--bleu) 85%, transparent) 0%, transparent 40%);
}
.hero-text {
  position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center;
  max-width: var(--wrap); margin: 0 auto; padding: calc(var(--header-h) + 20px) 24px 120px;
}
.hero-text > * { max-width: 640px; }
.hero h1 { color: var(--sable); font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1.04; margin-bottom: .45em; }
.hero h1 span { display: block; }
.hero h1 span:last-child { font-style: italic; color: var(--or); }
.hero .lead { font-size: clamp(.95rem, 1.3vw, 1.08rem); color: color-mix(in srgb, var(--sable) 88%, transparent); max-width: 520px; margin-bottom: 2.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-ui {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 34px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
  padding: 0 max(24px, calc((100% - var(--wrap)) / 2));
}
.hero-caption { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: .98rem; color: var(--sable); min-height: 1.6em; transition: opacity .6s; }
.hero-caption small { display: block; font: 500 .62rem var(--f-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--or); font-style: normal; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button {
  width: 48px; height: 22px; background: none; border: 0; cursor: pointer; padding: 10px 0; position: relative;
}
.hero-dots button::before, .hero-dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: rgba(247, 244, 237, .3); }
.hero-dots button::after { background: var(--or); transform: scaleX(0); transform-origin: left; }
.hero-dots button[aria-selected="true"]::after { animation: fill var(--slide-ms, 6500ms) linear forwards; }
.hero.paused .hero-dots button[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(247, 244, 237, .55); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: var(--or); border-radius: 2px; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Entrée du texte du hero */
.js .split-in { opacity: 0; transform: translateY(30px); filter: blur(6px); }
.loaded .split-in { opacity: 1; transform: none; filter: none; transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out), filter 1.2s var(--ease-out); }
.loaded .split-in:nth-child(1) { transition-delay: .9s; }
.loaded .split-in:nth-child(2) { transition-delay: 1.05s; }
.loaded .split-in:nth-child(3) { transition-delay: 1.25s; }
.loaded .split-in:nth-child(4) { transition-delay: 1.4s; }

/* ---------- Bandeau défilant ---------- */
.marquee { background: var(--bleu); color: var(--sable); overflow: hidden; border-top: 1px solid var(--or-doux); padding: 18px 0; }
.marquee-track { display: flex; align-items: center; gap: 44px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.9rem); white-space: nowrap; }
.marquee b { color: var(--or); font-weight: 400; font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(80px, 11vw, 150px) 24px; position: relative; }
.section.band { max-width: none; background: var(--bleu); color: color-mix(in srgb, var(--sable) 86%, transparent); overflow: hidden; }
.section.band h2, .section.band h3 { color: var(--sable); }
.section.band a:not(.btn) { color: var(--sable); }
.section.band a:not(.btn):hover { color: var(--or); }
.section.band > .split { max-width: var(--wrap); margin: 0 auto; position: relative; z-index: 1; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }

/* Fond « peinture fluide » animé */
.fluid::before { /* halo qui suit la souris */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(600px circle at var(--mx, 70%) var(--my, 30%), color-mix(in srgb, var(--or) 14%, transparent), transparent 60%);
  transition: background .2s;
}
.blobs { position: absolute; inset: 0; pointer-events: none; filter: blur(70px); opacity: .75; }
.blobs i { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.blobs i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: var(--teck); animation: drift1 22s ease-in-out infinite alternate; }
.blobs i:nth-child(2) { width: 30vw; height: 30vw; right: -8vw; bottom: -10vw; background: color-mix(in srgb, var(--or) 55%, var(--bleu)); opacity: .55; animation: drift2 26s ease-in-out infinite alternate; }
.blobs i:nth-child(3) { width: 26vw; height: 26vw; left: 40%; top: 40%; background: color-mix(in srgb, var(--teck) 70%, var(--sable)); opacity: .35; animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18vw, 12vw) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-22vw, -8vw) scale(.9); } }
@keyframes drift3 { to { transform: translate(-14vw, -18vw) scale(1.25); } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 90px); align-items: center; }

/* ---------- À propos ---------- */
.about { text-align: center; }
.about-title {
  display: flex; justify-content: center; gap: .02em;
  font-size: clamp(3.4rem, 13vw, 10rem); letter-spacing: .1em; line-height: 1; margin: 0 0 .1em; padding-left: .1em;
}
.js .about-title span { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(4deg); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.js .about-title.in span { opacity: 1; transform: none; }
.about-title span:nth-child(2) { transition-delay: .06s; } .about-title span:nth-child(3) { transition-delay: .12s; }
.about-title span:nth-child(4) { transition-delay: .18s; } .about-title span:nth-child(5) { transition-delay: .24s; }
.about-title span:nth-child(6) { transition-delay: .3s; } .about-title span:nth-child(7) { transition-delay: .36s; }
.slogan { font-family: var(--f-script); font-size: clamp(2rem, 4.4vw, 3.2rem); color: var(--or); margin: 0 0 clamp(40px, 6vw, 80px); line-height: 1.1; }
.about-grid { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(40px, 7vw, 90px); align-items: center; max-width: 1040px; margin: 0 auto; text-align: left; }
.about-media { position: relative; }
.about-media::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--or); z-index: 0; }
.photo-slot {
  position: relative; z-index: 1; aspect-ratio: 3 / 4; overflow: hidden;
  background: var(--sable-2) url("../img/logo-aliseya.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}
.photo-slot.logo { aspect-ratio: 1; border-radius: 50%; background-size: 104%; }
.about-media:has(.logo)::before { border-radius: 50%; inset: -16px; }
.about-text h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.about-text p { font-size: 1.04rem; }
.signature { font-family: var(--f-script); font-size: 2.6rem !important; color: var(--bleu); margin-top: .4em; }

/* ---------- Univers ---------- */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.features li {
  display: flex; gap: 22px; align-items: flex-start; padding: 24px 26px; border-radius: 6px;
  background: color-mix(in srgb, var(--sable) 6%, transparent); border: 1px solid color-mix(in srgb, var(--or) 35%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .5s var(--ease-out), background .5s, border-color .5s;
}
.features li:hover { transform: translateX(8px); background: color-mix(in srgb, var(--sable) 11%, transparent); border-color: var(--or); }
.features svg { flex: none; width: 46px; height: 46px; fill: none; stroke: var(--or); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.features h3 { font-size: 1.35rem; margin-bottom: .15em; }
.features p { margin: 0; font-size: .9rem; }
.js .features li.reveal:nth-child(2) { transition-delay: .1s; }
.js .features li.reveal:nth-child(3) { transition-delay: .2s; }
.js .features li.reveal:nth-child(4) { transition-delay: .3s; }

/* ---------- Collections ---------- */
.collections { max-width: none; padding-left: 0; padding-right: 0; overflow: hidden; }
.collections > :not(.gallery) { padding-left: 24px; padding-right: 24px; }
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-bottom: 30px; }
.chip {
  font: 400 clamp(1.05rem, 2vw, 1.4rem) var(--f-serif); background: transparent; color: var(--texte-doux);
  border: 0; padding: 10px 20px; cursor: pointer; position: relative; transition: color .3s;
}
.chip::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 4px; height: 1px; background: var(--or); transform: scaleX(0); transition: transform .5s var(--ease-out); }
.chip:hover { color: var(--bleu); }
.chip[aria-selected="true"] { color: var(--bleu); font-style: italic; }
.chip[aria-selected="true"]::after { transform: scaleX(1); }
.chip sup { font: 500 .6rem var(--f-sans); color: var(--or); margin-left: 4px; letter-spacing: .1em; }

.intros { max-width: 720px; margin: 0 auto 50px; text-align: center; min-height: 5em; }
.intro[hidden] { display: none; }
.intro p { font-size: .98rem; margin: 0; color: var(--texte-doux); animation: fadeUp .8s var(--ease-out); }

.gallery { position: relative; }
.track {
  display: flex; gap: clamp(20px, 3vw, 44px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 30px max(24px, calc((100vw - var(--wrap)) / 2)) 40px; scroll-padding-inline: max(24px, calc((100vw - var(--wrap)) / 2));
  scrollbar-width: none; cursor: grab; outline: none;
}
.track::-webkit-scrollbar { display: none; }
.track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.track.dragging .art { pointer-events: none; }
.card { flex: 0 0 auto; width: clamp(270px, 36vw, 470px); scroll-snap-align: start; perspective: 1000px; animation: cardIn .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms); }
.card[hidden] { display: none; }
@keyframes cardIn { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
.art {
  display: block; width: 100%; padding: 14px; border: 1px solid color-mix(in srgb, var(--taupe) 60%, transparent);
  background: #fff; cursor: zoom-in; box-shadow: 0 20px 40px -30px rgba(15, 43, 60, .6);
  transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transform-style: preserve-3d;
  transition: transform .6s var(--ease-out), box-shadow .6s;
}
.art:hover { box-shadow: var(--shadow); }
.art-inner { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sable-2); }
.art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.art:hover img { transform: scale(1.06); }
.art-inner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .35), transparent 50%);
  opacity: 0; transition: opacity .4s;
}
.art:hover .art-inner::after { opacity: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 4px 0; }
.card h3 { margin: 0; font-size: 1.35rem; }
.card-details { margin: 4px 4px 0; font-size: .78rem; color: var(--texte-doux); }
.card-meta span { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--or); white-space: nowrap; }

.gallery-nav { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 6px; }
.counter { margin: 0; font-family: var(--f-serif); font-size: 1.05rem; color: var(--bleu); min-width: 5em; text-align: center; }
.counter b { font-weight: 400; font-size: 1.6rem; }
.empty { text-align: center; color: var(--texte-doux); margin: 10px 0 0; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; }
.contact-list li { margin-bottom: 10px; }
.contact-list strong { font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: .7rem; display: inline-block; width: 110px; color: var(--or); }
.form {
  display: grid; gap: 18px; padding: clamp(24px, 4vw, 42px); border-radius: 6px;
  background: var(--sable); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.form label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bleu); font-weight: 500; display: grid; gap: 6px; }
.form input, .form textarea {
  font: 300 1rem var(--f-sans); color: var(--texte); background: transparent;
  border: 0; border-bottom: 1px solid var(--taupe); border-radius: 0; padding: 10px 2px; width: 100%;
  transition: border-color .3s, background .3s;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--or); background: color-mix(in srgb, var(--or) 6%, transparent); }
.form [aria-invalid="true"] { border-color: #b3261e; }
.form .btn { justify-self: start; margin-top: 6px; }
.form-status { margin: 0; font-size: .9rem; min-height: 1.5em; color: var(--teck); }
.form-status.ok { color: var(--teck); font-weight: 500; }
.form-status.err { color: #b3261e; }
.form-status a { color: inherit !important; text-decoration: underline; }
.form .btn:disabled { opacity: .6; cursor: wait; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { margin: 0; font-size: .74rem; color: var(--texte-doux); }
.form-legal a { color: var(--bleu) !important; text-decoration: underline; }

/* ---------- Pied de page ---------- */
.site-footer { text-align: center; padding: 70px 24px 36px; background: var(--teck); color: var(--sable); position: relative; }
.footer-logo { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 18px; box-shadow: 0 0 0 1px var(--or), 0 0 0 7px color-mix(in srgb, var(--or) 25%, transparent); }
.site-footer .brand-title { display: block; font-size: clamp(2.4rem, 6vw, 4rem); margin: 0 0 4px; color: var(--sable); }
.site-footer .script { font-size: 2rem; margin: 0 0 22px; color: var(--or); }
.site-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; margin-bottom: 28px; }
.site-footer nav a { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sable); }
.site-footer nav a:hover { color: var(--or); }
.legal-links { display: flex; justify-content: center; gap: 22px; margin: 0 0 10px; }
.legal-links a { font-size: .72rem; color: rgba(247, 244, 237, .75); text-decoration: underline; text-underline-offset: 3px; }
.legal-links a:hover { color: var(--or); }
.site-footer small { color: rgba(247, 244, 237, .7); font-size: .74rem; }

/* ---------- Visionneuse ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 500; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  background: color-mix(in srgb, var(--bleu) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 24px clamp(12px, 3vw, 40px); animation: lbIn .5s var(--ease-out);
}
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } }
.lightbox figure { margin: 0 auto; display: grid; grid-template-columns: minmax(0, auto) minmax(220px, 340px); gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 1200px; max-height: 100%; }
.lb-frame { padding: 12px; background: #fff; box-shadow: 0 40px 100px rgba(0, 0, 0, .5); animation: lbZoom .7s var(--ease-out); }
.lightbox img { max-height: calc(100vh - 110px); max-height: calc(100svh - 110px); width: auto; margin: 0 auto; }
@keyframes lbZoom { from { opacity: 0; transform: scale(.94) translateY(20px); } }
.lightbox figcaption { color: var(--sable); display: grid; gap: 6px; animation: fadeUp .8s var(--ease-out) .15s both; }
.lightbox figcaption em { font: 500 .66rem var(--f-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--or); }
.lightbox figcaption strong { font-family: var(--f-serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; line-height: 1.1; margin-bottom: 8px; }
.lightbox figcaption span { font-size: .92rem; line-height: 1.7; color: color-mix(in srgb, var(--sable) 80%, transparent); margin-bottom: 18px; }
.lb-ask { justify-self: start; }
.lb-specs { margin: 0 0 20px; display: grid; gap: 8px; border-top: 1px solid color-mix(in srgb, var(--or) 35%, transparent); padding-top: 16px; }
.lb-specs[hidden] { display: none; }
.lb-specs div { display: flex; justify-content: space-between; gap: 16px; font-size: .86rem; }
.lb-specs dt { font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--or); }
.lb-specs dd { margin: 0; color: var(--sable); text-align: right; }
.lb-close { position: absolute; top: 14px; right: 20px; background: none; border: 0; color: var(--sable); font-size: 2.8rem; line-height: 1; cursor: pointer; z-index: 2; transition: transform .4s var(--ease-out), color .3s; }
.lb-close:hover { transform: rotate(90deg); color: var(--or); }
.lb-nav { color: var(--sable); }
.lb-nav:hover { background: var(--or); border-color: var(--or); color: var(--bleu); }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.js .about-title.reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .split, .about-grid { grid-template-columns: 1fr; }
  .about-grid { justify-items: center; text-align: center; }
  .about-media { width: min(100%, 340px); }
  .about-text .eyebrow { justify-content: center; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px;
    padding: 100px 36px 40px; background: var(--bleu); color: var(--sable);
    clip-path: circle(0 at calc(100% - 46px) 35px); visibility: hidden;
    transition: clip-path .8s var(--ease-out), visibility 0s linear .8s;
  }
  .nav.open { clip-path: circle(150% at calc(100% - 46px) 35px); visibility: visible; transition: clip-path .8s var(--ease-out); }
  .nav a:not(.btn), .nav .btn {
    font: 400 clamp(2rem, 9vw, 3rem) var(--f-serif); letter-spacing: 0; text-transform: none;
    color: var(--sable); background: none; border: 0; padding: 6px 0; border-radius: 0; display: flex; align-items: baseline; gap: 16px;
  }
  .nav .btn::before { display: none; }
  .nav i { display: inline; font: 500 .7rem var(--f-sans); font-style: normal; color: var(--or); letter-spacing: .2em; }
  .site-header:has(.nav.open) { color: var(--sable); background: transparent; box-shadow: none; backdrop-filter: none; }
  .site-header:has(.nav.open) .brand { position: relative; z-index: 2; }
  .hero-text { padding-bottom: 150px; }
  .hero-veil { background: linear-gradient(180deg, color-mix(in srgb, var(--bleu) 70%, transparent) 0%, color-mix(in srgb, var(--bleu) 78%, transparent) 45%, color-mix(in srgb, var(--bleu) 92%, transparent) 100%); }
  .hero-ui { flex-direction: column; align-items: flex-start; bottom: 84px; }
  .scroll-cue { display: none; }
  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; overflow-y: auto; align-items: start; padding-top: 60px; }
  .lightbox figure { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 20px; }
  .lightbox img { max-height: 62svh; }
  .lb-prev { justify-self: end; } .lb-next { justify-self: start; }
  .lb-nav { grid-row: 2; }
}
@media (max-width: 560px) {
  .card { width: 78vw; }
  .contact-list strong { display: block; width: auto; }
  .hero .actions .btn { flex: 1 1 100%; }
}
@media (hover: none) { .fluid::before { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee-track, .blobs i { animation: none !important; }
}

/* ---------- Pages légales ---------- */
.page-legal { background: var(--sable); }
.legal-header {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px max(24px, calc((100% - 900px) / 2)); color: var(--bleu); border-bottom: 1px solid var(--or-doux);
}
.legal-main { max-width: 900px; margin: 0 auto; padding: clamp(50px, 8vw, 100px) 24px; }
.legal-main h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1em; }
.legal-main h2 { font-size: 1.5rem; margin: 2em 0 .6em; padding-left: 14px; border-left: 2px solid var(--or); }
.legal-main a { text-decoration: underline; text-underline-offset: 3px; }
.legal-main .missing { color: #b3261e; font-style: italic; }
.legal-update { margin-top: 3em; font-size: .8rem; color: var(--texte-doux); }
.small-footer { padding: 36px 24px; }

/* ---------- Page 404 ---------- */
.page-404 { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--bleu); color: var(--sable); position: relative; overflow: hidden; }
.page-404 main { position: relative; z-index: 1; padding: 24px; }
.page-404 .script { font-size: 3rem; color: var(--or); margin: 0; }
.page-404 h1 { font-size: clamp(6rem, 22vw, 12rem); color: var(--sable); margin: 0; line-height: 1; letter-spacing: .1em; }
.page-404 p { margin-bottom: 2rem; }
