/* ==========================================================================
   VENOY STUDIO — DESIGN SYSTEM & ENGINE VISUAL DE ALTA PERFORMANCE
   Hero: Maurício Coder (Papel, Olho em Stopmotion e Varredura de Luz)
   Portfólio & Seções: Venoy Studio Oficial (Verde Ácido #B6FF00, Grafite #070A06)
   ========================================================================== */

:root {
  /* Cores Oficiais Venoy Studio */
  --accent: #B6FF00;
  --accent-glow: rgba(182, 255, 0, 0.4);
  --accent-soft: rgba(182, 255, 0, 0.08);

  --venoy-acid: #B6FF00;
  --lime-core: #9BE000;
  --volt-green: #6FB900;
  --wa-green: #25D366;
  --wa-hover: #22bf5b;

  --bg: #070A06;
  --bg-alt: #0C110B;
  --surface: #10170E;
  --surface-card: #121A10;
  --surface-hover: #162414;
  --line: rgba(182, 255, 0, 0.12);
  --line-strong: rgba(182, 255, 0, 0.28);
  --line-hover: rgba(182, 255, 0, 0.5);

  --ink: #F7F8F5;
  --muted: #B8C0B2;
  --dim: #737D6E;

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', Menlo, Consolas, monospace;
  --font: var(--font-body);

  --r: 16px;
  --r-sm: 10px;
  --r-pill: 999px;
  --gutter: clamp(16px, 4vw, 44px);
  --max: min(94vw, 1280px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  position: relative;
}

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

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6,
.hero-papel-h1,
.band h2,
.section-title,
.why-copy h2,
.btn {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ==========================================================================
   CANVAS INK TRAIL & BARRA DE PROGRESSO
   ========================================================================== */
.inkfx {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--volt-green), var(--accent), #eaff8f);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 1000;
  box-shadow: 0 0 10px var(--accent-glow);
  transition: transform 0.08s linear;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 16px;
  z-index: 999;
  background: var(--accent);
  color: #020302;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}
.skip-link:focus {
  left: 16px;
}

/* ==========================================================================
   SCROLL REVEAL NATIVO
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.07s);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   BOTÕES & EFEITO LÍQUIDO
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: clamp(14px, 1.05vw, 15px);
  line-height: 1;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s var(--ease);
  user-select: none;
  position: relative;
  will-change: transform;
}

.btn:active {
  transform: scale(0.97);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px) scale(1.06);
}

/* Botão com Efeito Líquido Orgânico */
.btn.liquid {
  isolation: isolate;
  background: var(--accent);
  color: #020302;
  border: 1px solid var(--accent);
  overflow: hidden;
  box-shadow: 0 8px 24px -4px var(--accent-glow);
}

.btn.liquid::before {
  content: "";
  position: absolute;
  inset: -80%;
  z-index: -1;
  pointer-events: none;
  filter: blur(8px);
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.85) 0% 12%, transparent 35%),
              radial-gradient(circle at 75% 40%, rgba(111, 185, 0, 0.95) 0% 10%, transparent 30%),
              radial-gradient(circle at 50% 85%, rgba(182, 255, 0, 0.9) 0% 12%, transparent 32%);
  animation: liquidMove 6.5s ease-in-out infinite alternate;
}

@keyframes liquidMove {
  0%   { transform: translate(-14%, 4%) rotate(0deg) scale(1); }
  50%  { transform: translate(14%, -6%) rotate(14deg) scale(1.14); }
  100% { transform: translate(-4%, 8%) rotate(-12deg) scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .btn.liquid::before { animation: none; }
}

.btn.liquid:hover {
  background: var(--wa-green);
  border-color: var(--wa-green);
  box-shadow: 0 12px 32px -4px rgba(37, 211, 102, 0.55);
  transform: translateY(-2px);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.btn.ghost:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -4px var(--accent-glow);
}

/* ==========================================================================
   HEADER FIXO AMPLO & DOCK DE NAVEGAÇÃO SEGMENTADO (ESTILO REFERÊNCIA)
   ========================================================================== */
header.top-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(7, 10, 6, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px; /* Aumentado de 74px para 88px: espaçoso, elegante e sem aspecto achatado */
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px var(--accent-glow));
  transition: transform 0.3s var(--ease);
}

.brand-logo:hover img {
  transform: scale(1.08) rotate(4deg);
}

/* Dock Segmentado com Pílula Escura (Estilo Referência v.1 / v.3) */
nav.main-nav {
  display: flex;
  align-items: center;
  margin-inline: auto;
}

.nav-pill-dock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 22, 16, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(182, 255, 0, 0.18);
  border-radius: 999px;
  padding: 5px 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-pill-item {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease),
              color 0.2s ease,
              border-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  position: relative;
}

.nav-pill-item:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

/* ANIMAÇÃO DE SUMIR O ÍCONE AO CLICAR (ESTADO ATIVO) */
.nav-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  max-width: 16px;
  margin-right: 7px;
  opacity: 0.85;
  transform: scale(1) rotate(0deg);
  transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease,
              margin-right 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  flex-shrink: 0;
}

