/* ==========================================================
   Finnly v3 — estilo "Bullish": base escura #161616, bandas
   com topo arredondado, acento verde-lima (#79EB93→#D6FFAD)
   ========================================================== */

.container-site {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
}

html { scroll-behavior: smooth; }
section[id], div[id] { scroll-margin-top: 110px; }

::selection { background: #79EB93; color: #161616; }

/* ---------- Bandas com topo arredondado ----------
   margin-top negativo garante sobreposição de 2px com a seção anterior
   (mesma cor de fundo dos dois lados), eliminando qualquer fresta de
   sub-pixel na curva em zooms/DPIs fracionados. */
.band { border-radius: 36px 36px 0 0; margin-top: -2px; }
@media (min-width: 768px) {
  .band { border-radius: 60px 60px 0 0; }
}
/* A banda logo abaixo do hero SOBE POR CIMA do hero: o wrapper dela é
   transparente, então os recortes dos cantos arredondados revelam o
   próprio hero (vídeo) atrás — sem faixa preta nem fresta. */
.band-hero-cover { margin-top: -36px; }
@media (min-width: 768px) {
  .band-hero-cover { margin-top: -60px; }
}

/* ---------- Hero: padding vertical igual (topo = base) ---------- */
.hero-content {
  padding-top: 11rem;
  padding-bottom: 8rem;
}
@media (min-width: 48rem) {
  .hero-content {
    padding-top: 14em;
    padding-bottom: 11em;
  }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 62% 70% at 70% 40%,
      rgba(22,22,22,0) 0%,
      rgba(22,22,22,0) 26%,
      rgba(22,22,22,.12) 48%,
      rgba(22,22,22,.35) 66%,
      rgba(22,22,22,.55) 82%,
      rgba(22,22,22,.62) 100%),
    linear-gradient(100deg,
      rgba(22,22,22,.97) 0%,
      rgba(22,22,22,.9) 22%,
      rgba(22,22,22,.6) 42%,
      rgba(22,22,22,.22) 58%,
      rgba(22,22,22,0) 74%);
}

