/* ═══════════════════════════════════════════
   FRANCE VR — Immersion Gallery CSS
   ═══════════════════════════════════════════ */

/* ── HERO ── */
.immersion-hero {
  padding: 140px 60px 80px;
  background: linear-gradient(150deg, var(--off-white) 50%, var(--bg) 100%);
  position: relative; overflow: hidden;
}
.immersion-hero::after {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,65,200,.05), transparent 70%);
  pointer-events: none;
}
.immersion-hero h1 { margin: 14px 0 20px; }
.immersion-hero .lead { margin-bottom: 40px; }

.immersion-stats {
  display: flex; gap: 40px; flex-wrap: wrap; margin-top: 40px;
  padding-top: 36px; border-top: 1px solid var(--border);
}
.istat { text-align: center; }
.istat-num {
  display: block; font-size: 40px; font-weight: 800;
  color: var(--blue); letter-spacing: -2px; line-height: 1;
}
.istat-label { font-size: 12px; color: var(--slate); font-weight: 500; margin-top: 4px; }

/* ── FEATURE SECTIONS ── */
.feat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  align-items: center; max-width: 1200px; margin: 0 auto;
}
.feat-grid.feat-right { direction: rtl; }
.feat-grid.feat-right > * { direction: ltr; }

.feat-img {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-lg); cursor: none;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid);
  aspect-ratio: 4/3;
}
.feat-img:hover { transform: translateY(-6px); box-shadow: 0 32px 80px rgba(17,24,39,0.15); }
.feat-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s var(--ease);
}
.feat-img:hover img { transform: scale(1.04); }
.feat-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,.35) 0%, transparent 50%);
}
.feat-img-badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,.92); border-radius: 100px;
  font-size: 12px; font-weight: 700; padding: 6px 14px;
  backdrop-filter: blur(8px); color: var(--text);
}
.feat-zoom-hint {
  position: absolute; bottom: 16px; right: 16px;
  background: rgba(22,65,200,.85); color: #fff;
  font-size: 11px; font-weight: 600; padding: 6px 14px;
  border-radius: 100px; opacity: 0;
  transition: opacity var(--t-mid); backdrop-filter: blur(8px);
}
.feat-img:hover .feat-zoom-hint { opacity: 1; }

.feat-content h2 { margin-bottom: 16px; }
.feat-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.feat-tag {
  padding: 5px 12px; background: var(--blue-lt); border-radius: 100px;
  font-size: 12px; font-weight: 600; color: var(--blue); border: 1px solid var(--blue-mid);
}

.feat-quote {
  margin-top: 28px; padding: 20px 24px;
  background: var(--bg); border-left: 3px solid var(--blue);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.feat-quote blockquote {
  font-size: 16px; color: var(--text-2); font-style: italic; line-height: 1.65; margin-bottom: 8px;
}
.feat-quote cite { font-size: 12px; color: var(--slate); font-weight: 600; }

/* ── PHOTO GRID 3 colonnes ── */
.photo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 52px;
}
.photo-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; cursor: none;
  box-shadow: var(--sh-card);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid), border-color var(--t-mid);
}
.photo-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--blue-mid); }

.photo-thumb {
  height: 260px; position: relative; overflow: hidden; background: var(--bg2);
}
.photo-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.55s var(--ease);
}
.photo-card:hover .photo-thumb img { transform: scale(1.06); }

