/* Summit 2026 — shared styles (Replays mockup + Ticket 2 demo pages) */

/* Source Sans 3 — local only (no fonts.googleapis.com) */
@font-face {
  font-family: 'Source Sans 3';
  src:
    url('/shared/assets/fonts/source-sans-3-v19-latin_latin-ext-regular.woff2') format('woff2'),
    url('/shared/assets/fonts/source-sans-3-v19-latin_latin-ext-regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans 3';
  src:
    url('/shared/assets/fonts/source-sans-3-v19-latin_latin-ext-600.woff2') format('woff2'),
    url('/shared/assets/fonts/source-sans-3-v19-latin_latin-ext-600.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans 3';
  src:
    url('/shared/assets/fonts/source-sans-3-v19-latin_latin-ext-700.woff2') format('woff2'),
    url('/shared/assets/fonts/source-sans-3-v19-latin_latin-ext-700.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Accent — Charte Ice Blue #46d3ff (was Figma #84d8fc) */
  --bg: #050816;
  --bg-card: #0b1024;
  --bg-card-hover: #101832;
  --line: rgba(70, 211, 255, 0.35);
  --line-strong: #46d3ff;
  --text: #e8eef8;
  --muted: #9aa8c4;
  --accent: #46d3ff;
  --accent-deep: #4da3ff; /* previous Summit blue */
  /* Shared standout wash (keynote card + Registration CTA) */
  --summit-highlight-grad: linear-gradient(
    145deg,
    rgba(77, 163, 255, 0.55) 0%,
    rgba(70, 211, 255, 0.28) 42%,
    rgba(11, 16, 36, 0.98) 78%
  );
  --max: 1248px;
  /* Keynote speakers row: 5×202px cards + 4×22px gaps (HP program uses the same) */
  --summit-speakers-max: 1098px;
  --font: 'Source Sans 3', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Summit nav — Figma 2026 */
.summit-nav {
  padding: 28px 0 8px;
  text-align: center;
}

.summit-nav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
}

.summit-nav ul {
  list-style: none;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  justify-content: center;
}

.summit-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  line-height: 1.25;
}

.summit-nav a:hover { color: var(--text); }

.summit-nav a.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Registration CTA — gradient clipped inside rounded frame (same colors as keynote) */
.summit-nav a.summit-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  margin: 0;
  border: 2px solid var(--accent);
  border-radius: 8px;
  background: var(--summit-highlight-grad);
  background-clip: padding-box;
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
  overflow: hidden;
  box-sizing: border-box;
}

.summit-nav a.summit-nav__cta:hover {
  background: var(--summit-highlight-grad);
  background-clip: padding-box;
  color: #fff;
  border-color: var(--line-strong);
  filter: brightness(1.12);
}

.summit-nav a.summit-nav__cta.is-active {
  background: var(--summit-highlight-grad);
  background-clip: padding-box;
  color: var(--text);
  border-color: var(--accent);
}

.locale-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.locale-switch__btn {
  display: inline-block;
  width: 28px;
  height: 20px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.55;
  transition: opacity 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.locale-switch__btn:hover,
.locale-switch__btn:focus-visible {
  opacity: 1;
  border-color: var(--accent);
  outline: none;
}

.locale-switch__btn.is-active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(132, 216, 252, 0.45);
}

/* Real SVG flags (not emoji — emoji often shows as FR/GB letters on Linux). */
.locale-switch__btn--fr {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Crect width='1' height='2' fill='%23002395'/%3E%3Crect x='1' width='1' height='2' fill='%23fff'/%3E%3Crect x='2' width='1' height='2' fill='%23ED2939'/%3E%3C/svg%3E");
}

.locale-switch__btn--en {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect width='60' height='30' fill='%23012169'/%3E%3Cpath d='M0 0l60 30M60 0L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30M60 0L0 30' stroke='%23C8102E' stroke-width='2'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E");
}

/* Page header */
.page-head {
  text-align: center;
  padding: 48px 0 32px;
}

.page-head h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.page-head p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
  margin: 0 auto;
}

/* Year pills */
.year-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 4px;
  margin: 0 auto 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(11, 16, 36, 0.8);
}

.year-tabs-wrap {
  text-align: center;
}

.year-tab {
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.year-tab:hover { color: var(--text); }

.year-tab:focus-visible {
  outline: 3px solid #46d3ff;
  outline-offset: 2px;
  color: var(--text);
}

.year-tab.is-active {
  color: #050816;
  background: var(--accent);
}

.year-tab.is-active:focus-visible {
  outline: 3px solid #e8eef8;
  outline-offset: 3px;
}

.year-panel { display: none; padding-bottom: 80px; }
.year-panel.is-active { display: block; }

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  margin-bottom: 28px;
}

