/* ==========================================================================
   Páginas de acidente de trabalho (sofri-um-acidente-de-trabalho e as outras
   quatro) e o obrigado. Carregado só por elas, pelo content_for :head.

   Visual de infoplantaopolicial.com.br/mandado-de-prisao, a pedido do
   usuário (10/11/2026): mesmas classes, medidas, cores e fontes, tiradas do
   CSS de lá (index-CZZYWXMi.css). Cabeçalho e rodapé são os do portal.
   Tudo dentro de .at; o Tailwind do layout fica em @layer, então estas
   regras (fora de layer) ganham dele sem !important.
   ========================================================================== */

/* SIL OFL 1.1; os mesmos arquivos de public/resolve_facil/assets/fonts. */
@font-face { font-family: "Raleway Variable"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/raleway-latin-variavel-5a17da40.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans Variable"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/plus-jakarta-sans-latin-d2ff26bc.woff2") format("woff2"); }

.at {
  --cs-blue: #1f4f96; --cs-blue-strong: #0c4089; --cs-blue-icon: #2767cb; --cs-navy: #0b2d50;
  --cs-gray: #5c5c5c; --cs-green: #248947; --cs-line: #ebebeb;
  --cs-font-display: "Raleway Variable", system-ui, sans-serif;
  --cs-font-ui: "Plus Jakarta Sans Variable", system-ui, sans-serif;
  background: #fff; color: #212529; font-family: var(--cs-font-display); font-size: 16px; line-height: 1.5;
  font-variant-numeric: lining-nums;
}
.at *, .at *::before, .at *::after { box-sizing: border-box; }
.at [hidden] { display: none !important; }

.container-cs { width: 100%; max-width: 1278px; margin-inline: auto; padding-inline: 12px; }

