/* ==========================================================
   DEMOIZ'ELLES DE KLIMT — Cirkul'R — feuille de style
   Chargé sur demoizelles-klimt.html, EN PLUS de style.css
   (qui doit être chargé en premier).

   Palette : noir profond + or / mosaïque byzantine
   Typo : Cinzel Decorative (titres) / Cormorant Garamond (texte)
   ========================================================== */

/* ---------- 1. THÈME KLIMT (variables propres à cette page) ---------- */

:root{
  --bg: #0a0805;
  --deep: #0d0a06;
  --ink: #d9cdae;
  --muted: #a99a78;
  --or: #c9a227;
  --or-vif: #e3c15a;
  --line: rgba(201, 162, 39, 0.18);
  --font-display: 'Cinzel Decorative', serif;
  --font-body: 'Cormorant Garamond', serif;
}

body{
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
}

ul{ list-style: none; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- 2. MENU (variante Klimt) ---------- */

.menu--klimt{
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0d0a06;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.menu--klimt .menu__lien{
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-shadow: none;
}

.menu--klimt .menu__lien::after{ background: var(--or-vif); }

.menu--klimt .menu__lien:hover,
.menu--klimt .menu__lien:focus-visible{
  color: var(--or-vif);
  text-shadow: 0 0 10px rgba(227,193,90,0.4);
}

.menu--klimt .menu__lien:focus-visible{ outline: 1px solid var(--or-vif); }

/* ---------- 3. SOUS-MENU SPECTACLES ---------- */

.sous-menu--encadre{ border-top: 1px solid var(--line); }

.sous-menu__lien--pirak{
  font-family: 'Pirata One', cursive;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  color: #b5432e;
  letter-spacing: 0.03em;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.6);
  transform: rotate(-2deg);
  display: inline-block;
}
.sous-menu__lien--pirak:hover{ color: #d8593c; text-shadow: 0 0 14px rgba(216,89,60,0.5); }

.sous-menu__lien--sygne{
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f4f2fa;
  text-shadow:
    0 0 10px rgba(244,242,250,0.7),
    0 0 26px rgba(159,232,255,0.55),
    0 0 50px rgba(217,170,255,0.4);
}
.sous-menu__lien--sygne:hover{
  text-shadow:
    0 0 14px rgba(244,242,250,0.9),
    0 0 36px rgba(159,232,255,0.75),
    0 0 70px rgba(217,170,255,0.55);
}

.sous-menu__lien--klimt{
  font-family: 'IM Fell English', serif;
  font-style: italic;
  color: #d9b84a;
  letter-spacing: 0.06em;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  text-align: center;
  display: inline-block;
}
.sous-menu__lien--klimt:hover{ color: #e0bb45; }

/* ---------- 4. SECTION 1 : HERO (titre) ---------- */

.hero-klimt{
  position: relative;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 2vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse at center, rgba(60,45,10,0.3) 0%, rgba(0,0,0,0.92) 70%),
    var(--bg);
}

.hero-klimt-title{
  position: relative;
  margin: 0;
  text-align: center;
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  letter-spacing: 0.04em;
  color: var(--or);
  line-height: 1.15;
  text-shadow:
    0 0 14px rgba(201,162,39,0.55),
    0 0 34px rgba(201,162,39,0.35);
}

.hero-klimt-sub{
  position: relative;
  margin-top: 1.4rem;
  font-family: var(--font-body);
  font-style: italic;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- 5. ESPACE ---------- */

.breathing-space{
  height: clamp(1.2rem, 3vw, 2.5rem);
  background: var(--bg);
}

/* ---------- 6. SECTION 2 : PRESENTATION + DISTRIBUTION + MEDIA ---------- */

.presentation{
  background: var(--bg);
  padding: 2rem 6vw 7rem;
}

.presentation-inner{
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.15fr);
  grid-template-areas:
    "intro media"
    "distribution media";
  gap: 5vw;
  align-items: start;
}

.presentation-intro{ grid-area: intro; padding-top: 4vw; min-width: 0; }
.presentation-distribution{ grid-area: distribution; min-width: 0; }

.eyebrow{
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--or-vif);
  text-shadow: 0 0 18px rgba(227,193,90,0.3);
  margin: 0 0 1.4rem;
}

.presentation-intro > p:not(.eyebrow):not(.distribution-intro){
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 1.35vw, 1.5rem);
  line-height: 1.6;
  color: var(--ink);
  max-width: 46ch;
}

