/* ═══════════════════════════════════════════════════════════════════════════
   Eventoo Schedule — Frontend Styles
   Inspiré de l'interface de la maquette (onglets jour + salle + cards)
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --evsch-orange:     #E8622A;
  --evsch-orange-lt:  #FFF0EA;
  --evsch-navy:       #1B2340;
  --evsch-navy-lt:    #2D3A5C;
  --evsch-gray-bg:    #F4F5F7;
  --evsch-gray-line:  #E2E5EC;
  --evsch-gray-text:  #6B7280;
  --evsch-white:      #FFFFFF;
  --evsch-radius:     12px;
  --evsch-radius-sm:  8px;
  --evsch-shadow:     0 2px 16px rgba(27,35,64,.08);
  --evsch-font:       'Inter', system-ui, sans-serif;
  --evsch-trans:      .22s ease;
}

/* ── Root ─────────────────────────────────────────────────────────────── */
.evsch {
  font-family: var(--evsch-font);
  color: var(--evsch-navy);
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 12px 48px;
}

/* ── Error ────────────────────────────────────────────────────────────── */
.evsch-error {
  background: #FFF3CD;
  border: 1px solid #FFC107;
  border-radius: var(--evsch-radius-sm);
  padding: 14px 20px;
  font-size: .95rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   TABS JOURS
   ═══════════════════════════════════════════════════════════════════════ */
.evsch-days-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.evsch-day-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 14px 28px;
  border: 2px solid var(--evsch-gray-line);
  border-radius: var(--evsch-radius);
  background: var(--evsch-white);
  cursor: pointer;
  transition: all var(--evsch-trans);
  font-family: var(--evsch-font);
  text-align: left;
  line-height: 1.3;
  min-width: 180px;
}

.evsch-day-tab .evsch-day-short {
  font-size: .78rem;
  font-weight: 500;
  color: var(--evsch-gray-text);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.evsch-day-tab .evsch-day-full {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--evsch-navy);
}

.evsch-day-tab:hover {
  border-color: var(--evsch-orange);
  background: var(--evsch-orange-lt);
}

.evsch-day-tab.is-active {
  background: var(--evsch-orange);
  border-color: var(--evsch-orange);
  color: var(--evsch-white);
  box-shadow: 0 6px 20px rgba(232,98,42,.3);
}

.evsch-day-tab.is-active .evsch-day-short,
.evsch-day-tab.is-active .evsch-day-full {
  color: var(--evsch-white);
}

/* ── Day panel ── */
.evsch-day-panel { display: none; }
.evsch-day-panel.is-active { display: block; animation: evschFadeIn .28s ease; }

/* ═══════════════════════════════════════════════════════════════════════
   TABS SALLES
   ═══════════════════════════════════════════════════════════════════════ */
.evsch-rooms-nav {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--evsch-gray-line);
  flex-wrap: wrap;
}

.evsch-room-tab {
  padding: 12px 22px;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  background: transparent;
  cursor: pointer;
  font-family: var(--evsch-font);
  font-size: .92rem;
  font-weight: 600;
  color: var(--evsch-gray-text);
  transition: all var(--evsch-trans);
  border-radius: var(--evsch-radius-sm) var(--evsch-radius-sm) 0 0;
  white-space: nowrap;
}

.evsch-room-tab:hover {
  color: var(--evsch-orange);
  background: var(--evsch-orange-lt);
}

.evsch-room-tab.is-active {
  color: var(--evsch-navy);
  border-bottom-color: var(--evsch-navy);
  background: var(--evsch-white);
}

/* Room label small below title */
.evsch-room-tab small {
  display: block;
  font-size: .72rem;
  font-weight: 400;
  color: var(--evsch-gray-text);
  margin-top: 2px;
}

.evsch-room-tab.is-active small { color: var(--evsch-gray-text); }

/* ── Room panel ── */
.evsch-room-panel { display: none; }
.evsch-room-panel.is-active { display: block; animation: evschFadeIn .24s ease; }

/* ═══════════════════════════════════════════════════════════════════════
   PROGRAM ROWS
   ═══════════════════════════════════════════════════════════════════════ */
.evsch-programs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.evsch-program-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  background: var(--evsch-white);
  border-radius: var(--evsch-radius);
  box-shadow: var(--evsch-shadow);
  border: 1px solid var(--evsch-gray-line);
  overflow: hidden;
  transition: box-shadow var(--evsch-trans), transform var(--evsch-trans);
}

