/* ================================================================
   CINEMATEK — Feuille de styles principale
   ================================================================ */

/* ── Police Archer Semibold (locale) ── */
@font-face {
  font-family: 'Archer Semibold';
  src: url('Fonts/Archer Semibold (1).otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #c0392b;
  --dark: #1a1a1a;
  --cream: #f0e8d8;
  --marble: #e8dcc8;
  --text: #2c2c2c;
  --light-text: #666;
  --nav-bg: #111;
  --anim-ease: cubic-bezier(.4, 0, .2, 1);
}

html { scroll-behavior: smooth; }
body { font-family: 'Georgia', serif; color: var(--text); background: #fff; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }


/* ================================================================
   KEYFRAMES
   ================================================================ */

/* Lune — halo pulsant */
@keyframes moonGlow {
  0%, 100% { box-shadow: 0 0 80px 30px rgba(220,180,60,.25), 0 0 200px 60px rgba(180,130,20,.10); }
  50%       { box-shadow: 0 0 120px 50px rgba(220,180,60,.40), 0 0 260px 90px rgba(180,130,20,.20); }
}

/* Reflet de la lune sur l'eau — ondulation verticale */
@keyframes reflectionWave {
  0%, 100% { opacity: .6; transform: translateX(-50%) scaleX(1);   }
  50%       { opacity: .3; transform: translateX(-50%) scaleX(1.6); }
}

/* Titre héro — apparition du bas */
@keyframes heroTitleIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* Tagline héro — fondu */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Navigation — glisse depuis le haut */
@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0);     }
}

/* Cartes — monte au survol */
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

/* Badge année — zoom d'entrée */
@keyframes yearPop {
  0%   { opacity: 0; transform: scale(.6); }
  70%  { transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1);  }
}

/* Séances — slide depuis la gauche */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0);     }
}

/* Founders — fondu + montée */
@keyframes founderIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* Underline rouge animé */
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Scroll indicator */
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0);  }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Barre de chargement newsletter */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}

/* Icône accessibilité — rotation douce */
@keyframes spinOnce {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Poster — léger zoom au survol */
@keyframes posterZoom {
  from { transform: scale(1);    }
  to   { transform: scale(1.04); }
}

/* ================================================================
   NAVIGATION
   ================================================================ */
nav {
  background: var(--nav-bg);
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 48px;
  border-bottom: 2px solid var(--red);
  animation: navSlideDown .5s var(--anim-ease) both;
}

.nav-logo {
  font-family: 'Archer Semibold', sans-serif;
  font-size: 1.1rem; font-weight: 900; letter-spacing: .15em;
  color: #fff; text-transform: uppercase;
  transition: letter-spacing .3s;
}
.nav-logo:hover { letter-spacing: .22em; }
.nav-logo span { color: var(--red); }

.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a {
  color: #ccc; font-family: Arial, sans-serif;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  position: relative; padding-bottom: 3px;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--anim-ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-search {
  background: #333; border: none; color: #ccc;
  padding: .3rem .7rem; font-size: .75rem;
  border-radius: 2px; width: 120px;
  transition: width .3s, background .2s;
}
.nav-search:focus { outline: none; width: 180px; background: #444; }


/* ================================================================
   HERO
   ================================================================ */
#accueil {
  position: relative; height: 96vh; min-height: 560px;
  overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}

/* ── Hero carousel slides ─────────────────────────── */
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center bottom;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 0;
}
.hero-slide.is-active {
  opacity: 1; z-index: 1;
  animation: kenBurns 8s ease-in-out forwards;
}
.hero-slide[data-index="0"] { background-image: url('images/Frame\ 14.png'); background-position: center bottom; }
.hero-slide[data-index="1"] { background-image: url('images/boulevardducrepuscule.jpg'); background-position: center center; }
.hero-slide[data-index="2"] { background-image: url('images/lapassiondejeannedarc.jpg'); background-position: center center; }

