/* ==========================================================================
   Univers Boudoir · Alison Judalet · Nanalison36 Photographie
   Nuit, or et chuchotements. Prolonge l'ambiance du portail.
   ========================================================================== */

:root {
  --nuit:      #14100c;
  --encre:     #1a1410;
  --brun:      #251c14;
  --or:        #c9a25e;
  --champagne: #e9d7ae;
  --creme:     #f5efe3;
  --creme-60:  rgba(245, 239, 227, .6);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; }

html {
  scrollbar-width: thin;
  scrollbar-color: #3d2f20 var(--nuit);
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--nuit); }
::-webkit-scrollbar-thumb {
  background: #3d2f20;
  border-radius: 99px;
  border: 2px solid var(--nuit);
}
::-webkit-scrollbar-thumb:hover { background: var(--or); }

body {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  background: var(--nuit);
  color: var(--creme);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

::selection { background: var(--or); color: var(--nuit); }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: clamp(.7rem, 1.6vh, 1.1rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(94%, 920px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .72rem clamp(1.1rem, 2.5vw, 1.7rem);
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .7s var(--ease), border-color .7s var(--ease), box-shadow .7s var(--ease);
}

.nav.est-scrollee {
  background: rgba(16, 12, 9, .76);
  backdrop-filter: blur(16px);
  border-color: rgba(201, 162, 94, .24);
  box-shadow:
    inset 0 1px 0 rgba(233, 215, 174, .07),
    0 18px 42px -18px rgba(8, 5, 3, .65);
}

.nav-retour,
.nav-liens a {
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: .85;
  transition: opacity .4s, color .4s;
}

.nav-retour:hover,
.nav-liens a:hover,
.nav-retour:focus-visible,
.nav-liens a:focus-visible { opacity: 1; color: var(--champagne); }

.nav-marque {
  font-family: "Italiana", serif;
  font-size: 1.05rem;
  letter-spacing: .3em;
  text-indent: .3em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.nav-liens {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.2rem);
}

@media (max-width: 720px) {
  .nav-liens { gap: .9rem; }
  .nav-marque { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  height: 100dvh;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.hero-photo {
  position: absolute;
  inset: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  animation:
    hero-reveler 2.4s var(--ease) both,
    hero-derive 28s ease-in-out 2.4s infinite alternate;
}

/* dérive Ken Burns très lente, après le reveal */
@keyframes hero-derive {
  from { transform: scale(1); }
  to   { transform: scale(1.055); }
}

.hero-voile {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(20, 14, 10, .55), rgba(20, 14, 10, .25) 35%, rgba(20, 16, 12, .92) 92%, var(--nuit));
}

.hero-contenu {
  position: relative;
  z-index: 2;
  padding: 0 1.2rem;
  display: grid;
  justify-items: center;
  gap: 1.1rem;
}

.hero-sur {
  font-size: .68rem;
  letter-spacing: .42em;
  text-indent: .42em;
  text-transform: uppercase;
  color: var(--or);
  animation: monter 1.4s var(--ease) both .5s;
}

.hero-titre {
  font-family: "Italiana", serif;
  font-weight: 400;
  font-size: clamp(4rem, 13vw, 9rem);
  line-height: .95;
  letter-spacing: .06em;
  text-wrap: balance;
  animation: monter 1.6s var(--ease) both .65s;
}

.hero-tagline {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  max-width: 34em;
  color: var(--creme);
  opacity: .95;
  animation: monter 1.6s var(--ease) both .85s;
}

.hero-note {
  font-size: .6rem;
  letter-spacing: .3em;
  text-indent: .3em;
  text-transform: uppercase;
  color: var(--creme-60);
  animation: monter 1.6s var(--ease) both 1.05s;
}

.hero-fleche {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--or));
  animation: fleche 2.4s ease-in-out infinite;
}

@keyframes fleche {
  0%, 100% { transform: translateX(-50%) scaleY(.55); transform-origin: top; opacity: .5; }
  50%      { transform: translateX(-50%) scaleY(1); opacity: 1; }
}

@keyframes hero-reveler {
  from { transform: scale(1.1); filter: brightness(.35); }
  to   { transform: scale(1); filter: brightness(1); }
}

@keyframes monter {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: clamp(4.5rem, 10vh, 7.5rem) clamp(1.2rem, 5vw, 4rem);
  max-width: 1200px;
  margin: 0 auto;
}

.section-tete {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: .8rem;
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}

.section-num {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: .66rem;
  letter-spacing: .4em;
  text-indent: .4em;
  text-transform: uppercase;
  color: var(--or);
}

.section-num::before,
.section-num::after {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

.section-titre {
  font-family: "Italiana", serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: .05em;
  line-height: 1.05;
  text-wrap: balance;
}

.section-intro {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.15rem;
  max-width: 38em;
  color: var(--creme-60);
  text-wrap: pretty;
}

/* apparition au scroll : fondu + montée + mise au point, cascade via --delai */
.apparait {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(9px);
  transition:
    opacity 1.15s var(--ease),
    transform 1.15s var(--ease),
    filter 1.15s var(--ease);
  transition-delay: var(--delai, 0ms);
}

.apparait.visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* --------------------------------------------------------------------------
   L'approche (texte + portrait)
   -------------------------------------------------------------------------- */

.approche {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.approche-texte p + p { margin-top: 1.1rem; }

.approche-texte .accroche {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--champagne);
  margin-bottom: 1.4rem;
}

.approche-photo {
  position: relative;
}

.approche-photo img {
  width: 100%;
  height: auto;
}

.approche-photo::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid rgba(201, 162, 94, .45);
  pointer-events: none;
}

@media (max-width: 860px) {
  .approche { grid-template-columns: 1fr; }
  .approche-photo { max-width: 420px; margin: 0 auto; }
}

.citation {
  max-width: 42em;
  margin: 0 auto;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--champagne);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Collections (3 cartes galeries)
   -------------------------------------------------------------------------- */

.collections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}

