/* Page /chronologie */
.tl-page { max-width: 860px; padding-top: 28px; padding-bottom: 48px; }

/* En-tête et compte à rebours */
.tl-hero { position: relative; overflow: hidden; padding: 32px 28px; border-radius: 20px; text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, color-mix(in srgb, var(--pink) 28%, var(--card)) 0%, var(--card) 62%);
  border: 1px solid color-mix(in srgb, var(--pink) 30%, var(--line)); }
.tl-kicker { margin: 0; color: var(--pink-soft); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tl-hero h1 { margin: 8px 0 10px; font-family: "Space Grotesk", Inter, sans-serif; font-size: clamp(26px, 5vw, 38px); line-height: 1.15; }
.tl-lead { margin: 0 auto; max-width: 560px; color: var(--soft); font-size: 16px; }
.tl-countdown { margin-top: 26px; }
.tl-cd-label { margin: 0 0 12px; color: var(--soft); font-weight: 600; }
.tl-cd-tiles { display: inline-flex; gap: 12px; }
.tl-cd-tiles div { min-width: 92px; padding: 12px 10px; border-radius: 14px; background: color-mix(in srgb, var(--bg) 70%, transparent);
  border: 1px solid var(--line); }
.tl-cd-tiles strong { display: block; font-family: "Space Grotesk", Inter, sans-serif; font-size: 36px; line-height: 1; }
.tl-cd-tiles span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

/* Filtres */
.tl-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 26px 0 8px; }
.tl-chip { --c: var(--soft); min-height: 38px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--soft); font: 500 14px Inter, sans-serif; cursor: pointer; }
.tl-chip:hover { border-color: var(--c); }
.tl-chip[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 18%, var(--card)); border-color: var(--c); color: var(--text); }

/* Couleur de chaque famille */
.g-major { --c: var(--pink); }
.g-news { --c: var(--blue); }
.g-stores { --c: var(--teal); }
.g-visuals { --c: var(--violet); }
.g-site { --c: var(--amber); }
.g-services { --c: #FF8FA3; }

/* Frise */
.tl { position: relative; list-style: none; margin: 0; padding: 0 0 0 56px; }
.tl::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--line), var(--line) 92%, transparent); }
.tl-month { margin: 30px 0 4px -56px; }
.tl-month:first-child { margin-top: 18px; }
.tl-month h2 { display: inline-block; margin: 0; padding: 6px 16px; border-radius: 999px; background: var(--card2);
  font-family: "Space Grotesk", Inter, sans-serif; font-size: 18px; }
.tl-day { margin: 18px 0 8px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.tl-item { position: relative; margin: 0 0 10px; }
.tl-icon { position: absolute; left: -56px; top: 10px; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--card); border: 2px solid var(--c); font-size: 18px; }
.tl-card { padding: 12px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line);
  border-left: 3px solid var(--c); transition: border-color .15s, transform .15s; }
.tl-card:hover { border-color: color-mix(in srgb, var(--c) 60%, var(--line)); transform: translateX(2px); }
.tl-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin: 0 0 4px; font-size: 12px; color: var(--muted); }
.tl-cat { color: var(--c); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.tl-title { display: block; margin: 0; color: var(--text); font-size: 15px; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
a.tl-title:hover { text-decoration: underline; text-decoration-color: var(--c); }

/* Grandes dates : carte mise en avant */
.tl-item.g-major .tl-card { padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--pink) 45%, var(--line));
  background: linear-gradient(120deg, color-mix(in srgb, var(--pink) 16%, var(--card)), var(--card) 70%); }
.tl-item.g-major .tl-title { font-family: "Space Grotesk", Inter, sans-serif; font-size: 19px; font-weight: 700; }
.tl-item.g-major .tl-icon { background: color-mix(in srgb, var(--pink) 25%, var(--card)); }
.tl-item.is-upcoming .tl-card { border-style: dashed; }
.tl-item.is-upcoming .tl-icon { border-style: dashed; }

.tl-empty { color: var(--muted); padding: 20px 0; }
.tl-more { margin: 22px 0 0; text-align: center; }

@media (max-width: 560px) {
  .wrap.tl-page { padding-left: 16px; padding-right: 16px; }
  .tl-hero { padding: 24px 16px; }
  .tl-cd-tiles div { min-width: 0; flex: 1; padding: 10px 6px; }
  .tl-cd-tiles strong { font-size: 28px; }
  .tl-cd-tiles { display: flex; }
  .tl { padding-left: 44px; }
  .tl::before { left: 15px; }
  .tl-month { margin-left: -44px; }
  .tl-icon { left: -44px; width: 32px; height: 32px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .tl-card { transition: none; } .tl-card:hover { transform: none; } }

