/* ============================================================
   PROGRAMME PAGE — HORIZON·9
   Dark-themed schedule inspired by ALL IN 2025
   ============================================================ */

/* ---- PAGE BASE ---- */
.page-programme {
  background: #080d3a;
  color: #f0f0f5;
  min-height: 100vh;
  font-family: 'Work Sans', sans-serif;
  overflow-x: hidden;
}

.prog-width {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.prog-section {
  padding: 5rem 0;
}

/* ---- HEADER ---- */
.prog-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(8, 13, 58, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 162, 39, .12);
}

.prog-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: .9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prog-back {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  transition: color .3s;
}
.prog-back:hover { color: #c9a227; }

.prog-logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}
.prog-logo-text .dot { color: #c9a227; }

.btn-sm {
  padding: .55rem 1.5rem;
  font-size: .8rem;
}

/* ---- HERO ---- */
.prog-hero {
  position: relative;
  padding: 10rem 2rem 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  overflow: hidden;
}

.prog-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.prog-hero-grad {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 50% at 20% 40%, rgba(201,162,39,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 60%, rgba(53,52,248,.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 100%, rgba(148,70,222,.12) 0%, transparent 50%);
}

.prog-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
}

.prog-hero-caption {
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.prog-hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.2rem;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, #fff 30%, #c9a227 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.prog-hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 400;
}

.prog-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
}

.prog-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.8);
  transition: all .3s;
}
.prog-tag--info   { border-color: rgba(53,52,248,.4);  color: #7b9aff; }
.prog-tag--science{ border-color: rgba(34,197,94,.4);   color: #5dde8d; }
.prog-tag--arts   { border-color: rgba(168,85,247,.4);  color: #c4a0f5; }

/* ---- COMMON SECTION ---- */
.prog-common {
  padding-top: 0;
}

.prog-section-label {
  text-align: center;
  margin-bottom: 3rem;
}

.prog-section-title {
  font-size: 2rem;
  font-weight: 800;
  margin: .8rem 0 .5rem;
}

.prog-section-desc {
  color: rgba(255,255,255,.5);
  font-size: .95rem;
}

/* Time badge */
.prog-time-badge {
  display: inline-block;
  padding: .35rem .9rem;
  border-radius: 50px;
  background: rgba(201,162,39,.12);
  color: #c9a227;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.prog-time-badge--lg {
  padding: .45rem 1.2rem;
  font-size: .85rem;
}

/* Common cards grid */
.prog-common-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.prog-common-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.8rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  transition: border-color .3s, transform .3s;
}
.prog-common-card:hover {
  border-color: rgba(201,162,39,.25);
  transform: translateY(-2px);
}

.pcc-time {
  font-size: 1.6rem;
  font-weight: 800;
  color: #c9a227;
  flex-shrink: 0;
  min-width: 60px;
  line-height: 1;
  padding-top: .2rem;
}

.pcc-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.pcc-body p {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.55;
  margin-bottom: .8rem;
}

.pcc-meta {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.pcc-tag, .pcc-duration {
  display: inline-flex;
  align-items: center;
  font-size: .72rem;
  font-weight: 600;
  padding: .3rem .7rem;
  border-radius: 50px;
  letter-spacing: .04em;
}
.pcc-tag {
  background: rgba(201,162,39,.1);
  color: #c9a227;
}
.pcc-duration {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.5);
}

/* ---- FILTERS ---- */
.prog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 3.5rem;
  position: sticky;
  top: 56px;
  z-index: 50;
  background: rgba(8,13,58,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-radius: 0 0 16px 16px;
}

.prog-filter {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem 1.3rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px;
  background: transparent;
  color: rgba(255,255,255,.55);
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s;
}
.prog-filter:hover {
  border-color: rgba(255,255,255,.25);
  color: #fff;
}
.prog-filter.active {
  background: #c9a227;
  border-color: #c9a227;
  color: #080d3a;
}
.prog-filter[data-filter="salle-a"].active {
  background: #3534f8;
  border-color: #3534f8;
  color: #fff;
}
.prog-filter[data-filter="salle-b"].active {
  background: #22c55e;
  border-color: #22c55e;
  color: #080d3a;
}
.prog-filter[data-filter="salle-c"].active {
  background: #a855f7;
  border-color: #a855f7;
  color: #fff;
}

.pf-icon {
  font-size: .9rem;
}

/* ---- PROG BLOCKS ---- */
.prog-block {
  margin-bottom: 3.5rem;
}

.prog-block-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.prog-block-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.1;
}

/* ---- TIME SLOTS ---- */
.prog-slot {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.prog-slot::before {
  content: '';
  position: absolute;
  left: 38px;
  top: 2.5rem;
  bottom: -2rem;
  width: 2px;
  background: rgba(201,162,39,.12);
}

.prog-slot:last-child::before {
  display: none;
}

.prog-slot-time {
  flex-shrink: 0;
  min-width: 52px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #c9a227;
  padding-top: 1.2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.prog-slot-time::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  background: #c9a227;
  border-radius: 50%;
  margin: .6rem auto 0;
  box-shadow: 0 0 12px rgba(201,162,39,.4);
}

.prog-slot-cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

/* ---- SESSION CARDS ---- */
.prog-card {
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.025);
  transition: all .35s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}

.prog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 4px 0 0 4px;
}

