/* Gate Pulse — design system v0.3
   Thème sombre : direction artistique gate-ia.be (#16161F).
   Thème clair : ivoire calme, inspiration Apple / Anthropic. */
:root {
  --bg: #16161F;
  --bg-2: #1C1C28;
  --card: #20202E;
  --border: #2C2C3D;
  --text: #ECECF4;
  --muted: #9A9AB0;
  --accent: #6d5efc;
  --accent-2: #22d3ee;
  --success: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  --radius: 16px;
  --grad: linear-gradient(135deg, var(--accent), var(--accent-2));
  --shadow: 0 1px 2px rgba(0,0,0,.25);
  --ease: cubic-bezier(.22,.61,.36,1);
}
html[data-theme="light"] {
  --bg: #F7F6F2;
  --bg-2: #EFEDE7;
  --card: #FFFFFF;
  --border: #E4E1D8;
  --text: #1F1F2E;
  --muted: #74748A;
  --accent: #5B4CF0;
  --accent-2: #0E9BB8;
  --success: #0f9d6e;
  --warn: #b47d0a;
  --danger: #d5504d;
  --shadow: 0 1px 3px rgba(31,31,46,.07);
}
@media (prefers-color-scheme: light) {
  html:not([data-theme]) {
    --bg: #F7F6F2; --bg-2: #EFEDE7; --card: #FFFFFF; --border: #E4E1D8;
    --text: #1F1F2E; --muted: #74748A; --accent: #5B4CF0; --accent-2: #0E9BB8;
    --success: #0f9d6e; --warn: #b47d0a; --danger: #d5504d;
    --shadow: 0 1px 3px rgba(31,31,46,.07);
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Inter, sans-serif;
  font-size: 15px; line-height: 1.65;
  letter-spacing: .01em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  transition: background .35s var(--ease), color .35s var(--ease);
}
h1, h2, h3 { font-weight: 600; letter-spacing: -.015em; }
#app { min-height: 100dvh; display: flex; flex-direction: column; }

/* Boot */
.boot { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); }
.pulse-logo {
  width: 72px; height: 72px; border-radius: 20px; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; font-weight: 800; color: #fff;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1 } 50% { transform: scale(.92); opacity: .75 } }

/* Layout */
header.topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 22px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px); z-index: 10;
  transition: background .35s var(--ease);
}
.topbar .logo { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display:flex; align-items:center; justify-content:center; font-weight:600; color:#fff; }
.topbar h1 { font-size: 17px; font-weight: 600; flex: 1; letter-spacing: -.01em; }
.topbar .badge { font-size: 11px; padding: 3px 9px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--border); color: var(--muted); font-weight: 500; }
main { flex: 1; padding: 22px; max-width: 780px; width: 100%; margin: 0 auto; padding-bottom: 96px; animation: viewIn .45s var(--ease) both; transform-origin: 50% 30%; }
@keyframes viewIn {
  from { opacity: 0; transform: perspective(1200px) translateZ(-60px) translateY(14px) rotateX(2deg); filter: blur(2px); }
  to { opacity: 1; transform: perspective(1200px) translateZ(0) translateY(0) rotateX(0); filter: none; }
}

/* Bottom nav (mobile-first) */
nav.bottom {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10;
  display: flex; justify-content: space-around;
  background: color-mix(in srgb, var(--bg-2) 94%, transparent); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 9px 4px calc(9px + env(safe-area-inset-bottom));
  transition: background .35s var(--ease);
}
nav.bottom button {
  background: none; border: none; color: var(--muted); font-size: 11px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  cursor: pointer; padding: 4px 14px; border-radius: 10px; font-family: inherit;
  transition: color .25s var(--ease), transform .2s var(--ease);
}
nav.bottom button.active { color: var(--accent-2); }
nav.bottom button:active { transform: scale(.92); }
nav.bottom button .ico { font-size: 20px; line-height: 1; }

/* Cards & forms — plus d'air, entrée en cascade */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 22px; margin-bottom: 18px; box-shadow: var(--shadow);
  animation: cardIn .45s var(--ease) both;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
main .card:nth-child(1) { animation-delay: .02s; }
main .card:nth-child(2) { animation-delay: .07s; }
main .card:nth-child(3) { animation-delay: .12s; }
main .card:nth-child(4) { animation-delay: .17s; }
main .card:nth-child(5) { animation-delay: .22s; }
main .card:nth-child(6) { animation-delay: .27s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.card h2 { font-size: 16px; margin-bottom: 14px; }
.card h3 { font-size: 13.5px; margin: 18px 0 8px; color: var(--accent-2); font-weight: 600; }
label { display: block; font-size: 13px; color: var(--muted); margin: 16px 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=datetime-local], textarea, select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--border); color: var(--text);
  font-family: inherit; font-size: 15px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; border: none; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 500;
  background: var(--grad); color: #fff;
  transition: opacity .2s var(--ease), transform .18s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { opacity: .92; box-shadow: 0 4px 16px rgba(109,94,252,.25); } .btn:active { transform: scale(.97); }
