/* =========================================================================
   FOCASE — páginas internas (Lote 1)
   Complementa css/styles.css da Home, que permanece inalterado.
   Mobile first: base = 320–430 px; ampliações em 600 / 960 px.
   ========================================================================= */

/* Navegação: página atual + menu acessível sem JavaScript */
.nav__links a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.menu-mobile a[aria-current="page"] { color: var(--teal-ink); font-weight: 600; }
html:not(.js) .nav__toggle { display: none; }
html:not(.js) .menu-mobile[hidden] { display: flex; }


/* Breadcrumb */
.crumbs { padding-top: 8px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; font-size: 13px; color: var(--slate); }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--slate-400); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--slate-700); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--navy); font-weight: 500; }

/* Hero interno */
.page-hero { background: var(--off); padding-bottom: 48px; overflow: hidden; }
.page-hero__grid { display: grid; gap: 32px; padding-top: 8px; }
.page-hero__copy { display: flex; flex-direction: column; gap: 18px; max-width: 720px; min-width: 0; }
.page-hero .h1 { font-size: clamp(32px, 8vw, 58px); }
.page-hero__ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.page-hero__ctas .btn { width: 100%; }
.page-hero__support { font-size: 13px; color: var(--slate); }
.page-hero__visual { display: flex; justify-content: center; min-width: 0; }
@media (min-width: 600px) {
  .page-hero__ctas { flex-direction: row; flex-wrap: wrap; }
  .page-hero__ctas .btn { width: auto; }
}
@media (min-width: 960px) {
  .page-hero { padding-bottom: 80px; }
  .page-hero__grid { padding-top: 32px; }
  .page-hero__grid--media { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 56px; }
}

/* Cabeçalho de seção */
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 40px; }
@media (min-width: 960px) { .section-head { margin-bottom: 56px; } }

/* Telas reais do aplicativo (recortes com transparência) */
.shot { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.shot img { width: var(--shot-w, 240px); max-width: 100%; height: auto; filter: drop-shadow(0 24px 32px rgba(15, 39, 71, .16)); }
.shot--wide img { width: calc(var(--shot-w, 240px) * 1.29); }
.shot--hero img { --shot-w: 360px; }
.shot--on-dark img { filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); }
.shot figcaption { font-size: 13px; line-height: 1.45; color: var(--slate); text-align: center; max-width: 30em; }
.shot--on-dark figcaption { color: var(--slate-400); }
/* No celular, mostra a parte superior da tela para não alongar a página */
.shot__clip { display: flex; justify-content: center; width: 100%; max-height: var(--clip, 400px); overflow: hidden; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
@media (min-width: 600px) { .shot { --shot-w: 260px; } .shot--hero img { --shot-w: 420px; } }
@media (min-width: 960px) {
  .shot { --shot-w: 280px; }
  .shot__clip { max-height: none; -webkit-mask-image: none; mask-image: none; }
  .shot--hero img { --shot-w: 460px; }
}

/* Sequência de passos */
.flow { display: grid; gap: 56px; }
.flow__item { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.flow__head { display: flex; flex-direction: column; gap: 8px; max-width: 30em; }
.flow__num { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--teal-ink); }
.flow__head h3 { font: 700 22px/1.25 var(--font-title); letter-spacing: -.01em; }
.flow__head p { font-size: 16px; line-height: 1.6; color: var(--slate-700); text-wrap: pretty; }
@media (min-width: 600px) and (max-width: 959px) {
  .flow__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px; }
}
.flow__note { margin-top: 40px; font-size: 13px; color: var(--slate); text-align: center; }
@media (min-width: 960px) {
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .flow__head { min-height: 190px; }
}

/* Situações (dor) */
.pains { border-top: 1px solid var(--line); max-width: 760px; }
.pains li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.55; color: var(--slate-700); }
.pains li::before { content: ""; width: 7px; height: 7px; margin-top: .65em; border-radius: 50%; background: var(--slate-400); }

/* Níveis de organização */
.levels { display: grid; gap: 20px 32px; }
.levels div { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid var(--mist); }
.levels dt { font: 600 17px var(--font-title); }
.levels dd { font-size: 15px; line-height: 1.55; color: var(--slate-700); }
@media (min-width: 600px) { .levels { grid-template-columns: 1fr 1fr; } }

/* Exemplo em texto da estrutura (dados fictícios) */
.example { padding: 18px 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-size: 14px; line-height: 1.5; }
.example__tag { display: inline-block; margin-bottom: 12px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 500; color: var(--slate); }
.example ul { display: flex; flex-direction: column; gap: 8px; }
.example ul ul { margin-top: 8px; padding-left: 16px; border-left: 1px solid var(--mist); }
.example b { font-weight: 600; }
.example small { color: var(--slate); font-size: 13px; }

