/* ============================================
   RAIZOR WEB — design tokens
   Trocar cores/fontes aqui pra reestilizar tudo
   ============================================ */
:root {
  --bg: #0b0f14;
  --bg2: #0f141b;
  --surface: #161c25;
  --ink: #f2f4f7;
  --ink2: #8792a3;
  --accent: #3d5afe; /* azul índigo elétrico — CTA e destaques */
  --accent-h: #6478ff;
  --line: #232b38;
  --sans: "Inter", sans-serif;
  --disp: "Sora", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
* {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: env(safe-area-inset-top, 0px);
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
header,
main,
footer {
  position: relative;
  z-index: 1;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  list-style: none;
}
.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
h1,
h2,
h3 {
  font-family: var(--disp);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.accent-text {
  color: var(--accent);
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink2);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kicker {
  width: 16px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

/* STATUS STRIP */
.status-strip {
  border-bottom: 1px solid var(--line);
  background: rgba(9, 12, 16, 0.7);
}
.status-strip-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink2);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.status-strip-inner::-webkit-scrollbar {
  display: none;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ddc97;
  flex-shrink: 0;
  animation: pulse 2.2s infinite;
}
.status-label {
  color: var(--ink2);
}
.status-strip a {
  color: var(--ink2);
  text-decoration: none;
  transition: color 0.15s;
}
.status-strip a:hover {
  color: var(--ink);
}
.status-strip .sep {
  color: var(--line);
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.55);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(61, 220, 151, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(61, 220, 151, 0);
  }
}

/* INDEX NUMBERS — dispositivo tipográfico usado em vários blocos */
.idx {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink2);
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: 14px;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ddc97;
  display: inline-block;
  animation: pulse 2.2s infinite;
}
.port-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}
.port-card-top .idx {
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.1s;
}
.btn-primary {
  background: var(--accent);
  color: #f5f6f8;
}
.btn-primary:hover {
  background: var(--accent-h);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink2);
}
.btn:active {
  transform: scale(0.98);
}

section {
  padding: 96px 0;
}
.section-head {
  max-width: 580px;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
}

/* NAV */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}
header.solid {
  background: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}
.logo {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 19px;
  display: inline-flex;
  align-items: center;
}
.logo span {
  color: var(--accent);
}
.logo-img {
  height: 26px;
  width: auto;
  display: block;
}
footer .logo-img {
  height: 34px;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14.5px;
  color: var(--ink2);
}
.nav-links a:hover {
  color: var(--ink);
}
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
}

