/* ============================================================
   NEXOS Web - CSS puro (versao leve, dark mode protagonista)
   ============================================================ */

/* ---------- Reset enxuto ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: clip;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

ul {
  list-style: none;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #08090c;
  --bg-soft: #0c0e13;
  --surface: #111319;
  --surface-2: #161922;
  --border: #21242e;
  --border-soft: #1a1d25;

  --fg: #f3f4f7;
  --fg-muted: #9aa0ad;
  --fg-faint: #6a7080;

  --accent: #6e9bff;
  --accent-2: #38e1ff;
  --accent-soft: rgba(110, 155, 255, 0.14);
  --accent-glow: rgba(110, 155, 255, 0.45);

  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", var(--font-body);

  --maxw: 80rem;
  --radius: 1.1rem;
}

/* ---------- Base ---------- */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent-soft);
  color: #fff;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
  border: 3px solid var(--bg);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* ---------- Utilidades de layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}

.section {
  position: relative;
  padding-block: 5rem;
}
@media (min-width: 768px) {
  .section {
    padding-block: 6.5rem;
  }
}

.text-gradient {
  background: linear-gradient(100deg, #ffffff 0%, #c8d4ff 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* icones (sprite SVG estilo lucide) */
.ic {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* fundo em grade (barato: sem filtros) */
.grid-bg {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
}

/* brilho suave feito com gradiente (substitui os blur-[120px] caros) */
.glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
}

/* ---------- Botoes ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.35rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}
.btn svg {
  width: 1rem;
  height: 1rem;
}
.btn-primary {
  background: linear-gradient(90deg, #ffffff, #cdd9ff);
  color: #06070a;
  box-shadow: 0 8px 30px -8px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -6px var(--accent-glow);
}
.btn-secondary {
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: rgba(110, 155, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 34px -12px var(--accent-glow);
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.btn-lg {
  padding: 0.85rem 1.7rem;
  font-size: 1rem;
}
.btn-block {
  width: 100%;
}

/* ---------- Eyebrow / cabecalho de secao ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.section-head {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}
.section-head.left {
  margin-inline: 0;
  text-align: left;
}
.section-head h2 {
  margin-top: 1rem;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  color: var(--fg);
}
.section-head p {
  margin-top: 1rem;
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.navbar.scrolled {
  background: rgba(8, 9, 12, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.navbar .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.navbar .logo {
  height: 36px;
  width: auto;
}
@media (min-width: 768px) {
  .navbar .logo {
    height: 40px;
  }
}
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover {
  color: var(--fg);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-cta {
  display: none;
}
.nav-toggle {
  display: inline-grid;
  place-items: center;
  height: 40px;
  width: 40px;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  color: var(--fg);
}
@media (min-width: 1024px) {
  .nav-links,
  .nav-cta {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

.mobile-menu {
  overflow: hidden;
  max-height: 0;
  border-top: 1px solid transparent;
  background: rgba(8, 9, 12, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: max-height 0.3s ease, border-color 0.3s ease;
}
.mobile-menu.open {
  max-height: 420px;
  border-top-color: var(--border);
}
.mobile-menu .inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem;
}
.mobile-menu a {
  padding: 0.75rem;
  border-radius: 0.6rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: background 0.2s ease, color 0.2s ease;
}
.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding-top: 6rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg .grid-bg {
  position: absolute;
  inset: 0;
  -webkit-mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 70%);
}
.hero-bg .glow-1 {
  top: -8rem;
  left: 12%;
  width: 460px;
  height: 460px;
  max-width: 90vw;
  background: radial-gradient(circle, rgba(110, 155, 255, 0.22), transparent 70%);
}
.hero-bg .glow-2 {
  top: -4rem;
  right: 10%;
  width: 400px;
  height: 400px;
  max-width: 80vw;
  background: radial-gradient(circle, rgba(56, 225, 255, 0.14), transparent 70%);
}
.hero .inner {
  position: relative;
  z-index: 10;
  display: grid;
  align-items: center;
  gap: 3rem;
  padding-block: 4rem 5rem;
}
@media (min-width: 1024px) {
  .hero .inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.hero-text {
  text-align: center;
}
@media (min-width: 1024px) {
  .hero-text {
    text-align: left;
  }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: rgba(17, 19, 25, 0.7);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-muted);
}
.hero-badge svg {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--accent);
}
.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.25rem, 7vw, 4.25rem);
  line-height: 1.05;
  color: var(--fg);
}
.hero-sub {
  margin-top: 1.5rem;
  max-width: 36rem;
  margin-inline: auto;
  color: var(--fg-muted);
  font-size: 1.1rem;
  line-height: 1.65;
}
@media (min-width: 1024px) {
  .hero-sub {
    margin-inline: 0;
  }
}
.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}
@media (min-width: 1024px) {
  .hero-actions {
    justify-content: flex-start;
  }
}
.hero-actions .btn {
  width: 100%;
}
@media (min-width: 640px) {
  .hero-actions .btn {
    width: auto;
  }
}
.hero-stats {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .hero-stats {
    justify-content: flex-start;
  }
}
.hero-stats .n {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fg);
}
.hero-stats .l {
  font-size: 0.75rem;
  color: var(--fg-faint);
}

/* janela de codigo (visual) */
.code-window {
  display: none;
}
@media (min-width: 1024px) {
  .code-window {
    display: block;
    position: relative;
    border-radius: 1.1rem;
    background: var(--surface);
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--border), 0 0 40px -8px var(--accent-glow);
    animation: float 7s ease-in-out infinite;
  }
}
.code-window .bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.code-window .bar .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.code-window .bar .label {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: var(--fg-faint);
}
.code-window pre {
  padding: 1.25rem;
  font-size: 13px;
  line-height: 1.6;
  overflow: hidden;
}
.code-window code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre;
}
.tk-key {
  color: #6e9bff;
}
.tk-fn {
  color: #38e1ff;
}
.tk-str {
  color: #a5e8a5;
}
.tk-num {
  color: #ffcd6e;
}
.tk-dim {
  color: var(--fg-muted);
}