/* Tabela iPhone × Web */
.ptable-wrap { width: 100%; max-width: 860px; overflow-x: auto; overflow-y: hidden; }
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.ptable caption { caption-side: bottom; padding-top: 14px; text-align: left; font-size: 13px; color: var(--slate); }
.ptable th, .ptable td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ptable th:first-child, .ptable td:first-child { padding-left: 0; }
.ptable thead th { font-size: 13px; font-weight: 600; color: var(--slate); border-bottom-color: var(--mist); }
.ptable tbody th { font-weight: 500; color: var(--navy); }
.ptable td { white-space: nowrap; color: var(--slate-700); }
.ptable td.is-yes { color: var(--navy); font-weight: 600; }

/* Links de texto e próximos passos */
.related { display: grid; gap: 12px; }
.related a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); text-decoration: none; transition: border-color var(--t-base) ease; }
.related a:hover { border-color: var(--navy); }
.related a span { display: flex; flex-direction: column; gap: 2px; }
.related small { font-size: 13px; color: var(--slate); }
.related strong { font: 600 16px/1.35 var(--font-title); }
@media (min-width: 720px) { .related { grid-template-columns: 1fr 1fr; } }

/* Documentos (bloco curto) */
.docs-note { display: grid; gap: 14px; max-width: 760px; }
.docs-note p { font-size: 16px; line-height: 1.6; color: var(--slate-700); }
.docs-note .note { padding-top: 14px; border-top: 1px solid var(--line); }

/* Conversão final sem QR */
.final--page .final__grid { grid-template-columns: minmax(0, 1fr); }

/* Espaçamentos entre blocos */
.split__copy > div:first-child:not(.reveal) { display: flex; flex-direction: column; gap: 16px; }
.faq + .related { margin-top: 40px; }
.facts + .note { margin-top: 32px; }
.shot__clip--tall { --clip: 460px; }

/* ---------- Lote 2 ---------- */
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.prose p { font-size: 17px; line-height: 1.65; color: var(--slate-700); text-wrap: pretty; }
.prose h3 { margin-top: 12px; font: 600 19px/1.35 var(--font-title); }
.checklist { counter-reset: step; display: flex; flex-direction: column; max-width: 760px; border-top: 1px solid var(--line); }
.checklist > li { counter-increment: step; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 0 20px 48px; border-bottom: 1px solid var(--line); }
.checklist > li::before { content: counter(step); position: absolute; left: 0; top: 19px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--mist); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--teal-ink); background: var(--white); }
.checklist h3 { font: 600 18px/1.35 var(--font-title); }
.checklist p { font-size: 16px; line-height: 1.6; color: var(--slate-700); text-wrap: pretty; }
.checklist ul { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.checklist ul li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.55; color: var(--slate-700); }
.checklist ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--slate-400); }
.shot-pair { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 24px 32px; }
.shot-pair .shot { --shot-w: 210px; }
@media (min-width: 600px) { .shot-pair .shot { --shot-w: 240px; } }
.plats { display: grid; gap: 16px; }
.plat { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.plat h2, .plat h3 { font: 700 22px/1.25 var(--font-title); }
.plat p { font-size: 15px; line-height: 1.6; color: var(--slate-700); }
.plat .btn { align-self: flex-start; }
.plat__meta { font-size: 13px; color: var(--slate); }
@media (min-width: 860px) { .plats { grid-template-columns: 1fr 1fr; } }
.inst { display: grid; gap: 0; max-width: 760px; border-top: 1px solid var(--line); }
.inst div { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.inst dt { font-size: 13px; font-weight: 600; color: var(--slate); }
.inst dd { font-size: 16px; color: var(--navy); }
@media (min-width: 600px) { .inst div { grid-template-columns: 200px 1fr; gap: 16px; } }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-row span { padding: 4px 10px; border: 1px solid var(--mist); border-radius: 999px; font-size: 13px; color: var(--slate-700); background: var(--white); }
.section--dark .ptable th, .section--dark .ptable td, .section--navy .ptable th, .section--navy .ptable td { border-bottom-color: rgba(203,213,225,.18); color: var(--mist); }
.section--dark .ptable tbody th, .section--navy .ptable tbody th { color: var(--off); }
.section--dark .ptable caption, .section--navy .ptable caption { color: var(--slate-400); }
.hub { display: grid; gap: 12px; }
.hub a { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); text-decoration: none; transition: border-color var(--t-base) ease; }
.hub a:hover { border-color: var(--navy); }
.hub strong { font: 600 18px/1.35 var(--font-title); }
.hub span { font-size: 15px; line-height: 1.55; color: var(--slate-700); }
@media (min-width: 720px) { .hub { grid-template-columns: 1fr 1fr; } }