.evsch-program-row:hover {
  box-shadow: 0 6px 28px rgba(27,35,64,.13);
  transform: translateY(-1px);
}

/* ── Time column ── */
.evsch-time-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 22px 20px 22px 24px;
  background: var(--evsch-gray-bg);
  border-right: 1px solid var(--evsch-gray-line);
  gap: 8px;
  min-width: 0;
}

.evsch-time {
  font-size: .88rem;
  font-weight: 600;
  color: var(--evsch-navy);
  white-space: nowrap;
}

.evsch-live-badge {
  display: inline-block;
  background: #EF4444;
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 2px 8px;
  border-radius: 20px;
  animation: evschPulse 1.6s ease-in-out infinite;
}

/* ── Content column ── */
.evsch-content-col {
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.evsch-prog-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--evsch-orange);
  line-height: 1.35;
}

.evsch-prog-desc {
  margin: 0;
  font-size: .9rem;
  color: var(--evsch-navy);
  line-height: 1.55;
  opacity: .85;
}

/* ── Section label (Modérateur / Intervenants) ── */
.evsch-section-label {
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--evsch-gray-text);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════════════
   SPEAKERS / PERSONS
   ═══════════════════════════════════════════════════════════════════════ */
.evsch-speakers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.evsch-person {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--evsch-gray-bg);
  border-radius: var(--evsch-radius-sm);
  padding: 10px 16px 10px 10px;
  min-width: 220px;
  flex: 1 1 220px;
  max-width: 340px;
}

/* Avatar */
.evsch-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--evsch-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.evsch-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.evsch-avatar-initials {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
}

/* Person info */
.evsch-person-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.evsch-person-name {
  font-size: .92rem;
  font-weight: 700;
  color: var(--evsch-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.evsch-person-fn {
  font-size: .78rem;
  color: var(--evsch-gray-text);
  line-height: 1.35;
}

/* ── Empty ── */
.evsch-empty {
  color: var(--evsch-gray-text);
  font-style: italic;
  padding: 24px 0;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════ */
@keyframes evschFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes evschPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .55; }
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .evsch-program-row {
    grid-template-columns: 1fr;
  }

  .evsch-time-col {
    flex-direction: row;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid var(--evsch-gray-line);
    padding: 14px 18px;
  }

  .evsch-content-col {
    padding: 16px 18px;
  }

  .evsch-day-tab {
    min-width: 140px;
    padding: 12px 18px;
  }

  .evsch-person {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .evsch-room-tab {
    padding: 10px 14px;
    font-size: .85rem;
  }
}

@media (max-width: 480px) {
  .evsch-days-nav {
    flex-direction: column;
  }
  .evsch-day-tab {
    min-width: 100%;
  }
}


  .evsch-speakers-title { font-size: 1.5rem; }
}


/* ═══════════════════════════════════════════════════════════════════════
   SPEAKERS PAGE — [eventoo_speakers]
   Design élégant : grande photo, nom + fonction, drapeau SVG
   ═══════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

.evspk-wrap {
  font-family: 'Montserrat', 'Inter', sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

/* ── Grid ── */
.evspk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 24px;
}

/* ── Card ── */
.evspk-card {
  background: #fff;
  border: 1px solid #EBEBEB;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}

.evspk-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  transform: translateY(-4px);
}

/* ── Photo ── */
.evspk-photo-wrap {
  position: relative;
  width: 100%;
  padding-top: 110%; /* ratio légèrement portrait */
  overflow: hidden;
  background: #F0F0F0;
}

.evspk-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .4s ease;
}

.evspk-card:hover .evspk-photo {
  transform: scale(1.04);
}

.evspk-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  background: #1B2340;
  letter-spacing: .04em;
}

/* ── Drapeau SVG ── */
.evspk-flag-wrap {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  background: #eee;
}

.evspk-flag-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Infos ── */
.evspk-info {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 3px solid #E8622A;
  background: #fff;
}

.evspk-name {
  font-size: .95rem;
  font-weight: 800;
  color: #1B2340;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.3;
}

.evspk-subtitle {
  font-size: .8rem;
  font-weight: 400;
  color: #6B7280;
  line-height: 1.4;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .evspk-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }
}

@media (max-width: 540px) {
  .evspk-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
  }
  .evspk-info {
    padding: 12px 14px 14px;
  }
  .evspk-name {
    font-size: .82rem;
  }
  .evspk-subtitle {
    font-size: .72rem;
  }
}