.btn.secondary { background: var(--bg-2); border: 1px solid var(--border); color: var(--text); }
.btn.danger { background: none; border: 1px solid var(--danger); color: var(--danger); }
.btn.block { width: 100%; margin-top: 14px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.small { padding: 7px 14px; font-size: 13px; }

/* Chips / status */
.chip { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--border); background: var(--bg-2); color: var(--muted); margin: 2px 4px 2px 0; }
.chip.on { border-color: var(--accent); color: var(--accent-2); }
.status { font-size: 12px; padding: 3px 10px; border-radius: 99px; font-weight: 600; }
.status.draft, .status.generating { background: #1e293b; color: var(--muted); }
.status.generated { background: rgba(109,94,252,.15); color: #a79bff; }
.status.scheduled { background: rgba(251,191,36,.12); color: var(--warn); }
.status.published, .status.dry_run_published { background: rgba(52,211,153,.12); color: var(--success); }
.status.failed { background: rgba(248,113,113,.12); color: var(--danger); }

/* Post list */
.post-item { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.post-item .thumb { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; background: var(--bg-2); flex-shrink: 0; }
.post-item .body { flex: 1; min-width: 0; }
.post-item .body p { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.post-item .meta { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* Image grid */
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 10px; }
.img-grid .cell { position: relative; border-radius: 10px; overflow: hidden; border: 2px solid transparent; }
.img-grid .cell.kept { border-color: var(--success); }
.img-grid .cell.rejected { opacity: .38; border-color: var(--danger); }
.img-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.img-grid .tag { position: absolute; bottom: 4px; left: 4px; right: 4px; font-size: 10px; background: rgba(0,0,0,.7); border-radius: 6px; padding: 2px 5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Preview caption */
.caption-preview { background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 14px; white-space: pre-wrap; font-size: 14px; margin-top: 6px; }
.hashtags span { color: var(--accent-2); margin-right: 6px; font-size: 13px; }

/* Auth */
.auth-wrap { max-width: 400px; margin: 8vh auto 0; padding: 0 18px; }
.auth-logo { text-align: center; margin-bottom: 26px; }
.auth-logo .pulse-logo { margin: 0 auto 12px; animation: none; }
.auth-logo h1 { font-size: 26px; } .auth-logo p { color: var(--muted); font-size: 14px; }
.tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.tabs button { flex: 1; padding: 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-2); color: var(--muted); cursor: pointer; font-family: inherit; font-weight: 600; }
.tabs button.active { background: var(--grad); color: #fff; border-color: transparent; }

/* Toast */
#toast { position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%); z-index: 50; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 420px); }
.toast-msg { background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--accent-2); border-radius: 10px; padding: 12px 16px; font-size: 14px; box-shadow: 0 8px 30px rgba(0,0,0,.45); animation: slideup .25s ease; }
.toast-msg.error { border-left-color: var(--danger); }
.toast-msg.success { border-left-color: var(--success); }
@keyframes slideup { from { transform: translateY(14px); opacity: 0 } to { transform: none; opacity: 1 } }

.empty { text-align: center; color: var(--muted); padding: 40px 12px; }
.empty .big { font-size: 40px; margin-bottom: 10px; }
.spinner { width: 22px; height: 22px; border: 3px solid var(--border); border-top-color: var(--accent-2); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg) } }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }
.mt { margin-top: 14px; }
.muted { color: var(--muted); font-size: 13px; }
.kv { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--muted); }
@media (min-width: 700px) {
  nav.bottom { position: sticky; border-radius: 0; }
}

/* Transition douce (changement de langue / vue) */
#app { transition: opacity .18s ease; }
#app.fading { opacity: 0; }

