/* Central de ajuda (/ajuda) — mesmo sistema visual da landing */
:root {
  --blue: #5990fd;
  --blue-600: #4a7ff0;
  --blue-700: #3b6be0;
  --blue-50: #eef3ff;
  --blue-100: #dde8ff;
  --navy: #1e2645;
  --navy-800: #283156;
  --slate: #6f7794;
  --slate-300: #aab0c6;
  --line: #dfe2ee;
  --soft: #f3f5fb;
  --white: #fff;
  --green: #22a06b;
  --wa: #1fa855;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(30, 38, 69, .06), 0 1px 3px rgba(30, 38, 69, .08);
  --shadow: 0 10px 30px -12px rgba(30, 38, 69, .18), 0 4px 10px -4px rgba(30, 38, 69, .08);
  --container: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body.ca {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--navy); background: var(--white); -webkit-font-smoothing: antialiased;
}
.ca img { max-width: 100%; height: auto; }
.ca a { color: var(--blue-700); text-decoration: none; }
.ca a:hover { text-decoration: underline; }
.ca h1, .ca h2, .ca h3 { margin: 0; line-height: 1.2; letter-spacing: -.02em; color: var(--navy); }
.ca p { margin: 0; }
.ca ul { margin: 0; padding: 0; list-style: none; }
.ca button, .ca input { font: inherit; color: inherit; }
.ca :focus-visible { outline: 3px solid rgba(89, 144, 253, .55); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--navy); color: #fff !important; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.ca-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.ca-icon { width: 1.2em; height: 1.2em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ca-icon-inline { width: 1em; height: 1em; vertical-align: -2px; color: var(--blue); }

/* Botões */
.ca-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, box-shadow .2s, color .2s, border-color .2s;
}
.ca a.ca-btn:hover { text-decoration: none; }
.ca-btn-primary { background: var(--blue-600); color: #fff !important; box-shadow: 0 8px 20px -10px rgba(74, 127, 240, .8); }
.ca-btn-primary:hover { background: var(--blue-700); }
.ca-btn-ghost { background: #fff; color: var(--navy) !important; border-color: var(--line); }
.ca-btn-ghost:hover { border-color: var(--blue); color: var(--blue-700) !important; }
.ca-btn-whatsapp { background: var(--wa); color: #fff !important; }
.ca-btn-whatsapp:hover { background: #178f47; }
.ca-btn-sm { min-height: 38px; padding: 7px 14px; font-size: 14px; border-radius: 10px; }

/* Header */
.ca-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.ca-header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.ca-brand { display: inline-flex; align-items: center; gap: 10px; }
.ca a.ca-brand:hover { text-decoration: none; }
.ca-logo {
  display: inline-block; width: 124px; height: 30px; background: var(--blue);
  -webkit-mask: url(../images/logotipo.svg) no-repeat center / contain;
  mask: url(../images/logotipo.svg) no-repeat center / contain;
}
.ca-logo--white { background: #fff; width: 104px; height: 26px; }
.ca-brand-tag { padding: 3px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-size: 13px; font-weight: 700; }
.ca-header-nav { display: flex; align-items: center; gap: 18px; }
.ca-header-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--navy) !important; }
.ca-header-link .ca-icon { color: var(--wa); }

/* Hero */
.ca-hero { background: linear-gradient(180deg, var(--blue-50) 0%, #fff 100%); padding: 64px 0 56px; text-align: center; }
.ca-hero-inner { max-width: 760px; }
.ca-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-700); margin-bottom: 10px !important; }
.ca-hero h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; }
.ca-hero-sub { margin-top: 12px !important; font-size: 18px; color: var(--slate); }
.ca-hero .ca-search { margin: 28px auto 0; }
.ca-hero-tags { margin-top: 16px !important; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 14px; color: var(--slate); align-items: center; }
.ca-hero-tags a { padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy) !important; font-weight: 500; }
.ca-hero-tags a:hover { border-color: var(--blue); text-decoration: none; }

/* Busca */
.ca-search { position: relative; display: flex; align-items: center; gap: 8px; max-width: 680px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); text-align: left; }
.ca-search:focus-within { border-color: var(--blue); }
.ca-search-icon { margin-left: 10px; color: var(--slate); }
.ca-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 10px 4px; font-size: 16px; }
.ca-search input::-webkit-search-cancel-button { cursor: pointer; }
.ca-search-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; max-height: 360px; overflow: auto;
}
.ca-search-list li a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--navy) !important; }
.ca-search-list li a:hover, .ca-search-list li[aria-selected="true"] a { background: var(--blue-50); text-decoration: none; }
.ca-search-list .s-title { display: block; font-weight: 600; }
.ca-search-list .s-cat { display: block; font-size: 13px; color: var(--slate); }
.ca-search-list .s-all { color: var(--blue-700) !important; font-weight: 600; }
.ca-search-list mark { background: transparent; color: var(--blue-700); }

