@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300;1,9..40,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── Tokens ── */
:root {
  --purple:        #7E29FF;
  --purple-deep:   #4C1A98;
  --purple-mid:    rgba(126,41,255,.18);
  --purple-glow:   rgba(126,41,255,.08);
  --purple-border: rgba(126,41,255,.22);

  --badge-reels:    #7E29FF;
  --badge-carrossel:#3B82F6;
  --badge-story:    #10B981;
  --badge-foto:     #F59E0B;
  --badge-engaj:    #EC4899;

  --ease: cubic-bezier(.4,0,.2,1);
  --nav-w: 248px;
  --radius: 10px;
  --radius-lg: 14px;
}

/* ── Light theme (default) ── */
[data-theme="light"], :root {
  --bg:            #FBF8EE;
  --bg-card:       #FFFFFF;
  --bg-surface:    #F5F2E8;
  --text:          #1B1B1B;
  --text-muted:    #5E5E5E;
  --text-faint:    #9CA3AF;
  --border:        rgba(27,27,27,.08);
  --border-strong: rgba(27,27,27,.14);
  --sidebar-bg:    #0B0B0B;
  --sidebar-text:  rgba(251,248,238,.45);
  --sidebar-active:rgba(126,41,255,.12);
}

/* ── Dark theme ── */
[data-theme="dark"] {
  --bg:            #1B1B1B;
  --bg-card:       #242424;
  --bg-surface:    #2A2A2A;
  --text:          #FBF8EE;
  --text-muted:    #9CA3AF;
  --text-faint:    #6B7280;
  --border:        rgba(251,248,238,.07);
  --border-strong: rgba(251,248,238,.13);
  --sidebar-bg:    #0B0B0B;
  --sidebar-text:  rgba(251,248,238,.45);
  --sidebar-active:rgba(126,41,255,.16);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .25s var(--ease), color .25s var(--ease);
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--purple); color: #fff; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--purple-deep); border-radius: 4px; }

/* ── Layout ── */
.layout {
  display: grid;
  grid-template-columns: var(--nav-w) 1fr;
  min-height: 100vh;
}

/* ── Sidebar ── */
.sidebar {
  position: sticky; top: 0; height: 100vh;
  background: var(--sidebar-bg);
  display: flex; flex-direction: column;
  overflow-y: auto;
  padding: 36px 0 24px;
  border-right: 1px solid rgba(255,255,255,.04);
  flex-shrink: 0;
  z-index: 10;
}
.sidebar-logo {
  padding: 0 24px 32px;
  border-bottom: 1px solid rgba(251,248,238,.06);
  margin-bottom: 24px;
}
.sidebar-logo-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #FBF8EE;
  letter-spacing: -.02em;
}
.sidebar-logo-text span { color: var(--purple); }
.sidebar-logo-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(251,248,238,.28);
  margin-top: 3px;
}
.sidebar-section {
  font-size: 10px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(251,248,238,.22);
  padding: 0 24px 10px;
}
.sidebar nav { display: flex; flex-direction: column; gap: 1px; padding: 0 10px; }
.nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: 7px;
  font-size: 13px; font-weight: 400;
  color: var(--sidebar-text);
  transition: all .15s var(--ease);
}
.nav-link:hover { color: rgba(251,248,238,.85); background: rgba(251,248,238,.05); }
.nav-link.active { color: var(--purple); background: var(--sidebar-active); font-weight: 500; }
.nav-icon { width: 16px; height: 16px; opacity: .5; flex-shrink: 0; transition: opacity .15s; }
.nav-link.active .nav-icon,
.nav-link:hover .nav-icon { opacity: 1; }
.nav-divider { height: 1px; background: rgba(251,248,238,.06); margin: 12px 24px; }
.sidebar-footer {
  margin-top: auto;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(251,248,238,.06);
}
.nicho-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 99px;
  background: rgba(126,41,255,.12);
  border: 1px solid var(--purple-border);
  font-size: 11px; font-weight: 600;
  color: var(--purple);
  letter-spacing: .04em;
}
.theme-toggle {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 8px 12px;
  border-radius: 7px; border: 1px solid rgba(255,255,255,.08);
  color: rgba(251,248,238,.4); font-size: 12px;
  transition: all .15s;
  cursor: pointer;
  background: none; width: 100%;
}
.theme-toggle:hover { color: rgba(251,248,238,.7); background: rgba(255,255,255,.04); }
.theme-icon { width: 14px; height: 14px; }

