/* ==========================================================================
   GUANNA — Sistema Visual & Estilos (styles.css)
   Autor: Forja (Programação) · Especificação: Aquarela (design-system.md)
   ========================================================================== */

/* Fontes hospedadas no site (OFL) + reservas com a mesma largura, para a troca não mover o layout */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk Fallback';
  src: local('Arial'), local('Helvetica'), local('Roboto');
  size-adjust: 101.0%;
}

@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('Helvetica'), local('Roboto');
  size-adjust: 106.3%;
}

:root {
  /* Cores */
  --bg-primary: #08090B;
  --bg-secondary: #0E1015;
  --bg-surface: #13161D;
  --bg-surface-hover: #191D26;
  --bg-glass: rgba(14, 16, 21, 0.82);

  --text-primary: #FFFFFF;
  --text-secondary: #B0B7C3;
  --text-muted: #7F8799;
  --text-on-brand: #060807;

  --brand-neon: #00FF55;
  --brand-neon-hover: #26FF6E;
  --brand-deep: #00C840;
  --brand-tint: rgba(0, 255, 85, 0.10);
  --border-subtle: #1F2430;
  --border-hover: #3A4150;
  --border-accent: rgba(0, 255, 85, 0.45);
  --status-error: #FF4D4D;
  --status-success: #00FF55;

  /* Tipografia */
  --font-display: 'Space Grotesk', 'Space Grotesk Fallback', system-ui, -apple-system, sans-serif;
  --font-sans: 'Inter', 'Inter Fallback', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Espaçamentos */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-28: 7rem;

  /* Raios de borda */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Transições e Curvas (v4 — Estilo Editorial Suave) */
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 180ms var(--ease-out);
  --transition-base: 280ms var(--ease-out);

  /* Scroll-Reveal (v4) */
  --reveal-distance: 24px;
  --reveal-duration: 650ms;
  --reveal-stagger-step: 90ms;
  --reveal-stagger-max: 360ms;

  /* Elevação e Glow de Hover (v4) */
  --btn-hover-lift: -2px;
  --brand-glow: rgba(0, 255, 85, 0.25);
  --brand-glow-strong: rgba(0, 255, 85, 0.38);

  /* Carrossel de Projetos (v4) */
  --carousel-gap-mobile: 16px;
  --carousel-gap-tablet: 24px;
  --carousel-gap-desktop: 28px;
  --carousel-transition: 520ms var(--ease-editorial);
}

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

html {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

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

body {
  position: relative;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background: rgba(0, 255, 85, 0.22);
  color: var(--text-primary);
}

/* Cursor da marca, só com mouse. Sem JS, vale esta imagem; com JS, initCursor troca
   pelo elemento .site-cursor assim que o mouse se move. */
@media (hover: hover) and (pointer: fine) {
  html {
    cursor:
      url('../img/brand/cursor-underscore.svg') 12 15,
      url('../img/brand/cursor-underscore.png') 12 15,
      auto;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* Skip Link para acessibilidade */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  background: var(--brand-neon);
  color: var(--text-on-brand);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 12px;
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--brand-neon);
  outline-offset: 3px;
}

/* ==========================================================================
   Layout & Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.container--narrow {
  max-width: 800px;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 32px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 40px;
  }
}

.section {
  padding-block: 72px;
  scroll-margin-top: 88px;
  position: relative;
}

.section--alt {
  background: var(--bg-secondary);
}

@media (min-width: 1024px) {
  .section {
    padding-block: 104px;
  }
}

/* ==========================================================================
   Scroll-Reveal (v4 — IntersectionObserver + Fallback Sem JS)
   ========================================================================== */
[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  :where(html.js-enabled) [data-reveal] {
    opacity: 0;
    transform: translate3d(0, var(--reveal-distance, 24px), 0);
    transition:
      opacity var(--reveal-duration, 650ms) var(--ease-editorial),
      transform var(--reveal-duration, 650ms) var(--ease-editorial);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  :where(html.js-enabled) [data-reveal].is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  html.js-enabled [data-reveal],
  html.js-enabled [data-reveal].is-revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Tipografia & Cabeçalhos de Seção
   ========================================================================== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
}

.section-header {
  max-width: 680px;
  margin-bottom: var(--space-12);
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(1.75rem, 3vw + 0.75rem, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Cursor Terminal _ */
.cursor-underscore {
  color: var(--brand-neon);
  font-family: var(--font-mono);
  font-weight: 600;
  display: inline-block;
  margin-left: 2px;
  animation: guanna-blink 1.1s steps(2, start) infinite;
}

@keyframes guanna-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ==========================================================================
   Botões & Links de Ação
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  text-align: center;
  max-width: 100%;
}

@media (min-width: 640px) {
  .btn {
    padding: 14px 28px;
  }
}

.btn svg {
  flex-shrink: 0;
}

.btn-primary {
  background-color: var(--brand-neon);
  color: var(--text-on-brand);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background-color: var(--brand-neon-hover);
    color: var(--text-on-brand);
    transform: translate3d(0, var(--btn-hover-lift, -2px), 0);
    box-shadow: 0 8px 28px var(--brand-glow-strong);
  }
}

.btn-primary:active {
  transform: translate3d(0, 0, 0);
  background-color: var(--brand-deep);
  box-shadow: 0 2px 10px var(--brand-glow);
}

.btn-primary:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(0, 255, 85, 0.35);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover {
    border-color: var(--border-hover);
  }
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--brand-neon);
  outline-offset: 3px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9375rem;
}

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-neon);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.link-cta .arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .link-cta:hover {
    color: var(--brand-neon-hover);
  }

  .link-cta:hover .arrow {
    transform: translateX(4px);
  }
}

