/* Gestor STA — Políticas
   Página pública /politicas/ para Segurança e Privacidade, Cookies e Antispam. */

.policy-page {
  min-height: 100svh;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% -8%, rgba(0, 213, 232, .18), transparent 29%),
    radial-gradient(circle at 86% 4%, rgba(15, 99, 255, .13), transparent 30%),
    linear-gradient(180deg, #eef7ff 0%, #f8fbff 42%, #eef5ff 100%);
}

.policy-header {
  width: min(1160px, calc(100% - 32px));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
}

.policy-header::before {
  content: "";
  position: absolute;
  inset: 10px -12px 8px;
  border: 1px solid rgba(204, 215, 232, .64);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 14px 40px rgba(7, 23, 59, .08);
  z-index: -1;
}

.policy-logo {
  width: 154px;
  display: block;
  border-radius: 14px;
  text-decoration: none;
}

.policy-logo img {
  width: 100%;
  height: auto;
}

.policy-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-link,
.policy-button,
.card-link,
.print-button,
.copy-policy-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 12.5px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), color var(--transition), filter var(--transition);
}

.policy-link {
  color: var(--blue-600);
  border: 1px solid rgba(15, 99, 255, .18);
  background: rgba(255,255,255,.74);
}

.policy-link:hover {
  border-color: rgba(15, 99, 255, .34);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 99, 255, .10);
}

.policy-button,
.card-link,
.print-button {
  border: 0;
  color: #fff;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
  box-shadow: 0 14px 34px rgba(15, 99, 255, .22);
}

.policy-button:hover,
.card-link:hover,
.print-button:hover {
  filter: saturate(1.08);
  box-shadow: 0 18px 42px rgba(15, 99, 255, .30);
}

.policy-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 42px;
}

.policy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

.policy-hero-content,
.policy-summary-card,
.policy-card,
.policy-document,
.policy-index-card {
  border: 1px solid rgba(204, 215, 232, .78);
  background: rgba(255,255,255,.88);
  box-shadow: 0 22px 70px rgba(7, 23, 59, .10);
  backdrop-filter: blur(18px);
}

.policy-hero-content {
  min-height: 284px;
  display: grid;
  align-content: center;
  position: relative;
  overflow: hidden;
  padding: 36px;
  border-radius: 22px;
}

.policy-hero-content::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  right: -145px;
  top: -160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0,213,232,.24), transparent 66%);
}

.policy-eyebrow,
.section-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-600);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.policy-eyebrow {
  margin-bottom: 16px;
}

.policy-eyebrow::before,
.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan-400);
  box-shadow: 0 0 0 6px rgba(0, 213, 232, .13), 0 0 24px rgba(0, 213, 232, .42);
}

.policy-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: .96;
  letter-spacing: -.06em;
  font-weight: 900;
}

.policy-hero p {
  max-width: 690px;
  margin: 18px 0 0;
  color: #50617e;
  font-size: 15px;
  line-height: 1.58;
  font-weight: 650;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.policy-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(15, 99, 255, .15);
  border-radius: 999px;
  color: #53647f;
  background: rgba(242, 247, 255, .92);
  font-size: 12px;
  font-weight: 800;
}

.policy-meta strong {
  color: var(--ink);
}

.policy-summary-card {
  display: grid;
  align-content: center;
  padding: 28px;
  border-radius: 22px;
}

.summary-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  box-shadow: 0 14px 30px rgba(15, 99, 255, .24);
}

.summary-icon svg {
  width: 27px;
  height: 27px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.policy-summary-card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 900;
}

.policy-summary-card p {
  margin: 13px 0 0;
  color: #596a86;
  font-size: 13.3px;
  line-height: 1.55;
  font-weight: 650;
}

.policy-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.policy-card {
  padding: 22px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.policy-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -58px;
  top: -68px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 213, 232, .17), transparent 70%);
}

.policy-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 12px;
  color: var(--blue-600);
  background: rgba(15, 99, 255, .08);
  font-size: 12px;
  font-weight: 900;
}

.policy-card h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 900;
}

.policy-card p {
  min-height: 64px;
  margin: 12px 0 18px;
  color: #5b6b86;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 650;
}

.card-link {
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  font-size: 12px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.policy-index {
  position: sticky;
  top: 88px;
}

.policy-index-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 20px;
}

