/* CotaCompras ERP — site institucional */
:root {
  --navy: #4a060a;
  --navy-2: #7a0a0f;
  --navy-3: #930000;
  --orange: #ef7a1e;
  --orange-d: #d4650c;
  --orange-l: #fff1e5;
  --coral: #ff6a4a;
  --coral-d: #e5502f;
  --coral-l: #fff0ec;
  --ink: #0e1b2a;
  --text: #33465a;
  --muted: #66788b;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-2: #f5f7fa;
  --green: #1f9d6b;
  --green-l: #e6f6ef;
  --red: #d64545;
  --red-l: #fdeaea;
  --blue: #2f6fd6;
  --blue-l: #e8f0fc;
  --purple: #7a4cc9;
  --purple-l: #f1ebfb;
  --amber: #c98a0c;
  --amber-l: #fdf4e1;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14, 27, 42, .06), 0 8px 24px rgba(14, 27, 42, .08);
  --shadow-lg: 0 2px 6px rgba(14, 27, 42, .08), 0 24px 60px rgba(14, 27, 42, .18);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
button, input { font: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(74, 6, 10, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.top .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a, .nav .drop > button {
  color: #f5e4e1; text-decoration: none; font-size: .93rem; font-weight: 500;
  padding: 8px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav .drop > button:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.drop { position: relative; }
.drop-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px;
  display: none;
}
.drop:hover .drop-menu, .drop:focus-within .drop-menu { display: block; }
.drop-menu a { display: block; color: var(--ink); padding: 9px 12px; }
.drop-menu a:hover { background: var(--bg-2); color: var(--ink); }
.drop-menu small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }
.nav .btn { margin-left: 8px; }
.menu-toggle {
  display: none; margin-left: auto; background: none; border: 0; color: #fff;
  width: 44px; height: 44px; border-radius: 10px; cursor: pointer;
}
.menu-toggle svg { width: 26px; height: 26px; }
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px 16px 20px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav.open { display: flex; }
  .nav a, .nav .drop > button { padding: 12px 8px; text-align: left; width: 100%; }
  .drop-menu { position: static; display: block; box-shadow: none; background: transparent; padding: 0 0 0 12px; }
  .drop-menu a { color: #f5e4e1; }
  .drop-menu a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .drop-menu small { color: #c99a94; }
  .nav .btn { margin: 12px 0 0; text-align: center; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; font-weight: 700; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-d); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-d); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(239,122,30,.22), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(147,0,0,.45), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, #2e0306 100%);
  color: #f5e4e1; overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { font-size: 1.25rem; margin-top: 20px; color: #f0d9d6; max-width: 34ch; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.seals { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; font-size: .9rem; color: #e0b9b4; }
.seals span { display: inline-flex; align-items: center; gap: 7px; }
.seals svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--orange);
  background: rgba(239,122,30,.12); padding: 6px 12px; border-radius: 99px; margin-bottom: 20px;
}
.eyebrow.dark { color: var(--orange-d); background: var(--orange-l); }
.eyebrow.coral { color: var(--coral-d); background: var(--coral-l); }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; gap: 40px; }
}