/* ---------- Marquee (tech + depoimentos) ---------- */
.mask-fade-x {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
}
.marquee-track > * {
  flex-shrink: 0;
}
.marquee-anim {
  animation: marquee var(--marquee-dur, 38s) linear infinite;
}

.tech-strip {
  position: relative;
  border-block: 1px solid var(--border);
  background: var(--bg-soft);
  padding-block: 2rem;
}
.tech-strip .label {
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--fg-faint);
}
.tech-strip .marquee-track {
  gap: 3rem;
}
.tech-strip .item {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.2s ease;
}
.tech-strip .item:hover {
  color: var(--fg);
}

/* ---------- Grade generica ---------- */
.grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .grid.sm-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid.lg-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid.lg-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid.lg-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Servicos ---------- */
.mt-block {
  margin-top: 3.5rem;
}
.card {
  position: relative;
  height: 100%;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 155, 255, 0.4);
}
.card .icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 48px;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent);
  color: var(--accent);
}
.card h3 {
  font-size: 1.2rem;
  color: var(--fg);
}
.card p {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--fg-muted);
}
.feature-list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.check {
  display: grid;
  place-items: center;
  height: 20px;
  width: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.check svg {
  width: 12px;
  height: 12px;
}

/* ---------- Processo ---------- */
.process-grid {
  position: relative;
  margin-top: 4rem;
}
.process-line {
  display: none;
}
@media (min-width: 1024px) {
  .process-line {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 36px;
    height: 1px;
    width: 78%;
    margin-inline: auto;
    background: linear-gradient(
      90deg,
      transparent 0%,
      #3a4050 10%,
      #4a5060 50%,
      #3a4050 90%,
      transparent 100%
    );
  }
}
.step {
  position: relative;
}
.step .num-box {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  width: 72px;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  background: var(--surface);
  color: var(--accent);
  transition: border-color 0.3s ease;
}
.step:hover .num-box {
  border-color: rgba(110, 155, 255, 0.5);
}
.step .num-box svg {
  width: 28px;
  height: 28px;
}
.step .num {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  height: 28px;
  width: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fg-muted);
}
.step h3 {
  font-size: 1.1rem;
  color: var(--fg);
}
.step p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--fg-muted);
}