.nav-pill-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Item Ativo: cápsula em relevo escuro e ícone desaparece com animação suave */
.nav-pill-item.active {
  background: linear-gradient(180deg, #242D21 0%, #1A2117 100%);
  border: 1px solid rgba(182, 255, 0, 0.35);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.nav-pill-item.active .nav-pill-icon {
  max-width: 0;
  opacity: 0;
  margin-right: 0;
  transform: scale(0.2) rotate(-25deg);
  pointer-events: none;
}

.nav-pill-item.active .nav-pill-text {
  color: var(--accent);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-cta .btn {
  padding: 11px 24px;
  font-size: 14px;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.mobile-toggle:hover {
  border-color: var(--accent);
}

/* ==========================================================================
   HERO PAPEL COM ANIMAÇÃO DO OLHO (ESTILO MAURÍCIO CODER)
   Fundo #E8E6E0, stopmotion no rasgo de papel, varredura de luz na palavra
   ========================================================================== */
.hero.hero-papel {
  position: relative;
  background: #E8E6E0;
  color: #12131A;
  overflow: hidden;
  padding: clamp(32px, 4.5vh, 56px) 0 clamp(36px, 5.5vh, 64px);
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-papel .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

.papel-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  width: 100%;
}

.hero-papel-h1 {
  color: #12131A;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6.2vw, 5.8rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin: 0;
  width: 100%;
  text-wrap: balance;
}

.hero-papel-h1 .w1 {
  display: block;
}

.hero-papel-h1 .w2 {
  display: block;
  white-space: nowrap;
}

.ne {
  display: inline-block;
  color: #12131A;
}

.rw {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  vertical-align: baseline;
  color: #B6FF00;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(7, 10, 6, 0.35), 0 0 1px rgba(7, 10, 6, 0.4);
}

.rw-l {
  position: absolute;
  left: 0;
  top: -0.2em;
  bottom: -0.45em;
  padding-top: 0.2em;
  white-space: nowrap;
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: inherit;
}

.rw-l.esconder {
  visibility: hidden;
}

.rw-c {
  display: inline-block;
  will-change: transform;
}

/* Varredura de luz da direita para a esquerda */
.rw-l.novo {
  -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--x, 0px) - var(--m, 6px)), #000 calc(var(--x, 0px) + var(--m, 6px)));
  mask-image: linear-gradient(90deg, transparent calc(var(--x, 0px) - var(--m, 6px)), #000 calc(var(--x, 0px) + var(--m, 6px)));
}

.rw-l.velho {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--x, 0px) - var(--m, 6px)), transparent calc(var(--x, 0px) + var(--m, 6px)));
  mask-image: linear-gradient(90deg, #000 calc(var(--x, 0px) - var(--m, 6px)), transparent calc(var(--x, 0px) + var(--m, 6px)));
}

/* O Olho no Rasgo de Papel (Stopmotion em Alta Definição com Íris Verde #B6FF00) */
.papel-olho {
  position: relative;
  aspect-ratio: 1280 / 563;
  width: min(760px, 92vw);
  margin: clamp(16px, 2.6vh, 32px) auto clamp(14px, 2.4vh, 26px);
  overflow: hidden;
  border-radius: 18px;
  background: #E8E6E0;
  contain: paint;
  transition: box-shadow 0.3s ease;
}

.papel-olho::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(90deg, #E8E6E0 0, rgba(232, 230, 224, 0) 9%, rgba(232, 230, 224, 0) 91%, #E8E6E0 100%),
    linear-gradient(180deg, #E8E6E0 0, rgba(232, 230, 224, 0) 11%, rgba(232, 230, 224, 0) 89%, #E8E6E0 100%);
}

.papel-olho .papel-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.papel-olho .papel-stopmotion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.3s ease;
}

.papel-olho.pronto .papel-stopmotion {
  opacity: 1;
}

.papel-olho.pronto .papel-poster {
  visibility: hidden;
}

.papel-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.32rem);
  line-height: 1.5;
  color: #3E4050;
  max-width: 44ch;
  margin: 0 auto;
}

.hero-papel .cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(22px, 3.2vh, 36px);
}

.hero-papel .btn.liquid {
  background: #12131A;
  color: #fff;
  border-color: #12131A;
  box-shadow: 0 10px 30px -6px rgba(18, 19, 26, 0.4);
}

.hero-papel .btn.liquid:hover {
  background: var(--wa-green);
  border-color: var(--wa-green);
  color: #020302;
  box-shadow: 0 12px 32px -4px rgba(37, 211, 102, 0.55);
}

.hero-papel .btn.ghost {
  background: transparent;
  color: #12131A;
  border-color: rgba(18, 19, 26, 0.3);
}

.hero-papel .btn.ghost:hover {
  background: #12131A;
  color: #fff;
  border-color: #12131A;
}

.papel-prova {
  margin-top: clamp(14px, 2vh, 22px);
  font-size: clamp(12.5px, 0.95vw, 14px);
  color: #565868;
  font-weight: 500;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================================================
   FAIXA DE MARQUEE TÉCNICO (ESTILO EDMAR CASTRO)
   ========================================================================== */
.marquee-band {
  position: relative;
  z-index: 10;
  background: var(--accent);
  color: #050804;
  padding: 13px 0;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marqueeRun 32s linear infinite;
}

.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-inline: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  white-space: nowrap;
}

.marquee-sep {
  font-size: 11px;
  opacity: 0.55;
}

@keyframes marqueeRun {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   FAIXA DE TRANSIÇÃO (.BAND — ESTILO MAURÍCIO CODER)
   ========================================================================== */
.band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: clamp(56px, 8vw, 100px) 0;
  position: relative;
}

.band h2 {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  line-height: 1.1;
  color: var(--ink);
  max-width: 22ch;
  margin-inline: auto;
  margin-bottom: 18px;
}

.band h2 span {
  color: var(--accent);
}

.band .sub {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  color: var(--muted);
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.6;
}

/* ==========================================================================
   PORTFÓLIO: OS 13 PROJETOS REAIS NO PADRÃO "DESAFIO & SOLUÇÃO"
   ========================================================================== */
/* ==========================================================================
   PORTFÓLIO: OS 49 PROJETOS REAIS NO PADRÃO "DESAFIO & SOLUÇÃO" + CONTROLES DINÂMICOS
   ========================================================================== */
.portfolio-section {
  padding: clamp(48px, 6vw, 88px) 0;
  position: relative;
}