.prog-card--info::before    { background: #3534f8; }
.prog-card--science::before { background: #22c55e; }
.prog-card--arts::before    { background: #a855f7; }
.prog-card--highlight::before { background: linear-gradient(180deg, #c9a227, #e8b923); width: 5px; }

.prog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}

.prog-card--info:hover    { border-color: rgba(53,52,248,.25); }
.prog-card--science:hover { border-color: rgba(34,197,94,.25); }
.prog-card--arts:hover    { border-color: rgba(168,85,247,.25); }
.prog-card--highlight:hover { border-color: rgba(201,162,39,.3); }

/* (afternoon spanning grid removed — now uses standard prog-slot) */

/* (afternoon block removed — uses standard prog-slot) */

/* Time pill badge on each card */
.pc-time-pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .35rem .9rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .03em;
  margin-bottom: .6rem;
  width: fit-content;
}
.pc-time-pill--info {
  background: rgba(53,52,248,.12);
  color: #7b7bff;
}
.pc-time-pill--science {
  background: rgba(34,197,94,.12);
  color: #4ade80;
}
.pc-time-pill--arts {
  background: rgba(168,85,247,.12);
  color: #c084fc;
}

.prog-card--highlight {
  background: rgba(201,162,39,.06);
  border-color: rgba(201,162,39,.15);
}

/* Card internals */
.pc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .8rem;
}

.pc-room {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
}

.pc-type {
  font-size: .68rem;
  font-weight: 700;
  padding: .25rem .65rem;
  border-radius: 50px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pc-type--conf    { background: rgba(53,52,248,.15); color: #7b9aff; }
.pc-type--atelier { background: rgba(201,162,39,.12); color: #c9a227; }
.pc-type--formation { background: rgba(34,197,94,.12); color: #5dde8d; }
.pc-type--special { background: rgba(201,162,39,.2); color: #e8b923; }

.pc-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .55rem;
  line-height: 1.3;
  color: #fff;
}

.pc-desc {
  font-size: .83rem;
  line-height: 1.6;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}

.pc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}

.pc-speaker {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.pc-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  overflow: hidden;
}
.pc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.pc-speaker-info {
  display: flex;
  flex-direction: column;
}

.pc-speaker-name {
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}

.pc-speaker-role {
  font-size: .7rem;
  color: rgba(255,255,255,.35);
}

.pc-duration {
  font-size: .72rem;
  font-weight: 700;
  padding: .3rem .7rem;
  border-radius: 50px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.45);
  flex-shrink: 0;
}

/* Filter hiding */
.prog-card.hidden {
  display: none;
}

/* ---- BREAK SECTION ---- */
.prog-block--break {
  background: rgba(201,162,39,.04);
  border: 1px solid rgba(201,162,39,.1);
  border-radius: 20px;
  padding: 2.5rem;
}

.prog-break-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.prog-break-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.pbc-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,162,39,.1);
  border-radius: 12px;
}

.pbc-text h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.pbc-text p {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  line-height: 1.55;
}

/* ---- CLOSING ---- */
.prog-block--closing .prog-slot-cards {
  grid-template-columns: 1fr;
  max-width: 700px;
}

/* ---- LEGEND ---- */
.prog-legend {
  border-top: 1px solid rgba(255,255,255,.06);
}

.prog-legend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.prog-legend-card {
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  transition: all .35s;
}
.prog-legend-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.12);
}

