/* ==========================================================================
   Synapps Studio — Design System
   Paleta extraída da logomarca: ciano → violeta → magenta → coral,
   sobre preto. Troque apenas as variáveis abaixo para reajustar
   o app inteiro.
   ========================================================================== */

:root {
  /* Marca — extraída da logomarca Synapps Studio */
  --cyan-400: #22C1F5;
  --cyan-500: #0FA6E0;
  --brand-500: #8B3FE8;
  --brand-400: #A85CFF;
  --brand-600: #6A24C4;
  --magenta-400: #F0409A;
  --coral-400: #FF7A45;
  --amber-400: #FFC24A;
  --green-400: #35D9A0;

  --grad-brand: linear-gradient(115deg, #22C1F5 0%, #8B3FE8 40%, #F0409A 72%, #FF7A45 100%);
  --grad-brand-soft: linear-gradient(115deg, rgba(34, 193, 245, .16) 0%, rgba(139, 63, 232, .18) 45%, rgba(240, 64, 154, .14) 100%);
  --grad-warm: linear-gradient(115deg, #F0409A 0%, #FF7A45 100%);
  --grad-cool: linear-gradient(115deg, #22C1F5 0%, #8B3FE8 100%);

  /* Superfícies — base preta, como a logo */
  --bg: #000000;
  --bg-alt: #04040A;
  --surface: #0B0A14;
  --surface-2: #121120;
  --surface-3: #1A1830;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .15);

  /* Texto */
  --text: #F5F4FA;
  --text-2: #B4B1C6;
  --text-3: #78748F;

  /* Formas */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-full: 999px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .5);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, .6);
  --shadow-glow: 0 10px 44px rgba(139, 63, 232, .42);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --sidebar-w: 264px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 700;
}

p { margin: 0; }

::selection { background: rgba(139, 63, 232, .45); }

/* Scrollbar ------------------------------------------------------------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .12); border-radius: 99px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .22); background-clip: content-box; }

/* Utilitários ----------------------------------------------------------- */
.wrap { width: min(1200px, 100% - 44px); margin-inline: auto; }
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted { color: var(--text-2); }
.subtle { color: var(--text-3); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: var(--r-full);
  background: rgba(139, 63, 232, .12);
  border: 1px solid rgba(139, 63, 232, .3);
  color: var(--brand-400);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
}
.eyebrow .dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad-brand);
  display: grid; place-items: center;
  font-size: 10px; color: #0b0a17;
}

/* Botões ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, opacity .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: var(--grad-brand);
  color: #07060F;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 60px rgba(139, 63, 232, .5); }
.btn-ghost {
  background: rgba(255, 255, 255, .05);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); }
.btn-sm { padding: 8px 15px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Logo ------------------------------------------------------------------ */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo svg, .logo img { width: 36px; height: 36px; flex: none; }
.logo-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.045em;
}
.logo-text span { font-weight: 400; color: var(--text-2); }

/* Assinatura horizontal oficial (brand/logo-completa.*) substitui símbolo + texto */
.logo.lockup { gap: 0; }
.logo.lockup img { width: auto; height: 42px; max-width: 100%; object-fit: contain; }
.sidebar .logo.lockup img { height: 46px; }
footer.site .logo.lockup img { height: 50px; }
@media (max-width: 480px) { .logo.lockup img { height: 34px; } }

/* ==========================================================================
   LANDING
   ========================================================================== */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px) 0 0 / 64px 100%;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 78%);
}
.aurora::before, .aurora::after {
  content: "";
  position: absolute;
  width: 760px; height: 760px;
  border-radius: 50%;
  filter: blur(150px);
}
.aurora::before { background: #8B3FE8; top: -320px; left: -200px; opacity: .3; }
.aurora::after { background: #22C1F5; top: -240px; right: -260px; opacity: .16; }

/* Rede neural animada do hero */
#neural {
  position: fixed; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: .5;
  mask-image: radial-gradient(90% 70% at 50% 10%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(90% 70% at 50% 10%, #000 0%, transparent 70%);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(0, 0, 0, .78);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; color: var(--text-2); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-cta .btn { flex: none; }
.nav-inner .logo { min-width: 0; flex: 0 1 auto; }
.so-mobile { display: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }

.hero { padding: 92px 0 70px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 66px); margin: 22px 0 20px; }
.hero p.lead { font-size: 18px; color: var(--text-2); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 30px; margin-top: 42px; flex-wrap: wrap; }
.hero-proof b { display: block; font-size: 26px; letter-spacing: -.04em; }
.hero-proof span { font-size: 13px; color: var(--text-3); }

.hero-visual { position: relative; }
.hero-visual img {
  width: 100%;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
}
.float-card {
  position: absolute;
  background: rgba(17, 16, 31, .88);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 13px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  animation: floaty 5.5s ease-in-out infinite;
}
.float-card small { display: block; color: var(--text-3); font-size: 11.5px; }
.float-card .ic {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--grad-brand-soft);
  border: 1px solid var(--line-strong);
}
.fc-1 { top: 8%; left: -34px; }
.fc-2 { bottom: 10%; right: -26px; animation-delay: -2.4s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.brands {
  display: flex;
  gap: 46px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 26px 0 66px;
  color: var(--text-3);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .65;
}

section.block { padding: 84px 0; }
.section-head { max-width: 660px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(29px, 3.6vw, 43px); margin: 16px 0 14px; }
.section-head p { color: var(--text-2); font-size: 16.5px; }

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(139, 63, 232, .4); }
.card .ic {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-brand-soft);
  border: 1px solid var(--line-strong);
  margin-bottom: 18px;
}
.card h3 { font-size: 18px; margin-bottom: 9px; }
.card p { color: var(--text-2); font-size: 14.5px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* Painel de posicionamento — destaque na landing */
.spotlight {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  align-items: center;
  background: radial-gradient(120% 140% at 0% 0%, rgba(139, 63, 232, .16), transparent 60%), var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 46px;
}
.step-list { display: grid; gap: 16px; margin-top: 26px; }
.step {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 15px 17px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
}
.step .n {
  width: 28px; height: 28px; flex: none;
  border-radius: 9px;
  display: grid; place-items: center;
  background: var(--grad-brand);
  color: #07060F;
  font-weight: 800;
  font-size: 13px;
}
.step b { font-size: 14.5px; }
.step p { font-size: 13.5px; color: var(--text-2); }

.dna-preview {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
}
.dna-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.dna-row:last-child { border-bottom: 0; }
.dna-row span { color: var(--text-3); }
.dna-row b { text-align: right; font-weight: 600; }
.swatches { display: flex; gap: 7px; }
.swatch { width: 24px; height: 24px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .2); }

/* Agentes */
.agent-card { position: relative; overflow: hidden; }
.agent-card .avatar {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
  border: 1px solid var(--line-strong);
}
.agent-card .role { font-size: 12px; color: var(--brand-400); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.tag {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  color: var(--text-2);
}

/* Depoimentos */
.quote { display: grid; gap: 18px; }
.quote p { font-size: 15.5px; color: var(--text-2); }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote .who b { font-size: 14.5px; display: block; }
.quote .who span { font-size: 12.5px; color: var(--text-3); }
.stars { color: var(--amber-400); font-size: 13px; letter-spacing: 2px; }

/* Preços */
.price-card { display: flex; flex-direction: column; }
.price-card.featured {
  background: radial-gradient(120% 130% at 50% 0%, rgba(139, 63, 232, .22), transparent 62%), var(--surface-2);
  border-color: rgba(139, 63, 232, .5);
}
.price { font-size: 40px; font-weight: 800; letter-spacing: -.045em; margin: 14px 0 4px; }
.price small { font-size: 14px; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.plan-list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; font-size: 14px; color: var(--text-2); flex: 1; }
.plan-list li { display: flex; gap: 9px; align-items: flex-start; }
.plan-list li::before { content: "✓"; color: var(--cyan-400); font-weight: 700; }

/* CTA final */
.cta-final {
  text-align: center;
  border-radius: var(--r-xl);
  padding: 64px 34px;
  background: radial-gradient(100% 140% at 50% 0%, rgba(139, 63, 232, .28), transparent 65%), var(--surface);
  border: 1px solid var(--line-strong);
}
.cta-final h2 { font-size: clamp(29px, 4vw, 46px); margin-bottom: 16px; }

footer.site {
  border-top: 1px solid var(--line);
  margin-top: 84px;
  padding: 52px 0 34px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; }
.foot-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14px; color: var(--text-2); }
.foot-grid a:hover { color: var(--text); }
.foot-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-3);
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   APP (studio)
   ========================================================================== */