/* ── Main content ── */
.main { overflow-x: hidden; min-width: 0; transition: background .25s var(--ease); }

/* ── Page header ── */
.page-header {
  padding: 52px 64px 44px;
  border-bottom: 1px solid var(--border-strong);
  background: var(--bg);
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(126,41,255,.06) 0%, transparent 65%);
  pointer-events: none;
}
.page-eyebrow {
  font-size: 10px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 14px;
}
.page-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 300; letter-spacing: -.025em;
  line-height: 1.08; color: var(--text);
  margin-bottom: 10px;
}
.page-title em { font-style: normal; color: var(--purple); }
.page-desc { font-size: 15px; color: var(--text-muted); font-weight: 300; line-height: 1.7; max-width: 500px; }

/* ── Content sections ── */
.content { padding: 48px 64px; }
.section { margin-bottom: 56px; }
.section-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border-strong); }
.section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400; letter-spacing: -.015em;
  color: var(--text); margin-bottom: 8px;
}
.section-title em { font-style: normal; color: var(--purple); }

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: background .2s var(--ease);
}
.card-grid { display: grid; gap: 14px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 6px;
}
.card-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px; font-weight: 600;
  color: var(--text); letter-spacing: -.02em;
}
.card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-top: 4px; }

/* ── Alert / highlight box ── */
.alert {
  display: flex; gap: 12px;
  padding: 16px 20px; border-radius: var(--radius);
  font-size: 14px; line-height: 1.65;
}
.alert.purple { background: rgba(126,41,255,.06); border: 1px solid var(--purple-border); color: var(--text); }
.alert.amber  { background: rgba(245,158,11,.06); border: 1px solid rgba(245,158,11,.22); color: var(--text); }
.alert.green  { background: rgba(16,185,129,.06); border: 1px solid rgba(16,185,129,.2); color: var(--text); }
.alert.red    { background: rgba(239,68,68,.06);  border: 1px solid rgba(239,68,68,.2); color: var(--text); }
.alert-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.alert strong { font-weight: 600; color: var(--text); }

/* ── Badges (formato) ── */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 99px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .03em; white-space: nowrap;
}
.badge-reels    { background: rgba(126,41,255,.12); color: var(--badge-reels);    border: 1px solid rgba(126,41,255,.25); }
.badge-carrossel{ background: rgba(59,130,246,.1);  color: var(--badge-carrossel);border: 1px solid rgba(59,130,246,.25); }
.badge-story    { background: rgba(16,185,129,.1);  color: var(--badge-story);    border: 1px solid rgba(16,185,129,.25); }
.badge-foto     { background: rgba(245,158,11,.1);  color: var(--badge-foto);     border: 1px solid rgba(245,158,11,.25); }
.badge-engaj    { background: rgba(236,72,153,.1);  color: var(--badge-engaj);    border: 1px solid rgba(236,72,153,.25); }

/* ── Tables ── */
.table-wrap { border: 1px solid var(--border-strong); border-radius: var(--radius-lg); overflow: hidden; }
.table-wrap table { width: 100%; border-collapse: collapse; }
.table-wrap thead th {
  background: var(--bg-surface);
  padding: 12px 18px; text-align: left;
  font-size: 10px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); border-bottom: 1px solid var(--border-strong);
}
.table-wrap tbody td {
  padding: 13px 18px; font-size: 14px; color: var(--text);
  border-bottom: 1px solid var(--border); background: var(--bg-card);
  vertical-align: middle; line-height: 1.5;
}
.table-wrap tbody tr:last-child td { border-bottom: none; }
.table-wrap tbody tr:hover td { background: var(--bg-surface); }