/* Controles Dinâmicos: Busca e Contador de Projetos */
.portfolio-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: min(100%, 300px);
  max-width: 540px;
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 7px 18px;
  transition: all 0.25s var(--ease);
}

.search-box:focus-within {
  border-color: var(--accent);
  background: var(--surface-hover);
  box-shadow: 0 0 20px -4px var(--accent-glow);
}

.search-icon {
  width: 18px;
  height: 18px;
  stroke: var(--dim);
  fill: none;
  stroke-width: 2.2;
  margin-right: 10px;
  flex-shrink: 0;
  transition: stroke 0.25s var(--ease);
}

.search-box:focus-within .search-icon {
  stroke: var(--accent);
}

.search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
}

.search-input::placeholder {
  color: var(--dim);
}

.search-clear {
  color: var(--dim);
  font-size: 13px;
  padding: 4px;
  margin-left: 6px;
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.2s;
  background: transparent;
  border: none;
}

.search-clear:hover {
  color: var(--accent);
}

.portfolio-stats {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  background: rgba(18, 26, 16, 0.7);
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: var(--r-pill);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulseNeon 2s infinite ease-in-out;
}

@keyframes pulseNeon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(36px, 5vw, 54px);
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: all 0.25s var(--ease);
  cursor: pointer;
}

.filter-btn:hover {
  color: var(--ink);
  border-color: var(--accent);
  background: var(--surface-hover);
}

.filter-btn.active {
  color: #020302;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 18px -2px var(--accent-glow);
}

.filter-count {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  transition: all 0.25s var(--ease);
}

.filter-btn:hover .filter-count {
  background: rgba(255, 255, 255, 0.15);
  color: var(--ink);
}

.filter-btn.active .filter-count {
  background: rgba(0, 0, 0, 0.25);
  color: #020302;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: clamp(24px, 3.2vw, 36px);
}

/* Card do Projeto */
.proj-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  position: relative;
  will-change: transform;
}

.proj-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.7),
              0 0 24px -6px var(--accent-glow);
}

.proj-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(13, 18, 10, 0.85);
  border-bottom: 1px solid var(--line);
}

.proj-dots {
  display: flex;
  gap: 6px;
}

.proj-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.proj-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.proj-status-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.proj-banner {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  background: #080c07;
  container-type: size;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
}

.proj-banner img {
  width: 100%;
  height: auto;
  min-height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transform: translateY(0);
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Efeito de visualização rolante fluida ao passar o mouse por cima (estilo edmarcastro.com.br) */
@media (hover: hover) {
  .proj-card:hover .proj-banner img {
    transition-duration: 7.5s;
    transition-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
    transform: translateY(calc(100cqh - 100%));
  }
}

@media (prefers-reduced-motion: reduce) {
  .proj-banner img {
    transition: none !important;
  }
  .proj-card:hover .proj-banner img {
    transform: none !important;
  }
}

/* Badge do nome fixado por cima da print oficial: recolhe suavemente no hover para liberar a visão total */
.proj-banner-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 38px 16px 12px;
  background: linear-gradient(to top, rgba(7, 10, 6, 0.95) 0%, rgba(7, 10, 6, 0.6) 65%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.proj-banner-name {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 78%;
}

.proj-banner-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(182, 255, 0, 0.14);
  border: 1px solid var(--accent);
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}

.proj-card:hover .proj-banner-badge {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

/* Overlay sem escurecimento geral para manter o site nítido enquanto rola */
.proj-banner-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 3;
}

.proj-card:hover .proj-banner-overlay {
  opacity: 1;
  pointer-events: auto;
}

.btn-preview-quick {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  background: rgba(7, 10, 6, 0.92);
  border: 1px solid var(--accent);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7), 0 0 14px -2px var(--accent-glow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(4px);
  transition: all 0.25s var(--ease-spring);
  cursor: pointer;
}

.btn-preview-quick svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.2;
}

.proj-card:hover .btn-preview-quick {
  transform: translateY(0);
}

.btn-preview-quick:hover {
  background: var(--accent);
  color: #020302;
}

.btn-preview-quick:hover svg {
  stroke: #020302;
}

.proj-body {
  padding: clamp(20px, 2.2vw, 26px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.proj-niche-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.proj-niche {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.proj-city {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  white-space: nowrap;
}

.proj-title {
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.proj-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.proj-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.proj-tag {
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--muted);
}

.proj-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.proj-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 8px;
  background: rgba(182, 255, 0, 0.06);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.proj-preview-btn svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.2;
}

.proj-preview-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #020302;
  box-shadow: 0 0 16px -2px var(--accent-glow);
}

.proj-preview-btn:hover svg {
  stroke: #020302;
}

.proj-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.2s;
}

.proj-link-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  transition: transform 0.25s var(--ease);
}

.proj-link-btn:hover {
  color: var(--accent);
}

.proj-link-btn:hover svg {
  transform: translate(2px, -2px);
}

/* Empty State para Busca */
.projects-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 20px;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
  display: none;
}

.projects-empty.visible {
  display: block;
}

.projects-empty-icon {
  width: 48px;
  height: 48px;
  stroke: var(--dim);
  fill: none;
  stroke-width: 1.6;
  margin: 0 auto 16px;
}

.projects-empty h3 {
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.projects-empty p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.projects-empty .btn-reset-filters {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #020302;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.projects-empty .btn-reset-filters:hover {
  box-shadow: 0 0 20px -2px var(--accent-glow);
}

/* ==========================================================================
   MODAL DE PRÉVIA AO VIVO (INTERACTIVE LIVE PREVIEW CANVAS)
   ========================================================================== */
.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2.5vw, 32px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.preview-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 3, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.preview-container {
  position: relative;
  z-index: 2;
  width: min(96vw, 1380px);
  height: min(92vh, 900px);
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.9), 0 0 45px -8px var(--accent-glow);
  transform: scale(0.96);
  transition: transform 0.35s var(--ease-spring);
}

