/* creative-ti.com/contrato (24/11/2026, pedido do Lucca): termos de uso dos cursos da Creative-TI (o texto do PDF
   oficial) e a politica de privacidade. Mesmo molde da /certificacao: fundo azul-marinho, grade, vidro, Poppins + Inter,
   logo redondo. O texto dos documentos fica em colunas de leitura, com o indice das clausulas ao lado. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/contrato/assets/fontes/inter-var.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/contrato/assets/fontes/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/contrato/assets/fontes/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/contrato/assets/fontes/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('/contrato/assets/fontes/poppins-800.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --fundo: #02070b;
  --fundo-2: #040c13;
  --texto: #f2f7fa;
  --texto-2: #b6c5cf;
  --texto-3: #8497a4;
  --azul: #2e7697;
  --azul-claro: #76b7d5;
  --azul-vivo: #3aa0d8;
  --verde: #45d39a;
  --ambar: #f3b44b;
  --linha: rgba(255, 255, 255, .09);
  --linha-azul: rgba(118, 183, 213, .24);
  --raio: 20px;
  --tit: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --txt: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --topo: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo) + 96px); }
body { margin: 0; background: var(--fundo); color: var(--texto); font: 400 16px/1.6 var(--txt);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, video, svg, iframe { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
b, strong { font-weight: 650; color: var(--texto); }
code { font: 600 .92em/1.3 ui-monospace, 'Cascadia Mono', Consolas, monospace; color: #fff; }
:focus-visible { outline: 2px solid var(--azul-claro); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(58, 160, 216, .45); color: #fff; }
[hidden] { display: none !important; }

.cx { width: min(1180px, 100% - 40px); margin-inline: auto; }
.so-leitor { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pular { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: #fff; color: #02070b; font-weight: 600; text-decoration: none; }
.pular:focus { top: 12px; }

/* ───────────── peças */
.vidro { position: relative; border: 1px solid var(--linha); border-radius: var(--raio);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .016));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 28px 60px -36px rgba(0, 0, 0, .9); }

.olho { display: inline-flex; align-items: center; gap: 10px; font: 600 .76rem/1.2 var(--tit); letter-spacing: .15em; text-transform: uppercase; color: var(--azul-claro); }
.olho::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #a9dcf2, var(--azul-vivo)); box-shadow: 0 0 0 4px rgba(118, 183, 213, .14); }

h1, h2, h3 { font-family: var(--tit); letter-spacing: -.02em; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.1rem, 3.6vw + .9rem, 3.85rem); line-height: 1.07; letter-spacing: -.03em; }
h2 { font-weight: 700; font-size: clamp(1.65rem, 2vw + 1rem, 2.6rem); line-height: 1.14; }
h3 { font-weight: 600; font-size: 1.12rem; line-height: 1.3; letter-spacing: -.01em; }
.realce { background: linear-gradient(100deg, #bfe6f7 0%, var(--azul-claro) 45%, var(--azul-vivo) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }

.bt { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 14px;
  border: 1px solid transparent; font: 600 .97rem/1.1 var(--tit); letter-spacing: -.005em; text-decoration: none; text-align: center; white-space: nowrap; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease; }
.bt .ic { transition: transform .18s ease; }
.bt:hover .ic { transform: translateX(3px); }
.bt[href^="#"]:hover .ic { transform: translateY(2px); }
.bt-g { min-height: 56px; padding: 0 26px; font-size: 1.02rem; border-radius: 16px; }
.bt-m { min-height: 42px; padding: 0 16px; font-size: .9rem; border-radius: 12px; }
.bt-p { color: #fff; background: linear-gradient(135deg, #3f97bd 0%, #2e7697 45%, #0c4a69 100%);
  box-shadow: 0 14px 34px -14px rgba(58, 160, 216, .9), inset 0 1px 0 rgba(255, 255, 255, .26); }
.bt-p:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(58, 160, 216, 1), inset 0 1px 0 rgba(255, 255, 255, .3); }
.bt-s { color: var(--texto); background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); }
.bt-s:hover { background: rgba(118, 183, 213, .12); border-color: rgba(118, 183, 213, .5); transform: translateY(-2px); }
.bt:active { transform: translateY(0); }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