/* Sélecteur de langue */
.lang-switch { display: flex; gap: 6px; justify-content: center; margin: 0 0 14px; flex-wrap: wrap; }
.lang-switch button {
  padding: 6px 12px; border-radius: 99px; border: 1px solid var(--border);
  background: var(--bg-2); color: var(--muted); cursor: pointer;
  font-family: inherit; font-size: 12px; font-weight: 600; transition: all .15s;
}
.lang-switch button.on { background: var(--grad); color: #fff; border-color: transparent; }

/* Toggle (transparence IA) */
.toggle-row { display: flex; align-items: center; gap: 12px; justify-content: space-between; cursor: pointer; font-size: 14px; }
.toggle-row input[type=checkbox] {
  appearance: none; width: 46px; height: 26px; border-radius: 99px; flex-shrink: 0;
  background: var(--bg-2); border: 1px solid var(--border); position: relative; cursor: pointer; transition: background .2s;
}
.toggle-row input[type=checkbox]::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--muted); transition: all .2s;
}
.toggle-row input[type=checkbox]:checked { background: var(--accent); border-color: var(--accent); }
.toggle-row input[type=checkbox]:checked::after { left: 23px; background: #fff; }

/* Pages légales */
.draft-banner {
  background: rgba(251,191,36,.12); border: 1px solid var(--warn); color: var(--warn);
  border-radius: 10px; padding: 12px 14px; font-size: 13px; font-weight: 600; margin-bottom: 14px;
}
.legal-body { font-size: 13.5px; color: var(--text); line-height: 1.65; }
.link { color: var(--accent-2); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ── Écran de bienvenue (première ouverture) ─────────────────── */
.welcome-wrap {
  min-height: 100dvh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 24px; text-align: center;
}
.welcome-logo {
  width: 84px; height: 84px; border-radius: 24px; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 600; color: #fff;
  animation: logoIn 1s var(--ease) both;
}
@keyframes logoIn {
  0% { opacity: 0; transform: scale(.6) rotate(-8deg); }
  60% { opacity: 1; transform: scale(1.06) rotate(1deg); }
  100% { transform: scale(1) rotate(0); }
}
.welcome-title { margin-top: 28px; font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.welcome-title .w {
  display: inline-block; opacity: 0;
  animation: wordIn .6s var(--ease) forwards;
}
@keyframes wordIn { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.welcome-sub {
  margin-top: 14px; color: var(--muted); font-size: 15px;
  opacity: 0; animation: wordIn .6s var(--ease) 1.15s forwards;
}
.welcome-langs {
  margin-top: 34px; display: flex; flex-direction: column; gap: 12px; width: min(320px, 88vw);
}
.welcome-langs button {
  padding: 15px 20px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--card); color: var(--text); font-family: inherit; font-size: 16px;
  cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  opacity: 0; animation: cardIn .5s var(--ease) forwards;
  transition: border-color .2s var(--ease), transform .18s var(--ease), background .2s var(--ease);
}
.welcome-langs button:nth-child(1) { animation-delay: 1.3s; }
.welcome-langs button:nth-child(2) { animation-delay: 1.42s; }
.welcome-langs button:nth-child(3) { animation-delay: 1.54s; }
.welcome-langs button:nth-child(4) { animation-delay: 1.66s; }
.welcome-langs button:nth-child(5) { animation-delay: 1.78s; }
.welcome-langs button:hover { border-color: var(--accent); transform: translateY(-2px); }
.welcome-langs button:active { transform: scale(.97); }
.welcome-langs .code { color: var(--muted); font-size: 13px; font-weight: 500; }
.welcome-exit { animation: welcomeOut .45s var(--ease) forwards; }
@keyframes welcomeOut { to { opacity: 0; transform: scale(.98); filter: blur(3px); } }

/* Sélecteur de thème (réglages) */
.theme-switch { display: flex; gap: 8px; }
.theme-switch button {
  flex: 1; padding: 11px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg-2); color: var(--muted); cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 500;
  transition: all .25s var(--ease);
}
.theme-switch button.on { background: var(--grad); color: #fff; border-color: transparent; }

/* ── Skeleton loaders (shimmer) ──────────────────────────────── */
.skel-card { display: flex; gap: 14px; align-items: center; }
.skel {
  background: linear-gradient(90deg, var(--bg-2) 25%, var(--border) 50%, var(--bg-2) 75%);
  background-size: 200% 100%; animation: shimmer 1.4s ease infinite; border-radius: 8px;
}
.skel-avatar { width: 54px; height: 54px; border-radius: 12px; flex-shrink: 0; }
.skel-line { height: 13px; margin: 7px 0; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── Génération en direct ────────────────────────────────────── */
.gen-stage { color: var(--accent-2); font-size: 14px; font-weight: 500; transition: all .3s var(--ease); }
.live-caption {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px; min-height: 90px; font-size: 14.5px; line-height: 1.7; white-space: pre-wrap;
}
.caret {
  display: inline-block; width: 2px; height: 1.1em; background: var(--accent-2);
  vertical-align: text-bottom; margin-left: 2px; animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ── Préview Instagram réaliste ──────────────────────────────── */
.ig-frame {
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  background: var(--bg-2); margin: 10px 0 14px; max-width: 380px;
}
.ig-head { display: flex; align-items: center; gap: 9px; padding: 10px 12px; font-size: 13px; }
.ig-avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 13px;
}
.ig-dots { margin-left: auto; color: var(--muted); letter-spacing: 1px; }
.ig-media { position: relative; }
.ig-media img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.ig-count {
  position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.6); color: #fff;
  font-size: 11px; padding: 3px 9px; border-radius: 99px;
}
.ig-actions { display: flex; gap: 14px; padding: 10px 12px 4px; font-size: 19px; }
.ig-caption { padding: 4px 12px 12px; font-size: 13px; line-height: 1.55; color: var(--text); }
.ig-caption b { margin-right: 5px; }

/* ── Votre semaine ───────────────────────────────────────────── */
.week-strip { display: flex; gap: 6px; }
.wday {
  flex: 1; text-align: center; padding: 10px 2px; border-radius: 12px;
  border: 1px solid transparent; transition: all .25s var(--ease);
}
.wday span { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; }
.wday b { display: block; font-size: 15px; font-weight: 600; margin: 3px 0; }
.wday.today { border-color: var(--accent); background: var(--bg-2); }
.wday .dots { display: flex; gap: 3px; justify-content: center; min-height: 7px; }
.wday .dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.wday .dot.ok { background: var(--success); }
.wday .dot.plan { background: var(--warn); }

/* ── Confetti (première publication) ─────────────────────────── */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 100; overflow: hidden; }
.confetti i {
  position: absolute; top: -16px; border-radius: 2px; opacity: .9;
  animation: confFall linear forwards;
}
@keyframes confFall {
  to { transform: translateY(105vh) rotate(540deg); opacity: .5; }
}

/* ── Tilt 3D haut de gamme (pointeur précis uniquement) ──────── */
@media (pointer: fine) {
  .tilt {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
    transition: transform .18s var(--ease), box-shadow .25s var(--ease);
    will-change: transform;
    position: relative; overflow: hidden;
  }
  .tilt:hover { box-shadow: 0 14px 40px rgba(0,0,0,.28); }
  .tilt::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%),
      rgba(255,255,255,.08), transparent 55%);
    opacity: 0; transition: opacity .25s var(--ease);
  }
  .tilt:hover::after { opacity: 1; }
}

