/* Estilo das páginas legais da Oceanic (privacidade, termos, cookies, acessibilidade). */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 900; font-display: swap; src: url("fonts/montserrat-latin-900-normal.woff2") format("woff2"); }

:root {
  --navy: #2B4162;
  --navy-2: #2B4162;
  --ink: #2B4162;
  --muted: #4A5B6B;
  --link: #2B4162;
  --line: rgba(16, 42, 67, .14);
  --paper: #FCFAF9;
  --cream: #F5F3EE;
  --solar: #FFD15C;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute; z-index: 10001; left: 12px; top: -80px;
  padding: 12px 16px; border-radius: 10px;
  background: #FFFFFF; color: var(--navy-2); font-weight: 800;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }

.legal-header {
  background: var(--navy);
  color: #FFFFFF;
  padding: 18px 0 40px;
}
.legal-header a:focus-visible { outline-color: var(--solar); }
.legal-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-header__logo img { width: 46px; height: auto; display: block; }
.legal-header__back { color: #FFFFFF; font-size: .85rem; font-weight: 600; }
.legal-header h1 {
  margin: 34px 0 8px;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 900;
}
.legal-header p { margin: 0; color: rgba(255,255,255,.82); font-size: .9rem; }

.wrap { width: min(calc(100% - 36px), 780px); margin-inline: auto; }

main { padding: 36px 0 60px; }

.summary {
  margin: 0 0 32px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--link);
  border-radius: 12px;
  background: #FFFFFF;
}
.summary h2 { margin-top: 0; }
.summary ul { margin-bottom: 0; }

h2 {
  margin: 40px 0 10px;
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -.015em;
  font-weight: 800;
  color: var(--navy-2);
}
h3 { margin: 24px 0 6px; font-size: 1.05rem; font-weight: 800; color: var(--navy-2); }
p, li { max-width: 72ch; }
ul, ol { padding-left: 1.3rem; }
li + li { margin-top: 6px; }

.toc { margin: 0 0 32px; padding: 18px 22px; border-radius: 12px; background: var(--cream); }
.toc h2 { margin: 0 0 8px; font-size: 1rem; }
.toc ol { margin: 0; columns: 2 260px; column-gap: 32px; }
.toc li { break-inside: avoid; }

.table-scroll { overflow-x: auto; margin: 14px 0 6px; border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; line-height: 1.5; min-width: 620px; }
caption { text-align: left; padding: 12px 14px 0; font-weight: 800; color: var(--navy-2); }
th, td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--cream); font-weight: 800; color: var(--navy-2); }
tr:last-child td { border-bottom: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 18px; border-radius: 10px;
  border: 0; background: var(--navy-2); color: #FFFFFF;
  font: inherit; font-size: .85rem; font-weight: 800; cursor: pointer;
}

/* Campos que o responsável pelo site precisa completar antes de publicar. */
mark.preencher { background: #FFE58A; color: #3A2A00; padding: 0 4px; border-radius: 4px; font-weight: 600; }

.legal-footer { border-top: 1px solid var(--line); padding: 22px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .82rem; color: var(--muted); }
.legal-footer ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.legal-footer li + li { margin-top: 0; }
.legal-footer button { background: none; border: 0; padding: 0; color: var(--link); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.legal-footer p { margin: 12px 0 0; }

@media print {
  .legal-header { background: none; color: #000; padding-bottom: 0; }
  .legal-header p { color: #000; }
  .legal-header__bar, .skip-link, .legal-footer ul, .oc-consent { display: none !important; }
}

/* Textura de papel sobre o fundo #FCFAF9 (20% de opacidade), igual à página principal. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .20;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .37 0 0 0 0 .31 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}