.link-cta:focus-visible {
  outline: 2px solid var(--brand-neon);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ==========================================================================
   7.0 Navbar Fixa (.site-header)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 28px;
  width: auto;
}

@media (min-width: 1024px) {
  .brand-logo img {
    height: 30px;
  }
}

.site-nav {
  display: none;
}

@media (min-width: 1024px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding-block: 6px;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text-primary);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--brand-neon);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta-desktop {
  display: none;
}

@media (min-width: 640px) {
  .header-cta-desktop {
    display: inline-flex;
  }
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
}

.menu-toggle:hover {
  border-color: var(--border-accent);
  color: var(--brand-neon);
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

/* Menu Mobile Drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(11, 13, 18, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 24px 28px;
  z-index: 99;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 10px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-nav-link:hover {
  color: var(--brand-neon);
}

.mobile-menu .btn {
  width: 100%;
}

/* ==========================================================================
   7.1 Seção 1: Hero (.hero)
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: center;
  padding-block: clamp(48px, 8vh, 96px) 72px;
  scroll-margin-top: 88px;
}

.hero-title {
  font-size: clamp(2rem, 8.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  max-width: 18ch;
}

/* A palavra que troca nunca quebra no meio: o bloco "do seu restaurante." desce inteiro. */
.slot {
  display: inline;
  white-space: nowrap;
}

/* O cursor "_" acompanha a palavra: nunca fica sozinho numa linha */
.slot-wrap {
  white-space: nowrap;
}

.typing-caret {
  color: var(--brand-neon);
  font-family: var(--font-mono);
  font-weight: 600;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
  }
}

/* Seletor de negócio: só existe com JS. Fica no HTML para ocupar espaço desde a primeira pintura. */
.hero-pick {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-secondary);
}

html.js-enabled .hero-pick {
  display: flex;
}

.hero-pick-label {
  margin-right: 8px;
}

.hero-pick button {
  min-height: 44px;
  padding: 0 6px;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--border-hover);
  text-underline-offset: 5px;
}

.hero-pick button:hover {
  text-decoration-color: var(--brand-neon);
}

.hero-pick button:focus-visible {
  outline: 2px solid var(--brand-neon);
  outline-offset: 2px;
}

.hero-pick button[aria-pressed="true"] {
  color: var(--brand-neon);
  text-decoration-color: var(--brand-neon);
}

.hero-foot {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

@media (min-width: 1024px) {
  .hero-foot {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 64px;
  }
}

.hero-lead {
  font-size: clamp(1.0625rem, 0.8vw + 0.85rem, 1.25rem);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 56ch;
}

.hero-lead p + p {
  margin-top: 14px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 28px;
  }
}

.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: var(--border-hover);
  text-underline-offset: 5px;
}

.hero-link:hover {
  text-decoration-color: var(--text-primary);
}

/* ==========================================================================
   Linhas neon (v5): só desktop com JS; montadas por initRails em main.js
   ========================================================================== */
.rails {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  display: none;
  will-change: transform;
}

.rails > svg {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  will-change: transform;
}

.rail-label {
  position: absolute;
  z-index: 1;
  display: none;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand-neon);
  writing-mode: vertical-rl;
  pointer-events: none;
}

@media (min-width: 1024px) {
  html.js-enabled .rails,
  html.js-enabled .rail-label {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rails,
  .rail-label,
  .legs {
    display: none !important;
  }
}

/* ==========================================================================
   7.2 Seção 2: Serviços (#servicos) — lista editorial
   ========================================================================== */
.service-list {
  border-bottom: 1px solid var(--border-subtle);
}

.service-row {
  display: grid;
  gap: 16px;
  padding-block: 32px;
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .service-row {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: 40px;
  }

  .service-row .link-cta {
    grid-column: 2;
  }
}

@media (min-width: 1024px) {
  .service-row {
    grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) auto;
    align-items: start;
    padding-block: 40px;
  }

  .service-row .link-cta {
    grid-column: 3;
    margin-top: 6px;
  }
}