/* Homepage only — match intro headline size (Programme, speakers, Sponsors) */
body:has(.intro-block) .section-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.3;
}

/* Keynote replay block — col-lg-8 centered (2025 replay AS-IS) */
.keynote-block {
  margin-bottom: 64px;
}

.keynote-video-wrap {
  width: 83.333%;
  max-width: 832px; /* 8/12 of 1248px content — matches live replay 2025 */
  margin: 0 auto;
  position: relative;
}

.keynote-video-shell {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #0a1228;
}

.keynote-video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  border: none;
  background: #0a1228;
  cursor: pointer;
  color: var(--accent);
  font: inherit;
  overflow: hidden;
}

.keynote-video:hover .keynote-video-play-icon {
  transform: scale(1.06);
}

.keynote-video:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.keynote-video-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.keynote-video.is-poster-fallback {
  background:
    linear-gradient(135deg, rgba(13, 31, 77, 0.95), rgba(5, 8, 22, 0.98)),
    #0a1228;
}

.keynote-video.is-poster-fallback .keynote-video-poster {
  display: none;
}

.keynote-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: rgba(5, 8, 22, 0.18);
  transition: background 0.15s;
}

.keynote-video:hover .keynote-video-play {
  background: rgba(5, 8, 22, 0.28);
}

.keynote-video-play-icon {
  width: 72px;
  height: 72px;
  color: #fff;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45));
  transition: transform 0.15s;
}

.keynote-video-wrap.is-playing .keynote-video-poster,
.keynote-video-wrap.is-playing .keynote-video-play {
  display: none;
}

.keynote-video-wrap.is-playing .keynote-video {
  cursor: default;
  aspect-ratio: auto;
  height: auto;
}

.keynote-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 360px;
  border: 0;
  background: #000;
}

.keynote-video-fullscreen {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(70, 211, 255, 0.6);
  border-radius: 6px;
  background: rgba(5, 8, 22, 0.82);
  color: var(--accent);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.keynote-video-fullscreen:hover {
  background: rgba(11, 16, 36, 0.95);
  border-color: var(--accent);
}

.keynote-video-fullscreen:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.keynote-video-wrap.is-playing .keynote-video-fullscreen {
  display: inline-flex;
}

.keynote-video.is-unavailable {
  cursor: not-allowed;
  opacity: 0.65;
}

.keynote-video-fullscreen svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .keynote-video-wrap {
    width: 100%;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn:hover {
  background: var(--accent);
  color: #050816;
}

.btn.primary {
  background: transparent;
  color: var(--accent);
}

.btn.primary:hover {
  background: var(--accent);
  color: #050816;
  border-color: var(--accent);
}

/* ============================================================
   SPEAKER CARDS — CANONICAL SIZE (site-wide rule)
   Same as Replays mockup. Do NOT invent alternate card sizes.
   When adding new photos/pages, reuse .speakers-grid + .speaker only.
   Size: 202×268 card, photo 207px, gap 22px, border 3px.
   ============================================================ */

.speakers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  /* 5 cards × 202px + 4 gaps × 22px — shared with HP program */
  max-width: var(--summit-speakers-max, 1098px);
  margin: 0 auto 16px;
}

.speaker {
  position: relative;
  width: 202px;
  flex: 0 0 202px;
  min-height: 268px;
  border: 3px solid var(--accent);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.speaker-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #050816;
  background: var(--accent);
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1.2;
}

.speaker-photo-wrap {
  position: relative;
  height: 207px;
  flex-shrink: 0;
  background: radial-gradient(circle at 50% 38%, #2a5a9e 0%, #0d1838 52%, #080f22 100%);
  overflow: hidden;
}

.speaker-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}

.speaker-photo-wrap.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.speaker-placeholder-icon {
  width: 38%;
  height: auto;
  color: rgba(70, 211, 255, 0.5);
}

.speaker-body {
  padding: 10px 8px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.speaker-name {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.8125rem;
  line-height: 1.25;
  margin-bottom: 4px;
}

.speaker-role {
  font-size: 0.6875rem;
  color: var(--muted);
  line-height: 1.4;
}

.speaker-company {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-top: 4px;
}

.speaker--detail {
  min-height: 300px;
}

.speaker--detail .speaker-body {
  justify-content: flex-start;
  padding-bottom: 10px;
}

.speaker-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.speaker-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.speaker-link:hover {
  text-decoration: underline;
}

.speaker-link-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Speakers page — biography modal (Speakers only) */
body.modal-open {
  overflow: hidden;
}

.speaker-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 4, 12, 0.78);
}

