/* ============================================================================
   A PÁGINA DO DASHBOARD  —  /produto/dashboard        (11/09/2026, v2 CLARA)

   O Pedro: *"refaça utilizando o fundo branco e identidade do site."*

   Então: fundo claro como o resto do site, texto escuro, cartões brancos,
   lima só nos destaques. As molduras do notebook e do celular continuam
   escuras — é a cor do aparelho, e é justamente o que faz o print saltar
   do fundo branco.

   Tudo aqui é CSS: as molduras, a rolagem lenta das telas e os três painéis
   desenhados (Promoções, Vigia e Devoluções, que ainda não têm print).
   Quem não gosta de movimento (prefers-reduced-motion) vê tudo parado.
   ========================================================================== */

body.v5-dash { background: var(--paper); color: var(--text); }
body.v5-dash .section-wrap { max-width: 1240px; margin: auto; padding: 0 24px; }

/* ------------------------------------------------------------------ TOPO */
.dash-hero { padding: 56px 0 44px; position: relative; overflow: hidden; }
.dash-hero:before {
  content: ""; position: absolute; inset: -30% 0 auto; height: 680px; z-index: 0;
  background: radial-gradient(55% 55% at 72% 0%, rgba(110,237,212,.14), transparent 70%),
              radial-gradient(45% 55% at 8% 6%, rgba(78,233,202,.22), transparent 70%);
}
.dash-hero > * { position: relative; z-index: 1; }
.dash-hero .kicker { color: var(--blue); }
.dash-hero h1 {
  margin: 14px 0 16px; font-size: clamp(38px, 5.2vw, 70px); line-height: 1;
  letter-spacing: -.05em; color: var(--ink); max-width: 15ch;
}
.dash-hero p.sub { max-width: 58ch; color: #3C4A6F; font-size: 17px; line-height: 1.6; }
.dash-hero p.sub b { color: var(--ink); }
.dash-hero-acoes { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 10px; }
.dash-hero-acoes .cta-lime {
  background: var(--ink); color: #fff; padding: 15px 21px; border-radius: 13px;
  font-weight: 800; display: inline-flex; align-items: center; gap: 9px;
}
.dash-hero-acoes .cta-lime:hover { background: #1B2C33; }
.dash-hero-acoes .cta-linha {
  border: 1px solid rgba(9,11,18,.16); background: #fff; color: var(--ink);
  padding: 15px 21px; border-radius: 13px; font-weight: 750;
}
.dash-hero-acoes .cta-linha:hover { border-color: var(--ink); }
.dash-hero small.aviso { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.dash-prova { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; color: #43788D; font-size: 12.5px; font-weight: 700; }
.dash-prova span { display: inline-flex; align-items: center; gap: 7px; }
.dash-prova svg { width: 16px; height: 16px; color: #2AA78E; }

/* --------------------------------------------- as duas telas (PC e celular) */
.dash-telas { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 0; margin-top: 34px; }
.moldura-pc {
  width: min(100%, 820px); border-radius: 16px 16px 4px 4px; padding: 12px 12px 0;
  background: linear-gradient(180deg,#273F49,#1A2A30); border: 1px solid #335360;
  box-shadow: 0 34px 80px rgba(9,11,18,.28);
}
.moldura-pc .barra-falsa { display: flex; gap: 5px; padding: 0 2px 9px; }
.moldura-pc .barra-falsa i { width: 9px; height: 9px; border-radius: 50%; background: #415079; display: block; }
.moldura-pc .tela { height: 430px; overflow: hidden; border-radius: 8px 8px 0 0; background: #102C36; position: relative; }
.moldura-pc .tela img { width: 100%; display: block; animation: rola-tela 26s ease-in-out infinite alternate; }
.moldura-pc:after {
  content: ""; display: block; height: 14px; margin: 0 -12px;
  background: linear-gradient(180deg,#1F323A,#102C36); border-radius: 0 0 14px 14px;
}
.moldura-cel {
  width: 208px; margin-left: -70px; margin-bottom: -18px; flex: none;
  border-radius: 26px; padding: 8px; background: linear-gradient(180deg,#273F49,#152126);
  border: 1px solid #375967; box-shadow: 0 26px 55px rgba(9,11,18,.3); position: relative; z-index: 2;
}
.moldura-cel .tela { height: 380px; overflow: hidden; border-radius: 20px; background: #102C36; position: relative; }
.moldura-cel .tela img { width: 100%; display: block; animation: rola-tela 22s ease-in-out infinite alternate; }
.moldura-cel:before {
  content: ""; position: absolute; left: 50%; top: 14px; transform: translateX(-50%);
  width: 58px; height: 5px; border-radius: 3px; background: #102C36; z-index: 3;
}
@keyframes rola-tela { from { transform: translateY(0); } to { transform: translateY(calc(-100% + 380px)); } }
.selo-vivo {
  position: absolute; left: 22px; top: 22px; z-index: 4; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.94); border: 1px solid rgba(9,11,18,.1);
  color: var(--ink); font-size: 11.5px; font-weight: 800; box-shadow: 0 6px 18px rgba(9,11,18,.14);
}
.selo-vivo i { width: 8px; height: 8px; border-radius: 50%; background: #2AA78E; animation: vivo 1.8s ease-in-out infinite; }
@keyframes vivo { 0%,100% { box-shadow: 0 0 0 3px rgba(42,167,142,.18); } 50% { box-shadow: 0 0 0 7px rgba(42,167,142,.04); } }

/* ------------------------------------------------- a faixa do como começa */
.dash-comeca {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 10px auto 0;
  background: rgba(9,11,18,.08); border: 1px solid rgba(9,11,18,.08);
  border-radius: 20px; overflow: hidden; max-width: 1240px;
}
.dash-comeca div { background: #fff; padding: 22px 20px; }
.dash-comeca b { display: block; font-size: 26px; font-weight: 850; letter-spacing: -.035em; color: var(--ink); }
.dash-comeca small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); font-weight: 650; line-height: 1.45; }
@media (max-width: 900px) { .dash-comeca { grid-template-columns: 1fr 1fr; } }

/* --------------------------------------------------------------- AS ÁREAS */
.dash-areas { padding: 46px 0 20px; }
.dash-area {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 44px;
  align-items: center; padding: 48px 0; border-top: 1px solid rgba(9,11,18,.09);
}
.dash-area:first-child { border-top: 0; }
.dash-area:nth-child(even) .dash-area-tela { order: -1; }
.dash-area-copy .numero {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 850;
  letter-spacing: .12em; color: var(--ink); background: var(--lime);
  padding: 6px 11px; border-radius: 999px;
}
.dash-area-copy h2 { margin: 14px 0 12px; font-size: clamp(28px,3vw,40px); letter-spacing: -.04em; color: var(--ink); }
.dash-area-copy p { color: #3C4A6F; font-size: 15.5px; line-height: 1.6; max-width: 52ch; }
.dash-area-copy p b { color: var(--ink); }
.dash-area-copy ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.dash-area-copy li { display: flex; gap: 10px; align-items: flex-start; color: #314F5A; font-size: 14px; }
.dash-area-copy li svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: #2AA78E; }

.dash-area-tela {
  border-radius: var(--radius-lg, 22px); border: 1px solid rgba(9,11,18,.1); background: #fff;
  box-shadow: 0 24px 60px rgba(9,11,18,.12); overflow: hidden;
}
.dash-area-tela .cab {
  display: flex; align-items: center; gap: 9px; padding: 13px 16px;
  border-bottom: 1px solid rgba(9,11,18,.08); background: #FBFDFD;
}
.dash-area-tela .cab b { font-size: 12.5px; color: var(--ink); }
.dash-area-tela .cab small { margin-left: auto; color: var(--muted); font-size: 11px; font-weight: 650; }
.dash-area-tela .foto { height: 360px; overflow: hidden; background: #102C36; }
.dash-area-tela .foto img { width: 100%; display: block; transition: transform 18s linear; }
.dash-area.vis .dash-area-tela .foto img { transform: translateY(calc(-100% + 360px)); }

/* --------------------------------------------- os painéis desenhados (mock) */
.mock { padding: 16px; display: grid; gap: 10px; background: #FBFDFD; }
.mock-linha {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center;
  padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid rgba(9,11,18,.09);
  box-shadow: 0 2px 6px rgba(9,11,18,.04);
}
.mock-linha b { font-size: 13px; color: var(--ink); }
.mock-linha small { grid-column: 1; color: var(--muted); font-size: 11.5px; }
.mock-linha .valor { grid-row: 1 / span 2; font-weight: 850; font-size: 15px; color: var(--ink); }
.mock-linha .valor.bom { color: #1F9A81; }
.mock-linha .valor.ruim { color: #E03F52; }
.mock-barra { height: 6px; border-radius: 3px; background: #EBEDF4; overflow: hidden; grid-column: 1 / -1; }
.mock-barra i { display: block; height: 100%; border-radius: 3px; background: #2AA78E; width: 0; }
.vis .mock-barra i { width: var(--w, 60%); transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.mock-barra.roxo i { background: var(--blue); }
.mock-barra.laranja i { background: var(--orange); }
.mock-topo { display: flex; align-items: baseline; gap: 10px; padding: 2px 2px 6px; }
.mock-topo strong { font-size: 26px; letter-spacing: -.03em; color: var(--ink); }
.mock-topo span { font-size: 12px; color: var(--muted); }
.mock-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px;
  background: rgba(42,167,142,.12); color: #1F9A81; font-size: 11px; font-weight: 800;
}
.mock-chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: block; }
.mock-chip.alerta { background: rgba(224,63,82,.1); color: #E03F52; }
.pisca { animation: pisca 2.4s ease-in-out infinite; }
@keyframes pisca { 0%,100% { opacity: 1; } 50% { opacity: .5; } }

/* ------------------------------------------------------------ FECHAMENTO */
.dash-planos { padding: 54px 0 30px; }
.dash-fim { text-align: center; padding: 34px 0 90px; }
.dash-fim h2 { font-size: clamp(30px,3.4vw,46px); color: var(--ink); letter-spacing: -.04em; }
.dash-fim p { color: #3C4A6F; max-width: 60ch; margin: 10px auto 22px; }
.dash-fim .cta-lime {
  background: var(--ink); color: #fff; padding: 16px 24px; border-radius: 14px;
  font-weight: 800; display: inline-flex; align-items: center; gap: 9px;
}
.dash-fim .cta-lime:hover { background: #1B2C33; }

@media (max-width: 980px) {
  .dash-area { grid-template-columns: 1fr; gap: 24px; }
  .dash-area:nth-child(even) .dash-area-tela { order: 0; }
  .dash-telas { flex-direction: column; align-items: center; }
  .moldura-cel { margin: -40px 0 0 120px; }
  .moldura-pc .tela { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .moldura-pc .tela img, .moldura-cel .tela img, .pisca, .selo-vivo i { animation: none !important; }
  .dash-area.vis .dash-area-tela .foto img { transform: none; }
}