.service-title {
  font-size: clamp(1.5rem, 1.6vw + 1rem, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.service-title::after {
  content: "_";
  margin-left: 4px;
  color: var(--brand-neon);
  font-family: var(--font-mono);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-row:hover .service-title::after,
.service-row:focus-within .service-title::after {
  opacity: 1;
}

.service-desc {
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.service-bullets li {
  padding-left: 16px;
  position: relative;
}

.service-bullets li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: var(--text-muted);
  font-weight: 700;
}

/* ==========================================================================
   7.3 Seção 3: Projetos / Cases (#projetos — Carrossel Interativo v4)
   ========================================================================== */
.projects-header-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: var(--space-10);
}

.projects-header-row .section-header {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .projects-header-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
  }
}

.projects-carousel {
  position: relative;
}

/* Trilha do Carrossel (Scroll-Snap Horizontal com "Peek" Editorial) */
.projects-grid,
.projects-carousel-track {
  display: flex;
  align-items: stretch;
  gap: var(--carousel-gap-mobile, 16px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding-block: 6px 12px;
}

/* Movimento perpétuo (main.js): sem snap nem rolagem suave enquanto a trilha desliza sozinha */
.projects-carousel-track.is-drifting {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.projects-carousel-track.is-drifting > .project-card {
  transform: translate3d(var(--drift-x, 0px), 0, 0);
  will-change: transform;
}

.projects-carousel-track::-webkit-scrollbar {
  display: none;
}

.projects-carousel-track:focus-visible {
  outline: 2px solid var(--brand-neon);
  outline-offset: 6px;
  border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
  .projects-grid,
  .projects-carousel-track {
    gap: var(--carousel-gap-tablet, 24px);
  }
}

@media (min-width: 1024px) {
  .projects-grid,
  .projects-carousel-track {
    gap: var(--carousel-gap-desktop, 28px);
  }
}

/* Card de Case (.project-card) com larguras responsivas por breakpoint */
.project-card {
  flex: 0 0 88%;
  max-width: 88%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    border-color var(--transition-base);
}

@media (min-width: 768px) {
  .project-card {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
}

@media (min-width: 1024px) {
  .project-card {
    flex: 0 0 43%;
    max-width: 43%;
    min-width: 420px;
  }
}

@media (min-width: 1440px) {
  .project-card {
    flex: 0 0 480px;
    max-width: 480px;
    min-width: 480px;
  }
}

.project-card:focus-within {
  border-color: var(--border-accent);
}

@media (hover: hover) and (pointer: fine) {
  .project-card:hover {
    border-color: var(--border-hover);
  }
}

.project-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #0B0D12;
  border-bottom: 1px solid var(--border-subtle);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brand-neon);
  background: rgba(8, 9, 11, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 255, 85, 0.35);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}

.project-label {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  background: rgba(8, 9, 11, 0.82);
  backdrop-filter: blur(6px);
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (min-width: 1024px) {
  .project-body {
    padding: 28px;
  }
}

.project-title {
  font-size: clamp(1.25rem, 1.2vw + 0.9rem, 1.45rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 10px;
}

.project-summary {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}

.project-roadmap {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-secondary);
  background: rgba(0, 255, 85, 0.04);
  border: 1px solid rgba(0, 255, 85, 0.16);
  border-left: 3px solid var(--brand-neon);
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.project-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #222734;
  padding: 4px 10px;
  border-radius: 6px;
}

.project-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 14px;
}

.project-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-neon);
}

@media (hover: hover) and (pointer: fine) {
  .project-ext-link:hover {
    color: var(--brand-neon-hover);
    text-decoration: underline;
  }
}

.project-ext-link--muted {
  color: var(--text-secondary);
  font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
  .project-ext-link--muted:hover {
    color: var(--brand-neon);
  }
}

/* Controles do Carrossel: Setas, Dots e Contador */
.carousel-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.carousel-nav--top {
  display: none;
}

.carousel-nav--bottom {
  display: inline-flex;
}

@media (min-width: 768px) {
  .carousel-nav--top {
    display: inline-flex;
  }

  .carousel-nav--bottom {
    display: none;
  }
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast),
    opacity var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .carousel-btn:not(:disabled):hover {
    border-color: var(--border-hover);
  }
}

.carousel-btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
  background: rgba(19, 22, 29, 0.45);
  border-color: var(--border-subtle);
  color: var(--text-muted);
  box-shadow: none;
  transform: none;
}

.carousel-toggle {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.carousel-toggle[hidden] {
  display: none;
}

.carousel-toggle .icon-play,
.carousel-toggle.is-paused .icon-pause {
  display: none;
}

.carousel-toggle.is-paused .icon-play {
  display: block;
}

.carousel-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 4px;
}

.carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.carousel-dot {
  min-width: 24px;
  height: 44px;
  padding-inline: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
}

.carousel-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2B3140;
  transition:
    width 280ms var(--ease-editorial),
    background-color 280ms var(--ease-editorial);
}

@media (hover: hover) and (pointer: fine) {
  .carousel-dot:not(.is-active):hover::before {
    background: var(--text-muted);
  }
}

.carousel-dot.is-active::before,
.carousel-dot[aria-current="true"]::before {
  width: 28px;
  background: var(--brand-neon);
}

.carousel-footer-right {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.carousel-counter {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.carousel-counter [data-carousel-current] {
  color: var(--brand-neon);
  font-weight: 600;
}

.carousel-counter-sep {
  color: var(--text-muted);
}

/* ==========================================================================
   7.4 Seção 4: Processo (#processo)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  list-style: none;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 3vw + 1rem, 3.5rem);
  font-weight: 500;
  line-height: 1;
  color: var(--brand-neon);
  margin-bottom: 18px;
}

.process-step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ==========================================================================
   7.5 Seção 5: Quem Somos (#quem-somos)
   ========================================================================== */
.about {
  position: relative;
  padding-top: clamp(72px, 10vw, 160px);
  scroll-margin-top: 72px;
}

.stage {
  position: relative;
  overflow: clip;
}

.stage-type {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-display);
  font-size: 15.2vw;
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.045em;
  color: var(--text-primary);
  white-space: nowrap;
}

.stage-gu {
  flex: 1;
  text-align: right;
}

.stage-anna {
  flex: 1;
  text-align: left;
}

.mono-slot {
  flex: none;
  position: relative;
  width: 13.5vw;
  height: 13.5vw;
  margin: 0 1.4vw;
}

.mono-slot svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: visible;
}

/* Estado padrão (sem JS / reduced motion): monograma pronto, em branco */
.m-white,
.m-cut,
.m-neon {
  fill: none;
}