/* ---------- Portfolio ---------- */
.portfolio-hint {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--fg-faint);
}
.portfolio-hint svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
}
.showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.showcase:hover {
  border-color: rgba(110, 155, 255, 0.4);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.browser-bar .dots {
  display: flex;
  gap: 0.35rem;
}
.browser-bar .dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.browser-url {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.4rem;
  background: var(--bg);
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  color: var(--fg-faint);
}
.browser-url svg {
  width: 12px;
  height: 12px;
}
.showcase-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
}
.showcase-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
.showcase-poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
}
.showcase-poster .grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}
.showcase-poster img {
  position: relative;
  width: auto;
  max-height: 4rem;
  max-width: 60%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}
.showcase-poster .emoji {
  position: relative;
  font-size: 3rem;
}
.showcase-poster .play {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: rgba(8, 9, 12, 0.7);
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  transition: transform 0.3s ease;
}
.showcase:hover .showcase-poster .play {
  transform: scale(1.05);
}
.showcase-poster .play svg {
  width: 1rem;
  height: 1rem;
}
.showcase-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}
.showcase-info .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.tag {
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
}
.showcase-actions {
  display: flex;
  gap: 0.35rem;
}
.icon-btn {
  display: grid;
  place-items: center;
  height: 36px;
  width: 36px;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  color: var(--fg-muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.icon-btn:hover {
  color: var(--fg);
  border-color: rgba(110, 155, 255, 0.5);
}
.icon-btn svg {
  width: 1rem;
  height: 1rem;
}
.showcase-info h3 {
  font-size: 1.2rem;
  color: var(--fg);
}
.showcase-info p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--fg-muted);
}
.tech-tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tech-tags span {
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0.4rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.72rem;
  color: var(--fg-faint);
}
.portfolio-cta {
  margin-top: 3rem;
  text-align: center;
  color: var(--fg-muted);
}
.portfolio-cta a {
  font-weight: 500;
  color: var(--accent);
}
.portfolio-cta a:hover {
  text-decoration: underline;
}

/* ---------- Modal tela cheia ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}
.modal.open {
  display: flex;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: var(--maxw);
}
@media (min-width: 768px) {
  .modal {
    padding: 1.5rem;
  }
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.modal-head h3 {
  font-size: 1.1rem;
  color: var(--fg);
}
.modal-head .cat {
  display: none;
  font-size: 0.875rem;
  color: var(--fg-faint);
}
@media (min-width: 640px) {
  .modal-head .cat {
    display: inline;
  }
}
.modal-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.device-switch {
  display: none;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 0.6rem;
  padding: 0.25rem;
}
@media (min-width: 640px) {
  .device-switch {
    display: flex;
  }
}
.device-switch button {
  display: grid;
  place-items: center;
  height: 32px;
  width: 32px;
  border-radius: 0.4rem;
  color: var(--fg-faint);
  transition: background 0.2s ease, color 0.2s ease;
}
.device-switch button svg {
  width: 1rem;
  height: 1rem;
}
.device-switch button.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--fg);
}
.modal-stage {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--bg-soft);
}
.modal-frame {
  height: 100%;
  width: 100%;
  max-width: 100%;
  background: #fff;
  overflow: hidden;
  transition: width 0.35s ease;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}
.modal-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.modal-note {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--fg-faint);
}

/* ---------- Sobre ---------- */
.about-grid {
  display: grid;
  align-items: center;
  gap: 3.5rem;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.value {
  display: flex;
  gap: 1rem;
}
.value .icon-box {
  height: 44px;
  width: 44px;
  margin: 0;
  flex-shrink: 0;
}
.value h3 {
  font-size: 1rem;
  color: var(--fg);
}
.value p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--fg-muted);
}
.stats-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 2rem;
}
@media (min-width: 768px) {
  .stats-panel {
    padding: 2.5rem;
  }
}
.stats-panel .grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}
.stats-panel .glow {
  top: -5rem;
  right: -5rem;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(110, 155, 255, 0.25), transparent 70%);
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.stats-grid .n {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 600;
  color: var(--fg);
}
.stats-grid .l {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.stats-quote {
  position: relative;
  margin-top: 2rem;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: 1rem;
  padding: 1.25rem;
}
.stats-quote p:first-child {
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--fg-muted);
}
.stats-quote p:last-child {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
}