.speaker-modal-backdrop.is-open {
  display: flex;
}

.speaker-modal {
  position: relative;
  width: min(920px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  border: 2px solid var(--accent);
  border-radius: 12px;
  background: #0b1024;
  color: var(--text);
  padding: 28px 28px 24px;
}

.speaker-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  z-index: 2;
}

.speaker-modal__close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.speaker-modal__layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}

.speaker-modal__photo-wrap {
  width: 140px;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  background: radial-gradient(circle at 50% 38%, #2a5a9e 0%, #0d1838 52%, #080f22 100%);
}

.speaker-modal__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}

.speaker-modal__photo-wrap .speaker-placeholder-icon {
  width: 48%;
  margin: 26% auto 0;
  display: block;
  color: rgba(70, 211, 255, 0.5);
}

.speaker-modal__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  padding-right: 36px;
}

.speaker-modal__meta {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 16px;
}

.speaker-modal__bio {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
  white-space: pre-wrap;
}

.speaker-modal__social {
  margin-top: 18px;
}

.speaker-modal__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.speaker-modal__linkedin:hover {
  text-decoration: underline;
}

.speaker-modal__linkedin .speaker-link-icon {
  width: 18px;
  height: 18px;
}

.speaker-modal__aside {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.speaker-modal__aside-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
}

.speaker-modal__session {
  margin-bottom: 18px;
}

.speaker-modal__session-when,
.speaker-modal__session-time,
.speaker-modal__session-type {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 4px;
}

.speaker-modal__session-time {
  color: var(--accent, #00a2df);
  letter-spacing: 0.02em;
}

.speaker-modal__session-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.35;
}

.speaker-modal__session-desc {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
}

.speaker-modal__session-empty {
  font-size: 0.85rem;
  color: var(--muted);
}

.speaker-modal__aside-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.speaker-modal__cta {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.speaker-modal__cta:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .speaker-modal__layout {
    grid-template-columns: 1fr;
  }

  .speaker-modal__aside {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 20px;
  }
}

.speakers-block + .speakers-block {
  margin-top: 48px;
}

@media (max-width: 900px) {
  .speaker {
    width: calc((100% - 22px) / 2);
    flex: 0 0 calc((100% - 22px) / 2);
    max-width: 202px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link — hidden until Tab focuses it (WCAG 2.4.1) */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 12px 18px;
  background: #0b1024;
  color: #e8eef8;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid #46d3ff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  /* Keep in accessibility tree but off-screen until focused */
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.skip-link:focus,
.skip-link:focus-visible {
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  overflow: visible;
  outline: 3px solid #46d3ff;
  outline-offset: 3px;
}

/* ========== Ticket 2 — Accueil / Programme / Speakers ========== */

@font-face {
  font-family: 'Gotham Rounded';
  src: url('/shared/assets/fonts/GothamRounded-Book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham Rounded';
  src: url('/shared/assets/fonts/GothamRounded-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 40px;
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.35) 0%, rgba(5, 8, 22, 0.92) 100%),
    radial-gradient(ellipse at 50% 30%, #1a3a7a 0%, #050816 70%);
  overflow: hidden;
}

/* Accueil hero — full-bleed horizontal, head kept in frame */
.hero--figma {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  /* Desktop: a bit taller so more of the overview video stays visible */
  height: min(60vh, 600px);
  min-height: 460px;
  max-height: 640px;
  margin: 0 0 48px;
  background: var(--bg);
  overflow: hidden;
  aspect-ratio: unset;
  /* CHARTE-20-07 — Gotham Rounded (Book / Bold) */
  --hero-meta-font: 'Gotham Rounded', 'Source Sans 3', system-ui, sans-serif;
  --hero-meta-size: clamp(15px, 2.05vw, 21px);
  --hero-venue-size: clamp(13px, 1.75vw, 18px);
  --hero-meta-tracking: 0.08em;
}

.hero--figma .hero__video,
.hero--figma .hero__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Desktop: a little below top so the glasses speaker’s head stays in frame, without pulling the audience up */
  object-position: center 8%;
  filter: none;
}

.hero--figma .hero__video {
  position: absolute;
  inset: 0;
}

.hero--figma .hero__filter {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  /* Previous (lighter) overlay */
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.72) 0%, rgba(5, 8, 22, 0.35) 28%, rgba(5, 8, 22, 0.4) 72%, rgba(5, 8, 22, 0.82) 100%),
    rgba(5, 8, 22, 0.45);
}