.m-white {
  stroke: var(--text-primary);
  stroke-width: 36;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.m-cut {
  stroke: var(--bg-primary);
  stroke-width: 60;
}

.m-neon {
  display: none;
  stroke: var(--brand-neon);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html.js-enabled .mono-slot.anim .m-neon {
  display: block;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
}

html.js-enabled .mono-slot.anim .m-white,
html.js-enabled .mono-slot.anim .m-cut {
  opacity: 0;
  transition: opacity 500ms ease;
}

html.js-enabled .mono-slot.anim.done .m-white,
html.js-enabled .mono-slot.anim.done .m-cut {
  opacity: 1;
}

.stage-photo {
  position: relative;
  z-index: 2;
  display: block;
  width: min(1100px, calc(100% - 32px));
  margin: clamp(32px, 5vw, 72px) auto 0;
}

/* Foto inteira (sem recorte) numa moldura com filete neon */
.stage-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--brand-neon);
  box-shadow: 0 0 28px -10px var(--brand-neon);
}

.legs {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
}

.leg {
  fill: none;
  stroke: var(--brand-neon);
  stroke-width: 2;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
}

@media (min-width: 1024px) {
  html.js-enabled .legs {
    display: block;
  }
}

.about-copy {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 40px;
  margin-top: clamp(48px, 6vw, 96px);
  padding-bottom: 72px;
}

.about-title {
  font-size: clamp(2rem, 4.6vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.about-story {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 62ch;
}

.about-story strong {
  color: var(--text-primary);
  font-weight: 600;
}

.manifesto {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 62ch;
}

.manifesto-close {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

.founders {
  display: grid;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.founder h3 {
  font-size: clamp(1.25rem, 1.2vw + 0.9rem, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
}

.founder-role {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--brand-neon);
  margin: 6px 0 12px;
}

.founder p {
  color: var(--text-secondary);
}

.founder-stack {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 12px;
}

@media (min-width: 768px) {
  .founders {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .about-copy {
    grid-template-columns: 5fr 7fr;
    column-gap: 64px;
    row-gap: 56px;
    padding-bottom: 104px;
  }

  .founders {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .stage-type {
    font-size: 16vw;
  }

  .mono-slot {
    width: 15vw;
    height: 15vw;
    margin: 0 1vw;
  }

  .stage-photo img {
    border-radius: 16px;
  }
}

/* ==========================================================================
   7.6 Seção 6: FAQ (#faq) — lista com filetes
   ========================================================================== */
.faq-list {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item {
  border-top: 1px solid var(--border-subtle);
}

.faq-question {
  list-style: none;
  cursor: pointer;
  padding-block: 20px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--brand-neon);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding-bottom: 20px;
  color: var(--text-secondary);
  font-size: 0.96875rem;
  line-height: 1.65;
}

/* ==========================================================================
   7.7 Seção 7: CTA Final + Contato (#contato)
   ========================================================================== */
.contact-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 28px 20px;
}

@media (min-width: 640px) {
  .contact-box {
    padding: 40px 32px;
  }
}

@media (min-width: 1024px) {
  .contact-box {
    padding: 56px;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

.contact-direct,
.contact-form-wrap {
  min-width: 0;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 48px;
    align-items: start;
  }

  .contact-direct {
    grid-column: span 5;
  }

  .contact-form-wrap {
    grid-column: span 7;
  }
}

.contact-direct-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
  margin-bottom: 28px;
}

.contact-direct-actions .btn {
  width: 100%;
  justify-content: center;
}

.contact-meta-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.contact-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-meta-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--brand-neon);
  display: block;
  margin-bottom: 2px;
}

.contact-meta-item a:hover {
  color: var(--brand-neon);
}

/* Formulário */
.contact-form {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 640px) {
  .contact-form {
    padding: 32px;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .form-row--2col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-label span {
  color: var(--brand-neon);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #0B0D12;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input,
.form-select {
  height: 48px;
}

.form-textarea {
  min-height: 116px;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-neon);
  box-shadow: 0 0 0 3px rgba(0, 255, 85, 0.15);
}

.form-feedback {
  display: none;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback--success {
  background: rgba(0, 255, 85, 0.1);
  border: 1px solid rgba(0, 255, 85, 0.4);
  color: #D9FFE6;
}

.form-feedback--error {
  background: rgba(255, 77, 77, 0.12);
  border: 1px solid rgba(255, 77, 77, 0.4);
  color: #FFD6D6;
}

/* ==========================================================================
   7.8 Seção 8: Footer (.site-footer)
   ========================================================================== */
.site-footer {
  background-color: #050608;
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 48px;
  }
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--brand-neon);
  margin-top: 14px;
  margin-bottom: 8px;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  max-width: 38ch;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--brand-neon);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-made {
  font-family: var(--font-mono);
}

/* ==========================================================================
   Botão Flutuante WhatsApp (.fab-whatsapp)
   ========================================================================== */
.fab-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--brand-neon);
  color: var(--text-on-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .fab-whatsapp:hover {
    background-color: var(--brand-neon-hover);
    transform: translate3d(0, -3px, 0) scale(1.05);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
  }
}

.fab-whatsapp:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

.fab-whatsapp:active {
  transform: scale(0.97);
}

/* ==========================================================================
   Cursor da marca (v5, seção 7b): elemento movido por initCursor em main.js
   ========================================================================== */
html.cursor-on,
html.cursor-on * {
  cursor: none !important;
}

html.cursor-on input,
html.cursor-on textarea,
html.cursor-on select {
  cursor: auto !important;
}

.site-cursor,
.site-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  will-change: transform;
}

.site-cursor {
  opacity: 0;
}

.site-cursor.is-visible {
  opacity: 1;
}

.site-cursor-bar {
  position: absolute;
  left: -7px;
  top: -1.5px;
  width: 14px;
  height: 3px;
  background: var(--brand-neon);
  transition: transform 160ms var(--ease-out);
}

.site-cursor-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: 0 0 12px rgba(0, 255, 85, 0.55);
  opacity: 0;
  transition: opacity 160ms var(--ease-out);
}

.site-cursor.is-idle:not(.is-hover) .site-cursor-bar {
  animation: guanna-blink 1100ms steps(2, start) infinite;
}

.site-cursor.is-hover .site-cursor-bar {
  transform: scaleX(2);
}

.site-cursor.is-hover .site-cursor-bar::after {
  opacity: 1;
}

.site-cursor.is-press .site-cursor-bar {
  transform: scaleX(0.8);
  transition-duration: 90ms;
}

.site-cursor.is-hover.is-press .site-cursor-bar {
  transform: scaleX(1.6);
}

.site-cursor.is-brand .site-cursor-bar {
  background: var(--text-on-brand);
}

.site-cursor.is-brand .site-cursor-bar::after {
  opacity: 0;
}

.site-cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--brand-neon);
  border-radius: 50%;
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .site-cursor.is-idle:not(.is-hover) .site-cursor-bar {
    animation: none;
  }

  .site-cursor-bar,
  .site-cursor-bar::after {
    transition: none;
  }

  .site-cursor.is-hover .site-cursor-bar::after {
    opacity: 0;
  }

  .site-cursor-ring {
    display: none;
  }
}