.collection {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.1;
  overflow: hidden;
  text-decoration: none;
  background: var(--brun);
  transition: box-shadow .9s var(--ease);
}

.collection:hover,
.collection:focus-visible {
  box-shadow: 0 30px 60px -30px rgba(8, 5, 3, .8);
}

/* hairline intérieure façon passe-partout, révélée au survol */
.collection::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 3;
  border: 1px solid rgba(233, 215, 174, 0);
  transition: border-color .9s var(--ease);
  pointer-events: none;
}

.collection:hover::before,
.collection:focus-visible::before { border-color: rgba(233, 215, 174, .4); }

.collection img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter 1.4s var(--ease);
}

.collection::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 14, 10, .05) 40%, rgba(16, 11, 8, .85));
  transition: opacity .8s;
}

.collection:hover img,
.collection:focus-visible img { transform: scale(1.07); }

.collection-contenu {
  position: absolute;
  z-index: 2;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.3rem;
  display: grid;
  gap: .3rem;
}

.collection-titre {
  font-family: "Italiana", serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  letter-spacing: .06em;
}

.collection-sous {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: .98rem;
  color: var(--creme-60);
}

.collection-voir {
  margin-top: .5rem;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--champagne);
  position: relative;
  padding-bottom: .4rem;
  justify-self: start;
}

.collection-voir::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(.25);
  transform-origin: left;
  transition: transform .9s var(--ease);
}

.collection:hover .collection-voir::after,
.collection:focus-visible .collection-voir::after { transform: scaleX(1); }

.badge-adulte {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  padding: .32rem .7rem;
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-indent: .24em;
  text-transform: uppercase;
  color: var(--nuit);
  background: var(--or);
}

@media (max-width: 820px) {
  .collections { grid-template-columns: 1fr; }
  .collection { aspect-ratio: 3 / 3.4; max-width: 480px; margin: 0 auto; width: 100%; }
}

/* --------------------------------------------------------------------------
   Déroulé de séance
   -------------------------------------------------------------------------- */

.deroule {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.6rem, 3vw, 2.6rem);
}

.etape {
  flex: 0 1 calc((100% - 2 * clamp(1.6rem, 3vw, 2.6rem)) / 3);
  min-width: 240px;
  position: relative;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(201, 162, 94, .3);
}