.hero--figma .hero__stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  pointer-events: none;
}

/* Desktop: date | logo | venue */
.hero--figma .hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(12px, 2.5vw, 28px);
  width: min(100%, 1080px);
}

.hero--figma .hero__date {
  display: flex;
  flex-direction: row;
  justify-self: end;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(10px, 1.8vw, 18px);
  margin: 0;
  font-family: var(--hero-meta-font);
  font-size: var(--hero-meta-size);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: var(--hero-meta-tracking);
  font-weight: 500;
  line-height: 1;
  text-align: right;
  text-shadow: none;
}

.hero--figma .hero__date time,
.hero--figma .hero__date .hero__stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45em;
  font: inherit;
}

.hero--figma .hero__stack-line {
  display: block;
  font: inherit;
  white-space: nowrap;
}

.hero--figma .hero__bottom {
  display: flex;
  flex-direction: row;
  justify-self: start;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(10px, 1.8vw, 18px);
  width: auto;
  pointer-events: none;
}

.hero--figma .hero__dash {
  display: block;
  flex: 0 0 auto;
  width: clamp(32px, 4.2vw, 52px);
  height: 1px;
  border: 0;
  margin: 0;
  background: rgba(255, 255, 255, 0.92);
  opacity: 1;
}

.hero--figma .hero__title {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: 0;
}

.hero--figma .hero__logo {
  width: min(50.6vw, 462px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.55));
}

/* Discrete pause / play for looping hero video (WCAG 2.2.2) */
.hero--figma .hero__video-toggle {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(232, 238, 248, 0.35);
  border-radius: 999px;
  background: rgba(5, 8, 22, 0.55);
  color: #e8eef8;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.hero--figma .hero__video-toggle:hover {
  background: rgba(5, 8, 22, 0.78);
  border-color: rgba(232, 238, 248, 0.55);
}

.hero--figma .hero__video-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero--figma .hero__video-toggle-icon {
  display: block;
  width: 14px;
  height: 14px;
  background: currentColor;
}

.hero--figma .hero__video-toggle-icon--pause {
  clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0);
}

.hero--figma .hero__video-toggle-icon--play {
  display: none;
  clip-path: polygon(15% 0, 100% 50%, 15% 100%);
}

.hero--figma .hero__video-toggle.is-paused .hero__video-toggle-icon--pause {
  display: none;
}

.hero--figma .hero__video-toggle.is-paused .hero__video-toggle-icon--play {
  display: block;
}

.hero--figma .hero__venue {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55em;
  margin: 0;
  font-family: var(--hero-meta-font);
  font-size: var(--hero-venue-size);
  color: #fff;
  text-transform: uppercase;
  text-align: left;
  text-shadow: none;
  pointer-events: none;
}

.hero--figma .hero__venue .hero__stack-line {
  font-size: inherit;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
}

.hero--figma .hero__venue .hero__stack-line--city {
  font-weight: 700;
  letter-spacing: 0.42em;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 64px 24px;
}

.hero__brand {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.05;
}

.hero__brand span {
  color: var(--accent);
}

.intro-block {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto 64px;
  padding: 0;
}

.intro-block__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

.intro-block__media {
  position: relative;
  display: block;
  width: 100%;
  align-self: center;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg);
}

.intro-block__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

/* Accueil intro — photo #147 cropped to fit column */
.intro-block--media-cover .intro-block__layout {
  align-items: start;
}

.intro-block--media-cover .intro-block__media {
  aspect-ratio: 16 / 10;
  max-height: 360px;
}

.intro-block--media-cover .intro-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  transform: scale(1.38);
  transform-origin: 50% 34%;
}

.intro-block__copy {
  min-width: 0;
}

.intro-block h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 22px;
  line-height: 1.3;
  text-align: left;
}

.intro-block p {
  color: var(--muted);
  font-size: 1.12rem;
  margin-bottom: 12px;
  line-height: 1.55;
  text-align: left;
}

.intro-block p:last-child {
  margin-bottom: 0;
}

.intro-block__lead {
  color: var(--accent);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  margin-bottom: 18px;
}

.page-section {
  padding: 24px 0 64px;
}

.section-title--left {
  text-align: left;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0 auto 48px;
  max-width: var(--max);
  align-items: stretch;
}

.stat-card {
  position: relative;
  border: 0;
  border-radius: 0;
  padding: 16px 24px;
  text-align: center;
  background: transparent;
}