/* ---------- proof strip ---------- */
.proof { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.proof .wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding-top: 32px; padding-bottom: 32px; }
.proof div { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--ink); font-weight: 600; line-height: 1.35; }
.proof svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; margin-top: 1px; }
@media (max-width: 960px) { .proof .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .proof .wrap { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- sections ---------- */
section { padding: 96px 0; }
section.alt { background: var(--bg-2); }
section.dark { background: var(--navy); color: #f0d9d6; }
section.dark h2, section.dark h3 { color: #fff; }
@media (max-width: 700px) { section { padding: 64px 0; } }
.head { max-width: 720px; margin-bottom: 48px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head p { font-size: 1.15rem; margin-top: 16px; color: var(--muted); }
section.dark .head p { color: #e0b9b4; }
.step-no { font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; display: block; }

.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split .copy p.big { font-size: 1.15rem; margin-top: 16px; color: var(--muted); }
section.dark .split .copy p.big { color: #e0b9b4; }
.split ul.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: var(--orange-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23d4650c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
section.dark .ticks li::before { background-color: rgba(239,122,30,.18); }
.etq .ticks li::before { background-color: var(--coral-l); filter: hue-rotate(-12deg); }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.rev > :first-child { order: 0; }
}
.note { font-size: .78rem; color: var(--muted); margin-top: 12px; text-align: center; }
section.dark .note { color: #b8857f; }

/* ---------- module grid ---------- */
.mods { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mod {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px; text-decoration: none; display: flex; flex-direction: column; gap: 12px;
  transition: .15s; min-height: 132px;
}
.mod:hover { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-2px); }
.mod .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--orange-l); color: var(--orange-d); }
.mod .ic svg { width: 22px; height: 22px; }
.mod b { color: var(--ink); font-size: .98rem; line-height: 1.25; }
.mod small { color: var(--muted); font-size: .82rem; line-height: 1.35; margin-top: -6px; }
.mod.etq .ic { background: var(--coral-l); color: var(--coral-d); }
.mod.etq:hover { border-color: var(--coral); }
@media (max-width: 1080px) { .mods { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .mods { grid-template-columns: 1fr 1fr; gap: 10px; } .mod { padding: 16px 14px; min-height: 0; } }

/* ---------- device frames ---------- */
.laptop { position: relative; margin: 0 auto; max-width: 680px; width: 100%; }
.laptop .lid {
  background: #1c2733; border-radius: 16px 16px 0 0; padding: 14px 14px 0;
  box-shadow: var(--shadow-lg);
}
.laptop .screen { background: #fff; border-radius: 6px 6px 0 0; overflow: hidden; aspect-ratio: 16 / 10; display: flex; flex-direction: column; font-size: 11px; color: var(--ink); }
.laptop .base { height: 14px; background: linear-gradient(#c9d1da, #9aa6b3); border-radius: 0 0 14px 14px; margin: 0 -5%; position: relative; }
.laptop .base::after { content: ""; position: absolute; left: 50%; top: 0; width: 18%; height: 5px; transform: translateX(-50%); background: #8592a0; border-radius: 0 0 6px 6px; }
@media (max-width: 520px) { .laptop .screen { aspect-ratio: auto; min-height: 240px; font-size: 9.5px; } .laptop .lid { padding: 8px 8px 0; } }

.phone {
  width: 270px; max-width: 100%; margin: 0 auto; background: #111a24; border-radius: 38px; padding: 11px;
  box-shadow: var(--shadow-lg); position: relative;
}
.phone .scr { background: #fff; border-radius: 28px; overflow: hidden; height: 540px; display: flex; flex-direction: column; font-size: 12px; color: var(--ink); position: relative; }
.phone .notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 96px; height: 24px; background: #111a24; border-radius: 0 0 14px 14px; z-index: 3; }
.phone .sb { height: 30px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; font-size: 10.5px; font-weight: 600; }

/* app chrome inside laptop */
.app-bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--navy-2); color: #fff; font-weight: 600; flex-shrink: 0; }
.app-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.app-bar .sp { margin-left: auto; display: flex; gap: 6px; align-items: center; font-weight: 500; opacity: .85; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); font-weight: 600; font-size: .92em; color: var(--ink); white-space: nowrap; }
.app-bar .chip { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: #fff; }
.app-body { flex: 1; display: flex; min-height: 0; }
.app-side { width: 18%; background: #f3f6f9; border-right: 1px solid var(--line); padding: 10px 8px; display: flex; flex-direction: column; gap: 4px; }
.app-side i { display: block; height: 8px; border-radius: 4px; background: #dfe5ec; font-style: normal; }
.app-side i.on { background: var(--orange); opacity: .75; }
.app-main { flex: 1; padding: 12px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.app-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.15em; }
.app-title .sp { margin-left: auto; display: flex; gap: 6px; }
@media (max-width: 520px) { .app-side { display: none; } }

/* calendar */
.cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; flex: 1; min-height: 0; }
.cal .day { background: var(--bg-2); border-radius: 6px; padding: 6px; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cal .day > b { font-size: .9em; color: var(--muted); display: flex; justify-content: space-between; }
.ev { border-radius: 5px; padding: 5px 6px; font-weight: 600; line-height: 1.25; border-left: 3px solid; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ev small { display: block; font-weight: 500; opacity: .8; }
.ev.req { background: var(--blue-l); border-color: var(--blue); color: #1d4f9e; }
.ev.cot { background: var(--orange-l); border-color: var(--orange); color: #9a4a08; }
.ev.oc { background: var(--purple-l); border-color: var(--purple); color: #5a3299; }
.ev.rec { background: var(--green-l); border-color: var(--green); color: #156b49; }
.ev.tit { background: #eef1f4; border-color: #8a99a8; color: #44525f; }
.ev.late { background-image: repeating-linear-gradient(135deg, transparent 0 6px, rgba(214,69,69,.12) 6px 12px); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .9em; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend span::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--c); }

/* tables inside mockups */
.mt { width: 100%; border-collapse: collapse; font-size: 1em; }
.mt th { text-align: left; font-weight: 600; color: var(--muted); padding: 5px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: .92em; }
.mt td { padding: 5px 6px; border-bottom: 1px solid #eef1f4; white-space: nowrap; }
.mt td.n, .mt th.n { text-align: right; font-variant-numeric: tabular-nums; }
.mt tr.sum td { font-weight: 700; border-top: 1.5px solid var(--ink); border-bottom: 0; }
.best { background: var(--green-l); color: #156b49; font-weight: 700; border-radius: 4px; }
.up { color: var(--red); font-weight: 700; }
.down { color: var(--green); font-weight: 700; }
.thumb { width: 20px; height: 20px; border-radius: 5px; display: inline-grid; place-items: center; vertical-align: middle; margin-right: 6px; font-size: 11px; }
.pill { display: inline-block; padding: 2px 7px; border-radius: 99px; font-size: .88em; font-weight: 700; }
.pill.g { background: var(--green-l); color: #156b49; }
.pill.r { background: var(--red-l); color: #a53030; }
.pill.a { background: var(--amber-l); color: #8a5e05; }
.pill.b { background: var(--blue-l); color: #1d4f9e; }
.pill.o { background: var(--orange-l); color: #9a4a08; }
.mbtn { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 6px; font-weight: 700; font-size: .92em; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); }
.mbtn.pri { background: var(--orange); border-color: var(--orange); color: #fff; }
.mbtn.grn { background: var(--green); border-color: var(--green); color: #fff; }

/* cards row inside mockups */
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.kpi { background: var(--bg-2); border-radius: 7px; padding: 7px 8px; }
.kpi small { display: block; color: var(--muted); font-size: .85em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { font-size: 1.3em; font-variant-numeric: tabular-nums; }
.kpi.hl { background: var(--green-l); }
.kpi.hl b { color: #156b49; }
@media (max-width: 520px) { .kpis { grid-template-columns: repeat(3, 1fr); } .kpis .kpi:nth-child(n+4) { display: none; } }

/* stepper */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.steps div { border-radius: 7px; padding: 6px 8px; background: var(--bg-2); border: 1px solid var(--line); }
.steps div small { display: block; color: var(--muted); font-size: .85em; }
.steps div b { font-size: .98em; }
.steps .done { background: var(--green-l); border-color: #bfe6d4; }
.steps .now { background: var(--orange-l); border-color: var(--orange); }

/* phone UIs */
.wa-head { background: #075e54; color: #fff; padding: 10px 14px; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.wa-head .av { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; }
.wa-head .av img { width: 26px; }
.wa-head small { display: block; opacity: .8; font-size: 10px; }
.wa-body { flex: 1; background: #ece5dd; padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.bubble { background: #fff; border-radius: 0 10px 10px 10px; padding: 8px 10px; max-width: 88%; box-shadow: 0 1px 1px rgba(0,0,0,.08); line-height: 1.4; }
.bubble.me { background: #dcf8c6; align-self: flex-end; border-radius: 10px 0 10px 10px; }
.bubble a { color: #0b7bc2; text-decoration: underline; word-break: break-all; }
.bubble time { display: block; text-align: right; font-size: 9.5px; color: #7d8a95; margin-top: 2px; }
.ph-head { padding: 10px 16px 12px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.ph-head b { font-size: 14px; display: block; }
.ph-head small { color: var(--muted); }
.ph-body { flex: 1; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; background: var(--bg-2); }
.ph-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.ph-card .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ph-card small { color: var(--muted); }
.field { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.field.on { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(239,122,30,.15); }
.field small { font-weight: 500; }
.ph-foot { padding: 10px 12px 16px; border-top: 1px solid var(--line); flex-shrink: 0; background: #fff; }
.ph-foot .mbtn { width: 100%; justify-content: center; padding: 10px; font-size: 13px; border-radius: 10px; }
.chk { width: 18px; height: 18px; border-radius: 5px; display: inline-grid; place-items: center; background: var(--green); color: #fff; font-size: 11px; font-weight: 800; flex-shrink: 0; }
.chk.no { background: #fff; border: 1.5px solid #c4cdd6; }
.chk.warn { background: var(--amber); }

/* floating cards beside devices */
.stage { position: relative; }
.float-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.fc { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.fc .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.fc .ic svg { width: 19px; height: 19px; }
.fc b { color: var(--ink); display: block; line-height: 1.25; }
.fc small { color: var(--muted); }
.duo { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
@media (max-width: 700px) { .duo { grid-template-columns: 1fr; } .float-cards { grid-template-columns: 1fr; } }

/* flow diagram */
.flow { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; justify-content: center; }
.flow .node { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; width: 200px; box-shadow: var(--shadow); text-align: left; }
.flow .node .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 10px; }
.flow .node .ic svg { width: 21px; height: 21px; }
.flow .node b { color: var(--ink); display: block; }
.flow .node small { color: var(--muted); font-size: .85rem; display: block; margin-top: 4px; line-height: 1.4; }
.flow .arrow { display: grid; place-items: center; width: 44px; color: var(--orange); }
.flow .arrow svg { width: 26px; height: 26px; }
@media (max-width: 760px) {
  .flow { flex-direction: column; align-items: center; }
  .flow .node { width: 100%; max-width: 360px; }
  .flow .arrow { height: 36px; width: auto; transform: rotate(90deg); }
}

/* generic cards */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .cards3, .cards4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards3, .cards2, .cards4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-l); color: var(--orange-d); }
.card .ic svg { width: 24px; height: 24px; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; font-weight: 700; color: var(--orange-d); text-decoration: none; padding-top: 6px; }
.card .more:hover { text-decoration: underline; }
.card.etq .ic { background: var(--coral-l); color: var(--coral-d); }
.card.etq .more { color: var(--coral-d); }
section.dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
section.dark .card p { color: #e0b9b4; }
section.dark .card .ic { background: rgba(239,122,30,.15); color: var(--orange); }

/* segment cards */
.seg { position: relative; border-radius: var(--radius); padding: 26px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; color: #fff; min-height: 230px; overflow: hidden; transition: .15s; }
.seg:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.seg h3 { color: #fff; font-size: 1.3rem; }
.seg p { color: rgba(255,255,255,.85); font-size: .95rem; }
.seg .go { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.seg .big-ic { position: absolute; right: -18px; bottom: -18px; width: 120px; height: 120px; opacity: .14; }
.seg.h { background: linear-gradient(150deg, #a10d12, #4a060a); }
.seg.r { background: linear-gradient(150deg, #e4731a, #b45309); }
.seg.p { background: linear-gradient(150deg, #8b5a2b, #5c3a1a); }
.seg.e { background: linear-gradient(150deg, #ff6a4a, #d9432a); }

/* multiempresa */
.converge { display: grid; grid-template-columns: 1fr auto 1.1fr; gap: 24px; align-items: center; }
.cnpjs { display: grid; gap: 12px; }
.cnpj { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cnpj b { color: #fff; display: block; }
.cnpj small { color: #c99a94; font-size: .82rem; }
.cnpj .v { text-align: right; color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.cnpj .v small { display: block; font-weight: 500; }
.conv-arrow { color: var(--orange); }
.conv-arrow svg { width: 48px; height: 48px; }
.group-panel { background: #fff; border-radius: 16px; padding: 20px; color: var(--ink); box-shadow: var(--shadow-lg); }
.group-panel h4 { font-size: 1rem; display: flex; justify-content: space-between; align-items: center; }
.bars { margin-top: 14px; display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 90px 1fr 70px; gap: 10px; align-items: center; font-size: .85rem; }
.bar .t { height: 10px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.bar .t i { display: block; height: 100%; background: var(--orange); border-radius: 99px; }
.bar .n { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .converge { grid-template-columns: 1fr; } .conv-arrow { transform: rotate(90deg); justify-self: center; } }

/* DRE */
.dre-badge { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 86px; height: 86px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; font-size: 1.35em; box-shadow: 0 0 0 6px var(--green-l); }
.dre-badge small { font-size: .55em; font-weight: 600; opacity: .9; text-transform: uppercase; letter-spacing: .06em; }
.mt tr.sub td { color: var(--muted); padding-left: 16px; }
.mt tr.tot td { font-weight: 700; background: var(--bg-2); }
.mt tr.res td { font-weight: 800; background: var(--green-l); color: #156b49; }

/* final CTA */
.final { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); color: #f0d9d6; text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(closest-side, rgba(239,122,30,.25), transparent); }
.final .wrap { position: relative; }
.final h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.final p { font-size: 1.2rem; margin: 16px auto 0; max-width: 46ch; }
.final .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.final .seals { justify-content: center; }

/* phrases strip */
.phrases { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.phrases span { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 10px 18px; font-weight: 600; color: var(--ink); font-size: .95rem; }

/* footer */
.foot { background: #2a0306; color: #c9a39e; padding: 56px 0 32px; font-size: .92rem; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.foot a { color: #e3c4c0; text-decoration: none; display: block; padding: 4px 0; }
.foot a:hover { color: #fff; }
.foot .brand img { height: 46px; }
.foot .tag { margin-top: 14px; max-width: 30ch; }
.foot .bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; }
@media (max-width: 860px) { .foot .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot .cols { grid-template-columns: 1fr; } }

/* segment page hero */
.shero { padding: 80px 0 72px; }
.shero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.shero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); color: #fff; }
.shero .lead { font-size: 1.2rem; margin-top: 18px; color: #f0d9d6; }
.shero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
@media (max-width: 960px) { .shero { padding: 48px 0 56px; } .shero .wrap { grid-template-columns: 1fr; gap: 40px; } }
.crumb { font-size: .85rem; color: #c99a94; margin-bottom: 18px; }
.crumb a { color: #f0d9d6; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

.keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.key { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.key .n { font-size: .8rem; font-weight: 800; color: var(--orange-d); letter-spacing: .08em; }
.key h3 { margin-top: 8px; }
.key p { color: var(--muted); margin-top: 8px; }
.etq .key .n { color: var(--coral-d); }

/* Etiqs theme */
.etq-hero {
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(160deg, #ff7a5c 0%, #ff6a4a 40%, #d9432a 100%);
}
.etq-hero h1 { color: #fff; }
.etq-hero .lead { color: #fff3ef; }
.etq-hero .crumb, .etq-hero .crumb a { color: #ffe1d8; }
.etq-hero .seals { color: #ffe1d8; }
.etq-hero .seals svg { color: #fff; }
.btn-white { background: #fff; color: var(--coral-d); }
.btn-white:hover { background: #fff3ef; }
.etq-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.etq-logo img { height: 56px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.15)); }
.etq-logo span { font-size: 1.9rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }

/* the printed label */
.label {
  background: #fff; color: #111; border-radius: 6px; padding: 12px 14px; width: 270px; max-width: 100%;
  box-shadow: 0 1px 0 #ddd, var(--shadow-lg); font-family: 'Roboto Mono', ui-monospace, Menlo, monospace;
  display: grid; grid-template-columns: 1fr 76px; gap: 6px 10px; transform: rotate(-3deg);
  border: 1px dashed #ccc;
}
.label .nm { grid-column: 1 / -1; font-weight: 800; font-size: 17px; letter-spacing: -.01em; border-bottom: 2px solid #111; padding-bottom: 4px; font-family: 'Inter', sans-serif; }
.label .ln { font-size: 10.5px; line-height: 1.45; }
.label .ln b { font-size: 12px; }
.label .val { background: #111; color: #fff; padding: 2px 5px; display: inline-block; margin: 2px 0; }
.label .qr { width: 76px; height: 76px; }
.label .ft { grid-column: 1 / -1; font-size: 8.5px; color: #555; border-top: 1px solid #ddd; padding-top: 4px; display: flex; justify-content: space-between; }

.verdict { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; font-weight: 700; }
.verdict.ok { background: var(--green-l); color: #156b49; }
.verdict.near { background: var(--amber-l); color: #8a5e05; }
.verdict.exp { background: var(--red-l); color: #a53030; }

.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cmp > div { border-radius: var(--radius); padding: 26px; }
.cmp .before { background: #fff; border: 1px dashed #c9d2dc; }
.cmp .after { background: #fff; border: 2px solid var(--coral); box-shadow: var(--shadow); }
.cmp h3 { display: flex; align-items: center; gap: 8px; }
.cmp ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }
@media (max-width: 700px) { .cmp { grid-template-columns: 1fr; } }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* the mockup screen never pushes the page wider; wide tables scroll inside */
.laptop .screen > * { min-width: 0; }
.app-bar { overflow: hidden; white-space: nowrap; }
.app-main { overflow-x: auto; }
@media (max-width: 520px) { .laptop .screen { aspect-ratio: auto !important; } }
.nav a.btn-primary { background: var(--orange); color: #fff; }
.nav a.btn-primary:hover { background: var(--orange-d); }
.split > *, .duo > *, .converge > * { min-width: 0; }

/* =========================================================
   Movimento
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* hero: luzes que se movem */
.hero, .shero.hero { position: relative; isolation: isolate; }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none;
}
.hero::before { width: 520px; height: 520px; background: #ef7a1e; top: -220px; right: -120px; animation: drift1 16s ease-in-out infinite alternate; opacity: .28; }
.hero::after { width: 460px; height: 460px; background: #c81e1e; bottom: -260px; left: -140px; animation: drift2 18s ease-in-out infinite alternate; opacity: .35; }
@keyframes drift1 { to { transform: translate(-160px, 120px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(180px, -100px) scale(1.1); } }
.etq-hero::before { background: #fff; opacity: .18; }
.etq-hero::after { background: #ffb199; opacity: .35; }

/* laptop flutua de leve */
.hero .laptop, .shero .laptop { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* faixa de frases correndo */
.marquee { background: var(--orange); color: #fff; overflow: hidden; padding: 14px 0; white-space: nowrap; }
.marquee .track { display: inline-flex; gap: 48px; animation: marquee 38s linear infinite; padding-left: 48px; }
.marquee span { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; opacity: .6; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* gráfico do hero: barras crescem */
.grow rect { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); }
.in .grow rect, .hero .grow rect { animation: growY .9s cubic-bezier(.2,.7,.2,1) forwards; }
.grow rect:nth-child(2) { animation-delay: .15s !important; }
.grow rect:nth-child(3) { animation-delay: .3s !important; }
.grow rect:nth-child(4) { animation-delay: .45s !important; }
@keyframes growY { to { transform: scaleY(1); } }

/* linhas de tabela entram uma a uma */
.js [data-rows] tr { opacity: 0; transform: translateX(-10px); }
.in [data-rows] tr, [data-rows].in tr { animation: rowIn .45s ease forwards; }
@keyframes rowIn { to { opacity: 1; transform: none; } }

/* agenda: blocos aparecem como se alguém estivesse agendando */
.js .cal .ev { opacity: 0; transform: scale(.85); }
.in .cal .ev { animation: pop .45s cubic-bezier(.2,1.4,.4,1) forwards; }
@keyframes pop { to { opacity: 1; transform: none; } }

/* whatsapp: mensagens chegam */
.js .wa-body .bubble { opacity: 0; transform: translateY(12px) scale(.96); }
.in .wa-body .bubble { animation: bubble .5s ease forwards; }
@keyframes bubble { to { opacity: 1; transform: none; } }
.typing { display: inline-flex; gap: 3px; padding: 10px 12px !important; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa5ae; animation: dots 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes dots { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* cursor piscando no campo de preço */
.caret { display: inline-block; width: 1.5px; height: 1.05em; background: var(--orange); margin-left: 1px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* grade de cotação: melhor preço acende */
.js .grade-live td.best { background: transparent; color: inherit; }
.in .grade-live td.best { animation: bestOn .6s ease forwards; }
@keyframes bestOn { 0% { background: #fff; box-shadow: 0 0 0 0 rgba(31,157,107,.6); } 60% { box-shadow: 0 0 0 6px rgba(31,157,107,0); } 100% { background: var(--green-l); color: #156b49; } }
.pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(31,157,107,.5); } 50% { box-shadow: 0 0 0 8px rgba(31,157,107,0); } }

/* fluxo: um ponto viaja pelas setas */
.flow .arrow { position: relative; }
.flow .arrow svg { animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

/* barras do painel do grupo e passos */
.js .bar .t i { width: 0 !important; transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.in .bar .t i { width: var(--w) !important; }
.js .steps > div { opacity: 0; transform: translateY(8px); }
.in .steps > div { animation: rowIn .5s ease forwards; }

/* DRE: selo gira e aparece */
.js .dre-badge { transform: scale(.4) rotate(-40deg); opacity: 0; transition: .8s cubic-bezier(.2,1.4,.4,1) .6s; }
.in .dre-badge { transform: none; opacity: 1; }

/* recebimento: itens marcam um a um */
.js .rec-live .chk:not(.no) { transform: scale(0); }
.in .rec-live .chk:not(.no) { animation: pop .4s cubic-bezier(.2,1.6,.4,1) forwards; }

/* Etiqs: a etiqueta sai da impressora */
.printer { position: relative; width: 300px; max-width: 100%; margin: 0 auto; }
.printer .slot { height: 46px; background: linear-gradient(#3a4654, #222c37); border-radius: 12px 12px 6px 6px; position: relative; z-index: 2; box-shadow: var(--shadow); }
.printer .slot::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 5px; border-radius: 3px; background: #0d131a; }
.printer .slot::before { content: ""; position: absolute; right: 18px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: #2ee59d; box-shadow: 0 0 8px #2ee59d; animation: blink 1.4s steps(1) infinite; }
.printer .paper { overflow: hidden; margin-top: -8px; padding: 0 15px; }
.printer .label { transform: none; margin: 0 auto; animation: printOut 5s ease-in-out infinite; }
@keyframes printOut { 0% { transform: translateY(-105%); } 35%, 92% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }

/* scanner do app */
.scanner { position: relative; height: 150px; border-radius: 12px; background: #1d2731; overflow: hidden; display: grid; place-items: center; flex-shrink: 0; }
.scanner .qr { width: 84px; height: 84px; border-radius: 4px; }
.scanner .frame { position: absolute; inset: 22px 60px; border: 2px solid rgba(255,255,255,.75); border-radius: 10px; }
.scanner .beam { position: absolute; left: 50px; right: 50px; height: 2px; background: var(--coral); box-shadow: 0 0 12px 2px var(--coral); top: 24px; animation: scan 2s ease-in-out infinite alternate; }
@keyframes scan { to { top: 124px; } }
.js .etq-live .verdict { opacity: 0; transform: translateX(20px); }
.in .etq-live .verdict { animation: rowIn .45s ease forwards; }

/* vídeo */
.video-btn { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; text-decoration: none; background: none; border: 0; cursor: pointer; padding: 0; }
.video-btn .play { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; position: relative; }
.video-btn .play::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); animation: ring 2s ease-out infinite; }
.video-btn .play svg { width: 18px; height: 18px; margin-left: 3px; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.vmodal { position: fixed; inset: 0; z-index: 200; background: rgba(5,12,20,.85); display: none; place-items: center; padding: 16px; }
.vmodal.open { display: grid; }
.vmodal video, .vmodal iframe { width: min(1100px, 100%); aspect-ratio: 16/9; height: auto; border: 0; border-radius: 12px; background: #000; }
.vmodal .x { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; line-height: 1; }
.video-hero { width: 100%; border-radius: 6px; display: block; aspect-ratio: 16/10; object-fit: cover; background: #000; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js [data-rows] tr, .js .cal .ev, .js .wa-body .bubble, .js .steps > div, .js .etq-live .verdict { opacity: 1 !important; transform: none !important; }
  .js .bar .t i { width: var(--w) !important; }
  .grow rect, .js .rec-live .chk, .js .dre-badge { transform: none !important; opacity: 1 !important; }
  .js .grade-live td.best { background: var(--green-l); color: #156b49; }
}
.card { min-width: 0; }
@media (max-width: 520px) { .card .steps { grid-template-columns: 1fr 1fr; } }
.laptop .screen.auto { aspect-ratio: auto; }
.cal .ev { white-space: normal; }
.flow.col { flex-direction: column; align-items: center; }
.flow.col .node { width: 100%; max-width: 380px; }
.flow.col .arrow { height: 40px; width: auto; transform: rotate(90deg); }
.bar { grid-template-columns: 80px 1fr 86px; }
.bar .n { white-space: nowrap; }
.btn svg, .seg .go svg { width: 18px; height: 18px; flex-shrink: 0; }
.verdict svg { width: 16px; height: 16px; flex-shrink: 0; }

/* "em breve" */
.soon { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--navy-3); padding: 4px 10px; border-radius: 99px; vertical-align: middle; }
.mod .soon { position: absolute; top: 12px; right: 12px; font-size: .62rem; padding: 3px 8px; }
.mod { position: relative; }
.is-soon .flow { opacity: .78; }

/* prints reais dentro das molduras */
.shot { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.laptop .screen:has(.shot) { aspect-ratio: 16 / 10; }
.phone .scr:has(.shot) { height: auto; aspect-ratio: 9 / 19.5; }
.phone .scr .shot { object-position: top center; }
.printer:has(.shot) .shot, .shot-printer { border-radius: 10px; box-shadow: var(--shadow-lg); height: auto; }
.in .shot-screen { animation: kenburns 14s ease-in-out infinite alternate; transform-origin: 30% 20%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
/* o logo do Etiqs é coral: sobre o fundo coral ele precisa de uma base branca */
.etq-logo img { background: #fff; border-radius: 14px; padding: 7px; box-sizing: content-box; height: 46px; }

/* clientes e números */
.clientes { padding-block: 80px 72px; }
.clientes-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: 48px; align-items: center; }
.big-num { font-size: clamp(3.4rem, 8vw, 6rem); font-weight: 800; color: var(--ink); line-height: .95; letter-spacing: -.04em; margin: 0; }
.big-num-label { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; color: var(--ink); line-height: 1; margin: 0 0 18px; letter-spacing: -.03em; }
.clientes-copy .big { color: var(--muted); font-size: 1.1rem; max-width: 40ch; }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 24px; align-items: center; }
.logos img { width: 100%; max-height: 92px; object-fit: contain; filter: grayscale(1); opacity: .85; transition: .25s; }
.logos img:hover { filter: none; opacity: 1; transform: scale(1.06); }
.js .logos img { opacity: 0; transform: translateY(10px); }
.in .logos img { animation: rowIn .5s ease forwards; }
.numeros { display: grid; grid-template-columns: 140px repeat(3, 1fr) 140px; gap: 24px; align-items: center; margin-top: 64px; text-align: center; }
.numeros b { display: block; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.numeros small { color: var(--muted); font-style: italic; font-size: 1.05rem; }
.faixas { height: 120px; background: repeating-linear-gradient(180deg, var(--navy-3) 0 14px, transparent 14px 26px); position: relative; }
.faixas::after { content: ""; position: absolute; inset: 52% 0 0; background: repeating-linear-gradient(180deg, var(--orange) 0 14px, transparent 14px 26px); }
.faixas::before { content: ""; position: absolute; inset: 52% 0 0; background: var(--bg); }
@media (max-width: 900px) {
  .clientes-grid { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .numeros { grid-template-columns: 1fr; }
  .faixas { display: none; }
}

/* abas das gravações */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.tabs button { background: rgba(255,255,255,.08); color: #f5e4e1; border: 1px solid rgba(255,255,255,.18); padding: 10px 18px; border-radius: 99px; font-weight: 700; cursor: pointer; transition: .15s; }
.tabs button:hover { background: rgba(255,255,255,.16); }
.tabs button[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.gif-tela { object-fit: contain; background: #fff; }

/* fale conosco */
.contato { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: start; background: #fff; border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.contato-foto { width: 100%; border-radius: 14px; object-fit: cover; aspect-ratio: 2 / 3; }
.contato-form { min-width: 0; }
@media (max-width: 860px) { .contato { grid-template-columns: 1fr; padding: 12px; } .contato-foto { aspect-ratio: 16 / 10; } }

/* perguntas frequentes */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-wrap .head a { color: var(--orange-d); font-weight: 700; }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; transition: border-color .2s; }
.faq details[open] { border-color: var(--orange); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--orange-d); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 8px; } }

/* rodapé: selo ABF e WhatsApp flutuante */
.foot .abf { height: 44px; width: auto; margin-top: 18px; opacity: .9; }
.wa-float { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* páginas de texto (fornecedores, revendedores, produto, LGPD) */
.texto { max-width: 820px; }
.texto h2 { margin: 40px 0 12px; font-size: 1.6rem; }
.texto h3 { margin: 28px 0 8px; }
.texto p, .texto li { color: var(--text); }
.texto ul { padding-left: 20px; display: grid; gap: 6px; }
.numeros-envio { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.numeros-envio span { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.docs .card ul { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 4px; font-size: .95rem; }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .docs { grid-template-columns: 1fr; } }
.numeros b { white-space: nowrap; font-size: clamp(1.6rem, 3vw, 2.4rem); }

/* ===== revisão de layout (esboço 2) ===== */

/* logos: cartões iguais, logo centralizado, tamanho pela área (build.py) */
ul.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
ul.logos li { background: #fff; border: 1px solid var(--line); border-radius: 14px; height: 108px; display: grid; place-items: center; padding: 12px; transition: border-color .2s, box-shadow .2s, transform .2s; }
ul.logos li:hover { border-color: var(--navy-3); box-shadow: var(--shadow); transform: translateY(-2px); }
ul.logos img { max-width: 100%; height: auto; object-fit: contain; filter: none; opacity: .88; transition: opacity .2s; }
ul.logos li:hover img { opacity: 1; }
.js ul.logos li { opacity: 0; transform: translateY(10px); }
.in ul.logos li { animation: rowIn .5s ease forwards; }
ul.logos li:nth-child(2) { animation-delay: .05s; } ul.logos li:nth-child(3) { animation-delay: .1s; }
ul.logos li:nth-child(4) { animation-delay: .15s; } ul.logos li:nth-child(5) { animation-delay: .2s; }
ul.logos li:nth-child(6) { animation-delay: .25s; } ul.logos li:nth-child(7) { animation-delay: .3s; }
ul.logos li:nth-child(8) { animation-delay: .35s; } ul.logos li:nth-child(9) { animation-delay: .4s; }
ul.logos li:nth-child(10) { animation-delay: .45s; }
@media (max-width: 900px) { ul.logos { grid-template-columns: repeat(2, 1fr); } ul.logos li { height: 96px; } }

/* bloco "+500 empresas": alinhado ao topo dos cartões */
.clientes-grid { grid-template-columns: minmax(260px, .8fr) 1.6fr; align-items: center; gap: 56px; }
.clientes-copy .big { margin: 0; }

/* números: três colunas iguais com divisória, faixas só como moldura */
.numeros { grid-template-columns: 1fr 1fr 1fr; gap: 0; margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numeros > div { padding: 28px 16px; }
.numeros > div + div { border-left: 1px solid var(--line); }
.numeros .faixas { display: none; }
.numeros b { color: var(--navy-3); }
@media (max-width: 900px) { .numeros { grid-template-columns: 1fr; } .numeros > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* vídeo do Vimeo dentro do notebook do topo */
.screen.tem-video { position: relative; aspect-ratio: 16 / 9; }
.video-fundo { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; background: #000; }

/* passos (OP): rótulos não quebram feio */
.steps div small, .steps div b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

/* fluxo: setas centradas na altura dos cartões */
.flow { align-items: center; }
.flow .node { align-self: stretch; }

/* cartões de 3 colunas: mesma altura e botão no rodapé */
.cards3 > .card, .cards2 > .card, .keys > .key { height: 100%; }
ul.logos img { width: auto; max-height: none; max-width: 100%; }
.clientes-grid > * { min-width: 0; }
#funcionando .note .video-btn { font-size: 1rem; }
/* moldura com vídeo do Vimeo: precisa de proporção própria (o iframe é absoluto) */
.laptop .screen:has(> .video-fundo) { position: relative; aspect-ratio: 16 / 9 !important; }

/* ===== acabamento mais profissional ===== */
:root { --radius: 10px; --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(14,27,42,.05), 0 4px 14px rgba(14,27,42,.06);
  --shadow-lg: 0 2px 6px rgba(14,27,42,.06), 0 18px 44px rgba(14,27,42,.14); }
h1, h2, h3, .big-num, .big-num-label, .numeros b { font-family: var(--display); letter-spacing: -.025em; }
h1 { font-size: clamp(2.4rem, 4.8vw, 3.7rem); font-weight: 800; line-height: 1.06; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 700; }
h3 { font-weight: 700; }
.hero .lead { font-size: 1.15rem; max-width: 40ch; }

/* movimento discreto */
.hero .laptop, .shero .laptop { animation: none; }
.hero::before { opacity: .16; } .hero::after { opacity: .22; }
.marquee { background: var(--navy); color: #f0d9d6; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.06); }
.marquee span { font-weight: 600; font-size: .95rem; }
.marquee span::after { color: var(--orange); opacity: 1; }
.marquee .track { animation-duration: 60s; }

/* etiquetas de seção sem pílula */
.eyebrow, .eyebrow.dark, .eyebrow.coral { background: none; padding: 0; border-radius: 0; letter-spacing: .12em; font-size: .75rem; }
.eyebrow.dark { color: var(--navy-3); }
.step-no { color: var(--navy-3); }
section.dark .step-no, .hero .eyebrow, .shero .eyebrow { color: var(--orange); }

/* ícones no vinho da marca; laranja só para ação */
.mod .ic, .card .ic { background: rgba(147,0,0,.07); color: var(--navy-3); }
.mod:hover { border-color: var(--navy-3); }
.ticks li::before { background-color: rgba(147,0,0,.08); filter: hue-rotate(-25deg) saturate(1.4); }
.card .more { color: var(--navy-3); }
.mod.etq .ic, .card.etq .ic { background: var(--coral-l); color: var(--coral-d); }

/* cartões de segmento nas cores da marca */
.seg { min-height: 210px; }
.seg.h { background: linear-gradient(160deg, #2b0507, #5a0a0e); }
.seg.r { background: linear-gradient(160deg, #3d0609, #930000); }
.seg.p { background: linear-gradient(160deg, #1f2730, #3a2a22); }
.seg .big-ic { opacity: .1; }

/* botões e tabelas mais sóbrios */
.btn { border-radius: 8px; font-weight: 600; letter-spacing: .005em; }
.btn-primary { box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.video-btn .play::after { animation-duration: 3s; opacity: .6; }
.thumb { display: none; }
.proof div { font-weight: 600; }
.faq details[open] { border-color: var(--navy-3); }
.faq summary::after, .faq-wrap .head a { color: var(--navy-3); }
.tabs button[aria-selected="true"] { background: #fff; border-color: #fff; color: var(--navy-3); }
.hero .wrap > *, .shero .wrap > * { min-width: 0; }
h1 { overflow-wrap: anywhere; }
@media (max-width: 520px) { .laptop .screen:has(> .video-fundo), .screen.tem-video { min-height: 0; aspect-ratio: 16 / 9 !important; } }
ul.logos { min-width: 0; }
ul.logos li { min-width: 0; }
@media (max-width: 900px) { .clientes-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ===== topo: peça "Muito mais que compras" ===== */
.hero-roda { background: radial-gradient(900px 700px at 68% 48%, #8e1418 0%, #5a0709 45%, #2c0204 100%); padding: 0; }
.hero-roda::before, .hero-roda::after { display: none; }
.hero-roda .wrap { grid-template-columns: .82fr 1.18fr; gap: 24px; padding-top: 56px; padding-bottom: 8px; align-items: center; }
.selo { display: inline-block; border: 1px solid rgba(255,190,180,.55); color: #f6dcd6; border-radius: 99px; padding: 7px 18px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-bottom: 26px; }
.h1-leve { font-family: var(--display); font-weight: 300; color: #fbefec; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1.08; letter-spacing: -.03em; }
.h1-leve strong { font-weight: 800; color: #fff; }
.hero-roda .lead { color: #f0d4cf; font-size: 1.25rem; font-weight: 300; margin-top: 22px; max-width: 26ch; }
.traco { display: block; width: 70px; height: 2px; background: #f2b8ad; margin: 30px 0 22px; }
.chamada { color: #f6c8bd; font-size: 1.1rem; font-weight: 500; max-width: 24ch; }
.hero-roda .cta { margin-top: 26px; }
.hero-contatos { display: flex !important; justify-content: space-between; padding-top: 6px !important; padding-bottom: 28px !important; }
.hero-contatos a { display: inline-flex; align-items: center; gap: 10px; color: #fbefec; text-decoration: none; font-size: 1.05rem; font-weight: 500; letter-spacing: .02em; }
.hero-contatos a:hover { color: #fff; }
.hero-contatos svg { width: 22px; height: 22px; }

.roda { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1; margin: 0 auto; }
.roda-malha { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.roda-malha .aro { fill: none; stroke: rgba(255,170,160,.35); stroke-width: .25; }
.roda-malha .aro-pontos { fill: none; stroke: rgba(255,190,180,.45); stroke-width: .18; stroke-dasharray: .4 1.2; transform-origin: 50px 50px; animation: girar 60s linear infinite; }
.roda-malha line { stroke: rgba(255,140,130,.32); stroke-width: .16; stroke-dasharray: 80; stroke-dashoffset: 80; animation: desenha 2.2s ease forwards; animation-delay: calc(var(--i) * .05s); }
@keyframes desenha { to { stroke-dashoffset: 0; } }
@keyframes girar { to { transform: rotate(360deg); } }
.roda .no { position: absolute; width: 11.5%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.6); opacity: 0; border-radius: 50%; display: grid; place-items: center; color: #fbefec; background: radial-gradient(circle at 50% 40%, #6e0a10, #3a0507); border: 1.5px solid rgba(255,140,130,.7); box-shadow: 0 0 0 4px rgba(120,10,15,.35); transition: transform .25s, background .25s, border-color .25s; animation: noIn .5s ease forwards, acende 8s linear infinite; animation-delay: calc(.4s + var(--i) * .06s), calc(2s + var(--i) * .5s); z-index: 2; }
.roda .no svg { width: 42%; height: 42%; }
.roda .no:hover, .roda .no:focus-visible { transform: translate(-50%, -50%) scale(1.12); border-color: #ffd9d2; background: #8e1418; }
@keyframes noIn { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes acende { 0%, 9% { border-color: #ffe3dc; box-shadow: 0 0 0 4px rgba(120,10,15,.35), 0 0 22px rgba(255,170,150,.55); } 12%, 100% { border-color: rgba(255,140,130,.7); box-shadow: 0 0 0 4px rgba(120,10,15,.35); } }
.roda .rot { position: absolute; color: #f6dcd6; font-size: clamp(.55rem, .95vw, .74rem); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; opacity: 0; animation: rotIn .6s ease forwards; animation-delay: calc(.8s + var(--i) * .06s); z-index: 2; }
.roda .rot-c { transform: translate(-50%, -50%); }
.roda .rot-e { transform: translate(0, -50%); }
.roda .rot-d { transform: translate(-100%, -50%); }
@keyframes rotIn { to { opacity: 1; } }
.roda .centro { position: absolute; left: 50%; top: 50%; width: 35%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 6%; color: #fbefec; background: radial-gradient(circle at 50% 38%, #8e1418, #520609 75%); border: 2px solid #f6c8bd; box-shadow: 0 0 60px rgba(255,90,70,.35), inset 0 0 30px rgba(0,0,0,.25); animation: pulsa 4s ease-in-out infinite; z-index: 3; }
.roda .centro svg { width: 42%; }
.roda .centro b { font-family: var(--display); letter-spacing: .3em; font-weight: 600; font-size: clamp(.8rem, 1.6vw, 1.2rem); margin-left: .3em; }
@keyframes pulsa { 50% { box-shadow: 0 0 90px rgba(255,90,70,.5), inset 0 0 30px rgba(0,0,0,.25); } }
@media (max-width: 960px) {
  .hero-roda .wrap { grid-template-columns: 1fr; padding-top: 40px; }
  .roda { max-width: 560px; margin-top: 8px; }
}
@media (max-width: 600px) {
  .roda .rot { display: none; }
  .roda .no { width: 13%; }
  .hero-contatos { flex-direction: column; gap: 10px; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .roda .no, .roda .rot { opacity: 1 !important; transform: translate(-50%, -50%) !important; }
  .roda .rot-e { transform: translate(0, -50%) !important; } .roda .rot-d { transform: translate(-100%, -50%) !important; }
  .roda-malha line { stroke-dashoffset: 0 !important; }
}
.hero-roda .wrap { gap: 56px; }
.h1-leve { font-size: clamp(2.6rem, 4.4vw, 3.8rem); }
.roda { max-width: 660px; }
.roda .no { width: 10.5%; }
@media (max-width: 600px) { .roda .no { width: 12.5%; } }

/* versões (Compras, ERP, Etiqs, Checklists) */
.versoes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.versao { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; transition: box-shadow .2s, transform .2s; }
.versao:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.versao-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(147,0,0,.07); color: var(--navy-3); }
.versao-ic svg { width: 24px; height: 24px; }
.versao h3 { font-size: 1.35rem; }
.versao h3 span { color: var(--navy-3); }
.versao-desc { color: var(--muted); font-size: .95rem; min-height: 3em; }
.versao .ticks { margin: 4px 0 0; gap: 10px; font-size: .93rem; }
.versao .btn { margin-top: auto; width: 100%; }
.versao.destaque { background: linear-gradient(170deg, #3d0609, #930000); border-color: transparent; color: #f6dcd6; box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.versao.destaque:hover { transform: translateY(-10px); }
.versao.destaque h3, .versao.destaque h3 span { color: #fff; }
.versao.destaque .versao-desc { color: #f0c9c2; }
.versao.destaque .versao-ic { background: rgba(255,255,255,.12); color: #fff; }
.versao.destaque .ticks li::before { background-color: rgba(255,255,255,.18); filter: brightness(2.2) saturate(0); }
.versao.destaque .soon { background: var(--orange); }
.versao-tag { position: absolute; top: 16px; right: 16px; background: var(--orange); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; }
.versao.etq .versao-ic { background: var(--coral-l); color: var(--coral-d); }
.versao.etq h3 { color: var(--coral-d); }
@media (max-width: 1080px) { .versoes { grid-template-columns: 1fr 1fr; } .versao.destaque { transform: none; } }
@media (max-width: 620px) { .versoes { grid-template-columns: 1fr; } }
.versao ul.ticks { list-style: none; padding: 0; display: grid; }
.versao .soon { white-space: nowrap; font-size: .62rem; padding: 3px 8px; margin-left: 4px; }
.versao-link { text-align: center; font-weight: 600; font-size: .9rem; color: var(--coral-d); text-decoration: none; margin-top: -4px; }
.versao-link:hover { text-decoration: underline; }
