/* ==========================================================================
   PRADOK — CAMADA DE MARCA (carregada por último)
   Ícones derivados do símbolo, aberturas de capítulo e refinamentos de UI.

   Ideia central: o símbolo Pradok é uma caixa com tampa, trava e um
   sorriso-check. Tudo o que é ícone na página repete essa gramática:
   - o contêiner .ibox é um "squircle" com o mesmo raio da caixa do logo;
   - a versão --brand tem tampa azul-aço separada do corpo marinho;
   - cada ícone tem um único detalhe de destaque em verde esmeralda (--ia).
   ========================================================================== */
:root {
  --navy: #0F2957;
  --navy-2: #1E3A8A;
  --steel: #0EA5E9;
  --steel-2: #0284C7;
  --emerald: #10B981;
  --emerald-2: #34D399;
  --emerald-ink: #0A9E6E; /* verde com contraste suficiente sobre fundo claro */
  --lid: linear-gradient(90deg, var(--steel) 0%, var(--steel-2) 100%);
  --body: linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 100%);
}

/* ---------- Ícones: destaque verde por padrão ---------- */
.ico { --ia: var(--emerald-ink); }
.section--dark .ico, .contact .ico { --ia: var(--emerald-2); }

/* ---------- Contêiner de ícone (squircle da caixa) ---------- */
.ibox {
  --ia: var(--emerald-ink);
  width: 48px; height: 48px; flex: none; display: grid; place-items: center; position: relative; isolation: isolate;
  border-radius: 30%; color: var(--navy);
  background: linear-gradient(160deg, #F0F5FF 0%, #E1EBFA 100%);
  box-shadow: inset 0 0 0 1px rgba(15, 41, 87, .06);
}
.ibox .ico { width: 26px; height: 26px; stroke-width: 1.7; margin: 0; color: inherit; }
.ibox--sm { width: 38px; height: 38px; }
.ibox--sm .ico { width: 21px; height: 21px; stroke-width: 1.8; }
.ibox--lg { width: 64px; height: 64px; }
.ibox--lg .ico { width: 32px; height: 32px; stroke-width: 1.6; }

/* Versão da marca: tampa azul-aço, fresta e corpo marinho, como no símbolo */
.ibox--brand {
  --ia: var(--emerald-2);
  color: #fff; overflow: hidden; padding-top: 9px;
  background: var(--body);
  box-shadow: 0 14px 26px -16px rgba(15, 41, 87, .8);
}
.ibox--brand::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 20%; z-index: -1;
  background: var(--lid); box-shadow: 0 2px 0 rgba(255, 255, 255, .92);
}
.ibox--brand .ico { stroke-width: 1.8; }
.ibox--brand.ibox--lg { padding-top: 12px; }