/* ==========================================================================
   Acessibilidade: Redução de Movimento
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .cursor-underscore {
    animation: none;
    opacity: 1;
  }
}

/* ==========================================================================
   Animações estilo Gravyx (v12): blur-in, títulos letra por letra,
   brilho nos botões e bordas do carrossel que somem suavemente
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  :where(html.js-enabled) [data-reveal="blur"] {
    filter: blur(10px);
    transition:
      opacity var(--reveal-duration, 650ms) var(--ease-editorial),
      transform var(--reveal-duration, 650ms) var(--ease-editorial),
      filter var(--reveal-duration, 650ms) var(--ease-editorial);
    transition-delay: var(--reveal-delay, 0ms);
  }

  :where(html.js-enabled) [data-reveal="blur"].is-revealed {
    filter: none;
  }
}

/* Títulos: cada letra desce de dentro de uma janela */
.split-word {
  display: inline-block;
  white-space: nowrap;
}

.char-clip {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.12em 0.02em 0.16em;
  margin: -0.12em -0.02em -0.16em;
}

.char {
  display: inline-block;
}

@media (prefers-reduced-motion: no-preference) {
  html.js-enabled .split-title .char {
    transform: translate3d(0, -115%, 0);
  }

  html.js-enabled .is-revealed .split-title .char,
  html.js-enabled .split-title.is-revealed .char {
    animation: guanna-char-down 0.8s var(--ease-out) calc(var(--ci, 0) * 22ms + 120ms) both;
  }
}

@keyframes guanna-char-down {
  from { transform: translate3d(0, -115%, 0); }
  to { transform: translate3d(0, 0, 0); }
}

/* Brilho passando nos botões principais */
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: translate3d(-160%, 0, 0) skewX(-18deg);
}

@media (prefers-reduced-motion: no-preference) {
  .btn-primary::after {
    animation: guanna-sheen 4.8s var(--ease-out) 1.2s infinite;
  }
}

@keyframes guanna-sheen {
  0% { transform: translate3d(-160%, 0, 0) skewX(-18deg); }
  32%, 100% { transform: translate3d(360%, 0, 0) skewX(-18deg); }
}

/* Carrossel: os cards entram e saem pelas laterais com fade, sem corte seco */
.projects-carousel-track {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}

/* ==========================================================================
   Mockups animados dos projetos (v12)
   Tamanhos em em, a partir da largura do card (container query), para o
   mockup encolher junto com o card no celular.
   ========================================================================== */
.project-media.has-mock > img {
  display: none;
}