/* ── Steps ── */
.steps-stack {
  display: flex; flex-direction: column;
  gap: 1px; background: var(--border-strong);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); overflow: hidden;
}
.step-card {
  background: var(--bg-card);
  padding: 24px 28px;
  display: grid; grid-template-columns: 40px 1fr;
  gap: 20px; align-items: start;
  transition: background .15s var(--ease);
}
.step-card:hover { background: var(--bg-surface); }
.step-num {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 700; color: var(--purple);
  flex-shrink: 0; transition: all .15s;
}
.step-card:hover .step-num { background: var(--purple); border-color: var(--purple); color: #fff; }
.step-heading { font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.step-body { font-size: 14px; color: var(--text-muted); line-height: 1.75; }
.step-body strong { color: var(--text); font-weight: 600; }

/* ── Checklist ── */
.checklist { display: flex; flex-direction: column; gap: 6px; }
.check-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 16px; background: var(--bg-card);
  border: 1px solid var(--border-strong); border-radius: 8px;
  font-size: 14px; color: var(--text); line-height: 1.5;
  transition: background .15s;
}
.check-item:hover { background: var(--bg-surface); }
.check-box {
  width: 17px; height: 17px;
  border: 1.5px solid var(--purple-border);
  border-radius: 4px; flex-shrink: 0; margin-top: 1px;
  background: var(--purple-glow);
}

/* ── Quote block ── */
.quote-block {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--purple);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  font-size: 14px; font-style: italic;
  color: var(--text-muted); line-height: 1.75;
}
.quote-block strong { color: var(--text); font-style: normal; font-weight: 600; }
.quote-label {
  font-style: normal; display: block;
  font-size: 10px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 8px;
}

/* ── Script box (WhatsApp) ── */
.script-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 12px;
  transition: border-color .15s;
}
.script-card:hover { border-color: var(--purple-border); }
.script-header {
  padding: 14px 20px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
}
.script-objection {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.script-arrow { margin-left: auto; color: var(--text-faint); transition: transform .2s; font-size: 12px; }
.script-card.open .script-arrow { transform: rotate(180deg); }
.script-body {
  padding: 18px 20px;
  font-size: 14px; color: var(--text-muted);
  line-height: 1.75; font-style: italic;
  display: none;
}
.script-card.open .script-body { display: block; }
.script-body strong { color: var(--text); font-style: normal; font-weight: 600; }
.script-body .tag { color: var(--purple); font-style: normal; font-weight: 600; }

/* ── Calendário ── */
.cal-controls {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.cal-month-nav {
  display: flex; align-items: center; gap: 10px;
}
.cal-month-btn {
  width: 32px; height: 32px; border-radius: 7px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; cursor: pointer; transition: all .15s;
}
.cal-month-btn:hover { background: var(--bg-surface); color: var(--text); }
.cal-month-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px; font-weight: 600; color: var(--text);
  letter-spacing: -.02em; min-width: 140px; text-align: center;
}
.cal-format-filters {
  display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto;
}
.filter-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 99px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card); color: var(--text-muted);
  font-size: 12px; font-weight: 500;
  cursor: pointer; transition: all .15s;
}
.filter-btn:hover { color: var(--text); border-color: rgba(126,41,255,.3); }
.filter-btn.active { background: rgba(126,41,255,.08); border-color: var(--purple-border); color: var(--purple); }
.filter-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