.preview-modal.active .preview-container {
  transform: scale(1);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(13, 18, 10, 0.98);
  border-bottom: 1px solid var(--line);
  gap: 16px;
  flex-wrap: wrap;
}

.preview-window-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}

.preview-window-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  cursor: pointer;
}

.preview-window-dots .dot.close { background: #FF5F56; }
.preview-window-dots .dot.min { background: #FFBD2E; }
.preview-window-dots .dot.max { background: #27C93F; }

.preview-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 180px;
}

.preview-badge-cf {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(182, 255, 0, 0.1);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 5px;
}

.preview-project-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.preview-device-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 3px;
  gap: 2px;
}

.device-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.device-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.device-btn:hover {
  color: var(--ink);
}

.device-btn.active {
  background: var(--accent);
  color: #020302;
  font-weight: 700;
}

.preview-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-external-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s var(--ease);
}

.preview-external-link svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.preview-external-link:hover {
  color: var(--ink);
  border-color: var(--accent);
  background: var(--surface-hover);
}

.preview-close-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.preview-close-icon:hover {
  background: #FF5F56;
  border-color: #FF5F56;
  color: #fff;
}

.preview-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  background: rgba(10, 14, 8, 0.95);
  border-bottom: 1px solid var(--line);
  gap: 12px;
}

.preview-ssl-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 12px;
  border-radius: 6px;
  flex: 1;
  max-width: 600px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-ssl-badge svg {
  width: 12px;
  height: 12px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.4;
  flex-shrink: 0;
}

.preview-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  background: transparent;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.2s;
}

.preview-copy-btn svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.preview-copy-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.preview-body {
  flex: 1;
  position: relative;
  background: #020402;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
  transition: all 0.3s var(--ease);
}

.preview-body .preview-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #060906;
  transition: width 0.35s var(--ease), height 0.35s var(--ease), border-radius 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

/* Modo Tablet */
.preview-body[data-device="tablet"] .preview-iframe {
  width: 768px;
  height: 100%;
  border: 4px solid #162414;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

/* Modo Celular (iPhone Frame) */
.preview-body[data-device="mobile"] .preview-iframe {
  width: 375px;
  height: min(100%, 780px);
  border: 6px solid #1a2618;
  border-radius: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
}

.preview-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(3, 6, 3, 0.92);
  gap: 14px;
  z-index: 10;
  transition: opacity 0.3s var(--ease);
}

.preview-spinner.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.spinner-ring {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(182, 255, 0, 0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.preview-spinner p {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}

.preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(13, 18, 10, 0.98);
  border-top: 1px solid var(--line);
  gap: 16px;
  flex-wrap: wrap;
}

.preview-footer-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}

.preview-footer .btn.liquid.wa {
  padding: 9px 20px;
  font-size: 13.5px;
}

/* Botões de voltar específicos para dispositivos móveis (ocultos no desktop) */
.preview-mobile-back-btn {
  display: none;
}

.preview-footer-back-btn {
  display: none;
}

/* Responsividade Mobile do Modal */
@media (max-width: 768px) {
  /* ---- Modal tela cheia no mobile ---- */
  .preview-modal {
    padding: 0;
  }
  .preview-container {
    width: 100vw;
    height: 100svh;
    height: 100dvh;
    border-radius: 0;
    border: none;
  }

  /* Header do modal no mobile */
  .preview-header {
    padding: 10px 12px;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    background: rgba(8, 12, 6, 0.98);
  }

  /* Dots Mac somem no celular para priorizar botão de voltar nativo */
  .preview-window-dots {
    display: none !important;
  }

  /* Botão voltar proeminente no header */
  .preview-mobile-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(182, 255, 0, 0.12);
    border: 1px solid rgba(182, 255, 0, 0.38);
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s var(--ease);
    -webkit-tap-highlight-color: transparent;
  }
  .preview-mobile-back-btn svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
  }
  .preview-mobile-back-btn:active {
    background: var(--accent);
    color: #020302;
    transform: scale(0.96);
  }

  .preview-close-icon {
    flex-shrink: 0;
    margin-left: 0;
  }

  /* Título ocupa o espaço do meio */
  .preview-title-wrap {
    flex: 1;
    min-width: 0;
    order: 0;
    margin-top: 0;
    overflow: hidden;
  }
  .preview-project-name {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
  }

  /* Badge "EM TEMPO REAL" some no mobile pra dar espaço */
  .preview-badge-cf {
    display: none;
  }

  /* Toggle de device some no mobile (usa sempre fullscreen) */
  .preview-device-toggle {
    display: none;
  }

  /* Ações: só mostra o link externo, compacto */
  .preview-actions {
    flex-shrink: 0;
    gap: 6px;
  }
  .preview-external-link span {
    display: none;
  }
  .preview-external-link {
    padding: 6px 10px;
    gap: 0;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Info do footer some */
  .preview-footer-info {
    display: none;
  }
  
  /* Footer com botão Voltar e WhatsApp */
  .preview-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    gap: 10px;
    background: rgba(8, 12, 6, 0.98);
  }

  .preview-footer-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 14px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
  }
  .preview-footer-back-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
  }
  .preview-footer-back-btn:active {
    background: var(--surface-hover);
    border-color: var(--accent);
    color: var(--accent);
  }

  .preview-footer .btn.liquid.wa {
    flex: 1;
    min-width: 180px;
    justify-content: center;
  }

  /* Body e iframe com fundo escuro prevenindo flash branco */
  .preview-body {
    padding: 0 !important;
    background: #060906 !important;
  }
  .preview-body .preview-iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    background: #060906 !important;
  }

  /* Otimizações dos cards de projeto no mobile */
  .proj-card {
    -webkit-tap-highlight-color: transparent;
  }
  .proj-banner {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .proj-preview-btn {
    padding: 9px 16px;
    font-size: 13.5px;
    font-weight: 700;
    min-height: 42px;
  }
  .proj-link-btn {
    padding: 9px 12px;
    min-height: 42px;
  }

  /* ---- Portfolio controls ---- */
  .portfolio-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box {
    max-width: 100%;
  }
  .portfolio-stats {
    align-self: center;
    justify-content: center;
    width: 100%;
  }

  /* Filtros de categoria em 2 colunas no mobile */
  .filter-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    justify-items: stretch;
  }
  .filter-btn {
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    font-size: 13px;
  }
}