body.app { background: var(--bg-alt); }

.shell { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }

.sidebar {
  border-right: 1px solid var(--line);
  background: rgba(3, 3, 8, .88);
  backdrop-filter: blur(14px);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 40;
}
.sidebar .logo { padding: 6px 8px 18px; }
.side-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-3);
  padding: 16px 10px 7px;
  font-weight: 700;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 11px;
  border-radius: var(--r-sm);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .18s, color .18s, border-color .18s;
}
.side-link:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.side-link.active {
  background: var(--grad-brand-soft);
  border-color: rgba(139, 63, 232, .38);
  color: var(--text);
}
.side-link .ic { width: 18px; height: 18px; flex: none; opacity: .9; }
.side-foot { margin-top: auto; padding-top: 16px; }
.side-user {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  font-size: 13px;
}
.side-user .av {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad-brand); color: #07060F;
  display: grid; place-items: center; font-weight: 800; font-size: 13px;
}
.side-user small { display: block; color: var(--text-3); font-size: 11.5px; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 16px;
  padding: 15px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 3, 8, .88);
  backdrop-filter: blur(16px);
}
.topbar h1 { font-size: 19px; }
.topbar .sub { font-size: 12.5px; color: var(--text-3); font-weight: 500; letter-spacing: 0; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 7px; cursor: pointer; }

.view { padding: 28px; display: none; animation: fade .35s var(--ease); }
.view.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
}
.panel + .panel { margin-top: 18px; }
.panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.panel-head h2 { font-size: 16.5px; }
.panel-head p { font-size: 13px; color: var(--text-3); }
.panel-head .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }

.field { display: grid; gap: 7px; margin-bottom: 15px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field .hint { font-size: 11.5px; color: var(--text-3); font-weight: 400; }
input[type="text"], input[type="url"], input[type="password"], input[type="number"], input[type="date"], select, textarea {
  width: 100%;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 11px 13px;
  font-size: 14px;
  transition: border-color .2s, background .2s;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: rgba(139, 63, 232, .65); background: rgba(139, 63, 232, .07); }
textarea { resize: vertical; min-height: 92px; line-height: 1.55; }
select option { background: #14132a; }
::placeholder { color: var(--text-3); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  font-size: 13px;
  cursor: pointer;
  color: var(--text-2);
  transition: all .18s;
  user-select: none;
}
.chip:hover { border-color: var(--line-strong); color: var(--text); }
.chip.on {
  background: var(--grad-brand-soft);
  border-color: rgba(139, 63, 232, .55);
  color: var(--text);
}

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 17px 18px;
}
.stat .k { font-size: 12px; color: var(--text-3); font-weight: 600; }
.stat .v { font-size: 26px; font-weight: 800; letter-spacing: -.04em; margin-top: 5px; }
.stat .d { font-size: 12px; font-weight: 600; margin-top: 3px; }
.up { color: var(--green-400); }
.down { color: var(--magenta-400); }

.bars { display: flex; align-items: flex-end; gap: 9px; height: 148px; padding-top: 10px; }
.bars .bar { flex: 1; border-radius: 7px 7px 3px 3px; background: var(--grad-brand); opacity: .85; position: relative; transition: opacity .2s, filter .2s; }
.bars .bar:hover { opacity: 1; filter: brightness(1.2); }
.bars-x { display: flex; gap: 9px; margin-top: 8px; }
.bars-x span { flex: 1; text-align: center; font-size: 11px; color: var(--text-3); }

.progress { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: 99px; background: var(--grad-brand); transition: width .8s var(--ease); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600;
  padding: 4px 10px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--text-2);
}
.badge.ok { background: rgba(53, 217, 160, .14); border-color: rgba(53, 217, 160, .35); color: var(--green-400); }
.badge.warn { background: rgba(255, 122, 69, .14); border-color: rgba(255, 122, 69, .35); color: var(--amber-400); }
.badge.brand { background: rgba(139, 63, 232, .16); border-color: rgba(139, 63, 232, .4); color: var(--brand-400); }

