/* DZOTINÚ v4 — styles des pages Agenda, Presse, 404 et hors ligne (chargés seulement sur ces pages) */
.agenda-cal { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.agenda-cal .chip { display: inline-flex; gap: 6px; align-items: center; min-height: 40px; padding: 6px 14px; color: var(--ink); text-decoration: none; }
.agenda { margin-top: 18px; }
.ag-body { min-height: 85vh; }
.ag-note { margin: 10px 2px 0; font-size: .95rem; color: var(--muted); }
.ag-tools { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-card); }
.ag-views, .ag-doors { display: flex; flex-wrap: wrap; gap: 6px; }
.ag-tools .chip { min-height: 38px; padding: 6px 12px; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.ag-kind { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-left: auto; }
.ag-kind select { min-height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; padding: 0 10px; }
.ag-status { color: var(--muted); margin: 10px 2px; font-size: .95rem; min-height: 1.4em; }
.ag-loading, .ag-empty { color: var(--muted); padding: 24px 4px; }
.ag-month { margin: 8px 0 22px; }
.ag-mhead { font-family: var(--font-title); font-size: 1.5rem; text-transform: capitalize; margin: 0 0 10px; color: var(--copper); }
.ag-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ag-item { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-card); scroll-margin-top: calc(var(--header-h, 80px) + 30px); }
.ag-item:target { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(212,160,90,.35); }
.ag-item[data-demo="true"] { border-style: dashed; }
.ag-date { margin: 0; display: grid; justify-items: center; align-content: start; padding: 8px 0; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); line-height: 1.05; }
.ag-wd, .ag-mo { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ag-d { font-family: var(--font-title); font-size: 2rem; font-weight: 700; color: var(--accent); }
.ag-main { min-width: 0; }
.ag-kicker { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--copper); }
.ag-kicker img { width: 22px; height: 22px; }
.ag-demo { position: static; margin-left: 6px; font-size: .72rem; }
.ag-title { margin: 4px 0 2px; font-family: var(--font-title); font-size: 1.4rem; line-height: 1.2; }
.ag-meta { margin: 0; color: var(--muted); }
.ag-sum { margin: 6px 0 0; }
.ag-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.ag-actions .chip { min-height: 36px; display: inline-flex; align-items: center; padding: 4px 12px; color: var(--ink); text-decoration: none; }
.ag-past { margin-top: 6px; }
.ag-mbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 10px; }
.ag-mtitle { margin: 0; font-family: var(--font-title); font-size: 1.6rem; text-transform: capitalize; }
.ag-nav { min-width: 44px; min-height: 44px; font-size: 1.4rem; color: var(--ink); }
.ag-grid { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 18px; background: var(--bg-card); }
.ag-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ag-wds { background: var(--bg); }
.ag-wdn { padding: 6px; text-align: center; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ag-cell { min-height: 92px; padding: 6px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ag-row > .ag-cell:first-child { border-left: 0; }
.ag-cell.is-out { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(212,160,90,.04) 6px 12px); }
.ag-num { font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ag-cell.is-today .ag-num { color: var(--accent-ink); background: var(--accent); border-radius: 999px; width: 1.7em; text-align: center; font-weight: 700; }
.ag-pill { display: flex; align-items: center; gap: 4px; font-size: .78rem; line-height: 1.2; padding: 2px 5px; border-radius: 6px; background: rgba(212,160,90,.14); color: var(--ink); text-decoration: none; overflow: hidden; }
.ag-pill span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-pill[data-demo="true"] { outline: 1px dashed rgba(212,160,90,.55); outline-offset: -1px; }
.ag-pill img { flex: none; }
.ag-more { font-size: .75rem; color: var(--muted); }
@media (max-width: 720px) {
  .ag-kind { margin-left: 0; }
  .ag-cell { min-height: 56px; padding: 4px 3px; }
  .ag-pill { justify-content: center; padding: 2px; background: none; }
  .ag-pill span { display: none; }
  .ag-pill img { width: 16px; height: 16px; }
  .ag-item { grid-template-columns: 58px 1fr; gap: 10px; padding: 12px; }
  .ag-d { font-size: 1.6rem; }
}
/* presse */
.press-sec { scroll-margin-top: calc(var(--header-h, 80px) + var(--toc-h, 0px) + 24px); }
.press-bio { min-height: 220px; }
@media (max-width: 760px) { .press-bio { min-height: 250px; } }
@media (max-width: 560px) { .press-bio { min-height: 370px; } }
.press-card { position: relative; padding: 18px; border: 1px dashed var(--line); border-radius: 16px; background: var(--bg-card); }
.press-card .demo-badge { position: static; display: inline-block; margin-bottom: 6px; }
.press-card h3 { margin: 4px 0 8px; font-family: var(--font-title); font-size: 1.35rem; }
.press-short { color: var(--muted); font-style: italic; }
.press-logos { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.press-logos li { display: grid; justify-items: center; gap: 6px; padding: 14px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-card); text-align: center; }
.press-logos img { width: 64px; height: 64px; object-fit: contain; }
.press-size { color: var(--muted); }
.press-photos { min-height: 200px; }
.press-ph { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.press-ph figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-card); }
.press-ph img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.press-ph figcaption { padding: 8px 12px; font-size: .92rem; color: var(--muted); }
.press-contacts { padding-left: 1.1em; }
.press-contacts .soon { font-size: .82rem; padding: 1px 8px; border-radius: 999px; border: 1px dashed var(--line); color: var(--muted); margin-left: 6px; }
/* 404 / hors ligne */
.nf-hero { text-align: center; padding: 30px 10px 10px; }
.nf-code { margin: 0; font-family: var(--font-title); font-size: clamp(4.5rem, 16vw, 8rem); line-height: 1; color: var(--accent); opacity: .85; }
.nf-hero h1 { font-family: var(--font-title); font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 6px 0 8px; }
.nf-search { max-width: 560px; margin: 18px auto 26px; display: grid; gap: 8px; }
.nf-search label { font-weight: 600; }
.nf-search input { min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-card); color: var(--ink); font: inherit; font-size: 1.05rem; }
.nf-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; min-height: 1em; }
.nf-results a { display: inline-block; padding: 6px 4px; }
.nf-demo { position: static; font-size: .7rem; }
.nf-doors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.nf-door { display: grid; justify-items: center; gap: 6px; padding: 16px 8px; text-align: center; text-decoration: none; }
.nf-door .door-name { font-family: var(--font-title); font-size: 1.2rem; color: var(--ink); }
.nf-more { text-align: center; margin-top: 20px; }
@media (max-width: 640px) { .nf-doors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* v5 : changements de filtre / de vue en douceur */
@media (prefers-reduced-motion: no-preference) {
  .ag-list > li, .ag-month, .ag-grid { animation: dz-soft-in .4s cubic-bezier(.22,1,.36,1) both; }
  .ag-list > li:nth-child(2) { animation-delay: 30ms; } .ag-list > li:nth-child(3) { animation-delay: 60ms; } .ag-list > li:nth-child(n+4) { animation-delay: 90ms; }
}