.etape-num {
  font-family: "Italiana", serif;
  font-size: 2rem;
  color: var(--or);
  line-height: 1;
  margin-bottom: .6rem;
}

.etape h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: .02em;
  margin-bottom: .35rem;
}

.etape p {
  font-size: .92rem;
  color: var(--creme-60);
}

/* --------------------------------------------------------------------------
   Formules (tarifs)
   -------------------------------------------------------------------------- */

.fond-encre {
  background: var(--encre);
  border-top: 1px solid rgba(201, 162, 94, .15);
  border-bottom: 1px solid rgba(201, 162, 94, .15);
}

.formules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.8rem);
  align-items: stretch;
}

.formule {
  position: relative;
  padding: 2.4rem 1.8rem 2rem;
  background: var(--brun);
  border: 1px solid rgba(201, 162, 94, .2);
  box-shadow: inset 0 1px 0 rgba(233, 215, 174, .06);
  display: grid;
  gap: .9rem;
  align-content: start;
  text-align: center;
  transition: border-color .6s, transform .6s var(--ease), box-shadow .8s var(--ease);
}

.formule:hover {
  border-color: rgba(201, 162, 94, .55);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(233, 215, 174, .09),
    0 26px 50px -28px rgba(8, 5, 3, .85);
}

.formule--signature {
  border-color: rgba(201, 162, 94, .65);
  background: linear-gradient(180deg, rgba(201, 162, 94, .1), rgba(37, 28, 20, 1) 45%);
}

.formule-etiquette {
  position: absolute;
  top: -0.62rem;
  left: 50%;
  transform: translateX(-50%);
  padding: .25rem .8rem;
  background: var(--or);
  color: var(--nuit);
  font-size: .56rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-indent: .26em;
  text-transform: uppercase;
  white-space: nowrap;
}

.formule-nom {
  font-family: "Italiana", serif;
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: .08em;
}

.formule-prix {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--champagne);
}

.formule-prix sup { font-size: 1.2rem; }

.formule ul {
  list-style: none;
  display: grid;
  gap: .45rem;
  font-size: .92rem;
  color: var(--creme-60);
}

.formule li strong { color: var(--creme); font-weight: 400; }

.formule-filet {
  width: 38px;
  height: 1px;
  background: rgba(201, 162, 94, .5);
  margin: 0 auto;
}

/* carte couple */
.formule--couple {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  text-align: left;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  padding: 1.8rem 2rem;
}

.formule--couple .formule-prix { font-size: 2.2rem; }

.formule--couple p { font-size: .92rem; color: var(--creme-60); }

.formule-option {
  font-size: .85rem;
  color: var(--champagne);
  border-left: 1px solid rgba(201, 162, 94, .5);
  padding-left: 1.2rem;
}

.tarifs-notes {
  margin-top: 2.2rem;
  text-align: center;
  display: grid;
  gap: .4rem;
}

.tarifs-notes p {
  font-size: .82rem;
  color: var(--creme-60);
}

.tarifs-notes .note-or { color: var(--or); letter-spacing: .18em; text-transform: uppercase; font-size: .66rem; }

@media (max-width: 880px) {
  .formules { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .formule--couple { grid-template-columns: 1fr; text-align: center; }
  .formule-option { border-left: none; border-top: 1px solid rgba(201, 162, 94, .4); padding: 1rem 0 0; }
}

/* --------------------------------------------------------------------------
   Témoignages
   -------------------------------------------------------------------------- */

.avis-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
}

.avis {
  position: relative;
  padding: 2.6rem 0 0;
  border-top: 1px solid rgba(201, 162, 94, .3);
}

.avis::before {
  content: "\00AB";
  position: absolute;
  top: .5rem;
  left: 0;
  font-family: "Italiana", serif;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--or);
  opacity: .8;
}

.avis blockquote {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.14rem;
  line-height: 1.55;
  color: var(--creme);
  text-wrap: pretty;
}

.avis figcaption {
  margin-top: 1rem;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--champagne);
}

.avis figcaption span {
  font-weight: 300;
  color: var(--creme-60);
}