@keyframes kenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* gradient latéral pour lisibilité de la carte */
.hero-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to right,
    rgba(0,0,0,.75) 0%,
    rgba(0,0,0,.45) 38%,
    rgba(0,0,0,.1)  60%,
    transparent     80%);
}

/* ── Carousel navigation (bas-droite) ─────────────── */
.hero-carousel-nav {
  position: absolute; bottom: 2.2rem; right: 2.5rem; z-index: 10;
  display: flex; align-items: center; gap: .55rem;
}
.hero-carousel-arrow {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.25);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.hero-carousel-arrow:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.6); }
.hero-carousel-dots { display: flex; gap: .4rem; }
.hero-carousel-dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: transparent; border: 1.5px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.45); cursor: pointer;
  font-family: 'Courier Prime', monospace; font-size: .72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, border-color .25s, color .25s;
}
.hero-carousel-dot.is-active { background: var(--red); border-color: var(--red); color: #fff; }

/* ── Transition contenu de la carte film ─────────── */
@keyframes cardContentIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-film-card.card-changing .film-card-label,
.hero-film-card.card-changing .film-card-body {
  animation: cardContentIn .5s .1s ease both;
}


@keyframes shipDrift {
  0%, 100% { transform: translateX(-50%) rotate(0deg);    }
  50%       { transform: translateX(calc(-50% + 6px)) rotate(.5deg); }
}
.hero-ship::after {
  content: '';
  position: absolute; top: 30px; left: -6px;
  width: 12px; height: 36px;
  background: rgba(5,5,5,.95);
}



.hero-title-box {
  position: relative; z-index: 2;
  text-align: center;
  margin-top: -8rem; /* remonte le bloc titre vers le centre-haut */
}

.hero-tagline {
  font-family: Arial, sans-serif; font-size: .65rem; letter-spacing: .25em;
  color: #aaa; text-transform: uppercase; margin-bottom: .8rem;
  animation: fadeIn 1s .4s both;
}

.hero-title {
  font-family: 'Archer Semibold', serif; font-size: 5rem; font-weight: 600;
  color: #e8dcc0; letter-spacing: .35em; text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(0,0,0,.8);
  animation: heroTitleIn .9s .6s var(--anim-ease) both;
}

.hero-cta {
  display: inline-block; margin-top: 1.5rem;
  padding: .5rem 1.4rem; border: 1px solid var(--red);
  background: var(--red); color: #fff;
  font-family: Arial, sans-serif; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  animation: fadeIn .8s 1.1s both;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.hero-cta:hover {
  background: #a93226;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,57,43,.5);
}

/* Indicateur de scroll */
.hero-scroll {
  position: absolute; bottom: 2rem; left: calc(2.5rem + 240px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  animation: fadeIn 1s 1.5s both, scrollBounce 1.6s 2s ease-in-out infinite;
  color: #888; font-family: Arial, sans-serif; font-size: .6rem; letter-spacing: .1em;
}
.hero-scroll::before {
  content: '';
  width: 1px; height: 36px;
  background: linear-gradient(180deg, transparent, #888);
}

/* ================================================================
   HERO FILM CARD
   ================================================================ */
.hero-film-card {
  position: absolute;
  bottom: 6rem;
  left: 2.5rem;
  width: 480px;
  background: rgba(8, 10, 18, .88);
  border: 1px solid rgba(80,160,220,.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10;
  animation: cardSlideUp .8s 1.3s var(--anim-ease) both,
             borderPulse 3s 2.5s ease-in-out infinite;
}
 
/* Étiquette "CLASSIC ANTHOLOGY" */
.film-card-label {
  background: var(--red);
  padding: .45rem 1rem;
  display: flex; align-items: center; gap: .7rem;
  animation: labelIn .5s 1.8s var(--anim-ease) both;
}
.film-card-label span {
  font-family: Arial, sans-serif; font-size: .72rem; font-weight: 900;
  letter-spacing: .18em; text-transform: uppercase; color: #fff;
}
.film-card-label::before {
  content: '';
  display: block; width: 3px; height: 14px;
  background: rgba(255,255,255,.5);
  flex-shrink: 0;
}
 
/* Corps de la carte */
.film-card-body {
  padding: 1rem 1.2rem 1.2rem;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
}
 
/* Colonne gauche */
.film-card-left {}
 
.film-card-title {
  font-family: Arial, sans-serif; font-size: .95rem; font-weight: 700;
  color: #fff; text-transform: uppercase; letter-spacing: .05em;
  line-height: 1.2; margin-bottom: .3rem;
}
.film-card-director {
  font-family: Arial, sans-serif; font-size: .7rem;
  color: rgba(255,255,255,.5); letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: .6rem;
}
.film-card-dates {
  font-family: Arial, sans-serif; font-size: .78rem;
  color: rgba(200,220,255,.7); letter-spacing: .05em;
  margin-bottom: 1rem;
  border-left: 2px solid var(--red);
  padding-left: .5rem;
}
 
/* Bouton PLAY */
.film-card-play {
  display: flex; align-items: center; gap: .6rem;
  padding: .5rem .8rem;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  cursor: pointer; width: fit-content;
  font-family: Arial, sans-serif; font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase; color: #fff;
  transition: background .2s, border-color .2s, transform .15s;
  text-decoration: none;
}
.film-card-play:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.5);
  transform: translateX(3px);
}
.play-icon {
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
  flex-shrink: 0;
}
 
/* Colonne droite — description */
.film-card-desc {
  font-family: Georgia, serif; font-size: .8rem; line-height: 1.65;
  color: rgba(210,210,220,.75);
  border-left: 1px solid rgba(80,160,220,.2);
  padding-left: 1rem;
  display: flex; align-items: center;
}
 
/* Ligne décorative en bas de la carte */
.film-card-footer {
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, rgba(80,160,220,.4) 50%, transparent 100%);
}

/* ================================================================
   SECTION CINEMATEK (fusionnée : cinematek + origines + quest)
   ================================================================ */
#cinematek {
  background: url('images/papier.jpg') center center / cover;
  padding: 4rem 2rem 5rem;
  position: relative;
}
#cinematek::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(245, 240, 232, 0.45);
  pointer-events: none;
  z-index: 0;
}
#cinematek > * { position: relative; z-index: 1; }