/* Seções */
.ca-section { padding: 64px 0; }
.ca-section--soft { background: var(--soft); }
.ca-section--tight { padding: 40px 0 64px; }
.ca-section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.ca-section-head p { color: var(--slate); }
.ca-section-title { font-size: 26px; font-weight: 800; margin-bottom: 24px !important; }
.ca-section-head .ca-section-title { margin-bottom: 0 !important; }
.ca-section-title--sm { font-size: 20px; margin-top: 40px !important; }

/* Tópicos */
.ca-topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ca-topic { display: flex; gap: 16px; height: 100%; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy) !important; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ca a.ca-topic:hover { border-color: var(--blue); box-shadow: var(--shadow); text-decoration: none; transform: translateY(-2px); }
.ca-topic-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue-700); flex: none; }
.ca-topic-icon .ca-icon { width: 24px; height: 24px; }
.ca-topic-body { display: flex; flex-direction: column; gap: 4px; }
.ca-topic-title { font-weight: 700; font-size: 17px; }
.ca-topic-desc { color: var(--slate); font-size: 15px; line-height: 1.5; }
.ca-topic-count { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 600; color: var(--blue-700); }

/* Vídeos */
.ca-videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ca-video-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 12px 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy) !important; }
.ca a.ca-video-card:hover { border-color: var(--blue); box-shadow: var(--shadow); text-decoration: none; }
.ca-video-thumb { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 10px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-800) 55%, var(--blue-700) 140%); color: #fff; margin-bottom: 6px; }
.ca-video-thumb { position: relative; overflow: hidden; }
.ca-video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ca-video-thumb .ca-icon { position: relative; z-index: 1; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); width: 46px; height: 46px; stroke-width: 1.5; opacity: .9; }
.ca-video-card:hover .ca-video-thumb .ca-icon { opacity: 1; transform: scale(1.06); transition: transform .2s; }
/* A capa já traz o título desenhado no centro: o play vai para o canto */
.ca-video-thumb--capa { place-items: end start; }
.ca-video-thumb--capa .ca-icon { width: 34px; height: 34px; margin: 10px; }
.ca-video-title { font-weight: 700; padding: 0 4px; }
.ca-video-cat { font-size: 13px; color: var(--slate); padding: 0 4px; }

/* Listas de artigos */
.ca-article-list { display: flex; flex-direction: column; gap: 10px; }
.ca-article-list--grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ca-article-link { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--navy) !important; transition: border-color .2s, box-shadow .2s; }
.ca a.ca-article-link:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); text-decoration: none; }
.ca-article-title { font-weight: 700; font-size: 16px; }
.ca-article-resumo { color: var(--slate); font-size: 15px; line-height: 1.5; }
.ca-article-cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-700); }
.ca-badge { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-size: 12px; font-weight: 700; vertical-align: 2px; }
.ca-badge .ca-icon { width: 12px; height: 12px; }
.ca-badge--soft { background: var(--soft); color: var(--slate); margin-left: 0; }
.ca-results-count { color: var(--slate); margin-bottom: 14px !important; }

/* Cabeçalho das páginas internas */
.ca-page-head { background: var(--soft); padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.ca-page-head--article { padding: 18px 0; }
.ca-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--slate); }
.ca-crumbs .ca-icon { width: 14px; height: 14px; }
.ca-page-title { display: flex; gap: 16px; align-items: center; margin: 20px 0 22px; }
.ca-page-title h1 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; }
.ca-page-title p { color: var(--slate); margin-top: 4px !important; }
.ca-search-title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin: 18px 0 20px !important; }
.ca-page-head .ca-search { box-shadow: var(--shadow-sm); }

/* Layout com coluna lateral */
.ca-with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
.ca-aside { position: sticky; top: 92px; }
.ca-aside-title { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); margin: 0 0 10px !important; }
.ca-aside-list { display: flex; flex-direction: column; margin-bottom: 28px !important; }
.ca-aside-list a { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 8px; color: var(--navy) !important; font-size: 15px; line-height: 1.4; }
.ca-aside-list a:hover { background: var(--soft); text-decoration: none; }
.ca-aside-list a[aria-current="page"] { background: var(--blue-50); color: var(--blue-700) !important; font-weight: 600; }

