/* assets/css/programme.css */

/* ---- Page wrapper ---- */
.programme {
  --maxw: 1100px;
  --text: rgba(0,0,0,.84);
  --muted: rgba(0,0,0,.64);
  --line: rgba(0,0,0,.10);
  --card: rgba(255,255,255,.92);
  --bgsoft: rgba(0,0,0,.03);
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --r: 18px;
}

.programme h1,
.programme h2,
.programme h3 {
  color: rgba(0,0,0,.88);
  letter-spacing: -0.2px;
}

.programme p { color: var(--text); }

.section { margin-top: 44px; }
.section h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.15; }

/* If your global .container isn't maxed, this keeps it tidy */
.programme.container { max-width: var(--maxw); }

/* ---- Buttons (safe if you don't already have them) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
  line-height: 1;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(0,0,0,.10); }
.btn:active { transform: translateY(0); box-shadow: none; }

.btn-primary {
  background: rgba(0,0,0,.88);
  color: white;
  border-color: rgba(0,0,0,.88);
}

.btn-ghost {
  background: rgba(255,255,255,.85);
  color: rgba(0,0,0,.86);
}

/* ---- Pills ---- */
.pill {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.9);
  font-size: 12.5px;
  color: rgba(0,0,0,.76);
  white-space: nowrap;
}

.pill--soft {
  background: rgba(0,0,0,.04);
}

/* ---- Hero ---- */
.prog-hero {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 22px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: calc(var(--r) + 6px);
  background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.01));
  box-shadow: var(--shadow);
}

.prog-hero__lead {
  margin: 8px 0 16px;
  font-size: 16px;
  color: var(--muted);
  max-width: 62ch;
}

.prog-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0 16px;
}

.prog-meta__item {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
}

.prog-meta__label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.prog-meta__value {
  display: block;
  font-weight: 700;
  color: rgba(0,0,0,.86);
}

.prog-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.prog-note { margin-top: 14px; color: var(--muted); font-size: 13px; }

/* Right panel */
.prog-hero__panel {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  padding: 16px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.kpi {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.03);
  border: 1px solid var(--line);
}

.kpi__num { font-size: 18px; font-weight: 850; color: rgba(0,0,0,.86); }
.kpi__label { font-size: 13px; color: var(--muted); font-weight: 650; }

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

/* ---- Overview ---- */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.overview-card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--r);
  padding: 14px;
}

.overview-card h3 { margin: 0 0 6px; font-size: 16px; }
.overview-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---- Days ---- */
.days { display: grid; gap: 16px; margin-top: 12px; }

.day {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: calc(var(--r) + 4px);
  padding: 18px 18px 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.day--alt {
  background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(255,255,255,.92));
}

.day__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.day__kicker { margin: 0; font-size: 12px; color: var(--muted); font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.day__title { margin: 4px 0 2px; font-size: 20px; }
.day__subtitle { margin: 0; color: var(--muted); font-size: 14px; }

.day__badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

/* Timeline */
.timeline {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.timeline__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(0,0,0,.10);
}

.timeline__item:last-child { border-bottom: none; }

.timeline__time {
  font-size: 13px;
  color: var(--muted);
  font-weight: 750;
  padding-top: 2px;
}

.timeline__content { padding-bottom: 4px; }
.timeline__title { font-weight: 800; color: rgba(0,0,0,.86); margin-bottom: 3px; }
.timeline__content p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---- Formats grid ---- */
.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.format-card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--r);
  padding: 16px;
}

.format-card h3 { margin: 0 0 6px; font-size: 16px; }
.format-card p { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.format-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(0,0,0,.70);
  font-size: 13.5px;
  line-height: 1.55;
}

.prog-footnote {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(0,0,0,.03);
}

.prog-footnote p { margin: 0; color: rgba(0,0,0,.72); font-size: 14px; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .prog-hero { grid-template-columns: 1fr; }
  .prog-meta { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .format-grid { grid-template-columns: repeat(2, 1fr); }
  .day__head { grid-template-columns: 1fr; }
  .day__badges { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .prog-hero { padding: 16px; }
  .overview-grid { grid-template-columns: 1fr; }
  .format-grid { grid-template-columns: 1fr; }
  .timeline__item { grid-template-columns: 92px 1fr; }
  .timeline__time { font-size: 12.5px; }
}

/* CTA scientifique doux : Submit your abstract */
.programme .prog-hero__cta a.btn.btn-abstract{
  background: linear-gradient(135deg, #dbeafe, #bfdbfe) !important;
  color: #0f172a !important;
  border: 1px solid rgba(59,130,246,.25) !important;
  font-weight: 750;
  box-shadow: 0 6px 14px rgba(147, 197, 253, 0.28);

}

.programme .prog-hero__cta a.btn.btn-abstract:hover{
  background: linear-gradient(135deg, #bfdbfe, #93c5fd) !important;
  box-shadow: 0 8px 18px rgba(96, 165, 250, 0.30);

}

.programme .prog-hero__cta a.btn.btn-abstract:active{
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(96, 165, 250, 0.28);
}