/* Hairline dividers between figures — one band, not four cards */
.stat-card:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16%;
  bottom: 16%;
  width: 1px;
  background: rgba(70, 211, 255, 0.35);
}

.stat-card__value {
  display: block;
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.stat-card__prefix {
  display: inline;
  color: var(--accent);
  font-weight: 700;
  margin-right: 1px;
}

.stat-card__suffix {
  display: inline;
  color: var(--accent);
  font-weight: 700;
  margin-left: 1px;
}

.stat-card__num {
  display: inline;
  color: var(--accent);
}

.stat-card__label {
  display: block;
  font-size: 1rem;
  color: var(--accent);
  line-height: 1.3;
  opacity: 0.85;
}

.sponsors {
  text-align: center;
  padding-bottom: 24px;
}

.sponsors .section-title { margin-bottom: 36px; }

.sponsor-tier {
  margin-bottom: 0;
  padding: 24px 0 20px;
}

.sponsor-tier:last-child {
  padding-bottom: 8px;
}

.sponsor-tier__divider {
  border: 0;
  border-top: 1px solid rgba(153, 232, 255, 0.35);
  margin: 8px auto;
  max-width: min(920px, 100%);
}

.sponsor-tier__label {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.sponsor-tier__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 36px;
}

.sponsor-tier__list li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  /* Fixed slot so wide logos (HPE) and square ones (Bouygues) share the same visual weight */
  width: 148px;
  height: 56px;
}

.sponsor-tier__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sponsor-tier--platinum .sponsor-tier__list li {
  width: 168px;
  height: 60px;
}

.sponsor-tier--gold .sponsor-tier__list li {
  width: 152px;
  height: 56px;
}

.sponsor-tier--silver .sponsor-tier__list li {
  width: 132px;
  height: 48px;
}

/* Programme layout: filters left (full height); keynote + sessions in right column */
.agenda-layout {
  display: grid;
  grid-template-columns: minmax(260px, 300px) 1fr;
  grid-template-areas:
    "filters keynote"
    "filters sessions";
  gap: 20px 28px;
  align-items: start;
  padding-bottom: 80px;
}

/* No visible keynote → Sessions block top-aligns with Filtres */
.agenda-layout.is-no-keynote {
  grid-template-areas:
    "filters sessions";
}

.agenda-layout.is-no-keynote .agenda-keynote {
  display: none;
}

.agenda-filters {
  grid-area: filters;
  border: 2px solid var(--accent);
  border-radius: 8px;
  background: var(--bg-card);
  padding: 16px;
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  align-self: start;
}

.agenda-keynote {
  grid-area: keynote;
  min-width: 0;
  /* Top-align keynote card with filters card (no extra title offset) */
  margin: 0;
  padding: 0;
}

.agenda-sessions {
  grid-area: sessions;
  min-width: 0;
}

.agenda-filters__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.agenda-filters__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

.agenda-filters__head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 14px;
}

.agenda-filters__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  color: var(--accent);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.agenda-filters__toggle:hover {
  border-color: var(--accent);
  color: var(--text);
}

.agenda-filters__reset {
  background: none;
  border: none;
  padding: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: right;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.agenda-filters__reset:hover {
  color: var(--accent);
}

.filter-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0;
}

.filter-group:last-child { border-bottom: none; }

.filter-group.is-collapsed .filter-options,
.filter-group.is-collapsed .filter-more {
  display: none;
}

.filter-group__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: left;
  padding: 4px 0 10px;
}

.filter-group__title::after {
  content: '▾';
  font-size: 0.75rem;
  opacity: 0.8;
}

.filter-group.is-collapsed .filter-group__title::after {
  content: '▸';
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 4px;
}

.filter-options label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
}

.filter-options label.is-filter-extra {
  display: none;
}

.filter-group.is-expanded .filter-options label.is-filter-extra {
  display: flex;
}

.filter-options input { margin-top: 3px; accent-color: var(--accent); }

.filter-more {
  display: inline-block;
  margin-top: 6px;
  padding: 0;
  border: none;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.filter-more:hover {
  color: var(--text);
}

.agenda-section-title {
  margin: 0 0 14px;
  font-size: 1.15rem;
  color: var(--accent);
}

.agenda-keynote .agenda-section-title {
  /* Visually hidden — keynote card top aligns with filters */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.agenda-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
}

/* Same card layout as before — shared blue gradient (also used on Registration) */
.agenda-featured .session-card--featured,
.session-card--featured {
  min-height: 180px;
  background: var(--summit-highlight-grad);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(70, 211, 255, 0.25);
}

.sessions-empty {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 24px 0;
}

.session-card {
  border: 2px solid var(--accent);
  border-radius: 8px;
  background: var(--bg-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
}

.session-card__icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.session-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.3;
}

.session-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}