/* HERO */
.hero {
  padding: 172px 24px 72px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 74px);
}
.hero p {
  font-size: 18px;
  color: var(--ink2);
  max-width: 500px;
  margin-top: 20px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.hero-stats > div {
  padding: 20px 24px 0 0;
  border-right: 1px solid var(--line);
}
.hero-stats > div:last-child {
  border-right: none;
}
.hero-stats b {
  display: block;
  font-family: var(--mono);
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 4px;
}
.hero-stats span {
  color: var(--ink2);
  font-size: 13.5px;
}
.hero-art {
  max-width: 360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.write-line {
  position: relative;
  display: inline-block;
}
.write-text {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--ink);
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  animation: reveal-write 6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.write-text .accent {
  color: var(--accent);
}
.write-cursor {
  position: absolute;
  top: 6%;
  bottom: 14%;
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
  left: 0;
  animation: cursor-move 6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.write-mark {
  width: 110px;
  height: auto;
  opacity: 0;
  animation: mark-pop 6s ease infinite;
}
@keyframes reveal-write {
  0%,
  10% {
    clip-path: inset(0 100% 0 0);
    opacity: 1;
  }
  45%,
  78% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  88% {
    clip-path: inset(0 0 0 0);
    opacity: 0;
  }
  89%,
  100% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
}
@keyframes cursor-move {
  0% {
    left: 0;
    opacity: 0;
  }
  9% {
    left: 0;
    opacity: 1;
  }
  45%,
  78% {
    left: 100%;
    opacity: 1;
  }
  88%,
  100% {
    left: 100%;
    opacity: 0;
  }
}
@keyframes mark-pop {
  0%,
  45% {
    opacity: 0;
    transform: scale(0.6) translateY(6px);
  }
  55%,
  78% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  88%,
  100% {
    opacity: 0;
    transform: scale(0.6) translateY(6px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .write-text {
    clip-path: none;
    animation: none;
    opacity: 1;
  }
  .write-cursor {
    display: none;
  }
  .write-mark {
    opacity: 1;
    animation: none;
    transform: none;
  }
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-art {
    max-width: 260px;
    order: -1;
  }
}
@media (max-width: 700px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .hero-stats > div {
    border-right: none;
    border-top: 1px solid var(--line);
    padding: 18px 0 0;
  }
  .hero-stats > div:first-child {
    border-top: none;
  }
}

/* ICON BADGES — usados em cards, tabs e painéis */
.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(61, 90, 254, 0.1);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.icon-badge svg {
  width: 22px;
  height: 22px;
}
.icon-badge.lg {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}
.icon-badge.lg svg {
  width: 30px;
  height: 30px;
}
.tab-icon {
  width: 16px;
  height: 16px;
  margin-right: 7px;
  vertical-align: -3px;
  color: currentColor;
}

/* SEGMENTOS */
.seg-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}
.seg-tab {
  background: none;
  border: none;
  color: var(--ink2);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 18px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition:
    color 0.15s,
    border-color 0.15s;
  display: inline-flex;
  align-items: center;
}
.seg-tab:hover {
  color: var(--ink);
}
.seg-tab.active {
  color: var(--accent);
  border-color: var(--accent);
}
.seg-panels {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 40px;
}
.seg-panel h3 {
  font-size: 22px;
  margin-bottom: 18px;
}
.seg-panel ul {
  display: grid;
  gap: 12px;
}
.seg-panel li {
  color: var(--ink2);
  font-size: 15px;
  padding-left: 20px;
  position: relative;
}
.seg-panel li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.seg-cta {
  margin-top: 24px;
  text-align: center;
}
@media (max-width: 640px) {
  .seg-panels {
    padding: 28px 22px;
  }
}

/* FUNCIONALIDADES */
.feature-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.feature-col {
  background: var(--surface);
  padding: 34px 32px;
}
.feature-col h3 {
  font-size: 19px;
  margin-bottom: 18px;
}
.feature-col ul {
  display: grid;
  gap: 13px;
}
.feature-col li {
  color: var(--ink2);
  font-size: 14.5px;
  padding-left: 20px;
  position: relative;
}
.feature-col li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}
@media (max-width: 760px) {
  .feature-cols {
    grid-template-columns: 1fr;
  }
}
.pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.pillar {
  background: var(--surface);
  padding: 28px 20px;
}
.pillar .tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink2);
  margin-bottom: 14px;
}
.pillar h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.pillar p {
  color: var(--ink2);
  font-size: 13.5px;
}
@media (max-width: 1100px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .pillars {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 420px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

/* ARQUITETURA */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.arch-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 22px;
  background: var(--bg2);
}
.arch-card h3 {
  font-size: 16px;
  font-family: var(--sans);
  font-weight: 600;
  margin-bottom: 8px;
}
.arch-card p {
  color: var(--ink2);
  font-size: 14px;
}
@media (max-width: 920px) {
  .arch-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .arch-grid {
    grid-template-columns: 1fr;
  }
}

/* PROCESSO */
.steps {
  counter-reset: step;
}
.step {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.step:last-child {
  border-bottom: 1px solid var(--line);
}
.step-num {
  font-family: var(--mono);
  color: var(--ink2);
  font-size: 14px;
  min-width: 48px;
  padding-top: 4px;
}
.step h3 {
  font-size: 20px;
  margin-bottom: 6px;
}
.step p {
  color: var(--ink2);
  max-width: 480px;
  font-size: 14.5px;
}

/* PORTFOLIO */
.port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.port-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.port-card .bg-icon {
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 96px;
  height: 96px;
  color: var(--accent);
  opacity: 0.07;
  pointer-events: none;
}
.port-card-shot {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 16px;
  display: block;
}
.port-card-tag {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent);
  margin-bottom: 8px;
}
.port-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.port-card p {
  color: var(--ink2);
  font-size: 14px;
  flex-grow: 1;
}
.port-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}
.port-link:hover {
  color: var(--accent-h);
}
.seg-panel .port-link {
  margin-top: 20px;
}
@media (max-width: 920px) {
  .port-grid {
    grid-template-columns: 1fr;
  }
}

/* PLANOS */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}
.plan-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  position: relative;
}
.plan-card.featured {
  border-color: var(--accent);
  background: linear-gradient(
    180deg,
    rgba(61, 90, 254, 0.06),
    var(--surface) 40%
  );
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-name {
  font-family: var(--disp);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}
.plan-price {
  font-family: var(--mono);
  font-size: 34px;
  color: var(--ink);
  margin-bottom: 22px;
}
.plan-from {
  display: block;
  font-size: 12px;
  color: var(--ink2);
  font-family: var(--sans);
  margin-bottom: 2px;
}
.plan-period {
  font-size: 15px;
  color: var(--ink2);
}
.plan-list {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}
.plan-list li {
  font-size: 13.5px;
  color: var(--ink2);
  padding-left: 18px;
  position: relative;
}
.plan-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.plan-btn {
  width: 100%;
  justify-content: center;
}
.plan-note {
  text-align: center;
  color: var(--ink2);
  font-size: 13px;
  margin-top: 26px;
  font-family: var(--mono);
}
@media (max-width: 640px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
}
.faq-icon {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 19px;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-a p {
  color: var(--ink2);
  padding-bottom: 22px;
  max-width: 600px;
  font-size: 14.5px;
}

/* CTA FINAL */
.cta-final {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 60px 32px;
  text-align: center;
}
.cta-final h2 {
  font-size: clamp(26px, 4vw, 40px);
  max-width: 600px;
  margin: 0 auto;
}
.cta-final p {
  color: var(--ink2);
  margin-top: 12px;
}
.cta-final .btn {
  margin-top: 26px;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 60px;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13.5px;
  color: var(--ink2);
}
.foot-links {
  display: flex;
  gap: 22px;
}
.foot-links a:hover {
  color: var(--ink);
}

/* FLOATING WHATSAPP */
.wa-float {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: 24px;
  z-index: 99;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(61, 90, 254, 0.35);
  transition:
    background 0.15s,
    transform 0.15s;
}
.wa-float:hover {
  background: var(--accent-h);
  transform: scale(1.06);
}
.wa-float svg {
  width: 26px;
  height: 26px;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================
   VITRINE — trilho horizontal com abas, setas e contador
   ============================================ */
.vit-panels {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.vit-panel {
  display: none;
}
.vit-panel.active {
  display: block;
}

.vit-rail-wrap {
  position: relative;
  padding-bottom: 36px;
}

.vit-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0 12px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.vit-rail::-webkit-scrollbar {
  display: none;
}

.vit-card {
  flex: 0 0 clamp(260px, 42vw, 420px);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}
.vit-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.vit-card:active {
  transform: translateY(-1px) scale(0.995);
}
.vit-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.vit-frame {
  display: block;
  aspect-ratio: 16/10;
  background: var(--bg2);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.vit-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.vit-card:hover .vit-frame img {
  transform: scale(1.03);
}

.vit-card figcaption {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vit-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.vit-card strong {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.vit-desc {
  font-size: 13px;
  color: var(--ink2);
}

.vit-arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(11, 15, 20, 0.75);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  backdrop-filter: blur(6px);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.vit-card:hover .vit-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #f5f6f8;
}

/* Setas de navegação */
.vit-nav {
  position: absolute;
  top: calc(50% - 18px);
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(11, 15, 20, 0.9);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    opacity 0.2s ease;
}
.vit-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #f5f6f8;
}
.vit-nav:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.vit-nav-prev {
  left: -12px;
}
.vit-nav-next {
  right: -12px;
}
.vit-nav.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Contador */
.vit-counter {
  position: absolute;
  right: 0;
  bottom: 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink2);
  padding: 2px 0;
  pointer-events: none;
}
.vit-counter b {
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 900px) {
  .vit-nav {
    display: none;
  }
  .vit-counter {
    display: none;
  }
}
@media (max-width: 640px) {
  .vit-card {
    flex-basis: 78vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  .vit-frame img {
    transition: none;
  }
  .vit-card:hover .vit-frame img {
    transform: none;
  }
  .vit-card:hover {
    transform: none;
  }
  .vit-rail {
    scroll-behavior: auto;
  }
}

/* ============================================
   PAINEL ADMIN — bloco visual em #funcionalidades
   ============================================ */
.admin-block {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.admin-head {
  max-width: 620px;
  margin-bottom: 32px;
}
.admin-head h3 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 12px;
}
.admin-head p {
  color: var(--ink2);
  font-size: 15px;
  line-height: 1.65;
}
.admin-head p strong {
  color: var(--ink);
  font-weight: 600;
}

.admin-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.admin-shot {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.admin-frame {
  display: block;
  aspect-ratio: 16/10;
  background: var(--bg2);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.admin-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22px;
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
  background-image:
    radial-gradient(circle at 14px 11px, #ff5f57 3px, transparent 3.5px),
    radial-gradient(circle at 28px 11px, #febc2e 3px, transparent 3.5px),
    radial-gradient(circle at 42px 11px, #28c840 3px, transparent 3.5px);
  background-repeat: no-repeat;
  z-index: 2;
}
.admin-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  padding-top: 22px;
}
.admin-shot figcaption {
  padding: 14px 18px 18px;
  font-size: 13.5px;
  color: var(--ink2);
  line-height: 1.55;
}
.admin-shot .vit-tag {
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 920px) {
  .admin-shots {
    grid-template-columns: 1fr;
  }
  .admin-frame::before {
    display: none;
  }
  .admin-frame img {
    padding-top: 0;
  }
}

/* ============================================
   CRÉDITO DO RODAPÉ
   ============================================ */
.foot-credit {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink2);
  text-align: center;
}
.foot-credit a {
  color: var(--ink2);
  transition: color 0.15s;
}
.foot-credit a:hover {
  color: var(--accent);
}