table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th {
  text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em;
  color: var(--text-3); padding: 10px 12px; border-bottom: 1px solid var(--line); font-weight: 700;
}
table.data td { padding: 13px 12px; border-bottom: 1px solid var(--line); color: var(--text-2); }
table.data tr:last-child td { border-bottom: 0; }
table.data td b { color: var(--text); font-weight: 600; }

/* Chat de agentes */
.agents-layout { display: grid; grid-template-columns: 280px 1fr; gap: 18px; align-items: start; }
.agent-pick {
  display: flex; gap: 11px; align-items: center;
  padding: 11px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  cursor: pointer; transition: all .18s; margin-bottom: 9px;
}
.agent-pick:hover { border-color: var(--line-strong); }
.agent-pick.on { border-color: rgba(139, 63, 232, .55); background: var(--grad-brand-soft); }
.agent-pick .avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 17px; flex: none; border: 1px solid var(--line-strong); }
.agent-pick b { font-size: 13.5px; display: block; }
.agent-pick small { font-size: 11.5px; color: var(--text-3); }

.chat { display: flex; flex-direction: column; height: calc(100vh - 190px); min-height: 460px; }
.chat-body { flex: 1; overflow-y: auto; padding: 4px 4px 14px; display: flex; flex-direction: column; gap: 14px; }
.msg { display: flex; gap: 11px; max-width: 86%; }
.msg .av { width: 32px; height: 32px; border-radius: 10px; flex: none; display: grid; place-items: center; font-size: 15px; border: 1px solid var(--line-strong); }
.msg .bubble {
  padding: 12px 15px; border-radius: 14px;
  background: rgba(255, 255, 255, .045); border: 1px solid var(--line);
  font-size: 14.3px; line-height: 1.62; white-space: pre-wrap; word-break: break-word;
}
.msg .bubble strong { color: var(--text); }
.msg.me { margin-left: auto; flex-direction: row-reverse; }
.msg.me .bubble { background: var(--grad-brand-soft); border-color: rgba(139, 63, 232, .35); }
.msg.me .av { background: rgba(255, 255, 255, .08); }
.chat-input { display: flex; gap: 10px; align-items: flex-end; padding-top: 12px; border-top: 1px solid var(--line); }
.chat-input textarea { min-height: 46px; max-height: 160px; }
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-400); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