.session-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text);
}

.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 18px;
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(70, 211, 255, 0.2);
  color: var(--accent);
}

.lang-flag.is-fr { background: rgba(0, 85, 164, 0.35); color: #9ec5ff; }
.lang-flag.is-en { background: rgba(200, 16, 46, 0.25); color: #ffb3bd; }

.session-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  color: #050816;
}

.tag--type { background: #ffe58f; }
.tag--level { background: #d9f7be; }
.tag--theme { background: #bae7ff; }

.session-card__link {
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font: inherit;
  font-weight: 700;
}

.session-card__link:hover { text-decoration: underline; }

.session-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: auto;
  padding-top: 4px;
}

.session-card__agenda {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}

.session-card__agenda:hover {
  color: var(--accent);
  text-decoration: underline;
}

.session-card__agenda.is-saved {
  color: var(--accent);
}

.session-card.is-in-agenda {
  border-color: rgba(70, 211, 255, 0.75);
}

.sessions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.session-card.is-hidden { display: none; }

/* Session detail modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 12, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}

.modal-backdrop.is-open { display: flex; }

.modal {
  width: min(640px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  border: 2px solid var(--accent);
  border-radius: 10px;
  background: #0b1024;
  padding: 28px;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 8px 0 14px;
  padding-right: 36px;
}

.modal__speakers {
  margin: 16px 0 24px;
}

.modal__speakers h3 {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.modal__speakers ul {
  list-style: none;
  color: var(--accent);
  font-weight: 600;
}

.modal__speakers li { margin-bottom: 4px; }

.my-agenda-item.is-conflict {
  border-color: rgba(255, 196, 86, 0.65);
}

.my-agenda-item__badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #050816;
  background: #ffc456;
  vertical-align: middle;
}

.summit-toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  max-width: min(440px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 196, 86, 0.7);
  background: #1a1520;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.summit-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* My agenda — same <a> styling as Speakers / Replays (keeps one baseline) */
.summit-nav a.my-agenda-nav__link {
  color: var(--accent);
}

.summit-nav a.my-agenda-nav__link:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.my-agenda-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 12, 0.72);
  display: none;
  justify-content: flex-end;
  z-index: 110;
}

.my-agenda-backdrop.is-open {
  display: flex;
}

.my-agenda-panel {
  width: min(420px, 100%);
  height: 100%;
  background: var(--bg-card, #0b1024);
  border-left: 2px solid var(--accent);
  padding: 24px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
}

.my-agenda-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.my-agenda-panel__head h2 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--accent);
}

.my-agenda-panel__close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.my-agenda-panel__close:hover {
  color: var(--text);
}

.my-agenda-panel__note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.my-agenda-panel__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.my-agenda-panel__empty {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 8px 0;
}

.my-agenda-item {
  border: 1px solid rgba(70, 211, 255, 0.35);
  border-radius: 8px;
  padding: 12px 14px;
}

.my-agenda-item__meta {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
}

.my-agenda-item__title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.35;
}

.my-agenda-item__remove {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.my-agenda-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.my-agenda-panel__actions .btn {
  width: 100%;
}

.my-agenda-panel__feedback {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
}

#modal-save.is-saved {
  border-color: rgba(70, 211, 255, 0.5);
  color: var(--muted);
}