html.js .revela { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
html.js .revela.visto { opacity: 1; transform: none; }

/* ───────────── topo (o rodapé padrão põe o menu à esquerda do logo e os atalhos à direita) */
.topo { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--topo); border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease; }
.topo.rolou { background: rgba(2, 7, 11, .8); border-bottom-color: var(--linha);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); }
.topo-linha { height: 100%; display: flex; align-items: center; gap: 28px; }
/* Logo redondo da Creative (o mesmo das outras páginas de creative-ti.com) */
.marca { flex: none; display: block; border-radius: 50%; overflow: hidden; box-shadow: none; }
.marca img, header img[src*="logo-creative-redondo"] { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.topo-menu { display: flex; gap: 4px; }
.topo-menu a { padding: 9px 12px; border-radius: 10px; font: 500 .93rem var(--tit); color: var(--texto-2); text-decoration: none; white-space: nowrap; transition: color .15s, background-color .15s; }
.topo-menu a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.topo-bt { margin-left: auto; }

/* ───────────── início */
.heroi { position: relative; padding: calc(var(--topo) + 64px) 0 56px; overflow: hidden; isolation: isolate; }
.heroi-fundo { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
.grade { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(118, 183, 213, .075) 1px, transparent 1px), linear-gradient(90deg, rgba(118, 183, 213, .075) 1px, transparent 1px);
  background-size: 58px 58px; -webkit-mask-image: radial-gradient(ellipse 75% 70% at 55% 28%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse 75% 70% at 55% 28%, #000 15%, transparent 72%); }
.luz { position: absolute; border-radius: 50%; }
.luz-1 { width: 760px; height: 760px; right: -220px; top: -260px; background: radial-gradient(circle, rgba(58, 160, 216, .34), rgba(58, 160, 216, 0) 64%); animation: deriva 16s ease-in-out infinite alternate; }
.luz-2 { width: 620px; height: 620px; left: -260px; top: 320px; background: radial-gradient(circle, rgba(46, 118, 151, .26), rgba(46, 118, 151, 0) 66%); animation: deriva 20s ease-in-out infinite alternate-reverse; }
@keyframes deriva { to { transform: translate3d(40px, 30px, 0) scale(1.08); } }
.heroi-texto { max-width: 860px; }
.heroi-texto h1 { margin: 18px 0 18px; }
.lead { max-width: 680px; font-size: 1.12rem; color: var(--texto-2); }
.arquivo { margin-top: 14px; font-size: .86rem; color: var(--texto-3); }

/* ───────────── documentos */
.doc { padding: 24px 0 56px; }
.doc-grade { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
.doc-so { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.doc-grade.doc-so { width: min(980px, 100% - 40px); }

.indice { position: sticky; top: calc(var(--topo) + 24px); max-height: calc(100vh - var(--topo) - 48px); overflow-y: auto;
  padding: 18px 10px 18px 0; scrollbar-width: thin; }
.indice-titulo { margin: 0 0 10px 12px; font: 600 .74rem/1.2 var(--tit); letter-spacing: .15em; text-transform: uppercase; color: var(--texto-3); }
.indice a { display: flex; align-items: baseline; gap: 10px; padding: 7px 12px; border-radius: 10px; font-size: .9rem; line-height: 1.3;
  color: var(--texto-2); text-decoration: none; transition: color .15s, background-color .15s; }
.indice a b { min-width: 20px; font: 600 .82rem var(--tit); color: var(--texto-3); }
.indice a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.indice a.atual { color: #fff; background: rgba(118, 183, 213, .12); }
.indice a.atual b { color: var(--azul-claro); }

.texto { padding: 44px clamp(22px, 5vw, 64px) 32px; }
.texto-olho { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font: 600 .78rem/1.2 var(--tit);
  letter-spacing: .14em; text-transform: uppercase; color: var(--azul-claro); }
.texto h2 { margin-bottom: 26px; font-size: clamp(1.45rem, 1.4vw + 1rem, 2.05rem); }
.texto h3 { margin: 26px 0 10px; font-size: 1.06rem; color: #fff; }
.texto p { margin: 0 0 14px; max-width: 76ch; color: var(--texto-2); font-size: 1rem; line-height: 1.75; }
.texto .partes { color: var(--texto); }
.texto .abertura { color: var(--texto); font-size: 1.06rem; }
.clausula { position: relative; padding: 22px 0 8px; border-top: 1px solid var(--linha); }
.clausula:first-of-type { margin-top: 10px; }
.clausula > p:first-child, .clausula > h3:first-child { color: var(--texto); }
.clausula > h3:first-child { margin-top: 0; }
.num { display: inline-block; min-width: 2ch; margin-right: 4px; font: 700 .98em var(--tit); color: var(--azul-claro); }
.texto .sub { padding-left: 18px; }
.texto .item { margin-bottom: 8px; padding-left: 18px; }
.assinatura { margin-top: 28px !important; padding-top: 22px; border-top: 1px solid var(--linha); color: var(--texto) !important; }
.texto-pe { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px;
  padding-top: 22px; border-top: 1px solid var(--linha); }
.subir { display: inline-flex; align-items: center; gap: 8px; font: 500 .9rem var(--tit); color: var(--texto-3); text-decoration: none; }
.subir:hover { color: #fff; }
.clausula:target, .clausula.piscou { animation: piscar 1.6s ease; }
@keyframes piscar { 0% { background: rgba(118, 183, 213, .14); } 100% { background: transparent; } }

/* ───────────── telas menores */
@media (max-width: 980px) {
  .topo-bt { margin-left: auto !important; }
}
@media (max-width: 960px) {
  .topo-menu { display: none; }
  .doc-grade { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .indice { position: static; max-height: none; overflow: visible; padding: 0; }
  .indice ol { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .indice ol::-webkit-scrollbar { display: none; }
  .indice-titulo { margin-left: 0; }
  .indice a { white-space: nowrap; border: 1px solid var(--linha); }
}
@media (max-width: 760px) {
  :root { --topo: 64px; }
  .marca img, header img[src*="logo-creative-redondo"] { width: 40px; height: 40px; }
  .heroi { padding: calc(var(--topo) + 40px) 0 36px; }
  .lead { font-size: 1.02rem; }
  .acoes .bt { width: 100%; }
  .topo-bt { padding: 0 12px; font-size: .84rem; }
  .texto { padding: 30px 20px 24px; border-radius: 16px; }
  .texto p { font-size: .97rem; line-height: 1.7; }
  .cx { width: min(1180px, 100% - 28px); }
  .doc-grade.doc-so { width: min(980px, 100% - 28px); }
}
@media (max-width: 400px) {
  .topo-bt .ic { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .luz-1, .luz-2 { animation: none; }
  .clausula:target, .clausula.piscou { animation: none; }
}