:root {
  --fundo: #0f172a; --fundo2: #1a2744; --fundo-alt: #111c33; --card: #162038; --linha: #26334f;
  --texto: #e5e7eb; --suave: #a7b3c7; --marca: #60a5fa; --marca-esc: #3b82f6;
  --psm: #8b5cf6; --ga: #06b6d4; --sst: #10b981;
  --raio: 14px; --max: 1080px;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 124px }
body { margin: 0; background: var(--fundo); color: var(--texto); font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased }
img { max-width: 100%; height: auto }
a { color: var(--marca) }
h1, h2, h3 { font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 800 }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); font-weight: 800 }
h3 { font-size: 1.15rem; font-weight: 700 }
p { margin: 0 0 1em }
b { color: #fff }

.pular { position: absolute; left: -999px; top: 8px; background: var(--marca); color: #0f172a; padding: 8px 14px; border-radius: 8px; z-index: 100 }
.pular:focus { left: 8px }
:focus-visible { outline: 3px solid var(--marca); outline-offset: 3px; border-radius: 6px }

/* topo */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(15, 23, 42, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linha) }
.topo-in { max-width: var(--max); margin: 0 auto; padding: 6px 20px; display: flex; align-items: center; gap: 16px }
.marca { display: block; line-height: 0; text-decoration: none }
.marca img { display: block; height: 104px; width: auto }
.menu { margin-left: auto; display: flex; align-items: center; gap: 22px }
.menu a { color: var(--texto); text-decoration: none; font-size: 15px }
.menu a:hover { color: var(--marca) }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--linha); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--texto); border-radius: 2px }

/* botões */
.btn { display: inline-block; background: var(--marca); color: #0f172a !important; font-weight: 700; text-decoration: none; padding: 13px 24px; border-radius: 999px; transition: background .15s, transform .15s; border: 2px solid var(--marca) }
.btn:hover { background: #93c5fd; border-color: #93c5fd; transform: translateY(-1px) }
.btn-sec { background: transparent; color: var(--texto) !important; border-color: var(--linha) }
.btn-sec:hover { background: rgba(255,255,255,.06); border-color: var(--marca) }
.btn-peq { padding: 8px 18px; font-size: 14px }
.btn.grande { padding: 16px 34px; font-size: 1.1rem }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px }

/* hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 78% 20%, rgba(96,165,250,.16), transparent 60%), linear-gradient(160deg, var(--fundo) 0%, var(--fundo2) 100%) }
.hero-in { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 72px 20px 84px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center }
.hero-txt { min-width: 0 }
.hero h1 { max-width: 15ch }
.dest { background: linear-gradient(90deg, var(--marca), var(--psm)); -webkit-background-clip: text; background-clip: text; color: transparent }
.lead { max-width: 56ch; font-size: 1.2rem; color: var(--suave); margin-top: 18px }
.chips { display: flex; gap: 8px; margin: 0 0 20px }
.chip { font: 700 12px/1 "Courier New", ui-monospace, monospace; letter-spacing: .08em; padding: 7px 12px; border-radius: 999px; border: 1px solid; background: rgba(255,255,255,.03) }
.chip.psm { color: #c4b5fd; border-color: var(--psm) } .chip.ga { color: #67e8f9; border-color: var(--ga) } .chip.sst { color: #6ee7b7; border-color: var(--sst) }
.hero-anim { order: 2; display: flex; justify-content: center }
.aneis { width: 100%; max-width: 480px; height: auto; filter: drop-shadow(0 10px 44px rgba(96,165,250,.3)) }
.aneis circle { fill: none; stroke: #3a4f78; stroke-width: 1.2 }
.aneis .a-psm { stroke: var(--psm); stroke-width: 7; stroke-dasharray: 230 970; stroke-linecap: round; transform-origin: 200px 200px; animation: gira 60s linear infinite }
.aneis .a-sst { stroke: var(--sst); stroke-width: 7; stroke-dasharray: 160 780; stroke-linecap: round; transform-origin: 200px 200px; animation: gira 44s linear infinite reverse }
.aneis .a-ga { stroke: var(--ga); stroke-width: 7; stroke-dasharray: 120 570; stroke-linecap: round; transform-origin: 200px 200px; animation: gira 32s linear infinite }
.aneis .nucleo { fill: var(--marca); stroke: none }
.aneis .halo { stroke: var(--marca); stroke-width: 2; opacity: .5; transform-origin: 200px 200px; animation: pulsa 4s ease-in-out infinite }
@keyframes gira { to { transform: rotate(360deg) } }
@keyframes pulsa { 0%, 100% { transform: scale(1); opacity: .5 } 50% { transform: scale(1.35); opacity: .1 } }

/* seções */
.secao { padding: 76px 0 }
.secao.alt { background: var(--fundo-alt); border-block: 1px solid var(--linha) }
.cont { max-width: var(--max); margin: 0 auto; padding: 0 20px }
.intro { color: var(--suave); font-size: 1.1rem; max-width: 60ch; margin-bottom: 32px }
.rotulo { font: 700 12px/1 "Courier New", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--marca); margin-bottom: 10px }
.grade { display: grid; gap: 18px }
.g3 { grid-template-columns: repeat(3, 1fr) } .g2 { grid-template-columns: repeat(2, 1fr) }
.card { background: var(--card); border: 1px solid var(--linha); border-radius: var(--raio); padding: 24px }
.card p:last-child { margin-bottom: 0 }
.card p { color: var(--suave) }
.card.destaque { border-top: 3px solid var(--marca) }
.card.destaque h3 { font-size: 1.6rem }
.serv .num { font: 700 13px/1 "Courier New", ui-monospace, monospace; color: var(--marca); margin-bottom: 12px }
.prazo { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--linha); font-size: 14px; color: #fff !important }
.sub { margin-top: 44px }
.lista { padding-left: 0; list-style: none; display: grid; gap: 10px }
.lista li { position: relative; padding-left: 26px; color: var(--suave) }
.lista li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--sst) }