@media (max-width: 1000px) {
  .agenda-layout {
    grid-template-columns: 1fr;
    /* Sessions first — filters are a compact bar (collapsed by default) */
    grid-template-areas:
      "filters"
      "keynote"
      "sessions";
  }

  .agenda-layout.is-no-keynote {
    grid-template-areas:
      "filters"
      "sessions";
  }

  .agenda-filters {
    position: sticky;
    top: 0;
    z-index: 20;
    max-height: none;
    padding: 12px 14px;
  }

  .agenda-filters.is-mobile-filters.is-filters-open {
    position: static;
  }

  .agenda-filters.is-mobile-filters .agenda-filters__toggle {
    display: inline-block;
  }

  .agenda-filters.is-mobile-filters:not(.is-filters-open) .agenda-filters__body {
    display: none;
  }

  .agenda-filters.is-mobile-filters:not(.is-filters-open) {
    padding-bottom: 12px;
  }

  .agenda-filters.is-mobile-filters:not(.is-filters-open) .agenda-filters__head {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .agenda-filters.is-mobile-filters:not(.is-filters-open) .agenda-filters__reset {
    display: none;
  }

  .sessions-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }

  .summit-nav {
    padding: 16px 0 4px;
  }

  .summit-nav__inner {
    gap: 12px 16px;
  }

  .summit-nav ul {
    gap: 6px 14px;
  }

  .summit-nav a {
    font-size: 0.88rem;
  }

  .page-head {
    padding: 28px 0 20px;
  }

  .hero--figma {
    width: 100%;
    height: min(46vh, 440px);
    min-height: 320px;
    margin-bottom: 28px;
    --hero-meta-size: clamp(14px, 4.2vw, 18px);
    --hero-venue-size: clamp(11px, 3.1vw, 13px);
  }

  .hero--figma .hero__video,
  .hero--figma .hero__photo {
    object-fit: cover;
    object-position: center 20%;
  }

  /* Accueil hero — mobile: stacked date / logo / venue */
  .hero--figma .hero__stage {
    padding: 20px;
  }

  .hero--figma .hero__row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
  }

  .hero--figma .hero__logo {
    width: min(70.4vw, 330px);
  }

  .hero--figma .hero__date {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-self: auto;
    gap: clamp(8px, 1.8vh, 12px);
    letter-spacing: 0.1em;
    text-align: center;
  }

  .hero--figma .hero__date time,
  .hero--figma .hero__date .hero__stack {
    flex-direction: row;
    align-items: baseline;
    gap: 0.38em;
  }

  .hero--figma .hero__dash {
    width: clamp(52px, 15vw, 80px);
  }

  .hero--figma .hero__bottom {
    flex-direction: column;
    align-items: center;
    justify-self: auto;
    gap: clamp(8px, 1.8vh, 12px);
    width: 100%;
  }

  .hero--figma .hero__venue {
    align-items: center;
    text-align: center;
    gap: 0.5em;
  }

  .intro-block__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .intro-block__media img {
    width: 100%;
    height: auto;
  }

  .intro-block--media-cover .intro-block__media {
    max-height: none;
  }

  .intro-block--media-cover .intro-block__media img {
    transform: scale(1.2);
    transform-origin: center 40%;
    object-position: center 40%;
  }

  .agenda-featured,
  .sessions-grid { grid-template-columns: 1fr; }

  /* Key figures: 2×2 open grid with light dividers */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 36px;
    max-width: 100%;
  }

  .stat-card {
    padding: 16px 12px;
  }

  .stat-card:not(:first-child)::before {
    display: none;
  }

  .stat-card:nth-child(2n)::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: rgba(70, 211, 255, 0.35);
  }

  .stat-card:nth-child(n + 3)::after {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    top: 0;
    height: 1px;
    background: rgba(70, 211, 255, 0.28);
  }

  .stat-card__value {
    font-size: 1.85rem;
    margin-bottom: 4px;
  }

  .stat-card__label {
    font-size: 0.85rem;
    line-height: 1.25;
  }

  .session-card {
    padding: 16px;
  }

  .session-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .session-card__link,
  .session-card__agenda {
    width: 100%;
    text-align: left;
  }

  .modal-backdrop {
    padding: 12px;
    align-items: flex-end;
  }

  .modal {
    width: 100%;
    max-height: min(92vh, 100%);
    padding: 20px 16px 24px;
    border-radius: 12px 12px 0 0;
  }

  .my-agenda-panel {
    width: 100%;
  }

  .sponsor-tier__list {
    gap: 20px 24px;
  }

  .sponsor-tier--platinum .sponsor-tier__list li,
  .sponsor-tier--gold .sponsor-tier__list li {
    width: 128px;
    height: 48px;
  }

  .sponsor-tier--silver .sponsor-tier__list li {
    width: 112px;
    height: 42px;
  }

  .sponsor-tier__label {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .speaker {
    width: min(100%, 280px);
    flex: 0 0 min(100%, 280px);
    max-width: none;
  }
}

/* ============================================================
   HP programme overview — 3-column agenda (Accueil)
   ============================================================ */

.hp-agenda-b {
  --hp-program-card: #2ec1e0;
  max-width: var(--summit-speakers-max);
  margin: 0 auto;
}

.hp-agenda-b .section-title {
  text-align: center;
  margin-bottom: 24px;
  color: var(--hp-program-card);
}

.hp-agenda-b__moments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: stretch;
}