.cinematek-inner {
  width: 100%;
  padding: 0 3rem;
}

/* Titre + intro + photos : centrés et max-width */
.cine-title-wrap,
.cine-intro,
.founders-row {
  max-width: 805px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Titre encadré ── */
.cine-title-wrap {
  text-align: center;
  margin-bottom: 2rem;
}
.cine-title {
  display: block;
  width: 100%;
  font-family: 'Archer Semibold', sans-serif; font-size: 2rem; font-weight: 600;
  color: #990000; text-transform: uppercase; letter-spacing: .08em;
  border: 3px solid #ffffff;
  padding: 20px;
  background: transparent;
  box-sizing: border-box;
}

/* ── Intro ── */
.cine-intro {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 1rem; line-height: 1.7; letter-spacing: 0;
  color: #111; margin-bottom: 2rem;
  background: rgba(255,255,255,0.62);
  padding: 24px 28px;
  max-width: 80ch;
}
.cine-intro strong { color: #111; font-weight: 700; }

/* ── Founders ── */
.founders-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.founder-card {
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--anim-ease), transform .5s var(--anim-ease);
}
.founder-card.in-view { opacity: 1; transform: translateY(0); }
.founder-card:nth-child(2) { transition-delay: .15s; }
.founder-card:nth-child(3) { transition-delay: .3s;  }

.founder-photo {
  width: 100%; aspect-ratio: 4/5;
  border: 2px solid var(--red);
  position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

/* Bandeau blanc semi-transparent en bas du portrait */
.founder-photo::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 28%;
  background: linear-gradient(to top, rgba(255,255,255,0.55) 0%, transparent 100%);
  pointer-events: none;
}

.founder-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  filter: grayscale(100%) contrast(1.08);
  transition: filter .4s, transform .4s;
}
.founder-card:hover .founder-photo {
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(192,57,43,.25);
}
.founder-card:hover .founder-photo img { filter: grayscale(40%) contrast(1.05); }