/* ciclo */
.ciclo { list-style: none; counter-reset: c; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0; margin: 30px 0 18px }
.ciclo li { counter-increment: c; position: relative; background: var(--card); border: 1px solid var(--linha); border-radius: var(--raio); padding: 18px 16px 16px 16px }
.ciclo li::before { content: counter(c); display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; background: var(--marca); color: #0f172a; font-weight: 800; font-size: 13px; margin-bottom: 8px }
.ciclo b { display: block; font-size: 1.05rem }
.ciclo span { color: var(--suave); font-size: 14px }
.ciclo li:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--marca); z-index: 2; background: var(--fundo-alt); border-radius: 50%; width: 22px; text-align: center }
.nota-centro { color: var(--suave); max-width: 64ch }

/* duas colunas */
.duas { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center }
.pontos { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px }
.pontos li { background: var(--card); border: 1px solid var(--linha); border-left: 3px solid var(--marca); border-radius: 10px; padding: 14px 16px }
.reg { font: 14px/1.4 "Courier New", ui-monospace, monospace; color: var(--suave) }

/* contato e rodapé */
.contato .centro { text-align: center }
.contato .intro { margin-inline: auto }
.centro-acoes { justify-content: center }
.mini { font-size: 14px; color: var(--suave); margin-top: 18px }
.rodape { padding: 40px 0 48px; border-top: 1px solid var(--linha); color: var(--suave); font-size: 15px }
.rodape p { margin: 0 0 6px }


/* serviços por disciplina */
.disc { align-items: stretch }
.card.d-sst, .card.d-psm, .card.d-ga { border-top: 4px solid; padding-top: 22px }
.d-sst { border-top-color: var(--sst) } .d-psm { border-top-color: var(--psm) } .d-ga { border-top-color: var(--ga) }
.rotulo-d { font: 700 13px/1 "Courier New", ui-monospace, monospace; letter-spacing: .12em; margin-bottom: 8px }
.d-sst .rotulo-d { color: #6ee7b7 } .d-psm .rotulo-d { color: #c4b5fd } .d-ga .rotulo-d { color: #67e8f9 }
.serv-lista { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px }
.serv-lista li { position: relative; padding-left: 22px; color: var(--texto); font-size: 16px; line-height: 1.45 }
.serv-lista li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: currentColor }
.d-sst .serv-lista li::before { background: var(--sst) } .d-psm .serv-lista li::before { background: var(--psm) } .d-ga .serv-lista li::before { background: var(--ga) }
.sub + .intro { margin-bottom: 22px }

/* sobre, com foto */
.sobre { display: grid; grid-template-columns: 300px 1fr; gap: 24px 44px; align-items: center }
.foto { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; border: 1px solid var(--linha); background: linear-gradient(150deg, var(--fundo2), var(--card)); display: flex; align-items: center; justify-content: center; box-shadow: 0 18px 50px rgba(0,0,0,.35) }
.foto::before { content: "RA"; font: 800 4rem/1 Inter, "Segoe UI", system-ui, sans-serif; color: #3b4f78; letter-spacing: .04em }
.foto::after { content: ""; position: absolute; inset: 0; background: url("assets/roberto.jpg") center top / cover no-repeat }
.pontos-2 { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr) }

/* rodapé com logo */
.rodape-in { display: flex; align-items: center; gap: 28px }
.rodape-logo { width: 260px; height: auto; flex: none }
/* telas menores */
@media (max-width: 900px) {
  .g3 { grid-template-columns: repeat(2, 1fr) }
  .ciclo { grid-template-columns: repeat(2, 1fr) }
  .ciclo li:not(:last-child)::after { display: none }
  .duas { grid-template-columns: 1fr; gap: 28px }
  .hero-in { grid-template-columns: 1fr; gap: 12px; padding-top: 40px }
  .hero-anim { order: -1; justify-content: flex-start }
  .aneis { max-width: 300px }
  .sobre { grid-template-columns: 220px 1fr; gap: 24px 28px }
  .pontos-2 { grid-template-columns: 1fr }
}
@media (max-width: 760px) {
  .menu-btn { display: flex }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #0f172a; border-bottom: 1px solid var(--linha); padding: 8px 20px 18px }
  .menu.aberto { display: flex }
  .menu a { padding: 13px 4px; border-bottom: 1px solid var(--linha); font-size: 17px }
  .menu a.btn { margin-top: 14px; text-align: center; border-bottom: 0; padding: 13px }
  .marca img { height: 66px }
  .rodape-logo { width: 220px }
  .hero-in { padding: 28px 20px 56px }
  .sobre { grid-template-columns: 1fr }
  .foto { max-width: 280px }
  .rodape-in { flex-direction: column; align-items: flex-start }
  .secao { padding: 56px 0 }
}
@media (max-width: 560px) {
  .g3, .g2 { grid-template-columns: 1fr }
  .ciclo { grid-template-columns: 1fr }
  .btn, .acoes .btn { width: 100%; text-align: center }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .aneis circle { animation: none !important }
  .btn { transition: none }
}