.hp-agenda-b__column {
  display: grid;
  grid-template-rows: minmax(min-content, 1fr) minmax(min-content, 1fr);
  gap: 12px;
  height: 100%;
}

.hp-agenda-b__column--single {
  grid-template-rows: minmax(min-content, 1fr);
}

.hp-agenda-b__card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 2px solid var(--hp-program-card);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(11, 16, 36, 0.55);
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
}

.hp-agenda-b__card--highlight {
  border-width: 3px;
  background: var(--summit-highlight-grad);
  box-shadow: inset 0 0 0 1px rgba(70, 211, 255, 0.1);
}

.hp-agenda-b__card--accent {
  background: linear-gradient(165deg, rgba(46, 193, 224, 0.16) 0%, rgba(11, 16, 36, 0.92) 72%);
  border-color: rgba(46, 193, 224, 0.65);
  text-align: left;
  align-items: flex-start;
  justify-content: center;
}

.hp-agenda-b__card--accent .hp-agenda-b__time,
.hp-agenda-b__card--accent .hp-agenda-b__label {
  text-align: left;
}

.hp-agenda-b__keyword {
  display: block;
  font-weight: 700;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 6px;
}

.hp-agenda-b__label-rest {
  display: block;
  font-weight: 400;
  line-height: 1.35;
}

.hp-agenda-b__time {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--hp-program-card);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.hp-agenda-b__label {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.35;
  color: var(--text);
  width: 100%;
}

.hp-agenda-b__desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--muted);
}

@media (max-width: 800px) {
  .hp-agenda-b__moments {
    grid-template-columns: 1fr;
  }

  .hp-agenda-b__column,
  .hp-agenda-b__column--single {
    grid-template-rows: none;
    height: auto;
  }

  .hp-agenda-b__card {
    overflow: visible;
  }
}

/* ============================================================
   Site footer — legal + social (Summit dark theme)
   ============================================================ */

.summit-footer {
  margin-top: 24px;
  border-top: 1px solid rgba(70, 211, 255, 0.2);
  background: linear-gradient(180deg, rgba(11, 16, 36, 0.4) 0%, #030510 100%);
  padding: 18px 0;
}

.summit-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.summit-footer__copyright {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}

.summit-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.summit-footer__legal,
.summit-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.summit-footer__link,
.summit-footer__social-link {
  font-size: 0.82rem;
  color: var(--muted);
  transition: color 0.15s ease;
}

.summit-footer__link--highlight {
  font-weight: 700;
  color: #fff;
  font-size: 0.88rem;
}

.summit-footer__link:hover,
.summit-footer__social-link:hover {
  color: var(--accent);
}

.summit-footer__link--highlight:hover {
  color: var(--accent);
}

.summit-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

@media (max-width: 640px) {
  .summit-footer {
    margin-top: 16px;
    padding: 16px 0;
  }

  .summit-footer__bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   Back to top — floating control (solid disc + chevron)
   ============================================================ */

.summit-scroll-top {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 80;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease,
    filter 0.18s ease,
    box-shadow 0.18s ease;
}

.summit-scroll-top.is-visible {
  opacity: 0.88;
  visibility: visible;
  transform: translateY(0);
}

.summit-scroll-top:hover,
.summit-scroll-top:focus-visible {
  opacity: 1;
  filter: brightness(1.06);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.28);
}

.summit-scroll-top:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

.summit-scroll-top__icon {
  width: 18px;
  height: 18px;
  display: block;
}

@media (max-width: 640px) {
  .summit-scroll-top {
    width: 40px;
    height: 40px;
    right: 14px;
    bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .summit-scroll-top {
    transition: opacity 0.01s linear, visibility 0.01s linear;
  }

  .hero--figma .hero__video-toggle {
    opacity: 1;
  }
}

/* ========== Error pages (403 / 404 / 505) ========== */

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px 80px;
}

.error-page__inner {
  max-width: 560px;
}

.error-page__code {
  font-family: 'Gotham Rounded', 'Source Sans 3', system-ui, sans-serif;
  font-size: clamp(4rem, 12vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
}

.error-page__title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.error-page__text {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.error-page__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--accent);
  transition: filter 0.15s ease, color 0.15s ease;
}

.error-page__actions a.primary {
  background: var(--summit-highlight-grad);
  background-clip: padding-box;
  color: var(--text);
}

.error-page__actions a.primary:hover,
.error-page__actions a.secondary:hover {
  filter: brightness(1.1);
  color: #fff;
}

.error-page__actions a.secondary {
  background: transparent;
  color: var(--muted);
}