/* ── ORIGINES ── */
.origines-block { margin-bottom: 3.5rem; }

.origines-title {
  font-family: 'Archer Semibold', sans-serif; font-size: 2rem; font-weight: 600;
  color: var(--red); text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: .6rem;
  display: inline-block;
}
.origines-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--red), transparent);
  transition: width 1s var(--anim-ease);
}
.origines-block.in-view .origines-title::after { width: 100%; }

/* Barre décorative rouge avant les bullets */
.origines-bullets {
  list-style: none; width: 100%; display: grid; gap: .6rem;
  position: relative;
  padding-top: 1.2rem;
}
.origines-bullets::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--red) 60%, transparent);
  transition: width .9s .1s ease;
}
.origines-block.in-view .origines-bullets::before { width: 100%; }

.origines-grid { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: start; margin-bottom: 2rem; width: 100%; }

.year-badge {
  background: var(--dark); color: #fff;
  font-family: 'Archer Semibold', sans-serif; font-size: 2.2rem; font-weight: 600;
  text-align: center; padding: .8rem 1rem 1rem;
  border-left: 5px solid var(--red);
  opacity: 0; transform: scale(.8);
  line-height: 1;
}
.year-badge.in-view { animation: yearPop .6s var(--anim-ease) forwards; }
@keyframes yearPop {
  0%   { opacity: 0; transform: scale(.6); }
  70%  { transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1);  }
}
.year-label {
  display: block; font-size: .6rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: .3rem; font-weight: 400;
}

.origines-text {
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: visible;
}

/* Chaque paragraphe = bloc indépendant avec barre rouge */
.origines-text p {
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-size: .98rem; line-height: 1.75; letter-spacing: 0; color: #111;
  background: rgba(255,255,255,0.62);
  border-left: 3px solid var(--red);
  padding: 20px 24px;
  margin: 0;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity .5s ease, transform .5s ease;
}
.origines-text.in-view p:nth-child(1) { opacity: 1; transform: none; transition-delay: .10s; }
.origines-text.in-view p:nth-child(2) { opacity: 1; transform: none; transition-delay: .28s; }
.origines-text.in-view p:nth-child(3) { opacity: 1; transform: none; transition-delay: .46s; }

.origines-text strong { color: var(--red); font-weight: 700; }

.origines-bullets { list-style: none; width: 100%; display: grid; gap: .6rem; }
.origines-bullets li {
  padding: 1rem 1.4rem 1rem 1.4rem; position: relative;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 1rem; line-height: 1.65; letter-spacing: 0; color: #111;
  background: rgba(255,255,255,0.72);
  border-left: 3px solid var(--red);
  margin-bottom: 0;
  opacity: 0; transform: translateX(-20px);
  transition: opacity .4s, transform .4s;
}
.origines-bullets li.in-view { opacity: 1; transform: translateX(0); }
.origines-bullets li:nth-child(2) { transition-delay: .1s; }
.origines-bullets li:nth-child(3) { transition-delay: .2s; }
.origines-bullets li::before { content: none; }

/* ── QU'EST-CE QUE ── */
.quest-block {
  display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: start; width: 100%;
}

.quest-title {
  font-family: 'Archer Semibold', sans-serif; font-size: 1.8rem; font-weight: 600;
  color: var(--red); text-transform: uppercase; letter-spacing: .04em;
  line-height: 1.15; margin-bottom: 1.2rem;
}