/* ---------- Eyebrow: • — Label — • ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}
.eyebrow .eb-dot { width: 8px; height: 8px; border-radius: 9999px; background: currentColor; flex: none; }
.eyebrow .eb-dash { width: 16px; height: 2px; border-radius: 2px; background: currentColor; flex: none; }

/* ---------- Botões (radius 13px, padrão do template) ---------- */
.btn-lime, .btn-dark, .btn-white, .btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 36px;
  border-radius: 13px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: inherit;
  transition: transform .2s ease, filter .2s ease, background-color .2s ease, color .2s ease;
}
.btn-lime { background: linear-gradient(131deg, #79EB93 0%, #D6FFAD 100%); color: #000; }
.btn-dark { background: #161616; color: #fff; }
.btn-white { background: #fff; color: #000; }
.btn-outline-dark { background: transparent; color: #000; box-shadow: inset 0 0 0 1px #000; }
.btn-lime:hover, .btn-dark:hover, .btn-white:hover, .btn-outline-dark:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}
.btn-sm { padding: 12px 26px; font-size: 15px; }

/* ---------- Navbar ---------- */
.nav-link {
  color: rgba(255,255,255,.8);
  font-size: 17px;
  transition: color .2s ease;
  text-decoration: none;
}
.nav-link:hover { color: #fff; }
.nav-active {
  color: #79EB93;
  position: relative;
  padding-right: 12px;
}
.nav-active::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: linear-gradient(131deg, #79EB93 0%, #D6FFAD 100%);
}

/* ---------- Grade decorativa + glows ---------- */
.dot-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 40%, transparent 90%);
}
.glow-orb {
  pointer-events: none;
  border-radius: 9999px;
  filter: blur(120px);
}

/* ---------- Desempenho no mobile ----------
   blur() de 120px é caríssimo de pintar em GPU de celular; um raio menor com
   opacidade reduzida dá o mesmo clima por uma fração do custo. E as bandas
   abaixo da dobra só são renderizadas quando se aproximam do viewport
   (content-visibility) — o primeiro paint fica muito mais leve. */
@media (max-width: 768px) {
  .glow-orb { filter: blur(48px); opacity: .55; }

  main .band {
    content-visibility: auto;
    contain-intrinsic-size: auto 720px;
  }
}

/* ---------- Ticker marquee (rodapé do hero) ---------- */
.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marqueeScroll 32s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  white-space: nowrap;
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.ticker-item .tick-star { color: #79EB93; font-size: 20px; }

/* ---------- CTA flutuante do WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 9999px;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 0 rgba(37,211,102,.55);
  transition: transform .2s ease;
  animation: waPulse 2.4s ease-out infinite;
}
.wa-float:hover { transform: translateY(-3px) scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes waPulse {
  0%   { box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Círculos de vidro (banda Sobre) ---------- */
.circle-stat {
  width: clamp(220px, 22vw, 300px);
  aspect-ratio: 1;
  border-radius: 9999px;
  background: rgba(255,255,255,.3);
  border: 1px solid #fff;
  backdrop-filter: blur(7.5px);
  -webkit-backdrop-filter: blur(7.5px);
  box-shadow: 0 0 69px rgba(0,0,0,.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px;
}
.circle-stat .cs-num {
  font-size: clamp(44px, 4.5vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  color: #161616;
  letter-spacing: -.02em;
}
.circle-stat .cs-label { font-size: 16px; line-height: 1.4; color: rgba(22,22,22,.75); max-width: 170px; }
.circle-stat.hl {
  border: 3px solid #79EB93;
  box-shadow: 0 0 60px rgba(214,255,173,.5);
  backdrop-filter: blur(15px);
}
.circle-stat.hl .cs-num { color: #62B679; text-shadow: 0 0 30px rgba(214,255,173,.4); }

/* ---------- Células de recursos (banda escura) ---------- */
.feat-ic {
  width: 80px;
  height: 80px;
  border-radius: 9999px;
  background: rgba(255,255,255,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: none;
}
.feat-hl {
  background: rgba(255,255,255,.95);
  border-radius: 0 0 18px 18px;
  padding: 30px;
  position: relative;
}
.feat-hl::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(131deg, #79EB93 0%, #D6FFAD 100%);
}
.feat-hl .feat-ic {
  background: linear-gradient(131deg, #79EB93 0%, #D6FFAD 100%);
  color: #161616;
}

/* ---------- Abas numeradas verticais (banda de serviços) ---------- */
.stabs { display: flex; gap: 20px; height: 660px; }
.stab {
  flex: 0 0 120px;
  min-width: 0;
  border-radius: 20px;
  background: #fff;
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  font-family: inherit;
  transition: flex-grow .55s cubic-bezier(.2,.8,.2,1), background .35s ease;
}
.stab.open {
  flex: 1 1 0%;
  background: linear-gradient(131deg, #79EB93 0%, #D6FFAD 100%);
}
.stab-closed {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 28px 0;
}
.stab-num {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  border: 1px solid #161616;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(0,0,0,.8);
  flex: none;
}
.stab-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  font-size: 28px;
  font-weight: 600;
  color: #161616;
  letter-spacing: -.01em;
}
.stab-openbox {
  display: none;
  height: 100%;
  padding: 34px 38px;
  flex-direction: column;
  gap: 18px;
}
.stab.open .stab-openbox { display: flex; }
.stab.open .stab-closed { display: none; }
.stab-img {
  flex: 1;
  min-height: 0;
  border-radius: 20px;
  background: rgba(255,255,255,.35);
  overflow: hidden;
}
.stab-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
@media (max-width: 900px) {
  .stabs { flex-direction: column; height: auto; }
  .stab { flex: none !important; width: 100%; }
  .stab-closed { flex-direction: row; justify-content: flex-start; gap: 18px; padding: 18px 22px; }
  .stab-label { writing-mode: horizontal-tb; transform: none; font-size: 20px; }
  .stab.open .stab-openbox { min-height: 540px; }
}

/* ---------- Linhas de mensagens (banda WhatsApp, molde "vagas") ---------- */
.wa-row {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 40px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wa-row:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.wa-arrow {
  width: 52px;
  height: 52px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: none;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.wa-arrow.hl,
.wa-row:hover .wa-arrow {
  background: linear-gradient(131deg, #79EB93 0%, #D6FFAD 100%);
  border-color: transparent;
  color: #161616;
}

/* ---------- FAQ escuro ---------- */
.faq-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  font-size: 17px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: linear-gradient(131deg, #79EB93 0%, #D6FFAD 100%);
  color: #161616;
}
.faq-item .faq-answer { padding: 0 26px 24px; color: rgba(255,255,255,.6); line-height: 1.6; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Mascote flutuante ---------- */
.float-node { animation: floatMascote 5s ease-in-out infinite; }
@keyframes floatMascote {
  0%, 100% { transform: translateY(-8px); }
  50% { transform: translateY(8px); }
}

/* ---------- Cards com leve elevação ---------- */
.hero-card { transition: transform .35s ease, box-shadow .35s ease; }
.hero-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.18); }

/* ---------- Chats animados (mockups reais do produto) ---------- */
.chat-item { display: none; }
.chat-item.show { animation: msgIn 0.4s ease-out both; }
#finnly-chat .chat-item.show[data-step] { display: flex; flex-direction: column; }
#finnly-chat .chat-item.show[data-step="3"],
#finnly-chat .chat-item.show[data-step="7"] { display: block; }
#finnly-chat .chat-item.show[data-typing] { display: flex; flex-direction: row; }
#whatsapp-chat .chat-item.show[data-step] { display: block; }
#whatsapp-chat .chat-item.show[data-typing] { display: flex; flex-direction: row; }

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

.dot {
  width: 6px; height: 6px; border-radius: 9999px; display: inline-block;
  animation: dotBounce 0.6s ease-in-out infinite;
}
.dot:nth-child(2) { animation-delay: 0.15s; }
.dot:nth-child(3) { animation-delay: 0.3s; }
.dot-sm { width: 6px; height: 6px; }

@keyframes dotBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ---------- Barras / círculos de progresso ---------- */
.progress-bar { width: 0; transition: width 1.5s ease-out 0.4s; }
.progress-circle { transition: stroke-dashoffset 1.5s ease-out 0.5s; }

/* ---------- Check de lista de preços ---------- */
.check-dot {
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  background: #101010;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
