/* ============================================
   NFSe Goiânia — Premium Design
   Onlabs Tecnologia e Inovação
   ============================================ */

:root {
  /* paleta extraída do logo + tons de suporte */
  --green-1: #00ff88;
  --green-2: #00e676;
  --green-3: #00c853;
  --teal-1:  #00b29a;
  --teal-2:  #007e8a;

  --bg-0: #060a09;
  --bg-1: #0a1311;
  --bg-2: #0f1a17;
  --bg-3: #14241f;
  --bg-card: rgba(20, 36, 31, 0.6);
  --bg-card-solid: #0d1714;

  --line: rgba(0, 230, 118, 0.12);
  --line-strong: rgba(0, 230, 118, 0.25);

  --text-1: #f5fbf8;
  --text-2: #c5d4cd;
  --text-3: #8a9d95;
  --text-4: #5a6e66;

  --accent: var(--green-2);
  --accent-glow: rgba(0, 230, 118, 0.35);

  --grad-brand: linear-gradient(135deg, #00ff88 0%, #00e676 30%, #00b29a 70%, #007e8a 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(0,255,136,.18) 0%, rgba(0,178,154,.18) 100%);

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-sm: 0 4px 16px rgba(0,0,0,.3);
  --shadow-md: 0 12px 40px rgba(0,0,0,.4);
  --shadow-lg: 0 24px 80px rgba(0,0,0,.5);
  --shadow-glow: 0 8px 60px -10px var(--accent-glow);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-1);
  background: var(--bg-0);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
em { font-style: italic; color: var(--green-1); font-weight: inherit; }

::selection { background: var(--green-3); color: #000; }

/* ====== BG EFFECTS ====== */
.bg-grid {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,230,118,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,230,118,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
}

.bg-glow {
  position: fixed; z-index: -2; pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .55;
  animation: float 18s ease-in-out infinite;
}
.bg-glow--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,230,118,.5) 0%, transparent 70%);
  top: -200px; left: -200px;
}
.bg-glow--2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,178,154,.45) 0%, transparent 70%);
  top: 40%; right: -200px;
  animation-delay: -8s;
}

@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px,-60px) scale(1.1); }
}

.bg-noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ====== LAYOUT ====== */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ====== HEADER ====== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .3s ease;
  padding: 18px 0;
}
.site-header.is-scrolled {
  background: rgba(6, 10, 9, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; }
.brand-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.25rem; letter-spacing: -0.02em;
}
.brand-name__accent {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-left: 4px;
}

.nav { display: flex; gap: 28px; }
.nav a {
  font-size: .94rem; color: var(--text-2);
  position: relative; padding: 6px 0;
  transition: color .2s;
}
.nav a:hover { color: var(--text-1); }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--grad-brand);
  transition: width .3s;
}
.nav a:hover::after { width: 100%; }

.header-cta { display: flex; gap: 10px; }

.menu-toggle {
  display: none; width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text-1);
  transition: all .3s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  
  position: fixed; top: 0px; left: 0; right: 0;
  background: rgba(6,10,9,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 24px;
  display:none;
  transform: translateY(-110%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  z-index: 99;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a { padding: 10px 0; color: var(--text-2); font-size: 1rem; }
.mobile-menu .btn { margin-top: 8px; }

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: .94rem;
  letter-spacing: -0.01em;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn--large { padding: 15px 30px; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }

.btn--primary {
  background: var(--grad-brand);
  color: #001a0d;
  box-shadow: 0 4px 24px -4px var(--accent-glow);
}
.btn--primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, #00ff88 0%, #00b29a 100%);
  opacity: 0; transition: opacity .3s;
}
.btn--primary > * { position: relative; z-index: 1; }
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px -6px var(--accent-glow);
}
.btn--primary:hover::before { opacity: 0; }

.btn--ghost {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--text-1);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: rgba(0,230,118,.08);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