.services-section {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(44px, 5.5vw, 68px);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  color: var(--muted);
  line-height: 1.6;
}

/* Grid em 2 Colunas Espaçosas no Desktop */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 40px);
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(32px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 24px 48px -20px var(--accent-glow);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-soft);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.service-icon-wrap svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.service-tag-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  border: 1px solid var(--line);
}

.service-title {
  font-size: clamp(1.4rem, 1.8vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.service-desc {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 26px;
}

/* Checklist em 2 Colunas Internas para preencher a largura */
.service-benefits {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  margin-bottom: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.service-benefits li {
  font-size: 14px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-benefits svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
}

.btn-service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 22px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  transition: all 0.25s var(--ease);
}

.btn-service-cta svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  transition: transform 0.25s;
}

.service-card:hover .btn-service-cta {
  background: var(--accent);
  color: #020302;
  border-color: var(--accent);
  box-shadow: 0 8px 24px -4px var(--accent-glow);
}

.service-card:hover .btn-service-cta svg {
  transform: translateX(4px);
}

/* ==========================================================================
   PROCESSO EM 3 PASSOS (ESTILO MAURÍCIO CODER)
   ========================================================================== */
.process-section {
  padding: clamp(64px, 8vw, 110px) 0;
  border-top: 1px solid var(--line);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  counter-reset: proc;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(28px, 3vw, 40px);
  counter-increment: proc;
  transition: transform 0.3s var(--ease), border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.step-card::before {
  content: "0" counter(proc);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 3vw, 3rem);
  color: var(--accent);
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: clamp(1.2rem, 1.4vw, 1.45rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================================
   POR QUE TRABALHAR COM A VENOY STUDIO (ESTILO MAURÍCIO CODER)
   ========================================================================== */
.why-section {
  padding: clamp(64px, 8vw, 110px) 0;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.why-copy h2 {
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}

.why-copy h2 em {
  font-style: normal;
  color: var(--accent);
}

.why-copy p {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 34px;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(22px, 2.4vw, 32px);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px -20px var(--accent-glow);
}

.why-card-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 18px;
}

.why-card-ico svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.why-card h3 {
  font-size: clamp(1.1rem, 1.3vw, 1.35rem);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ==========================================================================
   DEPOIMENTOS & PROVA SOCIAL
   ========================================================================== */
.testimonials-section {
  padding: clamp(64px, 8vw, 110px) 0;
  border-top: 1px solid var(--line);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}

.test-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(26px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.test-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.test-stars {
  display: flex;
  gap: 4px;
  color: #FFB800;
  margin-bottom: 18px;
}

.test-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.test-quote {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 24px;
  font-style: italic;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.test-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.test-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.test-author-info b {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
}

.test-author-info em {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  font-style: normal;
}

/* ==========================================================================
   FAQ ACCORDION INTERATIVO (ESTILO MAURÍCIO CODER)
   ========================================================================== */
.faq-section {
  padding: clamp(64px, 8vw, 110px) 0;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}

.faq-copy h2 {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.faq-copy h2 em {
  font-style: normal;
  color: var(--accent);
}

.faq-copy > p {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

.faq-help-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
}

.faq-help-box h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.faq-help-box p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.55;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
  border-color: rgba(182, 255, 0, 0.3);
}

.faq-item[data-open="true"] {
  border-color: var(--accent);
  box-shadow: 0 16px 36px -20px var(--accent-glow);
}

.faq-trigger {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  cursor: pointer;
}

.faq-number {
  flex: none;
  width: 40px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13.5px;
  display: grid;
  place-items: center;
}

.faq-title {
  flex: 1;
  font-weight: 600;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.faq-icon-cross {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  position: relative;
  transition: background 0.3s, transform 0.35s var(--ease);
}

.faq-icon-cross::before,
.faq-icon-cross::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s, background 0.3s;
}

.faq-icon-cross::before { width: 14px; height: 2px; }
.faq-icon-cross::after  { width: 2px; height: 14px; }

.faq-item[data-open="true"] .faq-icon-cross {
  background: var(--accent);
  transform: rotate(135deg);
}

.faq-item[data-open="true"] .faq-icon-cross::before,
.faq-item[data-open="true"] .faq-icon-cross::after {
  background: #020302;
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease);
}

.faq-item[data-open="true"] .faq-content {
  grid-template-rows: 1fr;
}

.faq-inner {
  overflow: hidden;
}

.faq-inner p {
  padding: 0 22px 22px 78px;
  color: var(--muted);
  font-size: clamp(14.5px, 1.05vw, 16px);
  line-height: 1.65;
}

/* ==========================================================================
   FINAL CTA DE CONVERSÃO
   ========================================================================== */
.final-cta {
  padding: clamp(80px, 10vw, 130px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.final-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(800px, 90vw);
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.final-cta .wrap {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.final-cta h2 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

.final-cta h2 span {
  color: var(--accent);
  display: block;
}

.final-cta p {
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

/* ==========================================================================
   FOOTER VENOY STUDIO
   ========================================================================== */
footer.site-footer {
  border-top: 1px solid var(--line);
  background: #050704;
  padding: clamp(56px, 7vw, 84px) 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4.5vw, 56px);
  margin-bottom: clamp(48px, 6vw, 68px);
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 32ch;
}

.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: var(--dim);
}

/* ==========================================================================
   BOTÃO FLUTUANTE WHATSAPP FIXO
   ========================================================================== */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--wa-green);
  color: #020302;
  padding: 14px 20px;
  border-radius: var(--r-pill);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 30px -4px rgba(37, 211, 102, 0.6);
  transition: transform 0.3s var(--ease), background 0.2s, box-shadow 0.3s;
  isolation: isolate;
}

.floating-wa:hover {
  background: var(--wa-hover);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 36px -4px rgba(37, 211, 102, 0.8);
}

.floating-wa svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   RESPONSIVIDADE MOBILE-FIRST REAL
   ========================================================================== */
@media (max-width: 960px) {
  .header-inner nav.main-nav {
    display: none;
  }

  .nav-pill-dock {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 16px;
    padding: 10px;
    gap: 6px;
    background: rgba(14, 20, 14, 0.98);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  }

  .nav-pill-item {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 18px;
    font-size: 15px;
    border-radius: 12px;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Esconde o botão WhatsApp do header no mobile — o flutuante no canto já cobre */
  .header-cta .btn.liquid {
    display: none;
  }

  .why-grid, .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-copy h2, .faq-copy h2 {
    max-width: 100%;
    text-align: center;
  }

  .why-copy p, .faq-copy > p {
    text-align: center;
    margin-inline: auto;
  }

  .why-copy .btn {
    margin-inline: auto;
    display: flex;
    max-width: max-content;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .hero.hero-papel {
    padding-top: 28px;
    padding-bottom: 44px;
  }

  .hero-papel-h1 {
    font-size: clamp(2rem, 9.5vw, 3rem);
  }

  .hero-papel .cta-row {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-papel .cta-row .btn {
    width: 100%;
  }

  .why-cards {
    grid-template-columns: 1fr;
  }

  .service-benefits {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .faq-inner p {
    padding-left: 20px;
  }

  .faq-trigger {
    padding: 16px 14px;
    gap: 12px;
  }

  .floating-wa span {
    display: none;
  }

  .floating-wa {
    padding: 14px;
    border-radius: 50%;
  }
}

/* ==========================================================================
   BOTÃO FLUTUANTE DE CANTO: INSTAGRAM @VENOYSTUDIO (CANTO INFERIOR ESQUERDO)
   ========================================================================== */
.floating-insta {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 18, 14, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(182, 255, 0, 0.3);
  color: #FFFFFF;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 16px rgba(182, 255, 0, 0.12);
  transition: transform 0.3s var(--ease), border-color 0.2s, box-shadow 0.3s, color 0.2s;
  text-decoration: none;
}

.floating-insta:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(182, 255, 0, 0.25);
  color: var(--accent);
}

.floating-insta svg {
  stroke: var(--accent);
  transition: transform 0.2s;
}

.floating-insta:hover svg {
  transform: rotate(6deg) scale(1.1);
}

@media (max-width: 640px) {
  .floating-insta span {
    display: none;
  }
  .floating-insta {
    padding: 14px;
    border-radius: 50%;
    bottom: 20px;
    left: 20px;
  }
}

/* Drawer Modal */
.social-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.social-drawer.active {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.social-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 5, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.social-drawer-card {
  position: relative;
  z-index: 2;
  width: min(440px, 94vw);
  max-height: min(90vh, 760px);
  overflow-y: auto;
  background: #0B0F0B;
  border: 1px solid rgba(182, 255, 0, 0.3);
  border-radius: 20px;
  margin-left: clamp(14px, 3vw, 40px);
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(182, 255, 0, 0.12);
  transform: translateX(-30px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(182, 255, 0, 0.3) transparent;
}

.social-drawer.active .social-drawer-card {
  transform: translateX(0);
}

.social-drawer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.social-drawer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dim);
}

.social-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.social-drawer-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--dim);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.social-drawer-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.social-profile-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.social-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.social-story-ring {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 180deg, #B6FF00, #FF5E36, #FF087B, #7928CA, #B6FF00);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #070A06;
  padding: 6px;
  object-fit: contain;
}

.social-online-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--accent);
  color: #070A06;
  font-size: 10px;
  font-weight: 900;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0B0F0B;
}

.social-profile-meta {
  flex: 1;
  min-width: 0;
}

.social-user-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.social-username {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
}

.social-verified {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.social-display-name {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.social-bio {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.4;
  margin: 0;
}

.social-metrics-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 16px;
}

.social-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.social-metric-item strong {
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
}

.social-metric-item span {
  font-size: 11px;
  color: var(--dim);
}

.social-metric-sep {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
}

.social-highlights {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 18px;
  scrollbar-width: none;
}

.social-highlights::-webkit-scrollbar {
  display: none;
}

.social-highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
}

.highlight-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(182, 255, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.2s, border-color 0.2s;
}

.social-highlight-item:hover .highlight-circle {
  transform: scale(1.08);
  border-color: var(--accent);
  background: rgba(182, 255, 0, 0.08);
}

.highlight-name {
  font-size: 11px;
  color: var(--dim);
  font-weight: 600;
}

.social-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.social-post-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  background: #141A14;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-post-card:hover img {
  transform: scale(1.06);
}

.social-post-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 6, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.2s;
}

.social-post-card:hover .social-post-overlay {
  opacity: 1;
}

.social-post-stat {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
}

.social-post-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 6px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: var(--accent);
  border-radius: 6px;
  text-transform: uppercase;
}

.social-drawer-cta {
  margin-bottom: 16px;
}

.btn-follow-insta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: var(--accent);
  color: #070A06;
  font-weight: 800;
  font-size: 13px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(182, 255, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-follow-insta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(182, 255, 0, 0.45);
}

.social-channels-bar {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-channels-title {
  font-size: 11px;
  color: var(--dim);
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.social-channels-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-channel-pill {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 11px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.social-channel-pill:hover {
  background: rgba(182, 255, 0, 0.12);
  border-color: var(--accent);
  color: var(--accent);
}

/* In-Page Social Section (Radar Social) */
.social-section {
  padding: clamp(60px, 8vh, 100px) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(182, 255, 0, 0.02) 50%, transparent 100%);
  border-top: 1px solid var(--line);
  position: relative;
}

.social-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(32px, 5vh, 48px);
}

.social-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(182, 255, 0, 0.08);
  border: 1px solid rgba(182, 255, 0, 0.25);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.social-section-header h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 12px;
}

.social-section-header p {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--dim);
  line-height: 1.6;
  margin: 0;
}

.social-feed-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(20px, 3.5vw, 36px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.social-feed-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.social-feed-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-story-ring.mini {
  width: 46px;
  height: 46px;
  padding: 2.5px;
}

.social-author-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-author-title strong {
  font-size: 16px;
  color: var(--ink);
  font-weight: 800;
}

.social-verified-tag {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(56, 151, 240, 0.15);
  color: #3897F0;
  font-weight: 700;
}

.social-author-sub {
  font-size: 12px;
  color: var(--dim);
  display: block;
}

.btn-feed-follow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--accent);
  color: #070A06;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-feed-follow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(182, 255, 0, 0.35);
}