.quest-btn-dark {
  display: inline-block; padding: 1rem 5.2rem;
  background: var(--dark); color: #fff;
  font-family: Arial, sans-serif; font-size: .9rem; font-weight: 700;
  line-height: 1.4; text-align: left;
  transition: background .2s, transform .15s;
}
.quest-btn-dark:hover { background: #c0392b; transform: translateY(-2px); }

.quest-right {
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: visible;
}

.quest-right p {
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-size: .98rem; line-height: 1.75; letter-spacing: 0; color: #111;
  background: rgba(255,255,255,0.62);
  border-left: 3px solid var(--red);
  padding: 20px 24px;
  margin: 0;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity .5s ease, transform .5s ease;
}
.quest-right.in-view p:nth-child(1) { opacity: 1; transform: none; transition-delay: .10s; }
.quest-right.in-view p:nth-child(2) { opacity: 1; transform: none; transition-delay: .28s; }
.quest-right.in-view p:nth-child(3) { opacity: 1; transform: none; transition-delay: .46s; }

.quest-right strong { color: var(--red); font-weight: 700; }
.quest-right em { font-style: italic; color: #555; }


/* ================================================================
   DIVIDERS
   ================================================================ */
.section-divider { border: none; border-top: 2px solid rgba(0,0,0,.1); margin: 0; }
.divider-red { border-top: 3px solid var(--red); }


/* ================================================================
   INFOS PRATIQUES
   ================================================================ */
#infos {
  background: var(--marble);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.2) 0%, transparent 50%),
    repeating-linear-gradient(135deg, transparent, transparent 8px, rgba(180,160,120,.06) 8px, rgba(180,160,120,.06) 16px);
  padding: 5rem 2rem;
}
#infos .section-header h2 { color: var(--red); }

.infos-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
}

.info-card {
  background: rgba(255,255,255,.7); padding: 2rem;
  border-top: 3px solid var(--red);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--anim-ease), transform .5s var(--anim-ease),
              box-shadow .3s;
}
.info-card.in-view { opacity: 1; transform: translateY(0); }
.info-card:nth-child(2) { transition-delay: .1s; }
.info-card:nth-child(3) { transition-delay: .2s; }
.info-card:nth-child(4) { transition-delay: .3s; }
.info-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.14); }