.policy-index-card strong {
  display: block;
  margin: 4px 4px 8px;
  color: #263655;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.policy-index-card a {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 12px;
  color: #53647f;
  font-size: 12.2px;
  font-weight: 850;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.policy-index-card a:hover,
.policy-index-card a.is-active {
  color: var(--blue-600);
  background: rgba(15, 99, 255, .08);
}

.policy-document {
  overflow: hidden;
  border-radius: 22px;
}

.policy-section {
  position: relative;
  padding: 34px 38px 34px 82px;
  border-bottom: 1px solid rgba(204, 215, 232, .62);
  scroll-margin-top: 94px;
}

.policy-section:last-of-type {
  border-bottom: 0;
}

.policy-section.is-highlight {
  background: linear-gradient(135deg, rgba(15, 99, 255, .075), rgba(0, 213, 232, .055));
}

.section-number {
  position: absolute;
  left: 32px;
  top: 36px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--blue-600);
  background: rgba(15, 99, 255, .08);
  font-size: 11px;
  font-weight: 900;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.policy-section h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 900;
}

.section-heading h2 {
  margin: 0;
}

.policy-section h3 {
  margin: 0 0 13px;
  color: #17284a;
  font-size: 16px;
  letter-spacing: -.025em;
  font-weight: 900;
}

.policy-section p {
  margin: 0 0 14px;
  color: #53647f;
  font-size: 14px;
  line-height: 1.68;
  font-weight: 620;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-pill-grid,
.security-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.policy-pill-grid span,
.security-checklist span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(15, 99, 255, .14);
  border-radius: 999px;
  color: #213455;
  background: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 850;
}

.definition-grid,
.support-rule-grid,
.cookie-grid,
.do-dont-grid,
.contact-policy-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.definition-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.definition-grid div,
.support-rule-grid article,
.cookie-grid article,
.do-dont-grid article,
.contact-policy-grid article,
.notice-card {
  border: 1px solid rgba(204, 215, 232, .74);
  border-radius: 18px;
  background: rgba(248, 251, 255, .82);
  box-shadow: 0 10px 28px rgba(7, 23, 59, .05);
}

.definition-grid div {
  padding: 16px;
}

.definition-grid strong,
.support-rule-grid strong,
.cookie-grid strong,
.notice-card strong,
.contact-policy-grid strong {
  display: block;
  color: #17284a;
  font-size: 13px;
  font-weight: 900;
}

.definition-grid p,
.support-rule-grid span,
.cookie-grid p,
.notice-card p,
.contact-policy-grid p {
  margin: 8px 0 0;
  color: #5f6f89;
  font-size: 12.7px;
  line-height: 1.55;
  font-weight: 650;
}

.accordion-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.policy-accordion {
  border: 1px solid rgba(204, 215, 232, .74);
  border-radius: 18px;
  background: rgba(248, 251, 255, .82);
  overflow: hidden;
}

.policy-accordion summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  color: #17284a;
  font-size: 13.5px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.policy-accordion summary::-webkit-details-marker {
  display: none;
}

.policy-accordion summary::after {
  content: "+";
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--blue-600);
  background: rgba(15, 99, 255, .08);
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
}

.policy-accordion[open] summary::after {
  content: "−";
}

.policy-accordion p {
  margin: 0;
  padding: 0 18px 18px;
  font-size: 13px;
}

.support-rule-grid,
.cookie-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-rule-grid article,
.cookie-grid article {
  padding: 17px;
}

.security-checklist span {
  background: rgba(242, 247, 255, .95);
}

.notice-card {
  margin-top: 18px;
  padding: 18px;
}

.blue-notice {
  background: linear-gradient(135deg, rgba(15, 99, 255, .075), rgba(0, 213, 232, .055));
}

.do-dont-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.do-dont-grid article {
  padding: 18px;
}

.do-dont-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.do-dont-grid li {
  position: relative;
  padding-left: 22px;
  color: #5a6a86;
  font-size: 12.8px;
  line-height: 1.46;
  font-weight: 680;
}

.do-dont-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(0, 213, 232, .13);
}

.blocked-card li::before {
  background: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(15, 99, 255, .12);
}

.contact-policy-section {
  background: linear-gradient(180deg, rgba(248, 251, 255, .88), rgba(255, 255, 255, .94));
}

.contact-policy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-policy-grid article {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.copy-policy-button {
  width: fit-content;
  border: 1px solid rgba(15, 99, 255, .18);
  color: var(--blue-600);
  background: #fff;
  cursor: pointer;
}

.copy-policy-button:hover {
  border-color: rgba(15, 99, 255, .34);
  box-shadow: 0 10px 24px rgba(15, 99, 255, .10);
}

.small-note {
  margin-top: 16px !important;
  color: #71809a !important;
  font-size: 12.5px !important;
}

.policy-document-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 38px;
  background: linear-gradient(90deg, var(--navy-950), var(--navy-850));
  color: #fff;
}

