/* =====================================================================
   Aplicações do aço inoxidável — componentes da página
   (usa também abc-inox.css e tipos-inox.css)
   ===================================================================== */
.ap-src { display: flex; gap: 6px; align-items: flex-start; font-size: .78rem; color: var(--muted); margin: 10px 0 0; line-height: 1.5; }
.ap-src .ico { flex-shrink: 0; margin-top: 2px; }
.ap-src a { color: var(--blue-600); font-weight: 600; }
.abc-dark .ap-src { color: rgba(255, 255, 255, .6); }
.abc-dark .ap-src a { color: #7fd3ff; }

/* ---------- Visão geral ---------- */
.ap-intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.ap-intro p { line-height: 1.7; color: var(--ink-2); }
.ap-sectors-mini { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ap-sectors-mini a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: .86rem; font-weight: 600; color: var(--navy-900); background: #fff; transition: .2s; }
.ap-sectors-mini a:hover { border-color: var(--accent); color: var(--blue-600); }
.ap-sectors-mini span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-50); color: var(--blue-600); }
.ap-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ap-stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-sm); }
.ap-stat strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--navy-900); line-height: 1.1; }
.ap-stat strong small { font-size: .9rem; color: var(--muted); }
.ap-stat > span { display: block; margin-top: 6px; color: var(--ink-2); font-size: .92rem; line-height: 1.5; }
.ap-stat-big { grid-column: 1 / -1; background: var(--grad-navy); border: 0; color: #fff; }
.ap-stat-big strong { color: #fff; font-size: 2.6rem; }
.ap-stat-big strong small { color: #7fd3ff; }
.ap-stat-big > span { color: rgba(255, 255, 255, .85); }
.ap-stat-big .ap-src { color: rgba(255, 255, 255, .6); }
.ap-stat-big .ap-src a { color: #7fd3ff; }

/* ---------- Por que ---------- */
.ap-props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ap-props article { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-sm); }
.ap-props article > span { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-navy); color: #fff; margin-bottom: 12px; }
.ap-props h3 { font-size: 1.08rem; margin-bottom: 6px; }
.ap-props p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.6; }

/* ---------- Setores ---------- */
.ap-exp { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start; }
.ap-tabs { display: flex; flex-direction: column; gap: 6px; position: sticky; top: calc(var(--header-h) + 80px); }
.ap-tabs button, .ap-acc { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 9px 12px 9px 9px; font: inherit; font-weight: 600; font-size: .93rem; color: var(--navy-900); cursor: pointer; transition: .2s; }
.ap-tabs button:hover { border-color: var(--accent); }
.ap-tabs button.active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; box-shadow: var(--shadow); }
.ap-tab-ico { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-50); color: var(--blue-600); }
.ap-tabs button.active .ap-tab-ico { background: rgba(255, 255, 255, .14); color: #fff; }
.ap-acc { display: none; }
.ap-item { display: none; }
.ap-item.open { display: block; }
.ap-panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); animation: abcIn .3s ease; }
.ap-panel h3 { font-size: 1.05rem; margin-bottom: 10px; }
.ap-panel-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; }
.ap-cover { position: relative; min-height: 280px; border-radius: 18px; overflow: hidden; background: var(--grad-navy); background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.ap-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 26, 48, .92) 0%, rgba(6, 26, 48, .3) 60%, rgba(6, 26, 48, .1) 100%); }
.ap-cover.no-photo::before { background: radial-gradient(500px 260px at 80% 0%, rgba(26, 163, 232, .35), transparent 60%); }
.ap-cover-ico { position: absolute; top: 22px; right: 22px; color: rgba(255, 255, 255, .35); }
.ap-cover-txt { position: relative; padding: 20px; color: #fff; }
.ap-cover-txt .eyebrow { color: #7fd3ff; margin-bottom: 6px; }
.ap-cover-txt strong { display: block; font-family: var(--font-head); font-size: 1.9rem; line-height: 1.1; }
.ap-cover-txt small { display: block; color: rgba(255, 255, 255, .85); font-size: .9rem; margin-top: 6px; line-height: 1.45; }
.ap-why .abc-check { list-style: none; margin: 0; padding: 0; }
.ap-why .abc-check li { padding: 8px 0; font-size: .95rem; }
.ap-panel-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.ap-grades { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ap-grades li { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 10px; align-items: baseline; background: var(--bg-soft); border-radius: 10px; padding: 9px 12px; }
.ap-grades strong { font-family: var(--font-head); color: var(--navy-900); font-size: .95rem; }
.ap-grades span { color: var(--ink-2); font-size: .88rem; line-height: 1.45; }
.ap-panel .ti-key { margin-top: 18px; }
.ap-panel-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.ap-more { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Escolha ---------- */
.ap-choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ap-choice { background: #fff; color: var(--ink); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-lg); }
.ap-choice-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.ap-choice-top span { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-50); color: var(--blue-600); }
.ap-choice-top h3 { margin: 0; font-size: 1.05rem; color: var(--navy-900) !important; }
.ap-choice-grade { display: inline-block; background: var(--navy-900); color: #fff !important; font-weight: 800; font-family: var(--font-head); border-radius: 10px; padding: 6px 12px; margin: 0 0 10px; font-size: .95rem; }
.ap-choice p { color: var(--ink-2); font-size: .94rem; line-height: 1.6; margin: 0; }
.ap-choice .ap-src { color: var(--muted); }
.ap-choice .ap-src a { color: var(--blue-600); }
.ap-choice-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 24px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 18px 20px; }
.ap-choice-cta p { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: #fff; font-weight: 600; max-width: 720px; }
.ap-choice-cta .ico { flex-shrink: 0; color: #ffd27a; margin-top: 2px; }

/* ---------- Marcos ---------- */
.ap-timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: t; }
.ap-timeline li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-sm); }
.ap-timeline li::before { content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--accent), var(--blue-600)); }
.ap-year { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--navy-900); margin-bottom: 6px; }
.ap-timeline p { margin: 0; color: var(--ink-2); font-size: .94rem; line-height: 1.55; }