/* ---------- Pacotes ---------- */
.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: transform 0.3s ease;
}
.pkg:hover {
  transform: translateY(-4px);
}
.pkg.highlight {
  border-color: rgba(110, 155, 255, 0.4);
}
.pkg .ribbon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  border-radius: 999px;
  background: var(--accent-soft);
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
}
.pkg h3 {
  font-size: 1.5rem;
  color: var(--fg);
}
.pkg .tagline {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--accent);
}
.pkg .ideal {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--fg-muted);
}
.pkg .ideal span {
  color: var(--fg-faint);
}
.pkg ul {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pkg li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.pkg li .check {
  margin-top: 2px;
}
.pkg .btn {
  margin-top: auto;
  width: 100%;
}
.pkg .btn-wrap {
  margin-top: auto;
  padding-top: 2rem;
}
.pkg-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--fg-faint);
}

/* ---------- Depoimentos ---------- */
.testi-track {
  margin-top: 3.5rem;
}
.testi-track .marquee-track {
  gap: 1.25rem;
  padding-inline: 1.25rem;
}
.testi {
  display: flex;
  flex-direction: column;
  width: 340px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
}
@media (min-width: 640px) {
  .testi {
    width: 400px;
  }
}
.testi .qmark {
  width: 28px;
  height: 28px;
  color: rgba(110, 155, 255, 0.6);
}
.testi blockquote {
  margin-top: 1rem;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--fg-muted);
}
.testi figcaption {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testi .avatar {
  display: grid;
  place-items: center;
  height: 44px;
  width: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
}
.testi .name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
}
.testi .role {
  font-size: 0.75rem;
  color: var(--fg-faint);
}

/* ---------- FAQ ---------- */
.faq-wrap {
  max-width: 48rem;
  margin-inline: auto;
}
.accordion {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.acc-item {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 1rem;
  overflow: hidden;
}
.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
}
.acc-trigger .chevron {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--fg-faint);
  transition: transform 0.3s ease;
}
.acc-item.open .acc-trigger .chevron {
  transform: rotate(180deg);
  color: var(--accent);
}
.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.acc-item.open .acc-body {
  grid-template-rows: 1fr;
}
.acc-body-inner {
  overflow: hidden;
}
.acc-body p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--fg-muted);
}

/* ---------- Contato (so Instagram) ---------- */
.contact-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}
.contact-lead h2 {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  color: var(--fg);
}
.contact-lead p {
  margin-top: 1rem;
  max-width: 30rem;
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.contact-cards {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.contact-card:hover {
  border-color: rgba(110, 155, 255, 0.5);
  transform: translateY(-2px);
}
.contact-card .ico {
  display: grid;
  place-items: center;
  height: 48px;
  width: 48px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--bg-soft);
  color: var(--accent);
}
.contact-card .ico svg {
  width: 20px;
  height: 20px;
}
.contact-card .meta {
  flex: 1;
  min-width: 0;
}
.contact-card .k {
  display: block;
  font-size: 0.875rem;
  color: var(--fg-faint);
}
.contact-card .v {
  display: block;
  font-weight: 500;
  color: var(--fg);
  word-break: break-word;
}
.contact-card .arrow {
  width: 20px;
  height: 20px;
  color: var(--fg-faint);
  transition: color 0.2s ease;
}
.contact-card:hover .arrow {
  color: var(--accent);
}
.contact-note {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
}
.contact-note svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
}
.contact-highlight {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
}
.contact-highlight .grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.25;
}
.contact-highlight .glow {
  top: -4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 18rem;
  height: 12rem;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
}
.contact-highlight .inner {
  position: relative;
}
.contact-highlight .badge {
  display: inline-grid;
  place-items: center;
  height: 64px;
  width: 64px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.contact-highlight .badge svg {
  width: 30px;
  height: 30px;
}
.contact-highlight h3 {
  margin-top: 1.25rem;
  font-size: 1.5rem;
  color: var(--fg);
}
.contact-highlight p {
  margin-top: 0.75rem;
  margin-inline: auto;
  max-width: 24rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--fg-muted);
}
.contact-highlight .btn {
  margin-top: 1.75rem;
}