.policy-document-footer div {
  display: grid;
  gap: 5px;
}

.policy-document-footer strong {
  font-size: 16px;
  font-weight: 900;
}

.policy-document-footer span {
  color: rgba(255,255,255,.72);
  font-size: 12.5px;
  font-weight: 700;
}

.print-button {
  min-height: 38px;
  white-space: nowrap;
}

.back-to-top {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 35;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  box-shadow: 0 16px 32px rgba(15, 99, 255, .28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(.94);
  transition: opacity var(--transition), transform var(--transition);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.policy-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 40;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 23, 59, .92);
  box-shadow: 0 16px 40px rgba(7, 23, 59, .22);
  font-size: 12.5px;
  font-weight: 850;
  transition: opacity var(--transition), transform var(--transition);
}

.policy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1023px) {
  .policy-header {
    width: min(760px, calc(100% - 28px));
    height: auto;
    min-height: 70px;
    padding: 12px 0;
  }

  .policy-header::before {
    border-radius: 24px;
  }

  .policy-logo {
    width: 136px;
  }

  .policy-actions {
    gap: 7px;
  }

  .policy-link {
    display: none;
  }

  .policy-button {
    min-height: 36px;
    padding: 0 14px;
  }

  .policy-shell {
    width: min(760px, calc(100% - 28px));
    padding-top: 26px;
  }

  .policy-hero {
    grid-template-columns: 1fr;
  }

  .policy-hero-content {
    min-height: unset;
    padding: 28px;
  }

  .policy-summary-card {
    padding: 24px;
  }

  .policy-cards,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-index {
    position: static;
  }

  .policy-index-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-index-card strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .policy-page {
    background: linear-gradient(180deg, #f2f8ff 0%, #f8fbff 54%, #eef6ff 100%);
  }

  .policy-header {
    width: calc(100% - 22px);
    min-height: 64px;
  }

  .policy-header::before {
    inset: 8px -4px;
    border-radius: 20px;
  }

  .policy-logo {
    width: 124px;
  }

  .policy-button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 11.5px;
  }

  .policy-shell {
    width: calc(100% - 22px);
    padding: 20px 0 30px;
  }

  .policy-hero-content,
  .policy-summary-card,
  .policy-card,
  .policy-document,
  .policy-index-card {
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(7, 23, 59, .08);
  }

  .policy-hero-content {
    padding: 24px 20px;
  }

  .policy-hero h1 {
    font-size: clamp(32px, 13vw, 44px);
    letter-spacing: -.055em;
  }

  .policy-hero p {
    font-size: 13.5px;
    line-height: 1.58;
  }

  .policy-meta span {
    min-height: 30px;
    font-size: 11.2px;
  }

  .policy-summary-card,
  .policy-card {
    padding: 20px;
  }

  .policy-card p {
    min-height: unset;
  }

  .policy-index-card {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .policy-index-card a {
    min-height: 34px;
    font-size: 12px;
  }

  .policy-section {
    padding: 26px 18px 26px 18px;
  }

  .section-number {
    position: static;
    margin-bottom: 14px;
  }

  .policy-section h2 {
    font-size: 23px;
  }

  .policy-section p {
    font-size: 13.2px;
  }

  .definition-grid,
  .support-rule-grid,
  .cookie-grid,
  .do-dont-grid,
  .contact-policy-grid {
    grid-template-columns: 1fr;
  }

  .policy-pill-grid span,
  .security-checklist span {
    width: 100%;
    min-height: 32px;
    border-radius: 12px;
    justify-content: flex-start;
  }

  .policy-document-footer {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }

  .print-button,
  .copy-policy-button {
    width: 100%;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
}

@media print {
  .policy-header,
  .policy-index,
  .back-to-top,
  .policy-toast,
  .policy-actions,
  .policy-document-footer .print-button {
    display: none !important;
  }

  .policy-page {
    background: #fff !important;
  }

  .policy-shell,
  .policy-layout {
    width: 100% !important;
    display: block !important;
    padding: 0 !important;
  }

  .policy-hero,
  .policy-cards {
    display: none !important;
  }

  .policy-document,
  .policy-section,
  .definition-grid div,
  .support-rule-grid article,
  .cookie-grid article,
  .do-dont-grid article,
  .notice-card {
    box-shadow: none !important;
    background: #fff !important;
  }

  .policy-document {
    border: 0 !important;
  }

  .policy-section {
    break-inside: avoid;
    padding: 22px 0 22px 54px !important;
  }

  .section-number {
    left: 0 !important;
  }
}
