/* IdeaSoft Sistemas — site institucional (HTML estatico, sem WordPress) */
:root {
  --ink: #0f2440;
  --ink-2: #44566e;
  --blue: #1a5dab;
  --sky: #2e8ae6;
  --orange: #f28a17;
  --orange-ink: #b35f00;
  --paper: #f4f8fc;
  --line: #d8e3f0;
  --white: #fff;
  --green: #16a34a;
  --radius: 14px;
  --display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --body: "Onest", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--body);
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.topo .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.topo .marca img { height: 54px; width: auto; }
.topo nav { display: flex; gap: 4px; margin-left: auto; }
.topo nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 8px 12px; border-radius: 8px;
}
.topo nav a:hover { background: var(--paper); }
.topo nav a[aria-current="page"] { background: var(--paper); }

/* ---------- botoes ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  padding: 15px 22px; border-radius: 12px; border: 1px solid transparent;
  transition: transform .15s ease, background-color .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-zap { background: var(--green); color: var(--white); }
.btn-zap:hover { background: #12873e; }
.btn-azul { background: var(--blue); color: var(--white); }
.btn-azul:hover { background: #154d8f; }
.btn-claro { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-claro:hover { background: var(--paper); }
.topo .btn { padding: 11px 16px; font-size: 15px; }

/* ---------- hero ---------- */
.hero { background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap { padding-block: 64px 72px; }
.hero-txt { max-width: 1000px; margin-inline: auto; text-align: center; }
.selo {
  display: inline-block; font: 500 13px/1 var(--mono); letter-spacing: .04em;
  color: var(--orange-ink); background: #fff3e4; padding: 8px 12px; border-radius: 999px;
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(30px, 4.6vw, 54px); font-weight: 700; margin-top: 20px; }
h1 em { font-style: normal; color: var(--sky); }
.hero p.lead { font-size: 19px; color: var(--ink-2); max-width: 40em; margin: 22px auto 32px; }
.hero .acoes { justify-content: center; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; }

/* palco com os tres aparelhos (telas reais) */
.palco { position: relative; height: 0; padding-bottom: 55.17%; margin-top: 56px; }
.palco::before {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: 0; height: 9%;
  background: radial-gradient(closest-side, rgb(15 36 64 / .16), transparent); z-index: 0;
}
.disp { position: absolute; margin: 0; z-index: 1; }
.disp img { display: block; width: 100%; height: auto; }
.disp figcaption {
  position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font: 500 12px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink); background: var(--white); border: 1px solid var(--line);
  padding: 7px 10px; border-radius: 999px; box-shadow: 0 6px 16px -10px rgb(15 36 64 / .5);
}
.mon .tela {
  background: #0d1622; padding: 1.4%; border-radius: 12px;
  box-shadow: 0 30px 50px -28px rgb(15 36 64 / .55), inset 0 0 0 1px #24344a;
}
.mon .tela img { border-radius: 3px; }
.mon .pe { position: relative; height: 0; padding-bottom: 9%; }
.mon .pe::before {
  content: ""; position: absolute; left: 44%; right: 44%; top: 0; height: 70%;
  background: linear-gradient(90deg, #8c9aab, #c9d3df 50%, #8c9aab);
}
.mon .pe::after {
  content: ""; position: absolute; left: 32%; right: 32%; bottom: 0; height: 30%;
  border-radius: 6px 6px 3px 3px; background: linear-gradient(#d5dde7, #9aa8b8);
}
.mon figcaption { bottom: -6px; }
.sis { left: 11%; top: 0; width: 57%; }
.pdv { right: 0; top: 37%; width: 47%; z-index: 2; }
.cel {
  left: 1%; top: 30%; width: 15.5%; z-index: 3;
  background: #0d1622; padding: .7%; border-radius: 22px;
  box-shadow: 0 30px 50px -24px rgb(15 36 64 / .65), inset 0 0 0 1px #2a3a50;
}
.cel .tela { border-radius: 16px; overflow: hidden; }
.cel figcaption { bottom: -34px; }

/* monitor do PDV com os servicos em volta (elipse animada por JS em tela larga) */
.vitrine { position: relative; margin-top: 48px; }
.vitrine .anel { display: none; }
.vitrine .palco.so-pdv { margin-top: 0; }
.servs { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.serv {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px;
  box-shadow: 0 12px 24px -20px rgb(15 36 64 / .55);
}
.serv .ox, .serv .oy, .serv .os { display: contents; }
.serv .ic { grid-row: 1 / 3; display: grid; place-items: center; }
.serv svg { width: 34px; height: 34px; }
.serv b { font-size: 15px; line-height: 1.2; }
.serv small { color: var(--ink-2); font-size: 12.5px; line-height: 1.3; }
@media (min-width: 1000px) {
  .vitrine { height: 660px; }
  .vitrine .anel {
    display: block; position: absolute; left: 50%; top: 50%; width: 1000px; height: 580px; transform: translate(-50%, -50%);
    fill: none; stroke: #c9d8ea; stroke-width: 1.5; stroke-dasharray: 3 9; stroke-linecap: round; overflow: visible;
  }
  .vitrine .palco.so-pdv { position: absolute; left: 50%; top: 50%; width: 560px; max-width: none; padding-bottom: 0; transform: translate(-50%, -44%); }
  .servs { margin: 0; display: block; }
  .serv { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 4; display: block; background: none; border: 0; box-shadow: none; padding: 0; }
  .serv .ox, .serv .oy { display: block; width: 0; height: 0; will-change: transform; }
  .serv .os {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px;
    width: 156px; transform: translate(-50%, -33px); will-change: transform;
  }
  /* elipse: X e Y em senoide (cubic-bezier = ease-in-out-sine), Y um quarto de volta adiantado; 7 itens = 10 s de defasagem */
  .serv .ox { animation: orbx 35s cubic-bezier(.37, 0, .63, 1) infinite alternate; animation-delay: calc(var(--i) * -10s); }
  .serv .oy { animation: orby 35s cubic-bezier(.37, 0, .63, 1) infinite alternate; animation-delay: calc(var(--i) * -10s - 17.5s); }
  .serv .os { animation: orbs 35s cubic-bezier(.37, 0, .63, 1) infinite alternate; animation-delay: calc(var(--i) * -10s - 17.5s); }
  .vitrine:hover .ox, .vitrine:hover .oy, .vitrine:hover .os { animation-play-state: paused; }
  @keyframes orbx { from { transform: translateX(500px); } to { transform: translateX(-500px); } }
  @keyframes orby { from { transform: translateY(-290px); } to { transform: translateY(290px); } }
  @keyframes orbs { from { transform: translate(-50%, -33px) scale(.9); } to { transform: translate(-50%, -33px) scale(1.04); } }
  .serv .ic {
    width: 66px; height: 66px; border-radius: 50%; background: var(--white); border: 1px solid var(--line);
    box-shadow: 0 14px 26px -16px rgb(15 36 64 / .55); margin-bottom: 6px;
  }
  .serv svg { width: 38px; height: 38px; }
  .serv b { font-size: 15.5px; }
  .serv small { font-size: 12.5px; }
  .serv b, .serv small { background: rgb(255 255 255 / .92); padding: 0 6px; border-radius: 6px; }
}
@media (prefers-reduced-motion: no-preference) {
  .serv .ic { animation: entra .7s cubic-bezier(.2,.7,.2,1) both; }
  .serv:nth-child(2) .ic { animation-delay: .06s; } .serv:nth-child(3) .ic { animation-delay: .12s; } .serv:nth-child(4) .ic { animation-delay: .18s; }
  .serv:nth-child(5) .ic { animation-delay: .24s; } .serv:nth-child(6) .ic { animation-delay: .3s; } .serv:nth-child(7) .ic { animation-delay: .36s; }
}

/* so o monitor do PDV, centralizado */
.palco.so-pdv { height: auto; padding-bottom: 28px; max-width: 920px; margin-inline: auto; }
.palco.so-pdv .pdv { position: relative; right: auto; top: auto; width: 100%; }

@media (prefers-reduced-motion: no-preference) {
  .disp { animation: entra .8s cubic-bezier(.2,.7,.2,1) both; }
  .sis { animation-delay: .05s; }
  .pdv { animation-delay: .2s; }
  .cel { animation-delay: .35s; }
  @keyframes entra { from { opacity: 0; translate: 0 24px; } }
}

/* ---------- secoes ---------- */
.secao { padding-block: 88px; }
.secao.branca { background: var(--white); border-block: 1px solid var(--line); }
.cab { max-width: 46em; margin-bottom: 44px; }
.cab .rotulo { font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--orange-ink); }
h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; margin-top: 12px; }
.cab p { color: var(--ink-2); font-size: 18px; margin: 16px 0 0; }

/* modulos: linhas de catalogo */
.modulos { border-top: 1px solid var(--line); }
.modulo {
  display: grid; grid-template-columns: 64px minmax(200px, 300px) 1fr; gap: 28px;
  padding-block: 34px; border-bottom: 1px solid var(--line);
}
.modulo .ico { width: 56px; height: 56px; }
.modulo h3 { font-size: 21px; font-weight: 600; }
.modulo .sub { color: var(--ink-2); font-size: 15px; margin: 8px 0 0; }
.modulo ul {
  list-style: none; margin: 0; padding: 0;
  columns: 2 260px; column-gap: 32px;
}
.modulo li { break-inside: avoid; padding: 0 0 10px 20px; position: relative; font-size: 16px; }
.modulo li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--sky);
}