.cal-grid {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); overflow: hidden;
}
.cal-header {
  display: grid; grid-template-columns: repeat(7, 1fr);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-strong);
}
.cal-day-header {
  padding: 11px 6px; text-align: center;
  font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted);
}
.cal-body {
  display: grid; grid-template-columns: repeat(7, 1fr);
}
.cal-cell {
  min-height: 110px; padding: 10px 8px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  transition: background .1s;
}
.cal-cell:hover { background: var(--bg-surface); }
.cal-cell:nth-child(7n) { border-right: none; }
.cal-cell.empty { background: var(--bg-surface); opacity: .5; }
.cal-cell.today { background: rgba(126,41,255,.04); }
.cal-date {
  font-size: 12px; font-weight: 600; color: var(--text-faint);
  margin-bottom: 6px; line-height: 1;
}
.cal-cell.today .cal-date { color: var(--purple); }
.cal-actions { display: flex; flex-direction: column; gap: 4px; }
.cal-action {
  display: block; padding: 3px 7px; border-radius: 5px;
  font-size: 11px; font-weight: 500; line-height: 1.3;
  cursor: pointer; transition: opacity .1s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  border: none; text-align: left; width: 100%;
}
.cal-action:hover { opacity: .8; }
.cal-action.reels     { background: rgba(126,41,255,.15); color: #9B55FF; }
.cal-action.carrossel { background: rgba(59,130,246,.13);  color: #3B82F6; }
.cal-action.story     { background: rgba(16,185,129,.13);  color: #10B981; }
.cal-action.foto      { background: rgba(245,158,11,.13);  color: #D97706; }
.cal-action.engaj     { background: rgba(236,72,153,.13);  color: #EC4899; }
[data-theme="dark"] .cal-action.reels     { color: #B57BFF; }
[data-theme="dark"] .cal-action.carrossel { color: #60A5FA; }
[data-theme="dark"] .cal-action.story     { color: #34D399; }
[data-theme="dark"] .cal-action.foto      { color: #FBBF24; }
[data-theme="dark"] .cal-action.engaj     { color: #F472B6; }
.cal-more {
  font-size: 10px; color: var(--text-faint);
  padding: 2px 7px; cursor: pointer;
}

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  z-index: 100; display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  width: 100%; max-width: 480px;
  padding: 32px;
  animation: modal-in .2s var(--ease);
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.modal-title { font-family: 'DM Sans', sans-serif; font-size: 20px; font-weight: 600; color: var(--text); letter-spacing: -.02em; }
.modal-close {
  width: 30px; height: 30px; border-radius: 6px;
  background: var(--bg-surface); border: 1px solid var(--border-strong);
  color: var(--text-muted); font-size: 16px; line-height: 1;
  cursor: pointer; flex-shrink: 0; margin-left: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.modal-close:hover { background: var(--border-strong); }
.modal-format { margin-bottom: 16px; }
.modal-desc { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
.modal-dica {
  padding: 14px 18px; border-radius: var(--radius);
  background: rgba(126,41,255,.06); border: 1px solid var(--purple-border);
  font-size: 13px; color: var(--text-muted); line-height: 1.65;
}
.modal-dica strong { color: var(--purple); display: block; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }

/* ── Login page ── */
.login-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); padding: 20px;
  position: relative; overflow: hidden;
}
.login-wrap::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(126,41,255,.08) 0%, transparent 65%);
  pointer-events: none;
}
.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 48px 44px;
  width: 100%; max-width: 400px;
  position: relative; z-index: 1;
}
.login-logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--text); letter-spacing: -.03em;
  margin-bottom: 6px;
}
.login-logo span { color: var(--purple); }
.login-sub {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 36px;
}
.login-label {
  display: block; font-size: 12px; font-weight: 500;
  color: var(--text-muted); margin-bottom: 8px;
}
.login-input {
  width: 100%; padding: 11px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 9px; font-size: 15px;
  color: var(--text); font-family: inherit;
  outline: none; transition: border-color .15s;
}
.login-input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(126,41,255,.1); }
.login-input::placeholder { color: var(--text-faint); }
.login-btn {
  width: 100%; margin-top: 20px;
  padding: 12px; border-radius: 9px;
  background: var(--purple); color: #fff;
  font-size: 15px; font-weight: 600;
  font-family: inherit; cursor: pointer;
  transition: background .15s, transform .1s;
}
.login-btn:hover { background: #6B1FE0; }
.login-btn:active { transform: scale(.98); }
.login-error {
  margin-top: 12px; padding: 10px 14px;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.2);
  border-radius: 7px; font-size: 13px; color: #EF4444;
  display: none;
}
.login-error.show { display: block; }
.login-theme-toggle {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card); color: var(--text-muted);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: background .15s;
}
.login-theme-toggle:hover { background: var(--bg-surface); }

/* ── Dashboard cards ── */
.welcome-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 32px;
  position: relative; overflow: hidden;
}
.welcome-card::after {
  content: '';
  position: absolute; right: -40px; top: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(126,41,255,.08) 0%, transparent 65%);
  pointer-events: none;
}
.welcome-avatar {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(126,41,255,.1);
  border: 1px solid var(--purple-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.welcome-text-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px; font-weight: 600; color: var(--text);
  letter-spacing: -.02em; line-height: 1.2;
}
.welcome-text-sub { font-size: 14px; color: var(--text-muted); margin-top: 3px; }

.sazonalidade-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.sazonalidade-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  transition: border-color .15s, box-shadow .15s;
}
.sazonalidade-card:hover { border-color: var(--purple-border); box-shadow: 0 0 0 3px rgba(126,41,255,.06); }
.sazon-icon { font-size: 28px; margin-bottom: 12px; }
.sazon-nome {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; font-weight: 600; color: var(--text);
  letter-spacing: -.01em; margin-bottom: 8px;
}
.sazon-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.sazon-dica {
  padding: 10px 14px; border-radius: 8px;
  background: rgba(126,41,255,.06); border: 1px solid var(--purple-border);
  font-size: 12px; color: var(--text-muted); line-height: 1.6;
}
.sazon-dica-label { font-weight: 600; color: var(--purple); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 4px; }

/* ── Admin ── */
.admin-section {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 24px;
}
.admin-section-header {
  padding: 18px 24px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: space-between;
}
.admin-section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 600; color: var(--text);
}
.admin-section-body { padding: 24px; }
.admin-textarea {
  width: 100%; min-height: 240px;
  background: var(--bg-surface); border: 1px solid var(--border-strong);
  border-radius: 8px; padding: 14px 16px;
  font-family: 'Courier New', monospace; font-size: 12px;
  color: var(--text); line-height: 1.6; resize: vertical;
  outline: none; transition: border-color .15s;
}
.admin-textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(126,41,255,.1); }
.admin-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .15s; border: none;
  font-family: inherit; white-space: nowrap;
}
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: #6B1FE0; }
.btn-secondary { background: var(--bg-surface); color: var(--text); border: 1px solid var(--border-strong); }
.btn-secondary:hover { background: var(--border-strong); }
.btn-danger { background: rgba(239,68,68,.1); color: #EF4444; border: 1px solid rgba(239,68,68,.2); }
.btn-danger:hover { background: rgba(239,68,68,.18); }
.btn-sm { padding: 6px 13px; font-size: 12px; border-radius: 6px; }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: var(--bg-surface); color: var(--text); }