/* ====== TIPOGRAFIA ====== */
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  display: inline-block;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .78rem;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--green-2);
  padding: 6px 14px;
  background: rgba(0,230,118,.08);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.section-sub {
  font-size: 1.08rem;
  color: var(--text-3);
  max-width: 620px;
  line-height: 1.6;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.section-head--left { text-align: left; margin-left: 0; }
.section-head--left .section-sub { margin-left: 0; }
.section-head .section-sub { margin-left: auto; margin-right: auto; }

/* ====== HERO ====== */
.hero {
  padding: 160px 0 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0,230,118,.08);
  border: 1px solid var(--line-strong);
  font-size: .82rem;
  color: var(--text-2);
  font-family: var(--font-mono);
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-1);
  box-shadow: 0 0 12px var(--green-1);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-lead strong { color: var(--text-1); font-weight: 600; }

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-bullets {
  display: flex; gap: 28px; flex-wrap: wrap;
  font-size: .92rem;
  color: var(--text-3);
}
.hero-bullets li {
  display: flex; align-items: center; gap: 8px;
}
.hero-bullets svg { color: var(--green-1); }

/* HERO VISUAL — Mockup */
.hero-visual {
  position: relative;
  min-height: 520px;
  perspective: 1200px;
}

.card-stack {
  position: relative;
  width: 100%; height: 100%;
}

.nf-card {
  position: absolute;
  background: linear-gradient(160deg, rgba(20,36,31,.95) 0%, rgba(10,19,17,.95) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

.nf-card--main {
  top: 40px; left: 20px; right: 20px;
  min-height: 360px;
  z-index: 3;
  transform: rotate(-2deg);
  animation: cardFloat 6s ease-in-out infinite;
}

.nf-card--back {
  top: 0; left: 50px; right: 0;
  height: 200px;
  opacity: .4;
  transform: rotate(4deg);
  z-index: 1;
}
.nf-skel {
  display: block; height: 10px; border-radius: 4px;
  background: var(--line-strong);
  margin-bottom: 14px;
}

@keyframes cardFloat {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-12px); }
}

.nf-card__header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.nf-card__tag {
  font-family: var(--font-mono); font-size: .78rem;
  color: var(--green-1);
  padding: 4px 10px;
  background: rgba(0,230,118,.1);
  border-radius: 999px;
}
.nf-card__status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; color: var(--text-3);
  font-family: var(--font-mono);
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-1);
  box-shadow: 0 0 10px var(--green-1);
}

.nf-card__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.4rem; letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.nf-card__sub {
  font-size: .85rem; color: var(--text-3);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}

.nf-card__rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.nf-card__row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .88rem;
}
.nf-card__row span { color: var(--text-3); }
.nf-card__row strong { color: var(--text-1); font-weight: 600; }
.nf-card__row--total {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.nf-card__row--total strong { font-size: 1.2rem; }

.nf-card__chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(0,230,118,.1);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: .72rem;
  color: var(--green-1);
}

.nf-floating {
  position: absolute;
  background: rgba(20,36,31,.95);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  z-index: 4;
  font-size: .82rem;
}
.nf-floating small { display: block; color: var(--text-3); font-size: .72rem; }
.nf-floating span { display: block; color: var(--text-1); font-weight: 600; }
.nf-floating svg { color: var(--green-1); flex-shrink: 0; }

.nf-floating--1 {
  top: 10px; right: -20px;
  animation: floatUp 5s ease-in-out infinite;
}
.nf-floating--2 {
  bottom: 30px; left: -30px;
  animation: floatUp 6s ease-in-out infinite -2s;
}
@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* MÉTRICAS */
.metrics {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
}
.metric { text-align: center; }
.metric-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.4rem; letter-spacing: -0.04em;
  display: inline-block;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.metric span {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.4rem;
  color: var(--green-1);
  vertical-align: top;
}
.metric p {
  margin-top: 4px;
  font-size: .85rem; color: var(--text-3);
}