/* ---------- Ciclo de vida ---------- */
.ap-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.ap-figs-col { grid-template-columns: 1fr; }
.ap-figs div { background: var(--bg-soft); border-radius: 14px; padding: 16px; }
.ap-figs strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--blue-600); line-height: 1.1; margin-bottom: 4px; }
.ap-figs span { color: var(--ink-2); font-size: .92rem; line-height: 1.5; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .ap-panel-top { grid-template-columns: 1fr; }
  .ap-cover { min-height: 220px; }
  .ap-timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .ap-intro { grid-template-columns: 1fr; gap: 32px; }
  .ap-exp { grid-template-columns: 1fr; }
  .ap-tabs { display: none; }
  .ap-item { display: block; margin-bottom: 10px; }
  .ap-acc { display: flex; }
  .ap-acc > .ico:last-child { margin-left: auto; transition: .25s; }
  .ap-item.open .ap-acc { background: var(--navy-900); color: #fff; border-color: var(--navy-900); border-radius: 14px 14px 0 0; }
  .ap-item.open .ap-acc .ap-tab-ico { background: rgba(255, 255, 255, .14); color: #fff; }
  .ap-item.open .ap-acc > .ico:last-child { transform: rotate(180deg); }
  .ap-panel { display: none; border-radius: 0 0 18px 18px; border-top: 0; padding: 16px; }
  .ap-item.open .ap-panel { display: block; }
}
@media (max-width: 860px) {
  .ap-props, .ap-choices, .ap-panel-bottom { grid-template-columns: 1fr; }
  .ap-props { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ap-props, .ap-stats { grid-template-columns: 1fr; }
  .ap-timeline { grid-template-columns: 1fr; }
  .ap-figs { grid-template-columns: 1fr; }
  .ap-grades li { grid-template-columns: 1fr; gap: 2px; }
  .ap-choice-cta .btn { width: 100%; justify-content: center; }
}