/* Estúdio de criativos */
.studio-grid { display: grid; grid-template-columns: 340px 1fr; gap: 18px; align-items: start; }
.canvas-area {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.creative {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  position: relative;
  transition: transform .3s var(--ease), border-color .3s;
}
.creative:hover { transform: translateY(-4px); border-color: rgba(139, 63, 232, .45); }
.art-render {
  background: #08070F;
  display: grid; place-items: center;
  overflow: hidden;
}
.art-render img { width: 100%; height: auto; display: block; }

.creative .art {
  aspect-ratio: 4 / 5;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.creative .art::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 80% at 80% 10%, rgba(255, 255, 255, .18), transparent 60%);
  pointer-events: none;
}
.creative .kicker { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.creative .title { font-size: 22px; font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.creative .foot { font-size: 11.5px; font-weight: 600; opacity: .8; display: flex; justify-content: space-between; gap: 8px; }
.creative .meta { padding: 13px 14px; border-top: 1px solid var(--line); }
.creative .meta p { font-size: 12.5px; color: var(--text-2); max-height: 76px; overflow: auto; white-space: pre-wrap; }
.creative .meta .row { display: flex; gap: 6px; margin-top: 11px; flex-wrap: wrap; }
.creative .meta .badge { margin-bottom: 8px; }

/* Assistente de conexão */
.modal:has(.assist) { width: min(880px, 100%); }
.assist { display: grid; grid-template-columns: 210px 1fr; gap: 22px; }
.assist-nav { display: grid; gap: 5px; align-content: start; border-right: 1px solid var(--line); padding-right: 18px; }
.assist-passo {
  display: flex; align-items: center; gap: 10px;
  background: none; border: 1px solid transparent; border-radius: var(--r-sm);
  padding: 9px 10px; cursor: pointer; text-align: left;
  font-size: 13px; color: var(--text-3); transition: all .18s;
}
.assist-passo:hover { background: rgba(255,255,255,.04); color: var(--text-2); }
.assist-passo.on { background: var(--grad-brand-soft); border-color: rgba(139,63,232,.4); color: var(--text); }
.assist-passo i {
  width: 21px; height: 21px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-style: normal;
  font-family: var(--mono); font-size: 10.5px; font-weight: 700;
  border: 1px solid var(--line-strong); color: var(--text-2);
}
.assist-passo.feito i { background: var(--green-400); border-color: var(--green-400); color: #05050A; }
.assist-corpo h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.assist-corpo .muted { font-size: 14px; }
.assist-corpo code {
  font-family: var(--mono); font-size: 12.5px;
  background: rgba(255,255,255,.07); padding: 2px 6px; border-radius: 4px; color: var(--cyan-400);
}
.assist-corpo a { color: var(--cyan-400); text-decoration: underline; text-underline-offset: 3px; }

ol.passos { margin: 0; padding-left: 20px; display: grid; gap: 12px; font-size: 14px; color: var(--text-2); line-height: 1.65; }
ol.passos li::marker { color: var(--brand-400); font-weight: 700; font-family: var(--mono); }
ol.passos b { color: var(--text); }

.copiavel {
  display: flex; align-items: center; gap: 10px;
  background: rgba(34,193,245,.07);
  border: 1px solid rgba(34,193,245,.28);
  border-radius: var(--r-sm);
  padding: 9px 10px 9px 13px;
  margin: 9px 0;
  overflow: hidden;
}
.copiavel code {
  flex: 1; background: none; padding: 0; color: var(--text);
  font-size: 12px; overflow-x: auto; white-space: nowrap;
}
.copiavel .btn { flex: none; }

@media (max-width: 720px) {
  .assist { grid-template-columns: 1fr; }
  .assist-nav { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 14px; grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   TELA DE ACESSO
   ========================================================================== */
body.acesso { background: var(--bg); min-height: 100vh; }
.acesso-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 100vh;
  gap: 40px;
  align-items: center;
  padding: 40px min(6vw, 70px);
}
.acesso-marca {
  display: flex; flex-direction: column; gap: 34px;
  max-width: 560px;
}
.acesso-marca h1 { font-size: clamp(30px, 3.6vw, 46px); }

.acesso-agentes { display: flex; flex-wrap: wrap; gap: 9px; }
.mini-agente {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 7px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  border-radius: var(--r-full);
  transition: border-color .2s, transform .2s var(--ease);
}
.mini-agente:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.mini-agente .av {
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px;
}
.mini-agente b { font-size: 12.5px; }
.mini-agente small { font-family: var(--mono); font-size: 10px; color: var(--text-3); }

.acesso-form { display: grid; place-items: center; }

.abas {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4px; padding: 4px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  margin-bottom: 22px;
}
.aba {
  background: none; border: 0; cursor: pointer;
  padding: 9px; border-radius: 7px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
  color: var(--text-3); transition: all .2s;
}
.aba:hover { color: var(--text-2); }
.aba.on { background: var(--grad-brand-soft); color: var(--text); box-shadow: inset 0 0 0 1px rgba(139, 63, 232, .35); }

.form-acesso .btn { margin-top: 6px; }
.erro {
  color: var(--coral-400);
  font-size: 12.5px;
  min-height: 18px;
  margin-bottom: 6px;
  font-family: var(--mono);
}

.forca { height: 3px; background: rgba(255, 255, 255, .08); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.forca > i { display: block; height: 100%; width: 0; background: var(--coral-400); transition: width .3s var(--ease), background .3s; }

/* usuário logado na barra lateral */
.side-user .sair {
  margin-left: auto; background: none; border: 0; cursor: pointer;
  color: var(--text-3); font-size: 15px; padding: 4px; line-height: 1;
  transition: color .2s;
}
.side-user .sair:hover { color: var(--coral-400); }

.equipe-linha {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.equipe-linha:last-child { border-bottom: 0; }
.equipe-linha .av {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--grad-brand); color: #05050A;
  display: grid; place-items: center; font-weight: 800; font-size: 13px;
}
.equipe-linha b { font-size: 14px; display: block; }
.equipe-linha small { font-family: var(--mono); font-size: 11px; color: var(--text-3); }

@media (max-width: 900px) {
  .acesso-grid { grid-template-columns: 1fr; padding: 30px 22px; gap: 30px; }
  .acesso-marca { order: 2; gap: 22px; }
  .acesso-form { order: 1; }
  .acesso-marca h1 { font-size: 26px; }
}

/* Cine Control */
.cine-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.cine-grade label { display: grid; gap: 4px; }
.cine-grade span {
  font-family: var(--mono); font-size: 10px; letter-spacing: .06em;
  color: var(--text-3); text-transform: uppercase;
}
.cine-grade select { padding: 8px 10px; font-size: 12.5px; }
@media (max-width: 520px) { .cine-grade { grid-template-columns: 1fr; } }

/* Sala de ajustes */
.modal:has(.ajustes) { width: min(880px, 100%); }
.ajustes { display: grid; grid-template-columns: 320px 1fr; gap: 22px; align-items: start; }
.ajustes-arte { display: grid; gap: 10px; }
.ajustes-arte .art-render { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.ajustes-lado h3 { font-size: 18px; margin-bottom: 14px; }

.versoes { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; }
.versao {
  position: relative; flex: none;
  width: 52px; height: 62px;
  border: 1px solid var(--line); border-radius: 7px;
  overflow: hidden; cursor: pointer; padding: 0;
  background: var(--surface-2);
  transition: border-color .18s, transform .18s var(--ease);
}
.versao:hover { transform: translateY(-2px); }
.versao.on { border-color: var(--cyan-400); box-shadow: 0 0 0 1px var(--cyan-400); }
.versao img { width: 100%; height: 100%; object-fit: cover; }
.versao span {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.72); color: var(--text);
  font-family: var(--mono); font-size: 8.5px; padding: 2px 0; text-align: center;
}

@media (max-width: 760px) {
  .ajustes { grid-template-columns: 1fr; }
  .ajustes-arte .art-render { max-width: 240px; margin-inline: auto; }
}

/* Briefing de direção de arte */
.opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opcao {
  text-align: left; cursor: pointer;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 11px 12px;
  transition: all .18s;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}
.opcao:hover { border-color: var(--line-strong); background: rgba(255,255,255,.06); }
.opcao.on { background: var(--grad-brand-soft); border-color: rgba(139,63,232,.5); }
.opcao b { font-size: 13px; display: block; color: var(--text); }
.opcao small { font-family: var(--mono); font-size: 10px; color: var(--text-3); line-height: 1.4; display: block; margin-top: 3px; }

.paleta-escolha { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.paleta-escolha .cor { display: grid; gap: 5px; cursor: pointer; }
.paleta-escolha .cor span { font-family: var(--mono); font-size: 10px; color: var(--text-3); text-align: center; }
.paleta-escolha input[type="color"] {
  width: 54px; height: 44px; padding: 0; cursor: pointer;
  background: none; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
}
.paleta-escolha input[type="color"]::-webkit-color-swatch-wrapper { padding: 3px; }
.paleta-escolha input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 5px; }

/* peças com arte cheia */
.canvas-area { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.creative .art-render img { width: 100%; height: auto; display: block; }

@media (max-width: 720px) { .opcoes { grid-template-columns: 1fr; } }

/* Créditos e monetização */
.saldo-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--grad-brand-soft);
  border: 1px solid rgba(139, 63, 232, .4);
  border-radius: var(--r-full);
  padding: 6px 14px; cursor: pointer;
  font-family: var(--mono); font-size: 12.5px; color: var(--text);
  transition: border-color .2s, transform .2s var(--ease);
}
.saldo-chip:hover { transform: translateY(-1px); border-color: var(--cyan-400); }
.saldo-chip .ic { color: var(--cyan-400); }
.saldo-chip.vazio { background: rgba(255, 122, 69, .12); border-color: rgba(255, 122, 69, .45); }
.saldo-chip.vazio .ic { color: var(--coral-400); }

.saldo-grande {
  font-family: var(--mono); font-size: 42px; font-weight: 700;
  letter-spacing: -.03em; margin: 6px 0 2px;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.saldo-grande.zerado { background: none; color: var(--coral-400); }

.pacote {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 17px; margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .025);
  cursor: pointer;
  transition: border-color .2s, transform .2s var(--ease), background .2s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.pacote:hover { border-color: rgba(34, 193, 245, .55); transform: translateY(-2px); background: rgba(34, 193, 245, .05); }
.pacote b { font-size: 15px; display: block; }
.pacote small { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.pacote .valor {
  margin-left: auto; text-align: right;
  font-family: var(--mono); font-size: 19px; font-weight: 700; color: var(--text);
}
.pacote .valor span { display: block; font-size: 10px; font-weight: 400; color: var(--text-3); letter-spacing: .05em; }

/* Canais de publicação */
.canal {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .025);
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .25s, transform .25s var(--ease);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.canal:hover { transform: translateY(-3px); }
.canal.on { border-color: rgba(53, 217, 160, .45); background: rgba(53, 217, 160, .05); }
.canal .topo { display: flex; align-items: center; gap: 10px; }
.canal .av {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; font-size: 18px;
  border: 1px solid var(--line-strong);
}
.canal b { font-size: 14.5px; display: block; }
.canal small { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); }
.canal .horas { display: flex; gap: 5px; flex-wrap: wrap; }
.canal .hora {
  font-family: var(--mono); font-size: 10px;
  padding: 3px 7px; border-radius: 4px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--text-2);
}
.canal .acoes { margin-top: auto; display: flex; gap: 7px; }

.req {
  font-size: 12.5px; color: var(--text-2);
  border-left: 2px solid var(--cyan-400);
  padding: 4px 0 4px 12px;
  margin: 12px 0;
}

/* Referências / moodboard */
.ref-drop {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.ref-drop:hover, .ref-drop.over { border-color: var(--cyan-400); background: rgba(34, 193, 245, .07); }
.ref-drop .ic { font-size: 20px; }
.ref-drop b { font-size: 13.5px; display: block; }
.ref-drop small { font-size: 11.5px; color: var(--text-3); font-family: var(--mono); }

.ref-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ref-item {
  position: relative;
  width: 62px; height: 62px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  flex: none;
}
.ref-item img { width: 100%; height: 100%; object-fit: cover; }
.ref-item.txt {
  display: grid; place-items: center; text-align: center;
  font-family: var(--mono); font-size: 8.5px; color: var(--text-3);
  padding: 5px; line-height: 1.35; word-break: break-all;
}
.ref-item .x {
  position: absolute; top: 2px; right: 2px;
  width: 17px; height: 17px; border-radius: 50%;
  background: rgba(0, 0, 0, .78);
  border: 1px solid var(--line-strong);
  color: #fff; font-size: 11px; line-height: 1;
  display: grid; place-items: center; cursor: pointer;
  opacity: 0; transition: opacity .2s;
}
.ref-item:hover .x { opacity: 1; }
.ref-item .cores { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; display: flex; }
.ref-item .cores i { flex: 1; }

.ref-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.ref-analise {
  margin-top: 12px;
  border: 1px solid rgba(34, 193, 245, .3);
  background: rgba(34, 193, 245, .06);
  border-radius: var(--r-sm);
  padding: 12px 13px;
  font-size: 12.5px;
  color: var(--text-2);
}
.ref-analise b { color: var(--text); font-size: 11px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.ref-analise .swatches { margin-top: 9px; }

/* Logomarcas */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.logo-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s;
}
.logo-card:hover { transform: translateY(-4px); border-color: rgba(34, 193, 245, .5); }
.logo-stage {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 26px;
  background:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 100% 22px,
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 22px 100%,
    #05050A;
  transition: background-color .25s;
}
.logo-stage svg, .logo-stage img { width: 100%; height: 100%; max-width: 190px; max-height: 190px; object-fit: contain; }
.logo-grid.claro .logo-stage {
  background:
    linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px) 0 0 / 100% 22px,
    linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px) 0 0 / 22px 100%,
    #F5F4FA;
}
.logo-card .meta { padding: 14px; border-top: 1px solid var(--line); }
.logo-card .meta b { font-size: 13.5px; display: block; }
.logo-card .meta p { font-size: 12.5px; color: var(--text-2); margin-top: 5px; }
.logo-card .row { display: flex; gap: 7px; margin-top: 11px; flex-wrap: wrap; }
.logo-card .swatches { margin-top: 10px; }

/* Kit da marca */
.kit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kit-item { display: grid; gap: 6px; }
.kit-item span { font-family: var(--mono); font-size: 10px; color: var(--text-3); text-align: center; letter-spacing: .04em; }
.kit-stage {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: #0B0A14;
  display: grid; place-items: center;
  transition: border-color .2s, transform .2s var(--ease);
}
.kit-item.claro .kit-stage { background: #F5F4FA; }
.kit-stage:hover { border-color: var(--cyan-400); transform: translateY(-2px); }
.kit-stage img { width: 100%; height: 100%; object-fit: contain; }
.kit-grid .kit-item:nth-child(5) { grid-column: span 2; }
.kit-grid .kit-item:nth-child(5) .kit-stage,
.kit-grid .kit-item:nth-child(8) .kit-stage { aspect-ratio: 5 / 2; }
.kit-grid .kit-item:nth-child(8) { grid-column: span 2; }
@media (max-width: 640px) { .kit-grid { grid-template-columns: repeat(2, 1fr); } }

/* Fotografia */
.photo-lab { display: grid; grid-template-columns: 1fr 320px; gap: 18px; align-items: start; }
.drop {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-lg);
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  position: relative;
  overflow: hidden;
}
.drop:hover, .drop.over { border-color: rgba(139, 63, 232, .7); background: rgba(139, 63, 232, .06); }
.drop img { max-height: 460px; width: auto; border-radius: var(--r-md); }
.slider-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; margin-bottom: 13px; }
.slider-row label { font-size: 12.5px; color: var(--text-2); grid-column: 1 / -1; display: flex; justify-content: space-between; }
.slider-row label b { color: var(--brand-400); font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .12); outline: none; grid-column: 1 / -1; }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--brand-500); border: 2px solid #fff; cursor: pointer;
  box-shadow: 0 2px 8px rgba(139, 63, 232, .6);
}
input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border-radius: 50%; background: var(--brand-500); border: 2px solid #fff; cursor: pointer; }