/* ── Status indicators ── */
.status-dot {
  width: 7px; height: 7px; border-radius: 50%; display: inline-block;
}
.status-dot.green { background: #10B981; box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
.status-dot.amber { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245,158,11,.2); }
.status-dot.red   { background: #EF4444; box-shadow: 0 0 0 3px rgba(239,68,68,.2); }

/* ── Guia criativos ── */
.formato-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 20px;
}
.formato-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px;
}
.formato-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.formato-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px; font-weight: 600; color: var(--text);
  letter-spacing: -.01em;
}
.formato-subtitle { font-size: 13px; color: var(--text-muted); margin-top: 1px; }
.formato-body { padding: 24px 28px; }
.formato-rules { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.formato-rules li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--text-muted); line-height: 1.6;
}
.formato-rules li::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--purple); flex-shrink: 0; margin-top: 7px;
}
.formato-rules li strong { color: var(--text); font-weight: 600; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: -100%; height: 100vh; width: var(--nav-w); transition: left .25s var(--ease); z-index: 50; }
  .sidebar.open { left: 0; }
  .main { min-height: 100vh; }
  .page-header { padding: 28px 20px 24px; }
  .content { padding: 24px 20px; }
  .mobile-header {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-strong);
    background: var(--bg);
    position: sticky; top: 0; z-index: 20;
  }
  .hamburger {
    width: 36px; height: 36px; border-radius: 7px;
    border: 1px solid var(--border-strong);
    background: var(--bg-card); color: var(--text);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; cursor: pointer;
  }
  .mobile-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px; font-weight: 600; color: var(--text);
    letter-spacing: -.02em;
  }
  .cal-format-filters { margin-left: 0; width: 100%; }
  .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
  .sazonalidade-grid { grid-template-columns: 1fr; }
  .mobile-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.5); z-index: 40;
  }
  .mobile-overlay.open { display: block; }
}
@media (min-width: 901px) {
  .mobile-header { display: none; }
  .mobile-overlay { display: none !important; }
}