.avis-action {
  margin-top: clamp(2rem, 5vh, 3rem);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Formulaire de contact
   -------------------------------------------------------------------------- */

.formulaire {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 1.15rem;
  background: var(--encre);
  border: 1px solid rgba(201, 162, 94, .25);
  box-shadow: inset 0 1px 0 rgba(233, 215, 174, .06);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}

.formulaire label {
  display: grid;
  gap: .4rem;
  font-size: .66rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--creme-60);
}

.formulaire input,
.formulaire select,
.formulaire textarea {
  font-family: "Jost", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--creme);
  background: var(--brun);
  border: 1px solid rgba(201, 162, 94, .3);
  padding: .78rem .95rem;
  width: 100%;
  transition: border-color .3s;
}

.formulaire input:focus-visible,
.formulaire select:focus-visible,
.formulaire textarea:focus-visible {
  outline: none;
  border-color: var(--or);
}

.formulaire textarea { min-height: 170px; resize: vertical; }

.formulaire select { cursor: pointer; }

.formulaire select option { background: var(--brun); color: var(--creme); }

.champ-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

@media (max-width: 560px) {
  .champ-double { grid-template-columns: 1fr; }
}

/* pot de miel anti-robots : hors écran */
.champ-miel {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.formulaire .bouton { justify-self: center; }

.formulaire-erreur {
  font-size: .9rem;
  padding: .7rem 1rem;
  border-left: 2px solid #c46a5a;
  background: rgba(196, 106, 90, .12);
  color: var(--creme);
}

/* --------------------------------------------------------------------------
   Contact / CTA
   -------------------------------------------------------------------------- */

.contact {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.bouton {
  display: inline-block;
  padding: 1rem 2.2rem;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-indent: .3em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--or);
  color: var(--champagne);
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  transition: background .5s, color .5s, transform .3s var(--ease), box-shadow .6s var(--ease);
}

.bouton:hover,
.bouton:focus-visible {
  background: var(--or);
  color: var(--nuit);
  box-shadow: 0 14px 34px -16px rgba(201, 162, 94, .55);
}

.bouton:active { transform: scale(.97); }

.bouton--plein { background: var(--or); color: var(--nuit); }

.bouton--plein:hover,
.bouton--plein:focus-visible { background: var(--champagne); border-color: var(--champagne); }

.contact-note {
  font-size: .8rem;
  color: var(--creme-60);
  max-width: 34em;
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.pied {
  border-top: 1px solid rgba(201, 162, 94, .18);
  padding: 2.4rem 1.2rem 2.8rem;
  text-align: center;
  display: grid;
  gap: .9rem;
  justify-items: center;
}

.pied-marque {
  font-family: "Italiana", serif;
  font-size: 1rem;
  letter-spacing: .3em;
  text-indent: .3em;
  text-transform: uppercase;
}

.pied p, .pied a {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--creme-60);
  text-decoration: none;
}

.pied a:hover, .pied a:focus-visible { color: var(--champagne); }

.pied-liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }

.pied-mention { font-size: .6rem; opacity: .7; }

.pied-mention a { font-size: inherit; }

/* --------------------------------------------------------------------------
   Pages galeries
   -------------------------------------------------------------------------- */

.galerie-tete {
  padding: calc(clamp(4.5rem, 10vh, 7rem) + 2.5rem) clamp(1.2rem, 5vw, 4rem) clamp(2rem, 5vh, 3rem);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: .8rem;
}

.galerie-compte {
  font-size: .62rem;
  letter-spacing: .34em;
  text-indent: .34em;
  text-transform: uppercase;
  color: var(--or);
  opacity: .85;
}

.galerie-grille {
  columns: 3 300px;
  column-gap: 18px;
  padding: 0 clamp(1.1rem, 4vw, 4rem) clamp(3rem, 7vh, 5rem);
  max-width: 1520px;
  margin: 0 auto;
}

.tuile {
  display: block;
  margin-bottom: 18px;
  break-inside: avoid;
  position: relative;
  overflow: hidden;
  background: var(--brun);
  cursor: zoom-in;
  border: 0;
  padding: 0;
  width: 100%;
  touch-action: manipulation;
}

