/* NetSiret — surcouche au-dessus de brand.css */

@keyframes sirenity-fade-in {
  from { opacity: 0; transform: translateY(-3px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sirenity-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.sirenity-stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 2rem auto;
  max-width: 900px;
}

.sirenity-stepper-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--subtle);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sirenity-stepper-item .step-circle {
  width: 32px;
  height: 32px;
}

.sirenity-stepper-link {
  flex: 1;
  height: 1px;
  background: rgba(148, 163, 184, 0.18);
  min-width: 16px;
}

.sirenity-stepper-link.active {
  background: var(--brand-emerald);
}

.sirenity-card {
  position: relative;
  padding: 2rem;
  border-radius: 8px;
  max-width: 900px;
  margin: 0 auto;
}

.sirenity-dropzone {
  border: 2px dashed rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  padding: 4rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.sirenity-dropzone:hover,
.sirenity-dropzone.is-drag-over {
  border-color: var(--brand-emerald);
  background: rgba(16, 185, 129, 0.04);
}

.sirenity-progress {
  height: 8px;
  background: rgba(148, 163, 184, 0.14);
  border-radius: 999px;
  overflow: hidden;
  margin: 1.25rem 0;
}

.sirenity-progress-bar {
  height: 100%;
  background: var(--brand-emerald);
  width: 0%;
  transition: width 0.3s ease;
}

.sirenity-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.sirenity-modal {
  background: var(--ink-700);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  padding: 2rem;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.sirenity-candidate {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  margin-bottom: 0.6rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.sirenity-candidate:hover {
  border-color: rgba(16, 185, 129, 0.4);
}

.sirenity-candidate.is-selected {
  border-color: var(--brand-emerald);
  background: rgba(16, 185, 129, 0.06);
}

.sirenity-candidate-radio {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(148, 163, 184, 0.4);
  margin-top: 3px;
  flex-shrink: 0;
}

.sirenity-candidate.is-selected .sirenity-candidate-radio {
  border-color: var(--brand-emerald);
  background: var(--brand-emerald);
  box-shadow: inset 0 0 0 3px var(--ink-700);
}

.hidden { display: none !important; }

/* ── Titres d'écran de l'outil : une seule taille (design system §2.3 : 22 px) ── */
.screen-title { font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }

/* ── Topbar / footer communs (js/chrome.js) ── */
.chrome-topbar { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.chrome-inner { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; min-height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.chrome-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.chrome-mark { height: 24px; width: auto; filter: brightness(0); } /* chouette Net-Progress (tête, 224×160), en noir */
.chrome-mark--legacy { width: 28px; height: 28px; border-radius: 8px; background: var(--brand-emerald); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; }
.chrome-mark [data-lucide], .chrome-mark svg { width: 16px; height: 16px; }
.chrome-name { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.chrome-nav { display: flex; align-items: center; gap: 1rem; font-size: 14px; flex-wrap: wrap; }
.chrome-nav .btn-ghost, .chrome-nav .btn-secondary { padding: 0.45rem 0.9rem; font-size: 0.85rem; }
.chrome-admin { font-size: 12px; color: var(--subtle); }
.chrome-footer { border-top: 1px solid var(--line); margin-top: 3rem; }
.chrome-footer-inner { max-width: 72rem; margin: 0 auto; padding: 1.5rem; font-size: 13px; color: var(--subtle); }
.chrome-footer-extra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); font-size: 12px; }
.chrome-footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.chrome-footer-row p { margin: 0; }
.chrome-footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.chrome-footer-brand img { height: 18px; width: auto; opacity: .45; filter: grayscale(1); transition: opacity .2s; }
.chrome-footer-brand a:hover img { opacity: .9; }
.chrome-footer-row nav { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.chrome-footer-row a { color: var(--subtle); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.chrome-footer-row a:hover { color: var(--text); }
.chrome-footer-row a [data-lucide], .chrome-footer-row a svg { width: 12px; height: 12px; }