.social-feed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feed-grid-item {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: #141A14;
  border: 1px solid var(--line);
  text-decoration: none;
  display: block;
}

.feed-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feed-grid-item:hover img {
  transform: scale(1.08);
}

.feed-grid-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(7, 10, 6, 0.75);
  backdrop-filter: blur(6px);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
}

.feed-grid-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 6, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}

.feed-grid-overlay span {
  padding: 8px 14px;
  background: var(--accent);
  color: #070A06;
  font-size: 12px;
  font-weight: 800;
  border-radius: 8px;
}

.feed-grid-item:hover .feed-grid-overlay {
  opacity: 1;
}

@media (max-width: 900px) {
  .social-feed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .social-feed-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 500px) {
  .social-feed-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PORTFOLIO EXPANSION, BREADCRUMBS & ALL-PROJECTS PAGE
   ========================================================================== */
.portfolio-page-head {
  padding-top: 110px;
  padding-bottom: 12px;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s var(--ease);
}

.btn-back-home svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.2;
  transition: transform 0.25s var(--ease);
}

.btn-back-home:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
  color: var(--accent);
}

.btn-back-home:hover svg {
  transform: translateX(-3px);
}

.breadcrumb-sep {
  color: var(--dim);
}

.breadcrumb-current {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.catalog-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(182, 255, 0, 0.08);
  border: 1px solid rgba(182, 255, 0, 0.22);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}

