/* =========================================================
   ORIGINAL DIAGNÓSTICO — politicas.css
   Página de políticas (Privacidade, Cookies, Termos de Uso…) com abas.
   ========================================================= */

/* =================== TOPO =================== */
.pol-hero {
  height: 233px;
  padding-top: 68px;
  background: var(--c-gold) url("../img/politicas/padrao-od-dourado.svg") 355px 48px / auto 150px repeat-x;
  color: var(--c-white);
  text-align: center;
}
.pol-hero__eyebrow { line-height: 16px; }
.pol-hero__title {
  margin-top: 7px;
  font-family: var(--ff-title); font-size: clamp(2.2rem, 1.5rem + 2vw, 2.875rem); font-weight: 600; line-height: 1.35;
  color: var(--c-white);
}

/* =================== ABAS =================== */
.pol { padding: 46px 0 55px; background: #f7f7f7; }
.pol-tabs .pol-tabs__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; margin: 0; padding: 0; list-style: none; }
.pol-tab {
  display: grid; place-items: center;
  height: 72px; padding: 0 12px;
  border-radius: var(--radius);
  background: var(--c-white);
  box-shadow: 0 34px 44px rgba(0, 0, 0, .05);
  font-family: var(--ff-body); font-size: 0.75rem; font-weight: 700; line-height: 1.2;
  text-align: center; text-transform: uppercase;
  color: var(--c-green);
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.pol-tab:hover { transform: translateY(-2px); }
.pol-tab.is-active { background: var(--c-green); color: var(--c-white); }
.pol-tab:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 3px; }

/* =================== CONTEÚDO =================== */
.pol-panel { padding-top: 81px; outline: none; }
.pol-panel[hidden] { display: none; }
.pol-panel + .pol-panel { margin-top: 0; }
.pol-panel__title {
  font-family: var(--ff-title); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.625rem); font-weight: 600; line-height: 57px;
  text-align: center; color: var(--c-gold);
}
.pol-card {
  max-width: 921px;
  margin: 43px auto 0;
  padding: 55px 92px 60px 98px;
  border-radius: var(--radius);
  background: var(--c-white);
  font-size: 0.875rem; font-weight: 500; line-height: 24px;
  color: #575757;
}
.pol-card p { text-align: justify; hyphens: auto; }
.pol-card p + p, .pol-card ul + p, .pol-card .pol-table + p { margin-top: 24px; }
.pol-card__date { font-size: 0.75rem; color: #8a8a8a; text-align: left !important; }
.pol-card__date + p { margin-top: 16px !important; }
.pol-card h3 {
  margin: 36px 0 12px;
  font-family: var(--ff-title); font-size: 1.25rem; font-weight: 600; line-height: 28px;
  color: var(--c-green);
}
.pol-card ul:not([class]) { margin: 12px 0 0; padding: 0; list-style: none; }
.pol-card ul:not([class]) li { position: relative; padding-left: 20px; }
.pol-card ul:not([class]) li + li { margin-top: 8px; }
.pol-card ul:not([class]) li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; background: var(--c-gold); }
.pol-card a:not(.btn) { color: var(--c-green); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.pol-card a:not(.btn):hover { color: var(--c-gold); }
.pol-card strong { font-weight: 700; color: #444; }
.pol-card code { font-size: 0.8125rem; color: var(--c-green); }
.pol-card__action { margin-top: 20px !important; text-align: left !important; }
.pol-card__btn { min-height: 44px; border-radius: var(--radius-sm); font-weight: 700; }
.pol-card--soon p { text-align: center; }

/* pendências que o cliente precisa informar (CNPJ, DPO…) */
.pol-todo { white-space: nowrap; padding: 0 5px; border-radius: 3px; background: #fff1c2; color: #7a5d00; font-weight: 600; }

/* Tabelas */
.pol-table { margin-top: 16px; overflow-x: auto; border: 1px solid #e6e6e6; border-radius: var(--radius-sm); }
.pol-table:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 2px; }
.pol-table table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.75rem; line-height: 18px; }
.pol-table th, .pol-table td { padding: 12px 14px; border-bottom: 1px solid #ececec; text-align: left; vertical-align: top; }
.pol-table thead th { background: #fbf9f3; font-weight: 700; color: var(--c-green); white-space: nowrap; }
.pol-table tbody th { font-weight: 700; color: var(--c-green); }
.pol-table tbody tr:last-child > * { border-bottom: 0; }
.pol-table tbody tr:nth-child(even) { background: #fcfcfc; }

/* =================== RESPONSIVO =================== */
@media (max-width: 1100px) {
  .pol-tabs .pol-tabs__list { gap: 14px; }
}
@media (max-width: 900px) {
  .pol-hero { height: auto; padding: 48px 0 52px; background-size: auto 110px; background-position: 97px 40px; }
  .pol-tabs { margin-inline: calc(var(--gutter) * -1); overflow-x: auto; scrollbar-width: none; }
  .pol-tabs::-webkit-scrollbar { display: none; }
  .pol-tabs .pol-tabs__list { display: flex; gap: 12px; padding: 4px var(--gutter) 24px; width: max-content; }
  .pol-tab { height: 56px; padding: 0 20px; white-space: nowrap; box-shadow: 0 10px 24px rgba(0, 0, 0, .06); }
  .pol-panel { padding-top: 32px; }
  .pol-panel__title { line-height: 1.2; }
  .pol-card { margin-top: 24px; padding: 36px 28px 40px; }
}
@media (max-width: 640px) {
  .pol-card { padding: 28px 18px 32px; margin-inline: calc(var(--gutter) * -0.5); }
  .pol-card p { text-align: left; }
  /* tabela vira lista de cartões, com o título de cada coluna */
  .pol-table { border: 0; overflow: visible; }
  .pol-table table { min-width: 0; }
  .pol-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pol-table tr { display: block; margin-top: 12px; border: 1px solid #e6e6e6; border-radius: var(--radius-sm); background: var(--c-white) !important; }
  .pol-table th, .pol-table td { display: block; padding: 8px 14px; border-bottom: 1px solid #f0f0f0; }
  .pol-table tbody th { background: #fbf9f3; }
  .pol-table td[data-label]::before { content: attr(data-label); display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c-gold-dark); }
}