/* Calendário */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cal .dow { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); text-align: center; font-weight: 700; padding-bottom: 4px; }
.cal .day {
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 7px;
  background: rgba(255, 255, 255, .02);
  font-size: 11.5px;
  display: flex; flex-direction: column; gap: 5px;
}
.cal .day > span { color: var(--text-3); font-weight: 600; }
.cal .day.off { opacity: .35; }
.cal .ev {
  border-radius: 6px; padding: 4px 7px; font-size: 10.5px; font-weight: 600;
  background: var(--grad-brand-soft); border: 1px solid rgba(139, 63, 232, .35);
  cursor: pointer; line-height: 1.35;
}
.cal .ev.ig { background: rgba(240, 64, 154, .14); border-color: rgba(240, 64, 154, .35); }
.cal .ev.li { background: rgba(34, 193, 245, .12); border-color: rgba(34, 193, 245, .32); }

/* Toast + modal */
.toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: grid; gap: 10px; }
.toast {
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 13px 17px;
  font-size: 13.5px;
  box-shadow: var(--shadow-md);
  display: flex; gap: 10px; align-items: center;
  animation: slideIn .35s var(--ease);
  max-width: 340px;
}
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

.modal-bg {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(7px);
  display: none; place-items: center;
  padding: 22px;
}
.modal-bg.open { display: grid; }
.modal {
  width: min(560px, 100%);
  max-height: 88vh; overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-md);
  animation: fade .3s var(--ease);
}
.modal h3 { font-size: 19px; margin-bottom: 8px; }