/* Topo: ícone, título e trilha centrados. */
.page-hero { text-align: center; border-bottom: 1px solid var(--cs-line); font-family: var(--cs-font-display); padding: 63px 0 33px; }
.page-hero svg { display: block; margin: 0 auto; fill: var(--cs-blue-icon); }
.page-title { font-family: var(--cs-font-display); color: var(--cs-blue); text-wrap: balance; margin: 0; font-size: 30.9px; font-weight: 550; line-height: 1.25; }
.page-hero .page-title { margin-top: 16px; }
.page-breadcrumb { flex-wrap: wrap; justify-content: center; column-gap: 16px; margin-top: 22px; font-size: 17px; display: flex; }
.page-breadcrumb span, .page-breadcrumb a { color: #3d5a8e; font-weight: 450; text-decoration: none; }
.page-breadcrumb .page-breadcrumb-sep { color: #333; }
.page-breadcrumb strong { color: #244e8a; font-weight: 600; }

/* Abertura: título grande, botão na pílula com anel cinza, texto. */
.cp-intro { padding-top: 44px; }
.cp-intro-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.cp-intro-title { max-width: 800px; color: var(--cs-navy); margin: 4px 0 0; font-size: 34.4px; font-weight: 550; line-height: 1.1; text-wrap: balance; }
.cp-cta-ring { background: #ededef; border-radius: 999px; flex-shrink: 0; padding: 16px; }
.cp-cta { display: inline-block; background: var(--cs-green); color: #fff; border-radius: 999px; padding: 10px 15px; font-size: 19.1px; font-weight: 500; line-height: 31.3px; text-decoration: none; transition: filter .15s; }
.cp-cta:hover, .cp-cta:focus-visible { color: #fff; filter: brightness(1.08); }
.ac-intro-text { max-width: 900px; color: var(--cs-gray); margin-top: 22px; font-size: 16px; line-height: 1.7; }
.ac-intro-text p { margin: 0 0 12px; }
.ac-intro-text strong, .section-text strong { color: var(--cs-navy); }

/* Seções sem fundo, separadas pelo espaço. */
.ac-section { padding-top: 88px; }
.section-title { font-family: var(--cs-font-ui); color: var(--cs-blue-strong); text-align: center; margin: 0; font-size: 23.3px; font-weight: 700; line-height: 1.2; }
.section-text { max-width: 719px; font-family: var(--cs-font-ui); color: #54575c; text-align: center; margin: 19px auto 0; font-size: 15px; line-height: 24.4px; }

/* Cartões numerados com borda fina. */
.ac-card { color: #333; background: #fff; border: 1px solid #d8d8d8; border-radius: 8px; padding: 24px 22px; font-size: 15.7px; line-height: 1.75; }
.ac-card h3 { color: #071d41; margin: 0 0 8px; font-size: 16.5px; font-weight: 700; line-height: 1.5; }
.ac-card p { margin: 0; }
.ac-card p + p { margin-top: 8px; }
.ac-numbered { counter-reset: item; display: grid; gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.ac-numbered > li { counter-increment: item; padding-left: 62px; position: relative; }
.ac-numbered > li::before { content: counter(item); position: absolute; top: 24px; left: 20px; display: flex; justify-content: center; align-items: center; width: 28px; height: 28px; border-radius: 999px; background: #0047bb; color: #fff; font-size: 14px; font-weight: 700; }
.ac-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ac-cta-center { display: flex; justify-content: center; margin-top: 36px; }
.ac-cta-center .cp-cta-ring { text-align: center; border-radius: 40px; flex-shrink: 1; }
.ac-cta-center .cp-cta { border-radius: 28px; }

/* Perguntas frequentes: acordeão com <details> nativo (a referência não tem;
   mesmo desenho do das páginas de jornada do Resolve Fácil). */
.ac-faq { max-width: 820px; margin: 32px auto 0; }
.ac-faq details { border-bottom: 1px solid var(--cs-line); }
.ac-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; list-style: none; cursor: pointer; color: #071d41; font-size: 16.5px; line-height: 1.5; font-weight: 700; }
.ac-faq summary::-webkit-details-marker { display: none; }
.ac-faq summary:hover { color: #0047bb; }
.ac-faq summary svg { width: 20px; height: 20px; flex-shrink: 0; color: #0047bb; transition: transform .2s; }
.ac-faq details[open] summary svg { transform: rotate(180deg); }
.ac-faq-resposta { padding: 0 32px 16px 0; color: #333; font-size: 15.7px; line-height: 1.75; }
.ac-faq-resposta p { margin: 0 0 8px; }

/* Formulário em etapas. */
.cpf-section { margin-top: 88px; font-family: var(--cs-font-ui); background: linear-gradient(#fdfeff 0%, #f4f6f9 100%); padding: 72px 0; scroll-margin-top: 76px; }
.cpf-heading { text-align: center; margin-bottom: 36px; }
.cpf-heading h2 { color: #0047bb; margin: 0; font-size: 32px; font-weight: 800; line-height: 1.2; }
.cpf-heading p { color: #4a5565; margin: 14px 0 0; font-size: 18px; }
.cpf-card { background: #fff; border-radius: 18px; max-width: 980px; margin: 0 auto; padding: 28px; box-shadow: 0 18px 50px rgba(15, 23, 42, .1); }
.cpf-progress { margin-bottom: 28px; }
.cpf-progress-bar { background: #e5e7eb; border-radius: 999px; height: 10px; overflow: hidden; }
.cpf-progress-fill { background: #268744; border-radius: 999px; height: 100%; transition: width .25s; }
.cpf-progress-text { text-align: center; color: #4a5565; margin: 12px 0 0; font-size: 15px; }
.cpf-step-title { color: #0f172a; margin: 0 0 18px; font-size: 17px; font-weight: 700; line-height: 1.2; }
.cpf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cpf-full { grid-column: 1 / -1; }
.cpf-field, .cpf-field label { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.cpf-field label { margin: 0; }
.cpf-label { color: #0f172a; font-size: 14px; font-weight: 700; line-height: 20px; }
.cpf-required { color: #0f172a; }
.cpf-field input, .cpf-field select { font: inherit; color: #111827; width: 100%; min-width: 0; min-height: 48px; background: #fff; border: 1px solid #d1d5db; border-radius: 6px; padding: 10px 14px; font-size: 16px; line-height: 24px; }
.cpf-field input:focus, .cpf-field select:focus { border-color: #0047bb; outline: none; box-shadow: 0 0 0 3px rgba(0, 71, 187, .15); }
.cpf-field input[type=date] { appearance: none; -webkit-appearance: none; display: block; }
.cpf-hint { color: #64748b; font-size: 13px; line-height: 18px; }
.cpf-hint-center { text-align: center; color: #4a5565; margin: 28px 0 0; font-size: 16px; }
.cpf-submit { font: inherit; display: inline-flex; justify-content: center; align-items: center; gap: 10px; width: 100%; min-height: 52px; margin-top: 24px; padding: 14px 28px; border: none; border-radius: 8px; background: #268744; color: #fff; font-size: 16px; font-weight: 700; line-height: 24px; text-decoration: none; cursor: pointer; transition: background-color .2s, transform .2s; }
.cpf-submit:hover { background: #1f6f39; color: #fff; transform: translateY(-1px); }
.cpf-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.cpf-back { font: inherit; display: block; margin: 16px auto 0; padding: 4px 8px; border: none; background: none; color: #4a5565; font-size: 15px; cursor: pointer; }
.cpf-back:hover { color: #0047bb; }

/* Tela de transição para o auxílio-acidente e o obrigado. */
.cpf-loading { text-align: center; padding: 24px 0 12px; }
.cpf-loading-text { color: #0f172a; margin: 0; font-size: 18px; font-weight: 700; line-height: 1.5; }
.cpf-loading-bar { background: #e5e7eb; border-radius: 999px; max-width: 320px; height: 8px; margin: 20px auto 0; overflow: hidden; }
.cpf-loading-fill { width: 0; background: #268744; border-radius: 999px; height: 100%; transition: width 5s linear; }
.cpf-loading-fill.cheia { width: 100%; }
.cpf-loading .cpf-submit { max-width: 320px; }

@media (max-width: 991.98px) {
  .page-hero { padding-top: 40px; }
  .page-title { font-size: 24.4px; }
  .page-breadcrumb { font-size: 13.9px; }
  .cp-intro-row { flex-direction: column; align-items: stretch; }
  .cp-intro-title { font-size: 26.1px; }
  .cp-cta-ring { align-self: center; }
  .ac-section { padding-top: 64px; }
  .section-title { font-size: 19.1px; }
  .ac-grid-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .cpf-section { padding: 48px 0; }
  .cpf-heading { margin-bottom: 24px; }
  .cpf-heading h2 { font-size: 24px; }
  .cpf-heading p { font-size: 16px; }
  .cpf-card { border-radius: 16px; padding: 22px; }
  .cpf-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
  .ac-card { font-size: 15px; }
  .ac-numbered > li { padding-left: 56px; }
  .ac-numbered > li::before { left: 16px; }
}