.catalog-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 16px;
}

.catalog-title span {
  color: var(--accent);
}

.band-portfolio-all {
  padding-top: 24px;
  padding-bottom: 12px;
}

/* Link Ver Todos no Header dos Controles */
.link-view-all-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(182, 255, 0, 0.08);
  border: 1px solid rgba(182, 255, 0, 0.2);
  transition: all 0.25s var(--ease);
}

.link-view-all-inline:hover {
  background: var(--accent);
  color: #070A06;
}

.link-view-all-inline svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.25s var(--ease);
}

.link-view-all-inline:hover svg {
  transform: translateX(3px);
}

.filter-btn-all {
  background: rgba(182, 255, 0, 0.12) !important;
  border-color: rgba(182, 255, 0, 0.4) !important;
  color: var(--accent) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-btn-all:hover {
  background: var(--accent) !important;
  color: #070A06 !important;
}

/* Banner de CTA "Ver Todos os Projetos" */
.portfolio-see-all-cta {
  margin-top: clamp(36px, 5vw, 56px);
  background: linear-gradient(135deg, rgba(20, 28, 16, 0.95), rgba(11, 15, 9, 0.98));
  border: 1px solid rgba(182, 255, 0, 0.25);
  border-radius: var(--r);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8), 0 0 30px -10px var(--accent-glow);
}

@media (min-width: 860px) {
  .portfolio-see-all-cta {
    flex-direction: row;
    align-items: center;
  }
}

.portfolio-see-all-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
}

.see-all-content {
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.see-all-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
  background: rgba(182, 255, 0, 0.08);
  border: 1px solid rgba(182, 255, 0, 0.2);
  padding: 4px 12px;
  border-radius: var(--r-pill);
}

.see-all-content h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.see-all-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.see-all-content p strong {
  color: var(--ink);
}

.see-all-action {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

@media (min-width: 860px) {
  .see-all-action {
    align-items: flex-end;
  }
}

.btn-view-all-projects {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #070A06;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 10px 30px -5px var(--accent-glow);
}

.btn-view-all-projects svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.25s var(--ease);
}

.btn-view-all-projects:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 36px -4px var(--accent-glow);
}

.btn-view-all-projects:hover svg {
  transform: translateX(4px);
}

.see-all-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
}

/* ==========================================================================
   AMPLIUM INNOVATIONS: LANGUAGE SWITCHER, TRUST MARQUEE, TECH STRIP & QUIZ
   ========================================================================== */

/* 1. SELETOR DE IDIOMA (PT / EN) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.active {
  background: var(--accent);
  color: #070A06;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* 2. MARQUEE DE EMPRESAS QUE CONFIAM NA VENOY */