.info-card h3 {
  font-family: Arial, sans-serif; font-size: .85rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--dark); margin-bottom: 1rem;
  padding-bottom: .5rem; border-bottom: 1px solid rgba(0,0,0,.1);
}
.info-card p, .info-card address { font-size: .88rem; line-height: 1.7; color: #555; font-style: normal; }

/* Faux map */
.map-placeholder {
  width: 100%; height: 180px; margin-top: 1rem;
  background:
    linear-gradient(#e0d5c0 1px, transparent 1px),
    linear-gradient(90deg, #e0d5c0 1px, transparent 1px),
    #ede5d0;
  background-size: 20px 20px;
  position: relative; border: 1px solid #ccc;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.map-placeholder::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
}
.map-pin {
  width: 20px; height: 20px; border-radius: 50% 50% 50% 0;
  background: var(--red); transform: rotate(-45deg);
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
  animation: pinBounce 2s ease-in-out infinite;
}
@keyframes pinBounce {
  0%, 100% { transform: rotate(-45deg) translateY(0);   }
  50%       { transform: rotate(-45deg) translateY(-5px); }
}
.map-label {
  position: absolute; bottom: 8px; right: 8px;
  font-family: Arial, sans-serif; font-size: .65rem; color: #888;
}

/* Tarifs */
.tarif-table { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.tarif-table tr { border-bottom: 1px solid rgba(0,0,0,.07); transition: background .15s; }
.tarif-table tr:hover { background: rgba(192,57,43,.04); }
.tarif-table td { padding: .45rem .2rem; font-size: .85rem; color: #555; }
.tarif-table td:last-child { text-align: right; font-weight: bold; color: var(--dark); }

/* Horaires */
.horaires-row { display: flex; justify-content: space-between; padding: .35rem 0; font-size: .85rem; color: #555; border-bottom: 1px solid rgba(0,0,0,.07); }
.horaires-row:last-child { border: none; }

/* Accessibilité */
.access-icons { display: flex; gap: .8rem; margin-top: 1rem; flex-wrap: wrap; }
.access-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--dark); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: background .2s, transform .2s;
}
.access-icon:hover { background: var(--red); transform: rotate(15deg) scale(1.1); }


/* ================================================================
   PROGRAMMES
   ================================================================ */
/* ================================================================
   PROGRAMMES — Carousel 3D
   ================================================================ */
#programmes {
  background: #060606;
  padding: 5rem 0 0;
  overflow: hidden;
}

.prog-header {
  padding: 0 4.5rem 3.5rem;
  display: flex; align-items: flex-end; justify-content: space-between;
}

.prog-subtitle {
  font-family: 'Courier Prime', monospace; font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; color: #555; margin-bottom: .5rem;
}

.prog-main-title {
  font-family: 'Archer Semibold', sans-serif; font-size: 3rem; font-weight: 600;
  text-transform: uppercase; color: #e8dcc0; line-height: 1;
}
.prog-main-title span { color: var(--red); display: block; }

.prog-cta {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .65rem 1.4rem;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent; color: rgba(255,255,255,.6);
  font-family: Arial, sans-serif; font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
  white-space: nowrap;
}
.prog-cta:hover {
  border-color: var(--red); color: #fff;
  background: rgba(192,57,43,.1);
}

/* ── Scène 3D ── */
.carousel-scene {
  width: 100%; height: 440px;
  display: grid; place-items: center;
  perspective: 1000px;
  overflow: hidden;
  mask: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.carousel-3d {
  width: 220px; height: 330px;
  position: relative;
  transform-style: preserve-3d;
  animation: carousel-spin 32s linear infinite;
}

.c-card {
  position: absolute; width: 220px; height: 330px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.7);
}
.c-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.c-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.4) 55%, transparent 100%);
  padding: 1.4rem 1rem 1rem;
}
.c-card-title {
  font-family: 'Archer Semibold', serif; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .04em; color: #fff; line-height: 1.2;
  margin-bottom: .3rem;
}
.c-card-meta {
  font-family: Arial, sans-serif; font-size: .6rem; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
}

/* Positions angulaires (5 cartes : 360°/5 = 72°) */
/* apothem = 220 / (2 * tan(π/5)) ≈ 152px */
.c-card:nth-child(1) { transform: rotateY(  0deg) translateZ(152px); }
.c-card:nth-child(2) { transform: rotateY( 72deg) translateZ(152px); }
.c-card:nth-child(3) { transform: rotateY(144deg) translateZ(152px); }
.c-card:nth-child(4) { transform: rotateY(216deg) translateZ(152px); }
.c-card:nth-child(5) { transform: rotateY(288deg) translateZ(152px); }

