/* =========================================================================
   ALYO — app-shot.css : recréation fidèle d'un écran du LOGICIEL Alyo
   (outil Campagnes). Tout est scopé sous .shot pour ne pas toucher au site.
   Repris des tokens réels de dashboard.css / campagnes.css (DA indigo, Inter).
   ========================================================================= */
.shot {
  --s-surface: #ffffff;
  --s-surface2: #f3f4fb;
  --s-line: #e8eaf3;
  --s-lineStrong: #d6dae8;
  --s-text: #0f1729;
  --s-text2: #51607a;
  --s-muted: #93a0b8;
  --s-accent: #0F9E6E;
  --s-accentStrong: #0B7C57;
  --s-accentSoft: #E7F7F0;
  --s-success: #10b981;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--s-line);
  box-shadow: 0 40px 90px rgba(15,23,41,0.22);
  background: #fff;
  line-height: 1.5;
  color: var(--s-text);
}
.shot * { box-sizing: border-box; }

/* fenêtre */
.shot-bar { height: 44px; display: flex; align-items: center; gap: 14px; padding: 0 16px; background: #eef0f6; border-bottom: 1px solid var(--s-line); }
.shot-lights { display: flex; gap: 7px; }
.shot-lights i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.shot-lights i:nth-child(1){ background:#ff5f57; } .shot-lights i:nth-child(2){ background:#febc2e; } .shot-lights i:nth-child(3){ background:#28c840; }
.shot-url { flex: 0 1 320px; margin: 0 auto; height: 26px; border-radius: 99px; background: #fff; border: 1px solid var(--s-line); display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 0.72rem; color: var(--s-muted); }
.shot-url svg { width: 12px; height: 12px; }
.shot-body { display: flex; background: radial-gradient(900px 460px at 100% -10%, #eef0fc 0%, transparent 55%), #f5f6fb; max-height: 600px; overflow: hidden; }

/* sidebar */
.shot .sb { width: 228px; flex: 0 0 228px; background: var(--s-surface); border-right: 1px solid var(--s-line); padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; }
.shot .sb-brand { display: flex; align-items: center; gap: 11px; padding: 4px 6px 15px; margin-bottom: 6px; border-bottom: 1px solid var(--s-line); }
.shot .sb-brand > div { min-width: 0; }
.shot .bmark {
  position: relative; flex: 0 0 auto;
  display: inline-flex; align-items: flex-start;
  font-family: "Sora", ui-sans-serif, system-ui, sans-serif;
  font-weight: 800; font-size: 1.7rem; line-height: 0.9;
  letter-spacing: -0.04em; color: #0f1729;
  padding: 1px 10px 1px 1px;
}
.shot .bmark::after {
  content: ""; position: absolute; top: 1px; right: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: #34E5A0; animation: shot-radar 2.2s ease-out infinite;
}
@keyframes shot-radar { 0% { box-shadow: 0 0 0 0 rgba(52,229,160,0.55); } 70%,100% { box-shadow: 0 0 0 9px rgba(52,229,160,0); } }
@media (prefers-reduced-motion: reduce) { .shot .bmark::after { animation: none; } }
.shot .sb-brand h4 { margin: 0; font-size: 0.88rem; font-weight: 800; color: var(--s-text); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot .sb-brand p { margin: 1px 0 0; font-size: 0.68rem; color: var(--s-muted); font-weight: 600; }
.shot .sb-label { margin: 10px 8px 5px; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--s-muted); }
.shot .nav { display: flex; flex-direction: column; gap: 3px; }
.shot .ni { position: relative; display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 11px; color: var(--s-text2); font-weight: 700; font-size: 0.84rem; letter-spacing: -0.01em; }
.shot .ni svg { width: 18px; height: 18px; flex: 0 0 18px; color: #9398a8; }
.shot .ni.active { background: var(--s-accentSoft); color: var(--s-accentStrong); }
.shot .ni.active svg { color: var(--s-accent); }
.shot .ni.active::before { content: ""; position: absolute; left: 3px; top: 50%; transform: translateY(-50%); width: 3px; height: 16px; border-radius: 99px; background: var(--s-accent); }
.shot .ni .badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; display: flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 750; background: var(--s-accent); color: #fff; border-radius: 7px; box-shadow: 0 4px 10px -2px rgba(15, 158, 110,0.5); }
.shot .sb-sp { flex: 1; }
.shot .sb-status { border: 1px solid var(--s-line); border-radius: 14px; padding: 12px 13px; background: var(--s-surface); }
.shot .sb-status .r { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--s-text2); font-weight: 600; }
.shot .sb-status strong { color: var(--s-text); font-weight: 750; }
.shot .sb-status .on { margin-left: auto; font-size: 0.68rem; font-weight: 700; color: var(--s-success); }
.shot .sb-status .sd { width: 8px; height: 8px; border-radius: 50%; background: var(--s-success); box-shadow: 0 0 0 3px rgba(16,185,129,0.18); }
.shot .sb-status .ph { margin-top: 8px; font-size: 0.8rem; font-weight: 750; color: var(--s-text); font-variant-numeric: tabular-nums; }

/* main */
.shot .mn { flex: 1; min-width: 0; padding: 22px 26px; }
.shot .tb { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.shot .tb h3 { margin: 0; font-size: 1.4rem; font-weight: 850; letter-spacing: -0.02em; color: var(--s-text); }
.shot .tb p { margin: 4px 0 0; font-size: 0.82rem; color: var(--s-muted); font-weight: 550; }
.shot .bp { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 12px; font-weight: 700; font-size: 0.84rem; color: #fff; background: var(--s-accent); box-shadow: 0 6px 16px -7px rgba(15, 158, 110,0.65); white-space: nowrap; }
.shot .bp svg { width: 16px; height: 16px; }

.shot .hs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.shot .h { position: relative; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 18px; padding: 16px 18px; box-shadow: 0 4px 14px rgba(15,23,41,0.06); }
.shot .h .hd { position: absolute; top: 16px; right: 16px; width: 8px; height: 8px; border-radius: 99px; }
.shot .h .n { font-size: 1.55rem; font-weight: 900; letter-spacing: -0.02em; color: var(--s-text); line-height: 1; font-variant-numeric: tabular-nums; }
.shot .h .l { margin-top: 6px; font-size: 0.74rem; font-weight: 700; color: var(--s-muted); }

.shot .panel { background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 22px; padding: 18px 20px; box-shadow: 0 4px 14px rgba(15,23,41,0.06); margin-bottom: 16px; }
.shot .ph { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.shot .ph h4 { margin: 0; font-size: 1rem; font-weight: 800; color: var(--s-text); }
.shot .ph .lnk { font-size: 0.78rem; font-weight: 700; color: var(--s-accent); }
.shot .badge-c { font-size: 0.72rem; font-weight: 800; color: var(--s-accentStrong); background: var(--s-accentSoft); border-radius: 99px; padding: 3px 10px; margin-left: 10px; }
.shot .aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shot .ac { background: var(--s-surface2); border-radius: 12px; padding: 14px; text-align: center; }
.shot .ac .n { font-size: 1.5rem; font-weight: 800; color: var(--s-text); letter-spacing: -0.02em; }
.shot .ac .l { font-size: 0.7rem; font-weight: 600; color: var(--s-muted); margin-top: 3px; }

.shot .clist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.shot .cc { border: 1px solid var(--s-line); border-radius: 16px; padding: 16px 18px; background: var(--s-surface); }
.shot .cc.sent { border-left: 3px solid var(--s-success); }
.shot .cc.draft { border-left: 3px solid var(--s-lineStrong); }
.shot .cc-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.shot .cc h5 { margin: 0 0 3px; font-size: 0.95rem; font-weight: 800; color: var(--s-text); letter-spacing: -0.01em; }
.shot .cc .sub { font-size: 0.72rem; color: var(--s-muted); }
.shot .cc .st { font-size: 0.66rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.shot .cc .st.ok { background: #e7faf2; color: #0a8f5e; }
.shot .cc .st.dr { background: var(--s-surface2); color: var(--s-muted); }
.shot .cc .prev { margin: 11px 0; font-size: 0.8rem; color: var(--s-text2); line-height: 1.5; background: var(--s-surface2); border-radius: 10px; padding: 9px 11px; }
.shot .cc .mets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.shot .cc .m { text-align: center; background: var(--s-surface2); border-radius: 8px; padding: 8px 4px; }
.shot .cc .m .n { font-size: 1.02rem; font-weight: 800; color: var(--s-text); }
.shot .cc .m.accent .n { color: var(--s-accent); }
.shot .cc .m .l { font-size: 0.58rem; font-weight: 600; color: var(--s-muted); margin-top: 2px; }

/* ---- Vue Agenda (matrice Semaine : 7 jours × Midi/Soir) ---- */
.shot .ag-seg { display: flex; gap: 3px; border-radius: 12px; padding: 4px; background: #f3f3f9; }
.shot .ag-seg button { border: none; background: transparent; padding: 7px 14px; border-radius: 9px; font: inherit; font-size: 0.78rem; font-weight: 650; color: #7b7f90; cursor: pointer; }
.shot .ag-seg button.on { background: #fff; color: #241f4d; box-shadow: 0 1px 3px rgba(40,38,90,.14); }
.shot .ag-tools { display: flex; align-items: center; gap: 12px; }
.shot .ag-date { font-size: 0.92rem; font-weight: 750; color: #241f4d; }
.shot .zwk { border: 1px solid #eceaf4; border-radius: 16px; overflow: hidden; background: #fff; }
.shot .zwk-row { display: grid; grid-template-columns: 128px repeat(7, 1fr); }
.shot .zwk-corner { background: #fbfbfd; border-bottom: 1px solid #eceaf4; }
.shot .zwk-dh { border-left: 1px solid #f3f2f8; border-bottom: 1px solid #eceaf4; padding: 9px 4px 8px; text-align: center; background: #fbfbfd; }
.shot .zwk-dh .dow { font-size: 0.58rem; font-weight: 800; letter-spacing: .1em; color: #9d9bae; }
.shot .zwk-dh .dn { font-size: 1rem; font-weight: 750; margin-top: 2px; line-height: 1; color: #241f4d; }
.shot .zwk-dh .dc { font-size: 0.58rem; color: #9d9bae; margin-top: 4px; font-weight: 650; }
.shot .zwk-dh.today { background: #E7F7F0; }
.shot .zwk-dh.today .dow, .shot .zwk-dh.today .dc { color: #0B7C57; }
.shot .zwk-dh.today .dn { color: #fff; background: #0B7C57; width: 23px; height: 23px; line-height: 23px; border-radius: 50%; display: inline-block; font-size: 0.8rem; margin: 1px auto 0; }
.shot .zwk-svc { display: flex; align-items: center; gap: 9px; padding: 12px 13px; border-top: 1px solid #eceaf4; background: #fbfbfd; }
.shot .zwk-svc i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; font-style: normal; font-size: 0.9rem; }
.shot .zwk-svc i.midi { background: #fcf3e7; color: #e79a3c; }
.shot .zwk-svc i.soir { background: #E7F7F0; color: #0B7C57; }
.shot .zwk-svc b { font-size: 0.8rem; font-weight: 750; display: block; color: #241f4d; }
.shot .zwk-svc span { font-size: 0.66rem; color: #9d9bae; font-weight: 650; }
.shot .zwk-cell { border-left: 1px solid #f3f2f8; border-top: 1px solid #eceaf4; padding: 7px; min-height: 78px; display: flex; flex-direction: column; gap: 5px; }
.shot .zwk-cell.tc { background: #F2FBF7; }
.shot .zwk-cell.empty { align-items: center; justify-content: center; }
.shot .zwk-cell.empty::after { content: ""; width: 12px; height: 1.5px; background: #e2e0ec; border-radius: 2px; }
.shot .zr { position: relative; text-align: left; background: #fff; border: 1px solid #eceaf4; border-radius: 9px; padding: 6px 7px 6px 11px; box-shadow: 0 1px 2px rgba(22,18,46,.05); }
.shot .zr::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; }
.shot .zr.midi::before { background: #e79a3c; }
.shot .zr.soir::before { background: #0B7C57; }
.shot .zr-top { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.shot .zr-time { font-size: 0.72rem; font-weight: 750; color: #241f4d; font-variant-numeric: tabular-nums; }
.shot .zr-couv { display: inline-flex; align-items: center; gap: 3px; font-size: 0.64rem; font-weight: 750; color: #6e6b82; background: #f4f3f9; border-radius: 6px; padding: 1px 5px; }
.shot .zr-couv::before { content: ""; width: 8px; height: 8px; flex: none; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239d9bae' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='10' cy='7' r='4'/%3E%3C/svg%3E"); }
.shot .zr-name { display: flex; align-items: center; gap: 4px; margin-top: 3px; min-width: 0; }
.shot .zr-name .sd { width: 6px; height: 6px; border-radius: 50%; background: #2fbf71; flex: none; }
.shot .zr-name .nm { font-size: 0.7rem; font-weight: 650; color: #241f4d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot .zr-ia { display: inline-flex; align-items: center; gap: 2px; font-size: 0.54rem; font-weight: 800; color: #0B7C57; background: #E7F7F0; border-radius: 5px; padding: 1px 4px; margin-left: auto; flex: none; }

/* ---- Mini capture : Agenda vue JOUR (pour hero) ---- */
.zday { font-family: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif; background: #fff; border: 1px solid #EEEDF6; border-radius: 28px; overflow: hidden; box-shadow: 0 28px 60px -32px rgba(60,55,140,.28); }
.zday-bar { display: flex; align-items: center; gap: 9px; padding: 11px 14px; background: #FBFBFE; border-bottom: 1px solid #EEECF6; }
.zday-bar .lights { display: flex; gap: 6px; }
.zday-bar .lights i { width: 9px; height: 9px; border-radius: 50%; background: #C7EDDD; }
.zday-bar .url { margin-left: 6px; font-size: 0.7rem; color: #9a98ac; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.zday-bar .url svg { width: 11px; height: 11px; }
.zday-hd { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px 13px; }
.zday-hd .d { font-size: 1.02rem; font-weight: 750; color: #241f4d; white-space: nowrap; }
.zday-hd .d span { color: #9a98ac; font-weight: 600; font-size: 0.8rem; margin-left: 7px; }
.zday-hd .today { font-size: 0.66rem; font-weight: 750; color: #0B7C57; background: #E7F7F0; border-radius: 8px; padding: 5px 10px; }
.zday-svc { display: flex; align-items: center; gap: 9px; padding: 9px 18px; background: #FBFBFD; border-top: 1px solid #F0EEF7; border-bottom: 1px solid #F0EEF7; }
.zday-svc i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; font-style: normal; }
.zday-svc i.midi { background: #FCF3E7; color: #E79A3C; }
.zday-svc i.soir { background: #E7F7F0; color: #0B7C57; }
.zday-svc b { font-size: 0.82rem; font-weight: 750; color: #241f4d; }
.zday-svc .cnt { margin-left: auto; font-size: 0.7rem; font-weight: 700; color: #9a98ac; white-space: nowrap; }
/* Créneau = chip « Sérénité » : barre indigo à gauche, heure en gras, tag IA, pastille couverts indigo */
.zday-r { display: flex; align-items: center; gap: 11px; padding: 11px 18px 11px 0; border-bottom: 1px solid #F4F3F9; }
.zday-r:last-child { border-bottom: none; }
.zday-r::before { content: ""; width: 3px; height: 22px; border-radius: 3px; background: #0B7C57; flex: none; }
.zday-r .t { font-size: 0.8rem; font-weight: 780; color: #241f4d; font-variant-numeric: tabular-nums; width: 42px; flex: none; }
.zday-r .nm { font-size: 0.82rem; font-weight: 650; color: #241f4d; display: flex; align-items: center; gap: 7px; min-width: 0; }
.zday-r .nm .sd { display: none; }
.zday-r .nm .ia { display: inline-flex; align-items: center; gap: 3px; font-size: 0.56rem; font-weight: 800; color: #0B7C57; background: #E7F7F0; border-radius: 999px; padding: 2px 7px; }
.zday-r .cv { margin-left: auto; font-size: 0.72rem; font-weight: 780; color: #0B7C57; background: #f1f0fc; border-radius: 8px; padding: 3px 8px; display: inline-flex; gap: 5px; align-items: center; flex: none; font-variant-numeric: tabular-nums; }
.zday-r .cv::before { content: ""; width: 9px; height: 9px; flex: none; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236258e8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='10' cy='7' r='4'/%3E%3C/svg%3E"); }

@media (max-width: 820px) {
  .shot .sb { display: none; }
  .shot .hs { grid-template-columns: 1fr 1fr; }
  .shot .clist { grid-template-columns: 1fr; }
  .shot-body { max-height: none; overflow-x: auto; }
  .shot .zwk { min-width: 720px; }
}