.mock {
  position: absolute;
  inset: 0;
  container-type: size;
  overflow: hidden;
  font-family: var(--font-sans);
  line-height: 1.25;
  color: #E6EAF0;
  background:
    radial-gradient(90% 80% at 88% 6%, rgba(0, 255, 85, 0.13), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(180deg, #0C0F14 0%, #08090B 100%);
}

.mock *,
.mock *::before,
.mock *::after {
  box-sizing: border-box;
}

.mk-stage {
  position: absolute;
  left: 5%;
  right: 5%;
  top: max(19%, 46px);
  bottom: 0;
  /* cqw só vale dentro do container (.mock), por isso o tamanho base fica aqui */
  font-size: 2.3cqw;
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

.mock.is-rewind .mk-stage {
  opacity: 0;
  transform: translate3d(0, 0.6em, 0);
}

.mock.is-rewind .mk-stage * {
  transition: none !important;
}

.mk-mono { font-family: var(--font-mono); letter-spacing: 0; }
.mk-dim { color: #7F8799; }
.mk-neon { color: var(--brand-neon); }

.mk-h {
  font-family: var(--font-mono);
  font-size: 0.72em;
  color: #7F8799;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8em;
}

.mk-panel {
  background: #11141B;
  border: 1px solid #232937;
  border-radius: 0.7em;
}

.mk-win {
  position: absolute;
  inset: 0;
  background: #10131A;
  border: 1px solid #232937;
  border-bottom: 0;
  border-radius: 0.8em 0.8em 0 0;
  box-shadow: 0 -1em 3em -1.2em rgba(0, 255, 85, 0.18);
}

.mk-winbar {
  display: flex;
  align-items: center;
  gap: 0.45em;
  height: 2.2em;
  padding: 0 0.9em;
  border-bottom: 1px solid #1F2430;
}

.mk-winbar i {
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: #2A303D;
}

.mk-winbar span {
  margin-left: 0.5em;
  font-size: 0.75em;
}

.mk-live {
  margin-left: auto !important;
  display: flex;
  align-items: center;
  gap: 0.4em;
  color: var(--brand-neon);
}

.mk-live b {
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--brand-neon);
  box-shadow: 0 0 0.6em var(--brand-neon);
  animation: guanna-mk-pulse 1.6s ease-in-out infinite;
}

@keyframes guanna-mk-pulse {
  50% { opacity: 0.3; }
}

/* Troca de valor: o antigo sobe e some, o novo sobe no lugar */
.mk-swap {
  display: inline-grid;
}

.mk-swap > * {
  grid-area: 1 / 1;
  transition: opacity 0.4s var(--ease-out), transform 0.6s var(--ease-out);
}

.mk-swap > :last-child {
  opacity: 0;
  transform: translate3d(0, 70%, 0);
}

.mock--rest.s4 .mk-cash .mk-swap > :first-child,
.mock--trv.s5 .mk-stat--hit .mk-swap > :first-child,
.mock--est.s2 .mk-row:nth-child(2) .mk-swap > :first-child,
.mock--est.s4 .mk-row:nth-child(3) .mk-swap > :first-child,
.mock--est.s4 .mk-count > :first-child,
.mock--dia.s2 .mk-tr:nth-child(2) .mk-swap > :first-child,
.mock--dia.s4 .mk-tr:nth-child(3) .mk-swap > :first-child,
.mock--dia.s4 .mk-total .mk-swap > :first-child {
  opacity: 0;
  transform: translate3d(0, -70%, 0);
}

.mock--rest.s4 .mk-cash .mk-swap > :last-child,
.mock--trv.s5 .mk-stat--hit .mk-swap > :last-child,
.mock--est.s2 .mk-row:nth-child(2) .mk-swap > :last-child,
.mock--est.s4 .mk-row:nth-child(3) .mk-swap > :last-child,
.mock--est.s4 .mk-count > :last-child,
.mock--dia.s2 .mk-tr:nth-child(2) .mk-swap > :last-child,
.mock--dia.s4 .mk-tr:nth-child(3) .mk-swap > :last-child,
.mock--dia.s4 .mk-total .mk-swap > :last-child {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Toque de dedo */
.mk-tap {
  position: absolute;
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  border: 2px solid var(--brand-neon);
  background: rgba(0, 255, 85, 0.18);
  opacity: 0;
  transform: scale(0.3);
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out), transform 0.5s var(--ease-out);
}

/* Barra de progresso */
.mk-track {
  height: 0.35em;
  border-radius: 1em;
  background: #1F2430;
  overflow: hidden;
}

.mk-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--brand-neon);
  box-shadow: 0 0 0.8em var(--brand-neon);
  transform-origin: left center;
  transition: transform 1s var(--ease-out);
}

/* Celular */
.mk-phone {
  position: absolute;
  left: 4%;
  top: 0.4em;
  width: 11.5em;
  height: 23em;
  padding: 0.45em;
  border-radius: 1.7em;
  background: #05060A;
  border: 1px solid #2A303D;
  box-shadow: 0 0 0 0.25em #12151C, 0 1.5em 3em -1em rgba(0, 0, 0, 0.7);
}

.mk-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 1.25em;
  background: #0F1218;
}

.mk-side {
  position: absolute;
  left: 42%;
  right: 0;
  top: 0.4em;
  display: flex;
  flex-direction: column;
  gap: 0.8em;
}

.mk-note {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.75em 0.9em;
  font-size: 0.8em;
  opacity: 0;
  transform: translate3d(0, 0.8em, 0);
  transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out);
}

.mk-note i {
  flex: none;
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0.6em #25D366;
}

.mk-bubble {
  font-size: 0.62em;
  line-height: 1.4;
  color: #E9EDEF;
  background: #005C4B;
  padding: 0.6em 0.75em;
  border-radius: 0.8em 0.8em 0.2em 0.8em;
}

/* --- 1. Restaurante: mesa abre, pedido chega na cozinha, caixa sobe --- */
.mk-rest {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.1em;
  padding: 1em;
}

.mk-tables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5em;
}

.mk-t {
  position: relative;
  height: 3.1em;
  padding: 0.45em 0.55em;
  display: flex;
  align-items: flex-end;
  border-radius: 0.5em;
  border: 1px solid #262C39;
  background: #141820;
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: #7F8799;
}

.mk-t.is-busy {
  border-color: rgba(0, 255, 85, 0.3);
  color: #CFD5DE;
}

.mk-t.is-busy::after {
  content: "";
  position: absolute;
  top: 0.55em;
  right: 0.55em;
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: var(--brand-neon);
}

.mk-t--new::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid var(--brand-neon);
  background: rgba(0, 255, 85, 0.12);
  box-shadow: 0 0 1.2em rgba(0, 255, 85, 0.35);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.mock--rest.s1 .mk-t--new::before { opacity: 1; }
.mock--rest.s1 .mk-t--new { color: #FFFFFF; }

.mk-t--new .mk-tap {
  left: 50%;
  top: 50%;
  margin: -1.2em 0 0 -1.2em;
}

.mock--rest.s1:not(.s2) .mk-t--new .mk-tap {
  opacity: 1;
  transform: scale(1);
}

.mk-cash {
  margin-top: 0.9em;
  padding: 0.75em 0.85em;
}

.mk-cash-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.6em;
  font-size: 0.85em;
}