/* apparition en cascade (classes posées par le JS ; sans JS tout reste visible) */
.tuile.attend {
  opacity: 0;
  transform: translateY(26px) scale(.985);
}

.tuile.montre {
  opacity: 1;
  transform: none;
  transition: opacity .95s var(--ease), transform .95s var(--ease);
  transition-delay: var(--delai, 0ms);
}

.tuile img {
  width: 100%;
  height: auto;
  transition: transform 1.3s var(--ease);
}

.tuile:hover img,
.tuile:focus-visible img { transform: scale(1.05); }

/* voile bas + numéro de photo au survol */
.tuile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(16, 11, 8, .6), transparent 42%);
  opacity: 0;
  transition: opacity .8s var(--ease);
  pointer-events: none;
}

.tuile::before {
  content: attr(data-num);
  position: absolute;
  left: 1.1rem;
  bottom: .85rem;
  z-index: 2;
  font-family: "Italiana", serif;
  font-size: 1.15rem;
  letter-spacing: .18em;
  color: var(--champagne);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  pointer-events: none;
}

.tuile:hover::after,
.tuile:focus-visible::after { opacity: 1; }

.tuile:hover::before,
.tuile:focus-visible::before { opacity: 1; transform: none; }

.tuile:focus-visible { outline: 2px solid var(--champagne); outline-offset: 2px; }

.galerie-navigation {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  padding: 0 1.2rem clamp(4rem, 8vh, 6rem);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 7, 5, .93);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .5s var(--ease), visibility 0s .5s;
}

.lightbox.ouverte {
  visibility: visible;
  opacity: 1;
  transition: opacity .5s var(--ease);
}

.lightbox img {
  max-width: min(92vw, 1400px);
  max-height: 88vh;
  width: auto;
  height: auto;
  box-shadow: 0 40px 90px rgba(5, 3, 2, .7);
  transform: scale(.965);
  transition: transform .7s var(--ease), opacity .3s ease;
}

.lightbox.ouverte img { transform: scale(1); }

.lightbox img.change { opacity: 0; }

.lightbox-bouton {
  position: absolute;
  z-index: 2;
  background: none;
  border: none;
  color: var(--creme);
  cursor: pointer;
  touch-action: manipulation;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  opacity: .7;
  transition: opacity .3s, color .3s, transform .3s var(--ease);
  padding: 1rem;
}

.lightbox-bouton:active { transform: scale(.92); }

.lightbox-prec:active, .lightbox-suiv:active { transform: translateY(-50%) scale(.92); }

.lightbox-bouton:hover, .lightbox-bouton:focus-visible { opacity: 1; color: var(--champagne); }

.lightbox-fermer { top: .8rem; right: 1rem; font-size: 1.6rem; line-height: 1; }

.lightbox-prec, .lightbox-suiv {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.2rem;
  line-height: 1;
}

.lightbox-prec { left: .6rem; }
.lightbox-suiv { right: .6rem; }

.lightbox-compteur {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Italiana", serif;
  font-size: .85rem;
  letter-spacing: .3em;
  color: var(--creme-60);
}

/* --------------------------------------------------------------------------
   Voile 18+ (galerie intense)
   -------------------------------------------------------------------------- */

body.est-voilee { overflow: hidden; }

body.est-voilee .galerie-grille { filter: blur(26px); }

.gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(16, 11, 8, .82);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

body.est-voilee .gate { display: flex; }

.gate-carte {
  max-width: 460px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1.2rem;
  padding: 3rem 2.2rem;
  background: var(--encre);
  border: 1px solid rgba(201, 162, 94, .4);
}

.gate-titre {
  font-family: "Italiana", serif;
  font-weight: 400;
  font-size: 1.9rem;
  letter-spacing: .08em;
}

.gate-texte {
  font-size: .9rem;
  color: var(--creme-60);
}

.gate .bouton { cursor: pointer; }

.gate-refus {
  font-size: .64rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--creme-60);
}

.gate-refus:hover, .gate-refus:focus-visible { color: var(--champagne); }

/* --------------------------------------------------------------------------
   Grain + accessibilité
   -------------------------------------------------------------------------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    transition-duration: .01ms !important;
  }
  .apparait { opacity: 1; transform: none; }
}