/* ── Stats animées (tableau de bord) ─────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-bottom: 18px; }
.stat {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 8px; text-align: center; animation: cardIn .45s var(--ease) both;
}
.stat:nth-child(2) { animation-delay: .05s } .stat:nth-child(3) { animation-delay: .1s } .stat:nth-child(4) { animation-delay: .15s }
.stat b { display: block; font-size: 24px; font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 11px; color: var(--muted); }

/* ── Jauge de potentiel viral ────────────────────────────────── */
.viral-wrap { display: flex; align-items: center; gap: 16px; margin: 12px 0; }
.viral-ring { position: relative; width: 84px; height: 84px; flex-shrink: 0; }
.viral-ring svg { transform: rotate(-90deg); }
.viral-ring circle { fill: none; stroke-width: 8; stroke-linecap: round; }
.viral-ring .track { stroke: var(--bg-2); }
.viral-ring .bar { stroke: url(#viralGrad); stroke-dasharray: 226; stroke-dashoffset: 226; transition: stroke-dashoffset 1.2s var(--ease); }
.viral-ring .num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; }
.viral-tips { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── Variantes A/B ───────────────────────────────────────────── */
.variant-chips { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.variant-chips .chip { cursor: pointer; transition: all .2s var(--ease); }
.variant-chips .chip.on { border-color: var(--accent); color: var(--accent-2); }

/* ── Carte d'introduction (première connexion) ───────────────── */
.intro-card {
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box;
}

/* ── Semaine magique ─────────────────────────────────────────── */
.magic-card { border: 1px solid transparent; background:
  linear-gradient(var(--card), var(--card)) padding-box,
  var(--grad) border-box; }
.plan-day {
  display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border);
  animation: cardIn .4s var(--ease) both;
}
.plan-day:last-child { border-bottom: none; }
.plan-day .d { width: 44px; flex-shrink: 0; text-align: center; }
.plan-day .d b { display: block; font-size: 13px; color: var(--accent-2); }
.plan-day .d span { font-size: 10px; color: var(--muted); }
.plan-day .body { flex: 1; }
.plan-day .body b { font-size: 14px; }
.plan-day .body p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.plan-day .meta { font-size: 11px; color: var(--accent-2); margin-top: 4px; }

/* ── Zone de dépôt d'images ──────────────────────────────────── */
.dropzone {
  border: 2px dashed var(--border); border-radius: 14px; padding: 20px;
  text-align: center; color: var(--muted); font-size: 13.5px; cursor: pointer;
  transition: all .25s var(--ease); margin-top: 4px;
}
.dropzone.over { border-color: var(--accent); background: var(--bg-2); transform: scale(1.01); color: var(--accent-2); }

/* Accessibilité : respect des préférences de mouvement réduites */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}