/* ---------- Rodape ---------- */
.footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.footer .grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}
.footer .glow {
  top: -8rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 90vw);
  height: 16rem;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
}
.footer .inner {
  position: relative;
  padding-block: 4rem;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer-brand {
  max-width: 24rem;
}
.footer-brand .logo {
  height: 48px;
  width: auto;
}
@media (min-width: 768px) {
  .footer-brand .logo {
    height: 60px;
  }
}
.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--fg-muted);
}
.footer-social {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  display: grid;
  place-items: center;
  height: 40px;
  width: 40px;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  color: var(--fg-muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover {
  color: var(--fg);
  border-color: rgba(110, 155, 255, 0.5);
}
.footer-social svg {
  width: 20px;
  height: 20px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
@media (min-width: 640px) {
  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}
.footer-cols h4 {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
}
.footer-cols ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-cols a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  transition: color 0.2s ease;
  word-break: break-word;
}
.footer-cols a:hover {
  color: var(--fg);
}
.footer-bottom {
  position: relative;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--fg-faint);
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ---------- Botao flutuante ---------- */
.fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.fab-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.fab-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.fab.open .fab-action {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fab-action:hover {
  border-color: rgba(110, 155, 255, 0.5);
}
.fab-action svg {
  width: 1rem;
  height: 1rem;
}
.fab-top {
  display: grid;
  place-items: center;
  height: 44px;
  width: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(17, 19, 25, 0.9);
  color: var(--fg-muted);
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.2s ease;
}
.fab-top.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.fab-top:hover {
  color: var(--fg);
}
.fab-top svg {
  width: 20px;
  height: 20px;
}
.fab-main {
  display: grid;
  place-items: center;
  height: 56px;
  width: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #cdd9ff);
  color: #06070a;
  box-shadow: 0 8px 30px -6px var(--accent-glow);
  transition: transform 0.2s ease;
}
.fab-main:hover {
  transform: scale(1.05);
}
.fab-main svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}
.fab.open .fab-main svg {
  transform: rotate(45deg);
}

/* ---------- Barra de progresso do scroll ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 60;
}

/* ---------- Reveal (IntersectionObserver) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Blog ---------- */
.page-top {
  padding-top: 8rem;
}
.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 155, 255, 0.4);
}
.post-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  font-size: 3rem;
  background: radial-gradient(120% 120% at 50% 20%, var(--surface-2), var(--surface) 70%);
  border-bottom: 1px solid var(--border);
}
.post-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--fg-faint);
}
.post-meta .cat {
  color: var(--accent);
  font-weight: 500;
}
.post-card h3 {
  margin-top: 0.75rem;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--fg);
}
.post-card p {
  margin-top: 0.6rem;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--fg-muted);
}
.post-card .more {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
}
.article {
  max-width: 44rem;
  margin-inline: auto;
}
.article .back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
  transition: color 0.2s ease;
}
.article .back:hover {
  color: var(--fg);
}
.article .cover {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  aspect-ratio: 21 / 9;
  font-size: 4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: radial-gradient(120% 120% at 50% 20%, var(--surface-2), var(--surface) 70%);
}
.article h1 {
  margin-top: 2rem;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  color: var(--fg);
}
.article .meta {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--fg-faint);
}
.article .meta .cat {
  color: var(--accent);
  font-weight: 500;
}
.article .content {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.article .content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--fg-muted);
}
.article .cta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.article .cta p {
  color: var(--fg-muted);
}

/* ---------- Espacamentos utilitarios ---------- */
.mt-6 {
  margin-top: 1.5rem;
}
.mt-12 {
  margin-top: 3rem;
}
.center {
  text-align: center;
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Keyframes ---------- */
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