/* ====== SECTIONS ====== */
.section {
  padding: 120px 0;
  position: relative;
}
.section--alt {
  background: linear-gradient(180deg, transparent 0%, rgba(0,178,154,.04) 50%, transparent 100%);
}

/* ====== STEPS ====== */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  position: relative;
  padding: 28px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  transition: all .3s;
}
.step:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-glow);
}
.step-num {
  display: inline-block;
  font-family: var(--font-mono); font-size: .78rem;
  color: var(--green-1);
  padding: 4px 10px;
  background: rgba(0,230,118,.1);
  border-radius: 999px;
  margin-bottom: 18px;
}
.step h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.08rem; letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.step p {
  font-size: .88rem; color: var(--text-3);
  line-height: 1.55;
}
.step p strong { color: var(--green-1); font-weight: 600; }
.step-line {
  display: none;
}

/* ====== FEATURES ====== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-2), transparent);
  opacity: 0; transition: opacity .3s;
}
.feature:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-glow);
}
.feature:hover::before { opacity: 1; }

.feature--big {
  grid-column: span 2;
  grid-row: span 1;
  background: linear-gradient(135deg, rgba(0,230,118,.08) 0%, rgba(0,178,154,.04) 100%);
  border-color: var(--line-strong);
}

.feature-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-brand-soft);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--green-1);
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }

.feature h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.12rem; letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.feature p {
  font-size: .9rem; color: var(--text-3);
  line-height: 1.6;
}

/* ====== PRICING ====== */
.pricing {
  max-width: 600px;
  margin: 0 auto;
}
.pricing-card {
  position: relative;
  padding: 44px;
  background: linear-gradient(160deg, rgba(20,36,31,.9) 0%, rgba(10,19,17,.9) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.pricing-card__halo {
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 20%, rgba(0,230,118,.15) 0%, transparent 40%);
  z-index: 0;
  animation: rotate 20s linear infinite;
}
@keyframes rotate {
  to { transform: rotate(360deg); }
}
.pricing-card > * { position: relative; z-index: 1; }

.pricing-card__header { text-align: center; margin-bottom: 28px; }
.pricing-card__tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(0,230,118,.1);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: .78rem;
  color: var(--green-1);
  margin-bottom: 16px;
}
.pricing-card__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.6rem; letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.pricing-card__sub {
  font-size: .94rem; color: var(--text-3);
}

.pricing-card__price {
  text-align: center;
  padding: 28px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  margin-bottom: 28px;
}
.price-label {
  display: block;
  font-family: var(--font-mono); font-size: .78rem;
  text-transform: uppercase; letter-spacing: .15em;
  color: var(--text-3);
  margin-bottom: 12px;
}
.price-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.02em;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.pricing-card__list {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 32px;
}
.pricing-card__list li {
  display: flex; align-items: center; gap: 12px;
  font-size: .94rem; color: var(--text-2);
}
.pricing-card__list svg { color: var(--green-1); flex-shrink: 0; }
.pricing-card__list strong { color: var(--text-1); font-weight: 600; }

.pricing-card__cta { text-align: center; }
.pricing-card__cta small {
  display: block; margin-top: 12px;
  font-size: .82rem; color: var(--text-3);
}

/* ====== FAQ ====== */
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.faq {
  display: flex; flex-direction: column; gap: 14px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: all .25s;
}
.faq-item[open] {
  border-color: var(--line-strong);
  background: rgba(0,230,118,.04);
}
.faq-item summary {
  padding: 22px 24px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1rem; letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 60px;
  display: flex; align-items: center;
  color: var(--text-1);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 24px; top: 50%;
  width: 14px; height: 14px;
  border-right: 2px solid var(--green-1);
  border-bottom: 2px solid var(--green-1);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .3s;
}
.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq-content {
  padding: 0 24px 22px;
  color: var(--text-3);
  font-size: .94rem;
  line-height: 1.65;
}
.faq-content strong { color: var(--text-2); font-weight: 600; }