.trust-section {
  padding: 36px 0 32px;
  background: rgba(7, 10, 6, 0.95);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.trust-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.trust-caption {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.trust-caption strong {
  color: var(--accent);
}

.trust-marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.trust-track {
  display: flex;
  width: max-content;
  animation: trustScroll 42s linear infinite;
  will-change: transform;
}

.trust-track:hover {
  animation-play-state: paused;
}

@keyframes trustScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-group {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
}

.trust-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: all 0.25s var(--ease);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.trust-brand-pill:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px var(--accent-glow);
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.trust-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.trust-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* 3. TECNOLOGIAS ESCOLHIDAS (AMPLIUM INFINITE STRIP) */
.tech-section {
  padding: 44px 0 52px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}

.tech-caption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.tech-strip-container {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tech-track {
  display: flex;
  width: max-content;
  animation: techScroll 32s linear infinite;
  will-change: transform;
}

.tech-track:hover {
  animation-play-state: paused;
}

@keyframes techScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tech-group {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}

.tech-pill svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  color: var(--accent);
  flex-shrink: 0;
}

.tech-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px -4px var(--accent-glow);
}

/* 4. AMPLIUM 7 SERVICES GRID */
.services-amplium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
  gap: clamp(20px, 2.5vw, 28px);
}

.service-card-amplium {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.35s var(--ease);
  overflow: hidden;
}

.service-card-amplium:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 20px -8px var(--accent-glow);
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-number-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.service-badge-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(182, 255, 0, 0.06);
  border: 1px solid rgba(182, 255, 0, 0.18);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 18px;
  transition: all 0.3s var(--ease);
}

.service-card-amplium:hover .service-icon-box {
  background: var(--accent);
  color: #070A06;
  box-shadow: 0 0 16px var(--accent-glow);
}

.service-icon-box svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.service-title {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.25;
}

.service-desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-micro-preview {
  background: rgba(7, 10, 6, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 22px;
  transition: all 0.3s var(--ease);
}

.service-card-amplium:hover .service-micro-preview {
  border-color: rgba(182, 255, 0, 0.25);
}

.mini-browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-browser-bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mini-browser-bar i {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
  font-style: normal;
}

.mini-browser-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini-line {
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.mini-line.w75 { width: 75%; }
.mini-line.w50 { width: 50%; }

.mini-btn {
  width: 32px;
  height: 8px;
  background: var(--accent);
  opacity: 0.6;
  border-radius: 4px;
  margin-top: 4px;
}

.service-card-amplium:hover .mini-btn {
  opacity: 1;
  box-shadow: 0 0 8px var(--accent);
}

.service-card-footer {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-caption-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--dim);
}

.service-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}

.service-action-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.2s;
}

.service-action-link:hover {
  gap: 9px;
  color: #d4ff4d;
}

.service-action-link:hover svg {
  transform: translateX(3px);
}

/* 5. QUIZ INTERATIVO / DIAGNÓSTICO EM 3 PASSOS */
.section-quiz {
  padding: clamp(60px, 8vw, 100px) 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(13, 18, 10, 0.95) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.quiz-container {
  max-width: 820px;
  margin: 0 auto;
}

.quiz-header {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 44px);
}

.quiz-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(182, 255, 0, 0.08);
  border: 1px solid rgba(182, 255, 0, 0.2);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}

.quiz-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.quiz-subtitle {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto;
}

.quiz-wizard-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  position: relative;
}

.quiz-progress-bar-wrap {
  margin-bottom: 28px;
}

.quiz-step-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
  margin-bottom: 8px;
}

.quiz-step-info span:first-child {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.quiz-progress-track {
  height: 5px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 10px;
  transition: width 0.35s var(--ease);
  box-shadow: 0 0 10px var(--accent-glow);
}

.quiz-step {
  display: none;
  animation: fadeInStep 0.35s var(--ease) forwards;
}

.quiz-step.active {
  display: block;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-step-heading {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.quiz-choices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.quiz-choice-item {
  cursor: pointer;
  position: relative;
}

.quiz-choice-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(13, 18, 10, 0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all 0.25s var(--ease);
}

.quiz-choice-item:hover .choice-inner {
  border-color: rgba(182, 255, 0, 0.4);
  background: var(--surface-hover);
}

.quiz-choice-item input:checked + .choice-inner {
  border-color: var(--accent);
  background: rgba(182, 255, 0, 0.08);
  box-shadow: 0 0 18px -4px var(--accent-glow);
}

.choice-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}

.quiz-choice-item input:checked + .choice-inner .choice-icon {
  background: var(--accent);
  color: #070A06;
}

.choice-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.choice-texts {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.choice-texts strong {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 700;
}

.choice-texts span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.choice-arrow {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--dim);
  transition: all 0.2s var(--ease);
}

.quiz-choice-item input:checked + .choice-inner .choice-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.quiz-fields-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.quiz-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-field-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.quiz-input {
  background: rgba(13, 18, 10, 0.8);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: all 0.25s var(--ease);
}

.quiz-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 16px -4px var(--accent-glow);
}

.quiz-step-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.btn-quiz-next {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #070A06;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: 0 8px 24px -4px var(--accent-glow);
}

.btn-quiz-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px var(--accent-glow);
}

.btn-quiz-next svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.btn-secondary {
  background: var(--surface-hover);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.quiz-skip-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.quiz-skip-link:hover {
  color: var(--accent);
}

.quiz-summary-card {
  background: rgba(13, 18, 10, 0.95);
  border: 1px solid rgba(182, 255, 0, 0.25);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}

.summary-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.summary-ready-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 13.5px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.summary-label {
  color: var(--dim);
}

.summary-row strong {
  color: var(--ink);
}

.summary-preview-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 14px 16px;
}

.preview-msg-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.preview-msg-text {
  font-size: 13px;
  color: #a3e635;
  font-family: var(--font-mono);
  line-height: 1.5;
}

.btn-quiz-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.quiz-safe-note {
  font-size: 12px;
  color: var(--dim);
  text-align: center;
  margin-top: 14px;
}