.empty { text-align: center; padding: 46px 20px; color: var(--text-3); font-size: 14px; }
.empty .big { font-size: 34px; margin-bottom: 10px; }

.spin { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); border-top-color: #fff; animation: sp .7s linear infinite; display: inline-block; }
@keyframes sp { to { transform: rotate(360deg); } }

/* ==========================================================================
   CAMADA TECNOLÓGICA
   ========================================================================== */

/* Etiquetas monoespaçadas — leitura de "sistema" */
.eyebrow, .side-label, .stat .k, table.data th, .creative .kicker,
.badge, .foot-grid h4, .role, .topbar .sub {
  font-family: var(--mono);
  font-weight: 600;
}
.eyebrow { letter-spacing: .08em; text-transform: uppercase; font-size: 11px; padding: 7px 15px 7px 9px; }
.stat .k { letter-spacing: .08em; text-transform: uppercase; font-size: 10.5px; }
.stat .v, .price, .hero-proof b, .dna-row b { font-variant-numeric: tabular-nums; }
.badge { letter-spacing: .04em; }
.role { letter-spacing: .1em; }

/* Cantos de bracket — remete ao colchete da logo */
.bracket { position: relative; }
.bracket::before, .bracket::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border: 1.5px solid var(--cyan-400);
  opacity: .55;
  transition: opacity .3s var(--ease), width .3s var(--ease), height .3s var(--ease);
  pointer-events: none;
}
.bracket::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-radius: var(--r-lg) 0 0 0; }
.bracket::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-radius: 0 0 var(--r-lg) 0; border-color: var(--coral-400); }
.bracket:hover::before, .bracket:hover::after { opacity: 1; width: 26px; height: 26px; }

/* Linha de varredura no topo dos painéis principais */
.scan { position: relative; overflow: hidden; }
.scan::before {
  content: "";
  position: absolute; top: 0; left: -30%;
  width: 30%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-400), transparent);
  animation: scan 4.5s linear infinite;
}
@keyframes scan { to { left: 130%; } }

/* Card com borda em gradiente da marca */
.card, .panel, .stat, .creative, .float-card, .dna-preview, .spotlight, .cta-final, .modal, .toast {
  position: relative;
}
.card::before, .panel::before, .stat::before, .cta-final::before, .spotlight::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(34,193,245,.35), rgba(139,63,232,.18) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .55;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.card:hover::before, .panel:hover::before { opacity: 1; }

/* Ponto de status pulsante */
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 0 rgba(53, 217, 160, .7);
  animation: pulse 2s infinite;
  display: inline-block;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(53, 217, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 217, 160, 0); }
}

/* Linha de terminal — usada em hero e painéis */
.term {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 13px;
  display: flex; align-items: center; gap: 9px;
  overflow: hidden;
  white-space: nowrap;
}
.term b { color: var(--cyan-400); font-weight: 600; }
.term .caret {
  width: 7px; height: 14px;
  background: var(--cyan-400);
  animation: caret 1.05s steps(2) infinite;
  flex: none;
}
@keyframes caret { 50% { opacity: 0; } }

/* Logo com brilho da marca */
.logo svg, .logo img { filter: drop-shadow(0 0 10px rgba(139, 63, 232, .55)); }
.logo-text { font-family: var(--mono); font-weight: 700; letter-spacing: -.02em; }
.logo-text span {
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 700;
}

/* Barras de dado com brilho */
.bars .bar { box-shadow: 0 0 18px rgba(139, 63, 232, .35); }
.progress > i { box-shadow: 0 0 14px rgba(34, 193, 245, .5); }

/* Botão primário com varredura de luz */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }

/* Sidebar: trilho luminoso no item ativo */
.side-link.active { position: relative; }
.side-link.active::before {
  content: "";
  position: absolute; left: -16px; top: 8px; bottom: 8px;
  width: 2px; border-radius: 2px;
  background: var(--grad-brand);
  box-shadow: 0 0 12px rgba(34, 193, 245, .8);
}