.mock--rest .mk-fill { transform: scaleX(0.55); }
.mock--rest.s4 .mk-fill { transform: scaleX(0.7); }

.mk-kds {
  height: 13.6em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 72%, transparent);
  mask-image: linear-gradient(#000 72%, transparent);
}

.mk-kds-list {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  transform: translate3d(0, -3.6em, 0);
  transition: transform 0.8s var(--ease-out);
}

.mock--rest.s2 .mk-kds-list { transform: translate3d(0, 0, 0); }

.mk-ticket {
  position: relative;
  flex: none;
  height: 3.1em;
  padding: 0.45em 0.7em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15em;
  border-radius: 0.55em;
  background: #141820;
  border: 1px solid #262C39;
}

.mk-ticket b { font-size: 0.85em; }
.mk-ticket span { font-size: 0.72em; color: #9AA3B2; }

.mk-ticket em {
  position: absolute;
  right: 0.7em;
  top: 50%;
  transform: translateY(-50%);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.7em;
  color: #7F8799;
}

.mk-ticket--new {
  border-color: var(--brand-neon);
  box-shadow: 0 0 1.2em -0.2em rgba(0, 255, 85, 0.45);
}

.mk-ticket--new .mk-ok {
  padding: 0.25em 0.55em;
  border-radius: 1em;
  background: var(--brand-neon);
  color: #06120A;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-50%) scale(0.6);
  transition: opacity 0.4s var(--ease-out), transform 0.6s var(--ease-out);
}

.mock--rest.s3 .mk-ticket--new .mk-ok {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* --- 2. Top Rio Verde: página rola, toque no WhatsApp, contato chega --- */
.mk-page {
  transition: transform 2.2s var(--ease-out);
}

.mock--trv.s1 .mk-page { transform: translate3d(0, -4.5em, 0); }

.mk-lp-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 0.9em 0.7em;
  font-size: 0.6em;
  letter-spacing: 0.08em;
}

.mk-lp-nav i {
  width: 1.3em;
  height: 0.6em;
  border-top: 2px solid #CFD5DE;
  border-bottom: 2px solid #CFD5DE;
}

.mk-lp-hero {
  padding: 0.7em 0.75em 1em;
  background: linear-gradient(160deg, #183022 0%, #0F1218 75%);
}

.mk-lp-hero small {
  display: block;
  font-size: 0.55em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mk-lp-hero strong {
  display: block;
  margin: 0.35em 0 0.75em;
  font-family: var(--font-display);
  font-size: 1em;
  line-height: 1.15;
}

.mk-lp-btn {
  display: inline-block;
  padding: 0.6em 0.9em;
  border-radius: 0.5em;
  background: #25D366;
  color: #06120A;
  font-size: 0.6em;
  font-weight: 700;
}

.mk-lp-cards {
  display: grid;
  gap: 0.45em;
  padding: 0.8em 0.75em;
}

.mk-lp-cards div {
  padding: 0.8em 0.75em;
  border-radius: 0.6em;
  background: #151922;
  border: 1px solid #262C39;
  font-size: 0.64em;
}

.mk-lp-cards .is-target { border-color: rgba(0, 255, 85, 0.55); }

.mk-fab {
  position: absolute;
  right: 0.7em;
  bottom: 3.2em;
  width: 2.3em;
  height: 2.3em;
  padding: 0.45em;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 0.4em 1em rgba(37, 211, 102, 0.4);
}

.mk-fab svg,
.mk-wa-head svg {
  display: block;
  width: 100%;
  height: 100%;
}

.mk-tap--fab {
  right: 0.65em;
  bottom: 3.15em;
}

.mock--trv.s2:not(.s3) .mk-tap--fab {
  opacity: 1;
  transform: scale(1);
}

.mk-chat {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #0B141A;
  transform: translate3d(0, 101%, 0);
  transition: transform 0.7s var(--ease-out);
}

.mock--trv.s3 .mk-chat { transform: translate3d(0, 0, 0); }

.mk-chat-head {
  padding: 1.6em 0.9em 0.7em;
  background: #1F2C33;
  font-size: 0.66em;
  font-weight: 600;
}

.mk-chat-head small {
  display: block;
  font-weight: 400;
  color: #25D366;
}

.mk-chat .mk-bubble {
  align-self: flex-end;
  margin: 1em 0.7em 0 2.2em;
  opacity: 0;
  transform: translate3d(0, 0.8em, 0) scale(0.95);
  transition: opacity 0.4s var(--ease-out), transform 0.6s var(--ease-out);
}

.mock--trv.s4 .mk-chat .mk-bubble {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.mk-stats {
  padding: 0.9em 1em 0.4em;
}

.mk-stat {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55em 0;
  border-top: 1px solid #1F2430;
  font-size: 0.85em;
}

.mk-stat b { font-family: var(--font-mono); }

.mk-stat--hit::before {
  content: "";
  position: absolute;
  inset: 0 -0.6em;
  border-radius: 0.4em;
  background: rgba(0, 255, 85, 0.1);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.mock--trv.s5 .mk-stat--hit::before { opacity: 1; }
.mock--trv.s5 .mk-note { opacity: 1; transform: translate3d(0, 0, 0); }

/* --- 3. Estoque: soma rápida, progresso, planilha Excel --- */
.mk-app-head {
  padding: 1.4em 0.8em 0.7em;
}

.mk-app-head b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78em;
  margin-bottom: 0.2em;
}

.mk-app-head > span {
  display: block;
  font-size: 0.58em;
  margin-bottom: 0.7em;
}

.mock--est .mk-fill { transform: scaleX(0.62); }
.mock--est.s2 .mk-fill { transform: scaleX(0.7); }
.mock--est.s4 .mk-fill { transform: scaleX(0.83); }

.mk-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.4em 0.6em;
  padding: 0.65em;
  border-radius: 0.55em;
  background: #151922;
  border: 1px solid #262C39;
  font-size: 0.64em;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.mock--est.s1:not(.s3) .mk-row:nth-child(2),
.mock--est.s3:not(.s5) .mk-row:nth-child(3) {
  border-color: var(--brand-neon);
  box-shadow: 0 0 1em -0.3em rgba(0, 255, 85, 0.5);
}

.mk-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35em;
  margin: 0.7em 0.6em;
}

.mk-steps div {
  padding: 0.6em 0;
  border-radius: 0.5em;
  background: #1A1F29;
  border: 1px solid #2A303D;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6em;
  font-weight: 700;
  transition: transform 0.2s var(--ease-out), background-color 0.2s, color 0.2s;
}

.mock--est.s1:not(.s2) .mk-b5,
.mock--est.s3:not(.s4) .mk-b10 {
  transform: scale(0.86);
  background: var(--brand-neon);
  color: #06120A;
}

.mk-toast {
  position: absolute;
  left: 0.6em;
  right: 0.6em;
  top: 13.5em;
  padding: 0.75em;
  border-radius: 0.6em;
  background: #E8FFEF;
  color: #06120A;
  font-size: 0.6em;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  transform: translate3d(0, 1em, 0);
  transition: opacity 0.4s var(--ease-out), transform 0.6s var(--ease-out);
}

.mock--est.s5 .mk-toast { opacity: 1; transform: translate3d(0, 0, 0); }

.mk-xls {
  padding: 0.85em 0.9em;
}

.mk-xls-head {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 0.7em;
  font-size: 0.78em;
}

.mk-xls-tag {
  padding: 0.2em 0.45em;
  border-radius: 0.3em;
  background: #1D6F42;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.85em;
  font-weight: 700;
}

.mk-xls-row {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.8fr;
  padding: 0.45em 0.5em;
  border-top: 1px solid #1F2430;
  font-size: 0.74em;
  opacity: 0;
  transform: translate3d(0, 0.5em, 0);
  transition: opacity 0.4s var(--ease-out), transform 0.6s var(--ease-out);
}

.mk-xls-row.is-head {
  opacity: 1;
  transform: none;
  color: #7F8799;
  font-family: var(--font-mono);
  font-size: 0.66em;
  text-transform: uppercase;
}

.mock--est.s6 .mk-xls-row { opacity: 1; transform: translate3d(0, 0, 0); }
.mock--est.s6 .mk-xls-row:nth-child(3) { transition-delay: 90ms; }
.mock--est.s6 .mk-xls-row:nth-child(4) { transition-delay: 180ms; }
.mock--est.s6 .mk-xls-row:nth-child(5) { transition-delay: 270ms; }
.mock--est.s6 .mk-note { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 500ms; }

/* --- 4. Diárias: quitação por pessoa, total cai, extrato no WhatsApp --- */
.mk-table {
  padding: 0.6em 0.9em;
}

.mk-tr {
  position: relative;
  display: grid;
  grid-template-columns: 1.7fr 0.8fr 1fr 1.2fr;
  align-items: center;
  padding: 0.6em 0.5em;
  border-top: 1px solid #1F2430;
  font-size: 0.8em;
}

.mk-tr > span:not(:first-child) {
  font-family: var(--font-mono);
  text-align: right;
}

.mk-tr .mk-swap { justify-items: end; }

.mk-tr.is-head {
  border-top: 0;
  color: #7F8799;
  font-family: var(--font-mono);
  font-size: 0.64em;
  text-transform: uppercase;
}

.mk-tr::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0.4em;
  background: rgba(0, 255, 85, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 85, 0.45);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.mock--dia.s1:not(.s3) .mk-tr:nth-child(2)::before,
.mock--dia.s3:not(.s5) .mk-tr:nth-child(3)::before {
  opacity: 1;
}

.mk-paid {
  padding: 0.15em 0.55em;
  border-radius: 1em;
  background: var(--brand-neon);
  color: #06120A;
  font-family: var(--font-sans);
  font-weight: 700;
}

.mk-total {
  display: flex;
  gap: 0.8em;
  align-items: baseline;
  margin-top: 0.3em;
  padding: 0.75em 0.5em 0;
  border-top: 1px solid #2A303D;
  font-size: 0.85em;
}

.mk-wa {
  position: absolute;
  right: 0.8em;
  bottom: 0.8em;
  width: 14.5em;
  padding: 0.75em;
  border-radius: 0.8em;
  background: #0B141A;
  border: 1px solid #1F2C33;
  box-shadow: 0 1em 2.5em -0.5em rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translate3d(1.5em, 0, 0);
  transition: opacity 0.5s var(--ease-out), transform 0.8s var(--ease-out);
}

.mock--dia.s5 .mk-wa { opacity: 1; transform: translate3d(0, 0, 0); }

.mk-wa-head {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.6em;
  font-size: 0.7em;
  font-weight: 600;
  color: #25D366;
}

.mk-wa-head svg {
  width: 1.4em;
  height: 1.4em;
}

.mk-wa .mk-bubble {
  font-size: 0.68em;
}

@media (prefers-reduced-motion: reduce) {
  .mock *,
  .mock *::before,
  .mock *::after {
    transition: none !important;
    animation: none !important;
  }
}