.ibox--dark {
  --ia: var(--emerald-2);
  color: #f5f5f7;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .03) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.ibox--glass {
  --ia: #6EE7B7;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

/* ---------- Cabeçalho: capítulo atual em destaque ---------- */
.nav__links a { position: relative; }
.nav__links a.on { color: var(--ink); font-weight: 500; }
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: -3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 1.6px;
  background: var(--emerald); opacity: 0; transform: translateY(3px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.nav__links a.on::after { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.eyebrow .ico { width: 24px; height: 24px; stroke-width: 1.8; color: var(--navy); }
.hero__proof { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; font-size: .95rem; color: var(--ink-2); }
.hero__proof li { display: inline-flex; align-items: center; gap: 6px; }
.hero__proof .ico { width: 18px; height: 18px; stroke-width: 2.6; }

.trust__list li { gap: 14px; }
.trust__list .ibox { color: var(--navy); font-size: inherit; }

/* ---------- Para quem ---------- */
.who-card { aspect-ratio: 3 / 3.9; }
.who-card .ibox { margin-bottom: 16px; }

/* ---------- Desafio ---------- */
.compare__head span + span { color: var(--emerald-ink); }
.compare__after .ico { width: 18px; height: 18px; stroke-width: 2.6; }
.compare__row { transition: background-color .25s var(--ease); }
.compare__row:hover { background: #fafbfd; }

/* ---------- Jornada: detalhe verde nas etapas concluídas ---------- */
.jr-stop.done .jr-stop__dot { --ia: var(--emerald-2); }

/* ---------- Índice dos capítulos ---------- */
.chap .ibox { margin-bottom: 20px; }
.chap .ibox .ico { width: 25px; height: 25px; }
.chap:hover .ibox--brand { transform: translateY(-2px) rotate(-4deg); }
.chap .ibox--brand { transition: transform .45s var(--spring); }
.chap__more { color: var(--link); }

/* ---------- Abertura de capítulo ---------- */
.chopen {
  display: flex; align-items: center; gap: 18px; max-width: 720px; margin: 0 auto clamp(56px, 7vw, 88px);
  padding: 16px 22px 16px 16px; border-radius: 26px; text-align: left;
  background: var(--soft);
}
.section--soft .chopen { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.chopen__txt { flex: 1; min-width: 0; }
.chopen__n { display: block; font-size: .8rem; font-weight: 600; color: var(--gray-2); letter-spacing: .01em; }
.chopen b { display: block; font-family: var(--display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; margin: 1px 0 2px; }
.chopen p { color: var(--gray); font-size: .97rem; line-height: 1.4; }
.chopen__dots { display: flex; gap: 6px; flex: none; }
.chopen__dots li { width: 8px; height: 8px; border-radius: 2.6px; background: var(--line-2); transition: width .4s var(--ease); }
.chopen__dots li.done { background: var(--navy); }
.chopen__dots li.on { width: 24px; background: var(--emerald); }
#temporalidade .chopen + .qa, #qualidade .chopen + .qa { margin-top: 0; }

/* ---------- Listas com ícone (assinatura, qualidade, temporalidade) ---------- */
.qa-points li { gap: 16px; align-items: flex-start; }
.qa-points .ibox { color: var(--navy); font-size: inherit; margin-top: -2px; }

/* ---------- App (escuro) ---------- */
.feat-d .ibox { margin-bottom: 18px; }
.feat-d .ibox .ico { width: 24px; height: 24px; margin: 0; color: inherit; stroke-width: 1.7; }

/* ---------- Portal ---------- */
.portal-note .ibox { margin-bottom: 14px; }

/* ---------- Digitalização ---------- */
.dig-feats li { gap: 18px; }
.dig-feats .ibox { width: 44px; height: 44px; }
.dig-feats .ibox .ico { width: 23px; height: 23px; }

/* ---------- Três telas ---------- */
.trio { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 12px; margin-top: 30px; }
.trio li { display: inline-flex; align-items: center; gap: 10px; padding: 5px 18px 5px 5px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-weight: 500; font-size: .95rem; color: var(--ink); }
.trio .ibox--sm { width: 34px; height: 34px; }
.trio .ibox--sm .ico { width: 19px; height: 19px; }

/* ---------- Do seu jeito: níveis com ícones da marca ---------- */
.lvl__ico { --ia: var(--emerald-ink); color: var(--navy); border-radius: 30%; background: linear-gradient(160deg, #F0F5FF 0%, #E1EBFA 100%); }
.lvl[aria-selected="true"] .lvl__ico { --ia: var(--emerald-2); background: var(--body); color: #fff; }

/* ---------- Segurança ---------- */
.sec-card .ibox { margin-bottom: 20px; }
.sec-card { transition: background-color .3s var(--ease); }
.sec-card:hover { background: #232327; }

/* ---------- Benefícios ---------- */
.tile .ibox { margin-bottom: 14px; }
.tile:not(.tile--ink):not(.tile--grad) .ibox { background: #fff; }
.cta-band {
  margin-top: 16px; display: flex; align-items: center; gap: 20px; padding: 22px 26px 22px 22px; border-radius: var(--r);
  background: linear-gradient(120deg, #EEF4FF 0%, #E8F7F1 100%);
}
.cta-band img { width: 56px; height: 56px; flex: none; }
.cta-band > div { flex: 1; min-width: 0; }
.cta-band b { display: block; font-family: var(--display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.cta-band p { color: var(--gray); font-size: .98rem; }

/* ---------- Implantação ---------- */
.section--soft .onb__steps li { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.onb__n { border-radius: 30%; background: var(--body); position: relative; overflow: hidden; isolation: isolate; padding-top: 6px; }
.onb__n::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 9px; z-index: -1; background: var(--lid); box-shadow: 0 2px 0 rgba(255, 255, 255, .92); }

/* ---------- FAQ e contato ---------- */
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--blue); }
.contact-list li { gap: 14px; }
.contact-list .ibox .ico { color: inherit; }
.control .opt { font-weight: 400; opacity: .6; }

/* ---------- Rodapé ---------- */
.footer__seals .ico { --ia: var(--emerald-ink); }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .who { grid-template-columns: 1fr 1fr; }
  .who-card { aspect-ratio: 4 / 3.6; }
}
@media (max-width: 720px) {
  .chopen { gap: 14px; padding: 12px 16px 12px 12px; border-radius: 22px; }
  .chopen .ibox--lg { width: 52px; height: 52px; }
  .chopen .ibox--lg .ico { width: 26px; height: 26px; }
  .chopen b { font-size: 1.2rem; }
  .chopen p { font-size: .9rem; }
  .chopen__dots { display: none; }
  .trust__list .ibox { width: 34px; height: 34px; }
  .who { grid-template-columns: 1fr; }
  .who-card { aspect-ratio: 4 / 3; }
  .cta-band { flex-direction: column; text-align: center; padding: 26px 22px; }
  .cta-band .pill { width: 100%; }
  .trio li { font-size: .88rem; }
  .hero__proof { gap: 6px 16px; font-size: .88rem; }
}