/* Painéis do app sobre grade tecnológica */
body.app .main {
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 56px 56px;
}
body.app .view { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .scan::before, .pulse-dot, .caret, .float-card { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   HUD — camada de console
   ========================================================================== */

/* Ruído/scanlines finíssimos sobre toda a tela */
.hud-overlay {
  position: fixed; inset: 0; z-index: 999;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.014) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen;
  opacity: .6;
}

/* Painéis com canto chanfrado — leitura de instrumento */
.panel, .card, .stat, .cta-final, .spotlight, .modal, .logo-card, .creative, .term {
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.stat, .term { clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.btn-primary, .btn-ghost { clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); border-radius: 4px; }

/* Marcas de canto nos painéis do app */
.panel > .panel-head::before {
  content: "";
  position: absolute; top: -10px; left: -8px;
  width: 6px; height: 6px;
  background: var(--cyan-400);
  box-shadow: 0 0 8px var(--cyan-400);
  opacity: .8;
}
.panel > .panel-head { position: relative; }

/* Régua de dados: numeração de seção estilo terminal */
.idx {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan-400);
  letter-spacing: .14em;
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
}
.idx::after {
  content: "";
  width: 56px; height: 1px;
  background: linear-gradient(90deg, var(--cyan-400), transparent);
}

/* Leitura numérica animada */
.readout { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Console do hero */
.console {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  overflow: hidden;
  background: #05050A;
  box-shadow: var(--shadow-md), 0 0 80px rgba(139, 63, 232, .18);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.console-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  font-family: var(--mono); font-size: 11.5px; color: var(--text-3);
  letter-spacing: .04em;
}
.console-bar .dots { display: flex; gap: 6px; }
.console-bar .dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.console-bar .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.console-stage { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.console-stage > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .3; filter: saturate(1.25) contrast(1.1);
}
.console-stage::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(34,193,245,.055) 1px, transparent 1px) 0 0 / 100% 26px,
    linear-gradient(90deg, rgba(34,193,245,.055) 1px, transparent 1px) 0 0 / 26px 100%,
    linear-gradient(180deg, rgba(5,5,10,.35), rgba(5,5,10,.9));
  pointer-events: none;
}
.console-body {
  position: relative; z-index: 2;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  padding: 16px;
}
.console-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi {
  border: 1px solid var(--line);
  background: rgba(8, 8, 16, .72);
  backdrop-filter: blur(6px);
  padding: 9px 11px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.kpi span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--text-3); text-transform: uppercase; display: block; }
.kpi b { font-family: var(--mono); font-size: 19px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; display: block; margin-top: 2px; }

.console-log {
  align-self: end;
  font-family: var(--mono); font-size: 11.5px; line-height: 1.85;
  color: var(--text-2);
  display: grid; gap: 1px;
  overflow: hidden;
}
.console-log div { display: flex; gap: 8px; opacity: 0; animation: logIn .4s var(--ease) forwards; }
.console-log .t { color: var(--text-3); }
.console-log .ag { color: var(--cyan-400); }
.console-log .okc { color: var(--green-400); margin-left: auto; }
@keyframes logIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.console-foot {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10.5px; color: var(--text-3);
  border-top: 1px solid var(--line); padding-top: 10px;
}
.console-foot .track { flex: 1; height: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.console-foot .track i { display: block; height: 100%; background: var(--grad-brand); width: 0; animation: fill 6s var(--ease) infinite; }
@keyframes fill { 0% { width: 4%; } 70% { width: 96%; } 100% { width: 100%; } }

/* Topbar do app com telemetria */
.hud-meta {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11px; color: var(--text-3);
  letter-spacing: .05em;
}
.hud-meta b { color: var(--text-2); font-weight: 500; }
.hud-sep { width: 1px; height: 16px; background: var(--line); }

/* Rodapé da sidebar com status dos agentes */
.agent-status { display: grid; gap: 6px; margin-bottom: 12px; }
.agent-status div {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; color: var(--text-3);
}
.agent-status i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green-400); box-shadow: 0 0 6px var(--green-400);
  animation: pulse 2.4s infinite;
}
.agent-status span { margin-left: auto; color: var(--text-2); }

/* Sequência de boot */
#boot {
  position: fixed; inset: 0; z-index: 400;
  background: #000;
  display: grid; place-items: center;
  font-family: var(--mono);
  transition: opacity .5s var(--ease), visibility .5s;
}
#boot.off { opacity: 0; visibility: hidden; }
.boot-inner { width: min(420px, 86vw); }
.boot-inner img { width: 54px; margin: 0 auto 20px; filter: drop-shadow(0 0 18px rgba(139,63,232,.7)); }
.boot-log { font-size: 11.5px; color: var(--text-3); line-height: 2; min-height: 100px; }
.boot-log b { color: var(--cyan-400); font-weight: 500; }
.boot-log .ok { color: var(--green-400); }
.boot-track { height: 2px; background: rgba(255,255,255,.1); margin-top: 14px; overflow: hidden; }
.boot-track i { display: block; height: 100%; width: 0; background: var(--grad-brand); transition: width .3s linear; }

/* Grade de fundo nas barras do gráfico */
.bars { position: relative; }
.bars::before {
  content: "";
  position: absolute; inset: 10px 0 0;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.055) 0 1px, transparent 1px 25%);
  pointer-events: none;
}