.media-column{
  position: sticky;
  top: 8vh;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  min-width: 0;
  grid-area: media;
}

/* Diaporama : une photo à la fois, défilement automatique */
.slideshow{ position: relative; }

.slideshow-photo{
  display: block;
  width: 100%;
  aspect-ratio: 5 / 6;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--deep);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.slideshow-photo__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) brightness(0.95);
  opacity: 0;
  transition: opacity 1.1s ease;
}

.slideshow-photo__img.is-active{
  opacity: 1;
}

.slideshow-photo::after{
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(201,162,39,0);
  transition: box-shadow 0.4s ease;
  pointer-events: none;
}

.slideshow-photo:hover::after,
.slideshow-photo:focus-visible::after{
  box-shadow: inset 0 0 0 1px rgba(227,193,90,0.55);
}

.slideshow-photo:focus-visible{
  outline: 2px solid var(--or-vif);
  outline-offset: 3px;
}

.photo-credit{
  margin: 0.9rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: right;
}
.photo-credit a{ color: var(--or-vif); transition: text-shadow 0.3s ease, color 0.3s ease; }
.photo-credit a:hover{ text-shadow: 0 0 10px rgba(227,193,90,0.7); }

/* ---------- 7. LIGHTBOX ---------- */

.lightbox{
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.96);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.is-open{ display: flex; }

.lightbox-img{
  max-width: min(88vw, 1100px);
  max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 0 80px rgba(201,162,39,0.15);
}

.lightbox-close{
  position: absolute; top: 1.5rem; right: 2rem;
  background: none; border: none; color: var(--ink);
  font-size: 2.4rem; line-height: 1; cursor: pointer;
  font-family: var(--font-body); opacity: 0.75;
  transition: opacity 0.3s ease;
}
.lightbox-close:hover{ opacity: 1; }

.lightbox-nav{
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--ink);
  font-size: 1.4rem; cursor: pointer; padding: 1rem 1.2rem;
  opacity: 0.6; transition: opacity 0.3s ease, color 0.3s ease;
}
.lightbox-nav:hover{ opacity: 1; color: var(--or-vif); }
.lightbox-prev{ left: 0.5rem; }
.lightbox-next{ right: 0.5rem; }

.lightbox-counter{
  position: absolute; bottom: 1.8rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem; letter-spacing: 0.25em;
  color: var(--muted); text-transform: uppercase;
}

/* ---------- 8. DISTRIBUTION ---------- */

.distribution{
  margin-top: 0;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
  max-width: 46ch;
}

.distribution-intro{
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--or-vif);
  margin: 0 0 2.2rem;
}

.distribution-block{
  margin-bottom: 1.6rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}
.distribution-block.no-border{ border-bottom: none; padding-bottom: 0; }

.distribution-role-title{
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 0.6rem;
  letter-spacing: 0.03em;
}
.distribution-role-title.inline{ display: inline; margin: 0; }

.distribution-block p,
.distribution-block ul li{
  font-family: var(--font-body);
  color: var(--muted);
  margin: 0;
  padding: 0.25rem 0;
}
.distribution-block ul li span{ color: var(--ink); }

/* ---------- 9. LIENS ---------- */

.links{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.6rem;
  max-width: 46ch;
}

.link-card{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--line);
  background: var(--deep);
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease;
}
.link-card:hover{
  border-color: var(--or-vif);
  background: rgba(201,162,39,0.08);
  transform: translateX(4px);
}

.link-label{
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--ink);
}
.link-arrow{ color: var(--or-vif); font-size: 1rem; }
.link-contact .link-arrow{ color: var(--or); }

/* ---------- 10. RESPONSIVE ---------- */

@media (max-width: 900px){
  .presentation-inner{
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "media" "distribution";
  }
  .media-column{ position: static; margin-top: 3rem; }
  .presentation-distribution{ margin-top: 3rem; }
}