/* segmentos */
.segmentos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.seg {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.seg h3 { font-family: var(--body); font-size: 18px; font-weight: 700; letter-spacing: 0; }
.seg p { margin: 8px 0 0; color: var(--ink-2); font-size: 15.5px; }

/* atendimento */
.atend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.atend .ico { width: 48px; height: 48px; margin-bottom: 16px; }
.atend h3 { font-family: var(--body); font-size: 19px; font-weight: 700; letter-spacing: 0; }
.atend p { margin: 8px 0 0; color: var(--ink-2); }

/* faixa de contato */
.contato { background: var(--ink); color: #e6eef8; }
.contato .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; padding-block: 72px; }
.contato h2 { color: var(--white); }
.contato p { color: #b9c8dc; font-size: 18px; }
.contato dl { margin: 0; display: grid; gap: 18px; }
.contato dt { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #8fa6c2; }
.contato dd { margin: 6px 0 0; font-size: 18px; font-weight: 600; }
.contato dd a { color: var(--white); text-decoration: none; }
.contato dd a:hover { text-decoration: underline; }
.contato .acoes { margin-top: 28px; }

.rodape { background: #0a1a2f; color: #8fa6c2; font-size: 14px; }
.rodape .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 22px; }
.rodape a { color: #b9c8dc; }

/* botao flutuante do WhatsApp */
.zap-flutua {
  position: fixed; right: 18px; bottom: 18px; z-index: 30;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: var(--white);
  box-shadow: 0 10px 24px -8px rgb(22 163 74 / .7);
}
.zap-flutua svg { width: 30px; height: 30px; }

/* ---------- pagina de suporte ---------- */
.sup-hero { background: var(--white); border-bottom: 1px solid var(--line); }
.sup-hero .wrap { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; padding-block: 64px; }
.sup-hero h1 { font-size: clamp(30px, 4.4vw, 50px); margin-top: 18px; }
.sup-hero p.lead { font-size: 19px; color: var(--ink-2); max-width: 32em; margin: 20px 0 30px; }
.sup-hero .app { width: 168px; height: 168px; filter: drop-shadow(0 18px 30px rgb(26 93 171 / .35)); }
.btn-grande { padding: 19px 28px; font-size: 18px; }
.btn small { font-weight: 400; opacity: .85; font-size: 14px; }
.nota-win { font-size: 14.5px; color: var(--ink-2); margin-top: 14px; }

.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: p; }
.passos li {
  counter-increment: p; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px;
}
.passos li::before {
  content: counter(p); display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; margin-bottom: 16px;
  font: 700 17px/1 var(--display); color: var(--white); background: var(--blue);
}
.passos h3 { font-family: var(--body); font-size: 18px; font-weight: 700; letter-spacing: 0; }
.passos p { margin: 8px 0 0; color: var(--ink-2); font-size: 15.5px; }
.passos b { color: var(--ink); }

.tela-win {
  margin-top: 14px; border: 1px solid #c9d6e6; border-radius: 10px; overflow: hidden;
  font: 500 12.5px/1.4 var(--body); background: #fff;
}
.tela-win .t { background: #0b5cad; color: #fff; padding: 8px 10px; font-weight: 600; }
.tela-win .c { padding: 10px; color: #33465e; }
.tela-win .c u { color: #0b5cad; }
.tela-win .r { display: flex; justify-content: flex-end; gap: 6px; padding: 0 10px 10px; }
.tela-win .r span { border: 1px solid #c9d6e6; padding: 4px 8px; border-radius: 4px; }
.tela-win .r .on { border-color: #0b5cad; color: #0b5cad; }

.duvidas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.duvidas details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.duvidas summary { cursor: pointer; font-weight: 600; padding: 20px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.duvidas summary::-webkit-details-marker { display: none; }
.duvidas summary::after { content: "+"; font: 600 22px/1 var(--display); color: var(--blue); }
.duvidas details[open] summary::after { content: "−"; }
.duvidas details p { margin: 0 0 20px; color: var(--ink-2); }

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .hero .wrap { padding-block: 44px 64px; }
  .modulo { grid-template-columns: 56px 1fr; }
  .modulo ul { grid-column: 1 / -1; }
  .atend { grid-template-columns: 1fr; gap: 28px; }
  .segmentos { grid-template-columns: repeat(2, 1fr); }
  .contato .wrap { grid-template-columns: 1fr; }
  .passos { grid-template-columns: repeat(2, 1fr); }
  .sup-hero .wrap { grid-template-columns: 1fr; }
  .sup-hero picture { order: -1; }
  .sup-hero .app { width: 96px; height: 96px; }
}
@media (max-width: 760px) {
  .topo nav { display: none; }
  .disp figcaption { display: none; }
  .palco { padding-bottom: 60.34%; margin-top: 40px; }
  .zap-flutua { display: none; }
  .cel { width: 23%; top: 24%; left: 0; padding: 1%; border-radius: 14px; }
  .cel .tela { border-radius: 10px; }
  .mon .tela { border-radius: 6px; }
  .topo .btn { margin-left: auto; }
  .topo .marca img { height: 38px; }
  .secao { padding-block: 60px; }
  .duvidas { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .passos { grid-template-columns: 1fr; }
  .segmentos { grid-template-columns: 1fr; }
  .topo .btn span { display: none; }
  .acoes .btn { width: 100%; justify-content: center; }
  .btn small { display: none; }
  .modulo ul { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .serv .ox, .serv .oy, .serv .os { animation-play-state: paused !important; }
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