.photo-overlay {
  position: absolute; inset: 0;
  background: rgba(22,65,200,.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--t-mid);
}
.photo-card:hover .photo-overlay { opacity: 1; }
.photo-overlay-content { text-align: center; color: #fff; }
.photo-overlay-icon { font-size: 32px; margin-bottom: 8px; }
.photo-overlay-text { font-size: 13px; font-weight: 700; letter-spacing: 1px; }

.photo-body { padding: 20px 22px; }
.photo-badge {
  display: inline-block; padding: 3px 10px; background: var(--blue-lt);
  border-radius: 100px; font-size: 11px; font-weight: 700; color: var(--blue);
  margin-bottom: 10px;
}
.photo-card h3 { font-size: 16px; margin-bottom: 8px; }
.photo-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── DUAL GRID ── */
.dual-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  max-width: 1200px; margin: 0 auto;
}
.dual-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden; cursor: none;
  box-shadow: var(--sh-card);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid);
}
.dual-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.dual-img {
  height: 320px; position: relative; overflow: hidden; background: var(--bg2);
}
.dual-img img { width:100%;height:100%;object-fit:cover;display:block;transition:transform 0.55s var(--ease); }
.dual-card:hover .dual-img img { transform: scale(1.05); }
.dual-badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,.9); border-radius: 100px;
  font-size: 12px; font-weight: 700; padding: 5px 13px; backdrop-filter: blur(8px);
}
.dual-body { padding: 28px; }
.dual-body h3 { font-size: 19px; margin-bottom: 12px; }
.dual-body p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.dual-tags { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── MANIFESTO ── */
.immersion-manifesto {
  background: linear-gradient(135deg, var(--blue-d), var(--blue));
  text-align: center;
}
.manifesto-inner { max-width: 700px; margin: 0 auto; position: relative; }
.manifesto-quote-mark {
  font-size: 120px; line-height: 0.6; color: rgba(255,255,255,0.1);
  font-family: Georgia, serif; margin-bottom: 20px;
}
.manifesto-text {
  font-size: clamp(22px, 3vw, 36px); font-weight: 700; color: #fff;
  line-height: 1.4; letter-spacing: -0.02em; font-style: normal;
  margin-bottom: 24px;
}
.manifesto-author { font-size: 14px; color: rgba(255,255,255,0.5); font-weight: 500; letter-spacing: 1px; }

/* ── LIGHTBOX ── */
#lightbox {
  position: fixed; inset: 0; z-index: 999;
  display: none; align-items: center; justify-content: center;
}
#lightbox.open { display: flex; }
.lb-backdrop {
  position: absolute; inset: 0; background: rgba(8,8,17,0.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.lb-inner {
  position: relative; z-index: 1; max-width: 90vw; max-height: 90vh;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
#lb-img {
  max-width: 85vw; max-height: 75vh; object-fit: contain;
  border-radius: var(--r-lg); box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  transition: opacity 0.35s;
}
.lb-caption { color: rgba(255,255,255,0.75); font-size: 14px; text-align: center; max-width: 600px; }
.lb-counter { color: rgba(255,255,255,0.35); font-size: 12px; font-family: 'DM Mono',monospace; }
.lb-close {
  position: absolute; top: -50px; right: 0; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 20px; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: background var(--t-fast), transform var(--t-mid) var(--spring);
}
.lb-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }
.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  z-index: 2; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; font-size: 28px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-mid), transform var(--t-mid);
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover, .lb-next:hover { background: rgba(22,65,200,0.6); }
.lb-prev:hover { transform: translateY(-50%) scale(1.1); }
.lb-next:hover { transform: translateY(-50%) scale(1.1); }

/* ── SCROLL PROGRESS ── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--blue), #60A5FA);
  z-index: 9000; transition: width 0.1s linear; border-radius: 0 2px 2px 0;
}

/* ── RESPONSIVE ── */
@media(max-width:1024px) { .photo-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:900px) {
  .immersion-hero { padding: 120px 20px 60px; }
  .feat-grid { grid-template-columns: 1fr; gap: 40px; }
  .feat-grid.feat-right { direction: ltr; }
  .photo-grid { grid-template-columns: 1fr; }
  .dual-grid { grid-template-columns: 1fr; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

/* Mobile immersion */
@media(max-width:900px) {
  .immersion-hero { padding: 90px 18px 48px; }
  .feat-grid { grid-template-columns: 1fr; gap: 32px; direction: ltr !important; }
  .feat-img { min-height: 240px; }
  .photo-grid { grid-template-columns: 1fr; gap: 16px; }
  .dual-grid { grid-template-columns: 1fr; gap: 16px; }
  .immersion-stats { gap: 24px; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
}