/* ====== CTA FINAL ====== */
.cta-final { padding: 80px 0 120px; }
.cta-box {
  position: relative;
  padding: 80px 60px;
  text-align: center;
  background: linear-gradient(160deg, rgba(20,36,31,.85) 0%, rgba(10,19,17,.85) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.cta-box__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,230,118,.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,178,154,.18) 0%, transparent 50%);
  z-index: 0;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1; letter-spacing: -0.03em;
  margin: 16px 0;
}
.cta-box p {
  color: var(--text-3);
  max-width: 540px;
  margin: 0 auto 32px;
}
.cta-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ====== FOOTER ====== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 32px;
  background: rgba(6,10,9,.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 60px;
}
.footer-brand p {
  margin: 18px 0;
  font-size: .92rem;
  color: var(--text-3);
  max-width: 320px;
  line-height: 1.6;
}
.footer-social {
  display: flex; gap: 10px;
}
.footer-social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text-2);
  transition: all .25s;
}
.footer-social a:hover {
  background: rgba(0,230,118,.1);
  border-color: var(--line-strong);
  color: var(--green-1);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-display); font-weight: 600;
  font-size: .94rem; letter-spacing: -0.01em;
  color: var(--text-1);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: .88rem;
  color: var(--text-3);
  padding: 6px 0;
  transition: color .2s;
}
.footer-col a:hover { color: var(--green-1); }

.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: .84rem;
  color: var(--text-4);
}
.footer-bottom strong { color: var(--text-2); font-weight: 600; }

/* ====== WHATSAPP FLOAT ====== */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 90;
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(37,211,102,.4), 0 4px 16px rgba(0,0,0,.3);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  animation: blink 2.4s ease-in-out infinite;
}

.whatsapp-float svg { transition: transform .3s; }
.whatsapp-float:hover svg { transform: scale(.9); }

.whatsapp-float__label {
  position: absolute;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(20px);
  transition: all .3s;
  pointer-events: none;
  margin-left: 60px;
}
.whatsapp-float:hover .whatsapp-float__label {
  opacity: 1;
  transform: translateX(8px);
}

.whatsapp-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: .5;
  animation: pulseRing 2.4s ease-out infinite;
  z-index: -1;
}
.whatsapp-float__pulse--2 { animation-delay: 1.2s; }

@keyframes pulseRing {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.8); opacity: 0; }
}

@keyframes blink {
  0%, 100% { box-shadow: 0 8px 32px rgba(37,211,102,.4), 0 4px 16px rgba(0,0,0,.3); }
  50% { box-shadow: 0 8px 32px rgba(37,211,102,.7), 0 4px 16px rgba(0,0,0,.3), 0 0 0 8px rgba(37,211,102,.15); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.2); }
}

/* ====== REVEAL ANIMATIONS ====== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .mobile-menu{
      display: flex; flex-direction: column; gap: 12px!important;
  }
  .hero-grid { grid-template-columns: 1fr; gap: 80px; }
  .hero-visual { min-height: 460px; max-width: 480px; margin: 0 auto; width: 100%; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature--big { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }

  .hero { padding: 130px 0 60px; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-bullets { gap: 16px; }

  .section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }

  .features { grid-template-columns: 1fr; gap: 14px; }
  .feature--big { grid-column: span 1; }

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

  .pricing-card { padding: 32px 24px; border-radius: var(--radius-lg); }

  .cta-box { padding: 48px 24px; border-radius: var(--radius-lg); }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .nf-floating--1 { right: 0; top: -20px; }
  .nf-floating--2 { left: 0; bottom: 0; }

  .metrics { padding: 24px; gap: 16px; }
  .metric-num { font-size: 1.8rem; }

  .whatsapp-float {
    bottom: 20px; right: 20px;
    width: 56px; height: 56px;
  }
  .whatsapp-float:hover { width: 56px; border-radius: 50%; }
  .whatsapp-float:hover .whatsapp-float__label { display: none; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
  .brand-name { font-size: 1.1rem; }
  .brand-logo { width: 36px; height: 36px; }
  .container { padding: 0 18px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