/* Tabelas com aparência de terminal */
table.data td { font-variant-numeric: tabular-nums; }
table.data tbody tr { transition: background .18s; }
table.data tbody tr:hover { background: rgba(34, 193, 245, .05); }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid, .spotlight { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .agents-layout, .studio-grid, .photo-lab { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .chat { height: auto; min-height: 420px; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  /* O cabeçalho não comporta logo + dois botões + menu num celular.
     Fica só "Entrar" ao lado do menu; o resto vai para dentro do menu. */
  .nav-studio { display: none; }
  .so-mobile { display: block; }
  .nav-inner { gap: 12px; }
  .nav-cta { gap: 8px; }
  .logo.lockup img { height: 32px; }
  .logo-text { font-size: 15px; }
  .nav.open .nav-links {
    display: grid; position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(0, 0, 0, .97); padding: 20px 24px; gap: 16px;
    border-bottom: 1px solid var(--line);
  }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .fc-1, .fc-2 { display: none; }
  .spotlight { padding: 28px; }
  .shell { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; width: 268px;
    transform: translateX(-102%); transition: transform .32s var(--ease);
    box-shadow: var(--shadow-md);
  }
  .sidebar.open { transform: none; }
  .menu-btn { display: grid; place-items: center; }
  .view { padding: 18px 15px; }
  .topbar { padding: 13px 15px; }
  .cal { gap: 5px; font-size: 10px; }
  .cal .day { min-height: 66px; padding: 4px; }
}

@media (max-width: 420px) {
  /* em tela bem estreita, a marca some do topo e sobra o essencial */
  .nav-inner .logo-text { display: none; }
  .nav-entrar { padding: 8px 13px; font-size: 12.5px; }
}

@media (max-width: 560px) {
  .grid-4, .stat-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
  .canvas-area { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PRODUTOS & ANÚNCIOS
   ========================================================================== */

.url-marca {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; padding: 16px 18px; margin-bottom: 20px;
  border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 229, 192, .06), rgba(45, 123, 240, .06));
}
.url-marca b { display: block; font-size: 14px; }
.url-marca small { color: var(--muted); font-size: 12.5px; }
.url-linha { display: flex; gap: 8px; flex: 1; min-width: 280px; }
.url-linha input {
  flex: 1; padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font-size: 14px;
}

.prod-grade { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.prod-card {
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
  background: var(--bg-2); transition: border-color .2s;
}
.prod-card:hover { border-color: var(--accent); }
.prod-topo { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.prod-topo h3 { font-size: 15.5px; margin: 0 0 2px; }
.prod-meta { font-size: 11.5px; color: var(--muted); font-family: var(--mono, monospace); }
.prod-acoes { display: flex; gap: 6px; flex-shrink: 0; }
.prod-linha { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 5px 0; }
.prod-linha b { color: var(--text); font-weight: 600; margin-right: 6px; }
.prod-forca { margin-top: 12px; }
.prod-forca span { font-size: 11px; color: var(--muted); font-family: var(--mono, monospace); }
.prod-forca i {
  display: block; height: 3px; margin-top: 5px; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--brand-2, var(--accent)));
}

.ad-lista { display: grid; gap: 18px; }
.ad-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--bg-2); }
.ad-cab { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.ad-tag {
  font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; font-weight: 700;
  padding: 4px 9px; border-radius: 6px; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.ad-prod { font-size: 11.5px; color: var(--muted); }
.ad-arte { border-radius: 12px; overflow: hidden; margin-bottom: 14px; background: #000; }
.ad-arte img, .ad-arte video { width: 100%; display: block; }
.ad-card h3 { font-size: 20px; line-height: 1.22; margin: 0 0 6px; }
.ad-apoio { font-size: 13.5px; color: var(--muted); margin: 0 0 12px; }
.ad-corpo { font-size: 13.5px; line-height: 1.65; margin: 12px 0; white-space: pre-line; }
.ad-linha { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 6px 0; }
.ad-linha b { color: var(--text); font-weight: 600; margin-right: 6px; }
.ad-cta {
  display: inline-block; margin: 8px 0 0; padding: 8px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 700; color: #06121f;
  background: linear-gradient(135deg, var(--accent), var(--brand-2, var(--accent)));
}

.ad-ganchos { margin: 12px 0; }
.ad-ganchos b {
  display: block; font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 7px;
}
.gancho {
  display: block; padding: 8px 12px; margin-bottom: 6px; border-radius: 9px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg-1, transparent);
  font-size: 13px; line-height: 1.45; transition: all .18s;
}
.gancho:hover { border-color: var(--accent); }
.gancho.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }

.roteiro { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.roteiro-cab { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.roteiro-cab span { font-size: 11.5px; color: var(--muted); font-family: var(--mono, monospace); }
.cena {
  display: grid; grid-template-columns: 62px 1fr 32px; gap: 12px; align-items: start;
  padding: 10px 0; border-bottom: 1px dashed var(--line);
}
.cena .tempo {
  font-family: var(--mono, monospace); font-size: 11px; color: var(--accent);
  padding-top: 2px; font-weight: 600;
}
.cena .fala { font-size: 13.5px; line-height: 1.5; margin: 0 0 4px; }
.cena .visual { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 0; }
.cena .tela {
  display: inline-block; margin-top: 5px; font-size: 10.5px; font-family: var(--mono, monospace);
  color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px;
}
.ad-audio { width: 100%; margin-top: 14px; }
.ad-det { margin-top: 12px; }
.ad-det summary { font-size: 12.5px; color: var(--muted); cursor: pointer; }
.ad-det pre {
  white-space: pre-wrap; font-family: inherit; font-size: 13px; line-height: 1.6;
  margin-top: 8px; color: var(--text);
}

.ad-acoes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; align-items: center; }
.ad-prog:empty { display: none; }
.prog {
  display: flex; align-items: center; gap: 9px; margin-top: 12px;
  font-size: 12.5px; color: var(--muted);
}

/* plano da semana — a Nina decide a segunda-feira */
.plano { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--bg-2); }
.plano-foco { font-size: 17px; line-height: 1.35; margin: 0 0 6px; }
.plano-porque { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0 0 16px; }
.tarefa {
  display: grid; grid-template-columns: 22px 78px 1fr; gap: 12px; align-items: start;
  padding: 11px 0; border-top: 1px solid var(--line);
}
.tarefa input { margin-top: 3px; accent-color: var(--accent); }
.tarefa .dia { font-size: 11.5px; font-family: var(--mono, monospace); color: var(--accent); padding-top: 1px; }
.tarefa b { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 3px; }
.tarefa small { font-size: 12px; color: var(--muted); line-height: 1.55; }
.tarefa.feita b, .tarefa.feita small { opacity: .45; text-decoration: line-through; }
.plano-pe {
  display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted);
}
.plano-pe b { color: var(--text); }

@media (max-width: 700px) {
  .cena { grid-template-columns: 52px 1fr; }
  .cena .icon-btn { grid-column: 2; justify-self: start; }
  .prod-grade { grid-template-columns: 1fr; }
}

/* fotografias da marca — as que entram de verdade na peça */
.fotos-tira { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.foto-item {
  position: relative; width: 104px;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg-2);
}
.foto-item img { width: 100%; height: 104px; object-fit: cover; display: block; }
.foto-item select {
  width: 100%; border: 0; border-top: 1px solid var(--line);
  background: var(--bg-2); color: var(--text);
  font-size: 10.5px; padding: 5px 6px; cursor: pointer;
}
.foto-item .icon-btn {
  position: absolute; top: 5px; right: 5px;
  background: rgba(8, 7, 15, .78); border-radius: 6px; line-height: 1;
}
.foto-aviso {
  flex-basis: 100%; font-size: 11.5px; color: var(--muted);
  line-height: 1.5; margin: 4px 0 0;
}
.ref-drop.sobre { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }

/* aviso da inspeção de qualidade */
.ad-alerta {
  border: 1px solid var(--amber-400, #E8A33D); border-radius: 10px;
  padding: 10px 12px; margin-bottom: 12px;
  background: color-mix(in srgb, var(--amber-400, #E8A33D) 10%, transparent);
  font-size: 12.5px; line-height: 1.55;
}
.ad-alerta b { display: block; margin-bottom: 2px; }
.ad-alerta span { display: block; margin-top: 5px; color: var(--muted); font-size: 11.5px; }