/* Artigo */
.ca-article-wrap { padding-top: 36px; padding-bottom: 64px; }
.ca-article h1 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; }
.ca-article-lead { margin-top: 12px !important; font-size: 19px; color: var(--slate); line-height: 1.5; }
.ca-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px !important; font-size: 14px; color: var(--slate); }
.ca-video { position: relative; margin: 28px 0 8px; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow); }
.ca-video iframe, .ca-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.ca-prose { margin-top: 28px; font-size: 17px; line-height: 1.7; color: #2b3352; }
.ca-prose > * + * { margin-top: 16px; }
.ca-prose h2 { font-size: 22px; font-weight: 800; margin-top: 36px; }
.ca-prose h3 { font-size: 18px; font-weight: 700; margin-top: 28px; }
.ca-prose ul, .ca-prose ol { padding-left: 0; }
.ca-prose ul li { position: relative; padding-left: 22px; margin-top: 8px; }
.ca-prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.ca-prose ol { counter-reset: passo; list-style: none; }
.ca-prose ol > li { counter-increment: passo; position: relative; padding: 2px 0 2px 46px; margin-top: 14px; }
.ca-prose ol > li::before {
  content: counter(passo); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue-700); font-weight: 800; font-size: 15px;
}
.ca-prose strong { color: var(--navy); }
.ca-prose kbd, .ca-prose .ui {
  display: inline-block; padding: 1px 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--soft);
  font-family: inherit; font-size: .9em; font-weight: 600; color: var(--navy); white-space: nowrap;
}
.ca-prose .dica, .ca-prose .aviso { padding: 14px 18px; border-radius: 12px; border-left: 4px solid var(--blue); background: var(--blue-50); }
.ca-prose .aviso { border-left-color: #e0a100; background: #fff7e0; }
.ca-prose .dica strong:first-child, .ca-prose .aviso strong:first-child { display: block; margin-bottom: 2px; }
.ca-prose iframe { max-width: 100%; }
.ca-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ca-prose th, .ca-prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ca-prose th { background: var(--soft); font-weight: 700; color: var(--navy); }
.ca-article-cta { margin-top: 28px !important; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.ca-article-cta-hint { color: var(--slate); font-size: 15px; }

.ca-feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 40px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.ca-feedback-q { font-weight: 700; }
.ca-feedback-actions { display: flex; gap: 8px; }
.ca-feedback-ok, .ca-feedback-no { color: var(--slate); }

.ca-empty { max-width: 640px; margin: 0 auto 8px; text-align: center; }
.ca-empty h1, .ca-empty h2 { font-size: 24px; font-weight: 800; }
.ca-empty p { color: var(--slate); margin-top: 10px !important; }
.ca-empty .ca-search { margin: 24px auto; }

/* Contato */
.ca-contact { padding: 0 0 64px; }
.ca-contact-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 36px; border-radius: 20px; background: var(--navy); color: var(--slate-300); flex-wrap: wrap; }
.ca-contact-box h2 { color: #fff; font-size: 24px; font-weight: 800; }
.ca-contact-box p { margin-top: 6px !important; }
.ca-contact-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Rodapé */
.ca-footer { padding: 28px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--slate); }
.ca-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ca-footer-brand { display: flex; align-items: center; gap: 14px; }
.ca-footer-brand .ca-logo { background: var(--slate-300); }
.ca-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.ca-footer-links a { color: var(--slate) !important; }
.ca-stores { display: flex; gap: 8px; }
.ca-stores img { height: 36px; width: auto; display: block; }

/* Responsivo */
@media (max-width: 960px) {
  .ca-topics, .ca-videos { grid-template-columns: repeat(2, 1fr); }
  .ca-with-aside { grid-template-columns: 1fr; gap: 32px; }
  .ca-aside { position: static; }
}
@media (max-width: 640px) {
  .ca-container { padding-left: 16px; padding-right: 16px; }
  .ca-hide-sm, .ca-header-link span { display: none; }
  .ca-header-inner { height: 60px; }
  .ca-logo { width: 104px; height: 26px; }
  .ca-hero { padding: 40px 0 36px; }
  .ca-hero-sub { font-size: 16px; }
  .ca-search { flex-wrap: nowrap; }
  .ca-search .ca-btn { padding: 10px 14px; }
  .ca-section { padding: 44px 0; }
  .ca-topics, .ca-videos, .ca-article-list--grid { grid-template-columns: 1fr; }
  .ca-topic { padding: 18px; }
  .ca-contact-box { padding: 24px; }
  .ca-contact-actions, .ca-contact-actions .ca-btn { width: 100%; }
  .ca-prose { font-size: 16px; }
  .ca-footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .ca * { transition: none !important; }
}