.prog-legend--info    { border-left: 4px solid #3534f8; }
.prog-legend--science { border-left: 4px solid #22c55e; }
.prog-legend--arts    { border-left: 4px solid #a855f7; }

.plc-icon {
  font-size: 2rem;
  margin-bottom: .8rem;
}

.prog-legend-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  line-height: 1.3;
}

.prog-legend-card p {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  line-height: 1.55;
  margin-bottom: .8rem;
}

.plc-cap {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.3);
  letter-spacing: .04em;
}

/* ---- CTA ---- */
.prog-cta {
  padding: 4rem 0;
}

.prog-cta-inner {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 24px;
  background: 
    linear-gradient(135deg, rgba(201,162,39,.12), rgba(53,52,248,.08)),
    rgba(255,255,255,.02);
  border: 1px solid rgba(201,162,39,.15);
}

.prog-cta-inner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: .6rem;
}

.prog-cta-inner p {
  color: rgba(255,255,255,.5);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.prog-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-large {
  padding: .9rem 2.5rem;
  font-size: .95rem;
}

/* ---- FOOTER ---- */
.prog-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.prog-footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  flex-wrap: wrap;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

.prog-footer-logo {
  font-weight: 800;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
}
.prog-footer-logo .dot { color: #c9a227; }

.prog-footer-sep {
  color: rgba(255,255,255,.15);
}

.prog-footer-inner a {
  color: #c9a227;
  text-decoration: none;
  font-weight: 600;
}
.prog-footer-inner a:hover { text-decoration: underline; }

/* ---- ANIMATION ---- */
.anim-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.anim-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .prog-slot {
    flex-direction: column;
    gap: 1rem;
  }
  .prog-slot::before { display: none; }
  .prog-slot-time {
    text-align: left;
    display: flex;
    align-items: center;
    gap: .6rem;
  }
  .prog-slot-time::after {
    margin: 0;
  }
  .prog-slot-cards {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .prog-hero {
    padding: 8rem 1.5rem 3rem;
    min-height: 360px;
  }
  .prog-hero-title {
    font-size: 2.4rem;
  }
  .prog-section {
    padding: 3rem 0;
  }
  .prog-width {
    padding: 0 1.2rem;
  }
  .prog-filters {
    top: 52px;
    gap: .4rem;
    padding: .8rem 1rem;
  }
  .prog-filter {
    padding: .5rem 1rem;
    font-size: .75rem;
  }
  .prog-block--break {
    padding: 1.5rem;
  }
  .prog-break-content {
    grid-template-columns: 1fr;
  }
  .prog-slot-cards {
    grid-template-columns: 1fr;
  }

  .prog-common-grid {
    grid-template-columns: 1fr;
  }
  .prog-cta-inner {
    padding: 2.5rem 1.5rem;
  }
  .prog-cta-inner h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .prog-header-inner {
    padding: .7rem 1rem;
  }
  .prog-back span { display: none; }
  .prog-hero-tags {
    flex-direction: column;
    align-items: center;
  }
  .pc-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
  }
  .prog-footer-inner {
    flex-direction: column;
    gap: .3rem;
  }
  .prog-footer-sep { display: none; }
}

/* ============================================================
   SESSION DETAIL MODAL — ALL IN inspired
   ============================================================ */

/* Cursor on clickable cards */
.prog-card[data-session] {
  cursor: pointer;
}

/* Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 6, 30, .75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s cubic-bezier(.4,0,.2,1), visibility .4s;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Container */
.modal-container {
  position: relative;
  display: grid;
  grid-template-columns: 380px 1fr;
  grid-template-rows: minmax(0, 1fr);
  width: 92vw;
  max-width: 1060px;
  height: 75vh;
  border-radius: 20px;
  overflow: hidden;
  background: #0f1445;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04);
  transform: translateY(30px) scale(.97);
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.modal-overlay.open .modal-container {
  transform: translateY(0) scale(1);
}

/* Close button */
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: rgba(8,13,58,.7);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.6);
  cursor: pointer;
  transition: all .3s;
}
.modal-close:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}

/* ---- Visual Panel (LEFT) ---- */
.modal-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  overflow: hidden;
  min-height: 360px;
}
.modal-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .15;
  background: 
    radial-gradient(circle at 30% 70%, var(--modal-accent, #3534f8) 0%, transparent 60%),
    radial-gradient(circle at 70% 30%, var(--modal-accent, #3534f8) 0%, transparent 50%);
}
.modal-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,20,69,.6) 100%);
}