@keyframes carousel-spin {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(-360deg); }
}
.poster-2 { background: linear-gradient(180deg, #2c1810 0%, #8b0000 50%, #1a0a0a 100%); }
.poster-2::after {
  content: 'LA PASSION\ADDE\AJEANNE D\'ARC'; white-space: pre;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-size: .5rem; color: #f0c080; text-align: center; letter-spacing: .05em;
}

.btn-reserver {
  display: inline-block; padding: .5rem 1rem;
  background: var(--red); color: #fff;
  font-family: Arial, sans-serif; font-size: .7rem;
  text-transform: uppercase; letter-spacing: .08em; margin-top: .5rem;
  transition: background .2s, transform .15s, box-shadow .15s;
}
.btn-reserver:hover {
  background: #a93226; transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(192,57,43,.4);
}

.btn-outline {
  display: inline-block; padding: .5rem 1rem;
  border: 1px solid #ccc; color: #666;
  font-family: Arial, sans-serif; font-size: .7rem;
  text-transform: uppercase; letter-spacing: .08em;
  margin-top: .5rem; margin-left: .5rem;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }


/* ================================================================
   NEWSLETTER
   ================================================================ */
#newsletter {
  background: var(--dark); padding: 3.5rem 2rem;
  text-align: center;
}
.nl-title {
  font-family: 'Archer Semibold', sans-serif; font-size: 1.1rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .15em; color: #fff; margin-bottom: .6rem;
}
.nl-sub { font-size: .88rem; color: #aaa; margin-bottom: 1.5rem; }
.nl-form { display: flex; max-width: 440px; margin: 0 auto; }
.nl-input {
  flex: 1; padding: .75rem 1rem; border: none;
  font-size: .88rem; background: #333; color: #fff; outline: none;
  transition: background .2s;
}
.nl-input:focus { background: #3a3a3a; }
.nl-input::placeholder { color: #888; }
.nl-btn {
  padding: .75rem 1.4rem; background: var(--red); border: none;
  color: #fff; font-family: Arial, sans-serif;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; transition: background .2s, transform .15s;
}
.nl-btn:hover { background: #a93226; transform: scale(1.04); }
.nl-btn:active { transform: scale(.97); }


/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: #111; color: #999;
  padding: 3rem 2rem 1.5rem;
}
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h4 {
  font-family: Arial, sans-serif; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: #fff;
  margin-bottom: .8rem; padding-bottom: .4rem;
  border-bottom: 1px solid #333;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .4rem; }
.footer-col a { font-size: .78rem; color: #888; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: var(--red); padding-left: 4px; }

.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; border-top: 1px solid #222;
}
.footer-logo {
  font-family: 'Archer Semibold', sans-serif; font-size: .9rem;
  font-weight: 600; letter-spacing: .15em; color: #fff;
  transition: letter-spacing .3s;
}
.footer-logo:hover { letter-spacing: .22em; }
.footer-logo span { color: var(--red); }

.footer-social { display: flex; gap: .8rem; }
.social-btn {
  width: 30px; height: 30px; border: 1px solid #333;
  display: flex; align-items: center; justify-content: center;
  color: #777; font-size: .75rem;
  transition: border-color .2s, color .2s, transform .2s, background .2s;
}
.social-btn:hover {
  border-color: var(--red); color: #fff;
  background: var(--red); transform: translateY(-3px);
}
.footer-copy { font-size: .72rem; color: #555; }


/* ================================================================
   HERO FILM CARD
   ================================================================ */

@keyframes cardSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes borderPulse {
  0%, 100% { border-color: rgba(80,160,220,.6); box-shadow: 0 0 12px rgba(80,160,220,.2), inset 0 0 12px rgba(80,160,220,.05); }
  50%       { border-color: rgba(120,200,255,.9); box-shadow: 0 0 20px rgba(120,200,255,.35), inset 0 0 20px rgba(80,160,220,.1); }
}
@keyframes labelIn {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}


/* ================================================================
   RESPONSIVE — Breakpoints
   ================================================================ */

/* ── Tablette (≤ 1024px) ── */
@media (max-width: 1024px) {
  /* Nav : liens plus serrés */
  .nav-links { gap: 1rem; }
  .nav-search { width: 90px; }

  /* Hero card : légèrement réduite */
  .hero-film-card { width: 400px; }

  /* Section cinematek */
  .cinematek-inner { padding: 0 1.5rem; }

  /* Footer : 3 colonnes */
  .footer-grid { grid-template-columns: repeat(3, 1fr); }

  /* Programmes header */
  .prog-header { padding: 0 2rem 2.5rem; }
  .prog-main-title { font-size: clamp(2rem, 3.5vw, 3rem); }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {

  /* ── Navigation ── */
  .nav-links { display: none; }
  .nav-search { display: none; }
  nav { padding: 0 1rem; }

  /* ── Hero ── */
  #accueil {
    height: 55vh;
    min-height: 320px;
  }

  /* ── Film card — version mobile ── */
  .hero-film-card {
    width: 260px;
    left: 1rem;
    right: auto;
    bottom: 3.5rem;
  }
  .film-card-body {
    grid-template-columns: 1fr;
    padding: .7rem .9rem .9rem;
    gap: .5rem;
  }
  .film-card-desc {
    display: none;
  }
  .film-card-title { font-size: .88rem; }
  .film-card-director { font-size: .65rem; margin-bottom: .3rem; }
  .film-card-dates { margin-bottom: .6rem; font-size: .72rem; }
  .film-card-play { padding: .4rem .7rem; font-size: .62rem; }
  .film-card-label { padding: .35rem .8rem; }
  .film-card-label span { font-size: .65rem; }

  .hero-title { font-size: clamp(2rem, 8vw, 4rem); }
  .hero-scroll { display: none; }
  .hero-carousel-nav {
    bottom: 1rem;
    right: 50%;
    transform: translateX(50%);
  }

  /* ── Section Cinematek ── */
  #cinematek { padding: 2.5rem 0 3rem; }
  .cinematek-inner { padding: 0 1rem; }

  .origines-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .year-badge { display: none; }

  .quest-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .quest-btn-dark {
    padding: .9rem 1.5rem;
    display: block;
    text-align: center;
  }

  /* ── Programmes section (accueil) ── */
  .prog-header {
    padding: 0 1rem 2rem;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  .prog-main-title { font-size: 2rem; }
  .carousel-scene { height: 300px; }
  .carousel-3d,
  .c-card { width: 160px; height: 240px; }
  .c-card:nth-child(1) { transform: rotateY(  0deg) translateZ(110px); }
  .c-card:nth-child(2) { transform: rotateY( 72deg) translateZ(110px); }
  .c-card:nth-child(3) { transform: rotateY(144deg) translateZ(110px); }
  .c-card:nth-child(4) { transform: rotateY(216deg) translateZ(110px); }
  .c-card:nth-child(5) { transform: rotateY(288deg) translateZ(110px); }

  /* ── Infos pratiques (cinematek.html) ── */
  .infos-grid { grid-template-columns: 1fr; }

  /* ── Newsletter section (accueil) ── */
  .nl-form { flex-direction: column; }
  .nl-btn { margin-top: .5rem; padding: .75rem; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ── Mobile S (≤ 480px) ── */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  #accueil { height: 45vh; min-height: 260px; }
  .hero-carousel-nav { display: none; }
  .cine-title { font-size: 1.5rem; }
}


/* ================================================================
   NAVIGATION MOBILE — Hamburger + Menu slide
   ================================================================ */

/* Bouton hamburger (masqué par défaut) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ccc;
  transition: transform .3s ease, opacity .25s ease, background .2s;
}
.nav-hamburger:hover span { background: #fff; }

/* Animation croix */
.nav-hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: var(--red); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); background: var(--red); }

/* Menu slide-down */
.nav-mobile-menu {
  position: fixed;
  top: 48px; left: 0; right: 0;
  background: #111;
  border-top: 1px solid #222;
  border-bottom: 2px solid var(--red);
  z-index: 99;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform .28s cubic-bezier(.4,0,.2,1), opacity .25s ease;
}
.nav-mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile-menu ul {
  list-style: none;
  padding: .5rem 0 .8rem;
  margin: 0;
}
.nav-mobile-menu li {
  border-bottom: 1px solid #1e1e1e;
}
.nav-mobile-menu li:last-child { border-bottom: none; }
.nav-mobile-menu a {
  display: block;
  padding: .9rem 1.6rem;
  color: #aaa;
  font-family: Arial, sans-serif;
  font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .2s, padding-left .2s, background .2s;
}
.nav-mobile-menu a:hover {
  color: #fff;
  padding-left: 2rem;
  background: rgba(255,255,255,.03);
}
.nav-mobile-menu a.nav-current {
  color: var(--red);
  border-left: 2px solid var(--red);
  padding-left: calc(1.6rem - 2px);
}

/* Overlay sombre derrière le menu */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 48px 0 0;
  background: rgba(0,0,0,.45);
  z-index: 98;
}
.nav-mobile-overlay.is-open { display: block; }

/* Afficher hamburger sur mobile */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
}