.modal-visual-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.modal-visual-badge {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.3));
}

.modal-visual-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 2rem;
  text-shadow: 0 4px 20px rgba(0,0,0,.4);
}

.modal-visual-brand {
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}
.modal-visual-brand .dot { color: #c9a227; }

/* Room color variants */
.modal-overlay[data-modal-room="salle-a"] .modal-visual { --modal-accent: #3534f8; }
.modal-overlay[data-modal-room="salle-b"] .modal-visual { --modal-accent: #22c55e; }
.modal-overlay[data-modal-room="salle-c"] .modal-visual { --modal-accent: #a855f7; }
.modal-overlay[data-modal-room="all"] .modal-visual     { --modal-accent: #c9a227; }

/* ---- Detail Panel (RIGHT) ---- */
.modal-detail {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  max-height: 88vh;
}

.modal-detail-scroll {
  flex: 1 1 0;
  overflow-y: auto;
  min-height: 0;
  padding: 2.5rem 2.5rem 2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,162,39,.25) transparent;
}
.modal-detail-scroll::-webkit-scrollbar { width: 5px; }
.modal-detail-scroll::-webkit-scrollbar-track { background: transparent; }
.modal-detail-scroll::-webkit-scrollbar-thumb { background: rgba(201,162,39,.25); border-radius: 4px; }

/* Header */
.modal-header {
  margin-bottom: .5rem;
}

.modal-title {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: .8rem;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem;
}

.modal-tag {
  display: inline-flex;
  align-items: center;
  padding: .3rem .75rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.modal-tag--type {
  background: rgba(201,162,39,.12);
  color: #c9a227;
}
.modal-tag--room {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.55);
}

/* Meta items */
.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.5rem;
}

.modal-meta-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.modal-meta-item svg {
  flex-shrink: 0;
  stroke: #c9a227;
}

/* Divider */
.modal-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.07);
  margin: 1.5rem 0;
}

/* Sections */
.modal-section-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.35);
  margin-bottom: 1rem;
}

.modal-desc {
  font-size: .92rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

/* Info grid */
.modal-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

.modal-info-item {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .8rem 1rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
}

.modal-info-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.3);
}

.modal-info-value {
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}

/* Speakers */
.modal-speakers {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-speaker-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  transition: border-color .3s;
}
.modal-speaker-card:hover {
  border-color: rgba(201,162,39,.2);
}

.modal-speaker-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  overflow: hidden;
}
.modal-speaker-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.modal-speaker-details {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.modal-speaker-name {
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
}

.modal-speaker-role {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}

.modal-speaker-org {
  font-size: .72rem;
  color: #c9a227;
  font-weight: 600;
}

/* Objectives */
.modal-objectives {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.modal-objectives li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}

.modal-objectives li::before {
  content: '→';
  color: #c9a227;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05rem;
}

/* CTA */
.modal-cta {
  padding: 1.5rem 0 .5rem;
}

.modal-cta-btn {
  width: 100%;
  text-align: center;
  display: block;
}

/* ---- BODY LOCK ---- */
body.modal-open {
  overflow: hidden;
}

/* ---- RESPONSIVE MODAL ---- */
@media (max-width: 900px) {
  .modal-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    max-height: 92vh;
    width: 96vw;
  }
  .modal-detail {
    max-height: none;
    min-height: 0;
    overflow: hidden;
  }
  .modal-detail-scroll {
    padding: 1.8rem 1.5rem 1.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .modal-visual {
    min-height: 180px;
    max-height: 30vh;
    padding: 1.5rem 1.5rem;
  }
  .modal-visual-badge { font-size: 2.5rem; margin-bottom: .75rem; }
  .modal-visual-title { font-size: 1.15rem; margin-bottom: .75rem; }
  .modal-visual-brand { font-size: .75rem; }
}

@media (max-width: 480px) {
  .modal-container {
    border-radius: 16px;
    max-height: 94vh;
  }
  .modal-visual {
    min-height: 140px;
    max-height: 25vh;
    padding: 1.2rem 1rem;
  }
  .modal-detail-scroll {
    padding: 1.2rem 1rem;
  }
  .modal-title { font-size: 1.25rem; }
  .modal-info-grid { grid-template-columns: 1fr; }
}
