html { font-size: 18px; }

/* ── Seções que aparecem somente no PC ── */
@media (max-width: 767px) {
  #como-funciona,
  #synchronization-section,
  #resultados,
  #faq-section,
  #instagram-section {
    display: none !important;
  }
}

body {
  background-color: #050806;
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  font-size: 1rem;
}

/* ─── GRAIN TEXTURE ──────────────────────────────────────────── */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px; opacity: 0.028; mix-blend-mode: overlay;
}

/* ─── VINHETA ────────────────────────────────────────────────── */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(5,8,6,0.70) 100%);
}

/* ─── ORBS BASE ──────────────────────────────────────────────── */
.bg-orbs { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.bg-orb  { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; opacity: 0; }

.bg-orb-1 { width:600px; height:600px; top:-120px; left:-100px;
  background: radial-gradient(circle, rgba(74,222,128,0.45) 0%, rgba(74,222,128,0.12) 55%, transparent 78%);
  animation: orbFadeIn 2s ease forwards, drift1 22s ease-in-out infinite 2s; }
.bg-orb-2 { width:700px; height:700px; bottom:-200px; right:-150px;
  background: radial-gradient(circle, rgba(124,58,237,0.50) 0%, rgba(124,58,237,0.14) 50%, transparent 75%);
  animation: orbFadeIn 2s 0.4s ease forwards, drift2 28s ease-in-out infinite 2.4s; }
.bg-orb-3 { width:380px; height:380px; top:30%; right:5%;
  background: radial-gradient(circle, rgba(74,222,128,0.35) 0%, rgba(52,211,153,0.08) 58%, transparent 78%);
  animation: orbFadeIn 2s 0.8s ease forwards, drift3 18s ease-in-out infinite 2.8s; }
.bg-orb-4 { width:420px; height:420px; top:40%; left:8%;
  background: radial-gradient(circle, rgba(139,92,246,0.38) 0%, rgba(124,58,237,0.10) 58%, transparent 78%);
  animation: orbFadeIn 2s 1.2s ease forwards, drift4 24s ease-in-out infinite 3.2s; }

@keyframes orbFadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes drift1 { 0%{transform:translate(0,0) scale(1)} 33%{transform:translate(60px,40px) scale(1.08)} 66%{transform:translate(20px,70px) scale(0.95)} 100%{transform:translate(0,0) scale(1)} }
@keyframes drift2 { 0%{transform:translate(0,0) scale(1)} 33%{transform:translate(-50px,-60px) scale(1.05)} 66%{transform:translate(-80px,20px) scale(0.97)} 100%{transform:translate(0,0) scale(1)} }
@keyframes drift3 { 0%{transform:translate(0,0) scale(1)} 50%{transform:translate(-40px,50px) scale(1.1)} 100%{transform:translate(0,0) scale(1)} }
@keyframes drift4 { 0%{transform:translate(0,0) scale(1)} 40%{transform:translate(50px,-40px) scale(0.92)} 80%{transform:translate(30px,30px) scale(1.06)} 100%{transform:translate(0,0) scale(1)} }

/* ═══════════════════════════════════════════════════════════════
   SISTEMA DE ATMOSFERA POR SEÇÃO
   Camadas fixas de nuvens neon que transitam conforme scroll
═══════════════════════════════════════════════════════════════ */
/*
  FIX: z-index 3 — ACIMA dos orbs (z-index 2) e ABAIXO da vinheta (z-index 4)
  FIX: sem overflow:hidden — blobs com posições negativas não serão cortados
*/
#bg-atmosphere {
  position: fixed; inset: 0;
  z-index: 3;
  pointer-events: none;
}

.atm-layer {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.atm-layer.is-active { opacity: 1; }

/* Pseudo-elementos base de todos os blobs */
.atm-layer::before,
.atm-layer::after {
  content: ''; position: absolute;
}

/* ── Hero: verde + roxo (reforço dos orbs base, sutil) ── */
.atm-hero::before {
  top: -10%; left: -8%; width: 55vw; height: 55vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,222,128,0.12) 0%, transparent 65%);
  filter: blur(90px);
  animation: atmDrift1 20s ease-in-out infinite;
}
.atm-hero::after {
  bottom: -5%; right: -8%; width: 50vw; height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.14) 0%, transparent 60%);
  filter: blur(100px);
  animation: atmDrift2 25s ease-in-out infinite;
}

/* ── Sync: Ciano — conectividade, dados em fluxo ── */
.atm-sync::before {
  top: 10%; left: 0%; width: 60vw; height: 60vw;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  background: radial-gradient(ellipse, rgba(6,182,212,0.30) 0%, rgba(6,182,212,0.10) 45%, transparent 70%);
  filter: blur(80px);
  animation: atmMorphA 18s ease-in-out infinite;
}
.atm-sync::after {
  top: 5%; right: 5%; width: 32vw; height: 32vw;
  border-radius: 60% 40% 45% 55%;
  background: radial-gradient(ellipse, rgba(20,184,166,0.22) 0%, transparent 65%);
  filter: blur(70px);
  animation: atmDrift2 14s ease-in-out infinite;
}

/* ── PDV: Laranja + âmbar — fogo das vendas, energia do caixa ── */
.atm-pdv::before {
  bottom: 5%; right: 0%; width: 58vw; height: 58vw;
  border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%;
  background: radial-gradient(ellipse, rgba(249,115,22,0.28) 0%, rgba(251,146,60,0.10) 50%, transparent 72%);
  filter: blur(85px);
  animation: atmMorphB 20s ease-in-out infinite;
}
.atm-pdv::after {
  top: 8%; left: 5%; width: 38vw; height: 38vw;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(251,191,36,0.20) 0%, transparent 62%);
  filter: blur(75px);
  animation: atmDrift1 16s ease-in-out infinite;
}

/* ── Resultados: Dourado — conquista, crescimento, sucesso ── */
.atm-results::before {
  top: 8%; left: 50%; transform: translateX(-50%);
  width: 65vw; height: 50vw;
  border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
  background: radial-gradient(ellipse, rgba(234,179,8,0.24) 0%, rgba(161,98,7,0.10) 50%, transparent 70%);
  filter: blur(95px);
  animation: atmMorphA 22s ease-in-out infinite;
}
.atm-results::after {
  bottom: 0%; right: 8%; width: 38vw; height: 38vw;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(74,222,128,0.16) 0%, transparent 60%);
  filter: blur(75px);
  animation: atmDrift2 18s ease-in-out infinite;
}

/* ── FAQ: Azul royal + índigo — clareza, conhecimento ── */
.atm-faq::before {
  top: 8%; right: 2%; width: 52vw; height: 52vw;
  border-radius: 45% 55% 50% 50%;
  background: radial-gradient(ellipse, rgba(59,130,246,0.28) 0%, rgba(99,102,241,0.12) 50%, transparent 70%);
  filter: blur(85px);
  animation: atmMorphB 19s ease-in-out infinite;
}
.atm-faq::after {
  bottom: 5%; left: 2%; width: 42vw; height: 42vw;
  border-radius: 60% 40% 50% 50%;
  background: radial-gradient(ellipse, rgba(99,102,241,0.20) 0%, transparent 62%);
  filter: blur(80px);
  animation: atmDrift1 17s ease-in-out infinite;
}

/* Keyframes de drift e morph para as nuvens de atmosfera */
@keyframes atmDrift1 {
  0%   { transform: translate(0,0) scale(1); }
  33%  { transform: translate(40px,30px) scale(1.06); }
  66%  { transform: translate(-20px,50px) scale(0.96); }
  100% { transform: translate(0,0) scale(1); }
}
@keyframes atmDrift2 {
  0%   { transform: translate(0,0) scale(1); }
  40%  { transform: translate(-50px,-30px) scale(1.08); }
  80%  { transform: translate(30px,-50px) scale(0.95); }
  100% { transform: translate(0,0) scale(1); }
}
@keyframes atmMorphA {
  0%,100% { border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; transform: rotate(0deg) scale(1); }
  50%      { border-radius: 60% 40% 45% 55% / 45% 55% 45% 55%; transform: rotate(8deg) scale(1.05); }
}
@keyframes atmMorphB {
  0%,100% { border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%; transform: rotate(0deg) scale(1); }
  50%      { border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%; transform: rotate(-6deg) scale(1.04); }
}

/* ─── SOLAR SYSTEM CANVAS ────────────────────────────────────── */
#solar-system-canvas { display: block; }
#hero-section { min-height: 320px; }

/* ─── HUB RESPONSIVO ─────────────────────────────────────────── */
.hub-responsive { width: 80px; height: 80px; }
@media (min-width: 480px) { .hub-responsive { width: 100px; height: 100px; } }
@media (min-width: 768px) { .hub-responsive { width: 120px; height: 120px; } }

/* ─── EFEITOS DE BRILHO ──────────────────────────────────────── */
.glow-purple { box-shadow: 0 0 40px rgba(124,58,237,0.45); }
.central-glow-back {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:450px; height:450px;
  background: radial-gradient(circle, rgba(124,58,237,0.22) 0%, rgba(59,130,246,0.08) 50%, rgba(0,0,0,0) 70%);
  filter:blur(40px); z-index:5; pointer-events:none; border-radius:999px;
}

/* ─── NODOS DO ECOSSISTEMA ───────────────────────────────────── */
.branch-node { position:absolute; transform:translate(-50%,-50%); z-index:30; pointer-events:auto; }
.category-pill {
  background:rgba(255,255,255,0.05); backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,0.1); color:rgba(255,255,255,0.8);
  padding:5px 12px; border-radius:999px; font-size:0.75rem; white-space:nowrap;
  display:flex; align-items:center; gap:7px;
}
.app-pill {
  display:flex; align-items:center; gap:8px; padding:5px 12px 5px 5px;
  border-radius:10px; font-size:0.8rem; font-weight:500; white-space:nowrap; transition:all 0.5s ease;
}
.app-icon-box {
  width:28px; height:28px; border-radius:7px; display:flex; align-items:center;
  justify-content:center; font-size:1rem; background:rgba(255,255,255,0.2); overflow:hidden; flex-shrink:0;
}
.app-icon-box img { width:100%; height:100%; object-fit:contain; display:block; }
#hub-aura-canvas, #hub-bg-canvas { display:block; }

/* ─── MOBILE NAV ─────────────────────────────────────────────── */
.mobile-menu-btn {
  display:none; flex-direction:column; justify-content:center; gap:5px;
  cursor:pointer; padding:4px; background:none; border:none;
}
.mobile-menu-btn span {
  display:block; width:22px; height:2px; background:rgba(255,255,255,0.8);
  border-radius:2px; transition:transform 0.3s ease, opacity 0.3s ease;
}
.mobile-nav {
  display:none; position:fixed; top:72px; left:0; right:0;
  background:rgba(5,8,6,0.97); backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,0.07); z-index:49;
  padding:16px 24px 24px; flex-direction:column; gap:4px;
}
.mobile-nav.is-open { display:flex; }
.mobile-nav a {
  padding:12px 8px; color:rgba(255,255,255,0.7); font-size:1rem;
  border-bottom:1px solid rgba(255,255,255,0.05); transition:color 0.2s; text-decoration:none;
}
.mobile-nav a:last-child {
  border-bottom:none; margin-top:8px; color:#4ade80;
  border:1px solid rgba(74,222,128,0.35); border-radius:999px; text-align:center; padding:10px 16px;
}
.mobile-nav a:hover { color:#4ade80; }

/* ─── CARDS ──────────────────────────────────────────────────── */
.bailey-card { backdrop-filter:blur(12px); will-change:transform; }
.bailey-card:hover { transform:translateY(-4px); background:rgba(5,8,6,0.6); }

/* ─── FLOAT PDV ──────────────────────────────────────────────── */
.animate-float { animation:floatPDV 6s ease-in-out infinite; will-change:transform; }
@keyframes floatPDV {
  0%   { transform:translateY(0px) rotate(0deg); }
  50%  { transform:translateY(-12px) rotate(0.5deg); }
  100% { transform:translateY(0px) rotate(0deg); }
}

/* ─── HEADER ANIMADO ─────────────────────────────────────────── */
.header-animate {
  position:fixed;
  /* FIX: overflow:visible para o dropdown não ser cortado pelo header */
  overflow:visible;
  background-size:200% 200%;
  animation:headerGlowBg 8s ease infinite;
}
.header-animate::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(rgba(74,222,128,0) 96%, rgba(74,222,128,0.08) 98%, rgba(74,222,128,0) 100%);
  background-size:100% 6px; animation:scanlines 20s linear infinite; z-index:-1; pointer-events:none;
}
@keyframes headerGlowBg {
  0%   { background-image:radial-gradient(circle at 20% -50%, rgba(124,58,237,0.12) 0%, rgba(5,8,6,0.4) 70%); }
  50%  { background-image:radial-gradient(circle at 80% 150%, rgba(74,222,128,0.12) 0%, rgba(5,8,6,0.4) 70%); }
  100% { background-image:radial-gradient(circle at 20% -50%, rgba(124,58,237,0.12) 0%, rgba(5,8,6,0.4) 70%); }
}
@keyframes scanlines { from{background-position:0 0} to{background-position:0 100%} }

/* ═══════════════════════════════════════════════════════════════
   MOBILE ECOSYSTEM — HUB CIRCULAR NEON
═══════════════════════════════════════════════════════════════ */
.eco-hub-outer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eco-hub-container {
  position: relative;
  width:  300px;
  height: 300px;
  flex-shrink: 0;
}

.eco-hub-svg {
  position: absolute;
  inset: 0;
  width:  100%;
  height: 100%;
  overflow: visible;
}

.eco-hub-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eco-hub-center-ring {
  position: relative;
  width: 86px; height: 86px;
  border-radius: 50%;
  background: #050806;
  border: 2px solid rgba(74,222,128,0.55);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(74,222,128,0.30), 0 0 50px rgba(74,222,128,0.12), inset 0 0 20px rgba(74,222,128,0.06);
}

.eco-hub-label {
  margin-top: 5px;
  font-size: 9px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(74,222,128,0.65);
  font-family: 'Outfit', sans-serif; font-weight: 600; text-align: center;
}

.eco-hub-node {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 20;
}

.eco-hub-node-ring {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--node-bg, #111);
  border: 2px solid var(--node-border, rgba(74,222,128,0.5));
  box-shadow: 0 0 18px var(--node-glow, rgba(74,222,128,0.3));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: eco-node-float 3s ease-in-out infinite;
}
.eco-hub-node-ring img { width:78%; height:78%; object-fit:contain; display:block; }

.eco-hub-node:nth-child(4) .eco-hub-node-ring { animation-delay:0.0s; }
.eco-hub-node:nth-child(5) .eco-hub-node-ring { animation-delay:0.5s; }
.eco-hub-node:nth-child(6) .eco-hub-node-ring { animation-delay:1.0s; }
.eco-hub-node:nth-child(7) .eco-hub-node-ring { animation-delay:1.5s; }
.eco-hub-node:nth-child(8) .eco-hub-node-ring { animation-delay:2.0s; }
.eco-hub-node:nth-child(9) .eco-hub-node-ring { animation-delay:2.5s; }

@keyframes eco-node-float {
  0%,100% { transform: translateY(0px);  }
  50%      { transform: translateY(-5px); }
}

@media (max-width: 340px) {
  .eco-hub-container  { width: 270px; height: 270px; }
  .eco-hub-center-ring { width: 76px; height: 76px; }
  .eco-hub-node-ring  { width: 46px; height: 46px; }
}

/* ═══════════════════════════════════════════════════════════════
   MARQUEE — FAIXA DE CLIENTES COM SCROLL INFINITO
═══════════════════════════════════════════════════════════════ */

/* Wrapper com fade nas bordas */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  /* Mascara as bordas com gradiente para fade suave */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 7%,
    black 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 7%,
    black 93%,
    transparent 100%
  );
}

/* Track interno: flex row com gap, sem quebra de linha */
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

/* Faixa 1: da direita para a esquerda */
.marquee-track--left {
  animation: marquee-to-left 38s linear infinite;
}

/* Faixa 2: da esquerda para a direita (sentido oposto) */
.marquee-track--right {
  animation: marquee-to-right 30s linear infinite;
}

/* Pausa ao passar o mouse */
.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-to-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes marquee-to-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ── Card individual ── */
.marquee-card {
  flex-shrink: 0;
  width: 215px;
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  position: relative;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.marquee-card:hover {
  border-color: var(--card-accent, rgba(74,222,128,0.4));
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 0 1px var(--card-accent, rgba(74,222,128,0.3));
}

/* Imagem de fundo do card */
.marquee-card-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  /* Fallback: exibe gradiente escuro quando sem foto */
  background-image: none;
}

/* Overlay degradê para legibilidade do texto */
.marquee-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.40) 55%,
    rgba(0,0,0,0.12) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
}

/* Badge de categoria */
.marquee-badge {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 2px 7px;
  border-radius: 999px;
  color: #fff;
  margin-bottom: 5px;
  width: fit-content;
}

/* Nome do restaurante */
.marquee-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 3px;
  font-family: 'Outfit', sans-serif;
}

/* Cidade */
.marquee-city {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 4px;
}
.marquee-city i { font-size: 0.55rem; color: rgba(74,222,128,0.6); }

/* Ícone placeholder quando sem foto (fundo colorido) */
.marquee-card-img:not([style*="url('images"]) .marquee-card-overlay::before {
  content: '\f2e7'; /* fa-store */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-size: 2.2rem;
  color: rgba(255,255,255,0.12);
  pointer-events: none;
}

/* ─── DEPOIMENTOS ────────────────────────────────────────────── */
.testimonial-card {
  background:rgba(255,255,255,0.025); border:1px solid rgba(255,255,255,0.07);
  border-radius:20px; padding:24px; backdrop-filter:blur(12px);
  transition:border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  position:relative; overflow:hidden;
}
.testimonial-card::before {
  content:'\201C'; position:absolute; top:12px; right:20px;
  font-size:4rem; line-height:1; color:rgba(74,222,128,0.06);
  font-family:Georgia,serif; pointer-events:none;
}
.testimonial-card:hover {
  border-color:rgba(74,222,128,0.25); background:rgba(255,255,255,0.04); transform:translateY(-4px);
}

/* ═══════════════════════════════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════════════════════════════ */
.faq-item {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.35s ease, background 0.35s ease;
}
.faq-item.is-open {
  border-color: rgba(74,222,128,0.30);
  background: rgba(74,222,128,0.03);
}
.faq-trigger {
  width:100%; display:flex; align-items:center; justify-content:space-between;
  padding:18px 22px; cursor:pointer; background:none; border:none;
  color:rgba(255,255,255,0.9); text-align:left;
  font-size:0.88rem; font-weight:500; font-family:'Outfit',sans-serif;
  gap:16px; transition:color 0.2s ease;
}
.faq-trigger:hover { color:#4ade80; }
.faq-item.is-open .faq-trigger { color:#4ade80; }
.faq-icon {
  flex-shrink:0; width:22px; height:22px; border-radius:50%;
  border:1px solid rgba(74,222,128,0.35); display:flex; align-items:center;
  justify-content:center; font-size:0.65rem; color:#4ade80;
  transition:transform 0.35s cubic-bezier(0.4,0,0.2,1), background 0.2s ease;
}
.faq-item.is-open .faq-icon { background:rgba(74,222,128,0.12); }
.faq-body {
  max-height:0; overflow:hidden;
  transition:max-height 0.45s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.is-open .faq-body { max-height: 400px; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-body p {
  padding:0 22px 20px;
  color:rgba(255,255,255,0.55);
  font-size:0.85rem; line-height:1.75;
  border-top:1px solid rgba(255,255,255,0.05);
  padding-top:14px;
}

/* ── Preços: Rosa/Magenta — valor, investimento, decisão ── */
.atm-pricing::before {
  top: 5%; right: 0%; width: 55vw; height: 55vw;
  border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%;
  background: radial-gradient(ellipse, rgba(236,72,153,0.24) 0%, rgba(219,39,119,0.08) 50%, transparent 70%);
  filter: blur(85px);
  animation: atmMorphA 21s ease-in-out infinite;
}
.atm-pricing::after {
  bottom: 5%; left: 2%; width: 42vw; height: 42vw;
  border-radius: 60% 40% 55% 45%;
  background: radial-gradient(ellipse, rgba(168,85,247,0.20) 0%, transparent 62%);
  filter: blur(80px);
  animation: atmDrift2 16s ease-in-out infinite;
}

/* ─── PRICING CARDS ──────────────────────────────────────── */
.pricing-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 28px 24px;
  backdrop-filter: blur(14px);
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.pricing-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}

/* Card em destaque */
.pricing-card--featured {
  background: rgba(74,222,128,0.05);
  border-color: rgba(74,222,128,0.35);
  box-shadow: 0 0 40px rgba(74,222,128,0.10), inset 0 0 40px rgba(74,222,128,0.03);
}
.pricing-card--featured:hover {
  border-color: rgba(74,222,128,0.55);
  box-shadow: 0 0 60px rgba(74,222,128,0.18), inset 0 0 40px rgba(74,222,128,0.05);
  transform: translateY(-6px);
}
#whatsapp-float {
  position:fixed; bottom:28px; right:28px;
  width:56px; height:56px; border-radius:50%;
  background:#25D366;
  display:flex; align-items:center; justify-content:center;
  font-size:1.6rem; color:#fff; text-decoration:none;
  box-shadow:0 4px 24px rgba(37,211,102,0.45);
  z-index:100;
  transition:transform 0.25s ease, box-shadow 0.25s ease;
  animation:waPulse 3s ease-in-out infinite;
}
#whatsapp-float:hover {
  transform:scale(1.12);
  box-shadow:0 6px 32px rgba(37,211,102,0.65);
  animation:none;
}
@keyframes waPulse {
  0%,100% { box-shadow:0 4px 24px rgba(37,211,102,0.45); }
  50%      { box-shadow:0 4px 36px rgba(37,211,102,0.70), 0 0 0 8px rgba(37,211,102,0.12); }
}

/* ─── DIVISOR DE SEÇÃO ───────────────────────────────────────── */
.section-divider {
  height:1px; width:100%;
  background:linear-gradient(to right, transparent, rgba(255,255,255,0.06) 30%, rgba(255,255,255,0.06) 70%, transparent);
  margin:0; border:none;
}

/* ─── RESPONSIVIDADE ─────────────────────────────────────────── */
@media (max-width:1024px) {
  .bg-orb-1{width:480px;height:480px;} .bg-orb-2{width:560px;height:560px;}
  .bg-orb-3{width:300px;height:300px;} .bg-orb-4{width:340px;height:340px;}
  .grid-cols-1 { grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
}
@media (max-width:768px) {
  .mobile-menu-btn { display:flex; }
  .bg-orb-1{width:360px;height:360px;top:-80px;left:-60px;}
  .bg-orb-2{width:400px;height:400px;bottom:-120px;right:-80px;}
  .bg-orb-3{width:240px;height:240px;} .bg-orb-4{width:260px;height:260px;}
  #ecosystem-viewport { max-width:100%!important; overflow:hidden; }
  #hub-aura-canvas    { width:180px!important; height:180px!important; }
  .category-pill { font-size:0.65rem; padding:4px 10px; gap:5px; }
  .app-pill      { font-size:0.72rem; padding:4px 10px 4px 4px; gap:6px; }
  #whatsapp-float { bottom:20px; right:20px; width:50px; height:50px; font-size:1.4rem; }
}
@media (max-width:480px) {
  .bg-orb-1{width:280px;height:280px;filter:blur(55px);}
  .bg-orb-2{width:300px;height:300px;filter:blur(55px);}
  .bg-orb-3{width:180px;height:180px;filter:blur(45px);top:20%;right:0;}
  .bg-orb-4{width:200px;height:200px;filter:blur(45px);left:0;}
  #hub-aura-canvas  { width:140px!important; height:140px!important; }
  .category-pill    { font-size:0.58rem; padding:3px 8px; gap:4px; }
  .app-pill         { font-size:0.65rem; padding:3px 8px 3px 3px; gap:5px; }
  .app-icon-box     { width:22px;height:22px;font-size:0.75rem;border-radius:5px; }
  .bailey-card      { padding:20px; }
  .faq-trigger      { font-size:0.8rem; padding:14px 16px; }
  .faq-body p       { font-size:0.8rem; padding:0 16px 16px; padding-top:12px; }
}
@media (max-width:360px) {
  .category-pill { display:none; }
  .app-pill { font-size:0.6rem; padding:3px 6px 3px 3px; }
}

/* ═══════════════════════════════════════════════════════════════
   DROPDOWN DE SERVIÇOS — HEADER DESKTOP
═══════════════════════════════════════════════════════════════ */
.nav-dropdown-wrapper { position: relative; }

.nav-dropdown-trigger {
  display: flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  font-size: 0.75rem; font-weight: 500;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); padding: 0;
  transition: color 0.2s ease;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-wrapper.is-open .nav-dropdown-trigger { color: #4ade80; }

.nav-dropdown-arrow {
  font-size: 0.6rem;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.nav-dropdown-wrapper:hover .nav-dropdown-arrow,
.nav-dropdown-wrapper.is-open .nav-dropdown-arrow {
  transform: rotate(180deg); color: #4ade80;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 290px;
  background: rgba(5,8,6,0.96);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 0 0 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(74,222,128,0.06);
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.4,0,0.2,1);
}
.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper.is-open .nav-dropdown-menu {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Triângulo apontando para o trigger */
.nav-dropdown-menu::before {
  content: ''; position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px;
  background: rgba(5,8,6,0.96);
  border-left: 1px solid rgba(255,255,255,0.10);
  border-top:  1px solid rgba(255,255,255,0.10);
  rotate: 45deg;
}

/* Rótulo de categoria dentro do menu */
.nav-dd-section-label {
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.28);
  padding: 10px 16px 4px;
}

/* Item do menu */
.nav-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; margin: 2px 6px;
  border-radius: 10px; text-decoration: none;
  transition: background 0.18s ease; cursor: pointer;
}
.nav-dropdown-item:hover { background: rgba(255,255,255,0.05); }
.nav-dropdown-item:hover .nav-dd-label { color: #4ade80; }
.nav-dropdown-item:hover .nav-dd-arrow { opacity:1; transform: translateX(2px); }

.nav-dd-icon {
  width: 30px; height: 30px; border-radius: 8px;
  flex-shrink: 0; display: flex; align-items: center;
  justify-content: center; overflow: hidden;
}
.nav-dd-icon img { width:100%; height:100%; object-fit:contain; }

.nav-dd-label {
  font-size: 0.78rem; font-weight: 500;
  color: rgba(255,255,255,0.85); line-height: 1.2;
  transition: color 0.18s ease;
  text-transform: none; letter-spacing: 0;
}
.nav-dd-sub {
  font-size: 0.64rem; color: rgba(255,255,255,0.33);
  margin-top: 1px; text-transform: none; letter-spacing: 0;
}
.nav-dd-arrow {
  margin-left: auto; font-size: 0.6rem;
  color: rgba(255,255,255,0.25); opacity: 0; flex-shrink: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.nav-dd-divider {
  border: none; border-top: 1px solid rgba(255,255,255,0.06);
  margin: 4px 14px;
}
.nav-dd-seeall {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; margin: 4px 6px;
  border-radius: 10px; text-decoration: none;
  font-size: 0.75rem; font-weight: 600; color: #4ade80;
  background: rgba(74,222,128,0.05);
  border: 1px solid rgba(74,222,128,0.15);
  transition: background 0.18s ease, border-color 0.18s ease;
  text-transform: none; letter-spacing: 0;
}
.nav-dd-seeall:hover { background:rgba(74,222,128,0.10); border-color:rgba(74,222,128,0.30); }

/* ── MOBILE: subgrupo Serviços ── */
.mobile-nav-group { border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-nav-group-trigger {
  width:100%; display:flex; align-items:center; justify-content:space-between;
  padding:12px 8px; background:none; border:none;
  color:rgba(255,255,255,0.7); font-size:1rem;
  font-family:'Outfit',sans-serif; cursor:pointer; transition:color 0.2s;
}
.mobile-nav-group-trigger.is-open,
.mobile-nav-group-trigger:hover { color:#4ade80; }
.mobile-nav-group-arrow {
  font-size:0.65rem; transition:transform 0.3s ease;
}
.mobile-nav-group-trigger.is-open .mobile-nav-group-arrow {
  transform:rotate(180deg); color:#4ade80;
}
.mobile-nav-submenu {
  max-height:0; overflow:hidden;
  transition:max-height 0.4s cubic-bezier(0.4,0,0.2,1);
  padding-left:8px;
}
.mobile-nav-submenu.is-open { max-height:320px; }
.mobile-nav-sub-item {
  display:flex; align-items:center; gap:10px;
  padding:9px 8px; color:rgba(255,255,255,0.55);
  font-size:0.88rem; text-decoration:none; transition:color 0.2s;
  border-bottom:1px solid rgba(255,255,255,0.03);
}
.mobile-nav-sub-item:hover { color:#4ade80; }
.mobile-nav-sub-dot {
  width:8px; height:8px; border-radius:50%; flex-shrink:0;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS — fade + slide up ao entrar na viewport
═══════════════════════════════════════════════════════════════ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity  0.65s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--anim-delay, 0s);
  will-change: opacity, transform;
}
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   COMO FUNCIONA — 3 PASSOS
═══════════════════════════════════════════════════════════════ */
.how-step {
  position: relative;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 32px 24px 24px;
  text-align: center;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
  z-index: 1;
}
.how-step:hover {
  border-color: rgba(74,222,128,0.30);
  background: rgba(74,222,128,0.03);
  transform: translateY(-5px);
}

/* Número de fundo decorativo */
.how-step-num {
  position: absolute;
  top: 10px; right: 16px;
  font-size: 5rem;
  font-weight: 900;
  font-family: 'Syne', sans-serif;
  color: rgba(74,222,128,0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Ícone */
.how-step-icon-wrap {
  width: 56px; height: 56px;
  background: rgba(74,222,128,0.10);
  border: 1px solid rgba(74,222,128,0.25);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: #4ade80;
  transition: background 0.3s ease, transform 0.3s ease;
}
.how-step:hover .how-step-icon-wrap {
  background: rgba(74,222,128,0.18);
  transform: scale(1.08);
}

/* Título */
.how-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  font-family: 'Outfit', sans-serif;
}

/* Descrição */
.how-step-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.65;
  margin-bottom: 14px;
}

/* Badge inferior */
.how-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(74,222,128,0.8);
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.18);
  padding: 4px 10px;
  border-radius: 999px;
}

footer a { transition:color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out; }

/* ─── CARDS DE SOLUÇÕES ───────────────────────────────────────────────────── */
.solucao-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.solucao-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  transform: translateY(-2px);
}

/* Animação com delay para a imagem sobreposta dos celulares */
.animate-float-delayed {
  animation: floatDelayed 6s ease-in-out infinite;
}

@keyframes floatDelayed {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px); /* Flutua em um tempo alternado ao computador */
  }
}
/* Espaço extra no bloco de imagem do PDV para os celulares flutuantes não saírem */
#pdv-software-section .relative.w-full {
  overflow: visible;
}

/* ═══════════════════════════════════════════════════════════════
   INSTAGRAM SECTION
═══════════════════════════════════════════════════════════════ */

/* Anel gradiente do Instagram ao redor do avatar */
.insta-avatar-ring {
  width: 72px; height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  flex-shrink: 0;
}
.insta-avatar-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #050806;
  padding: 3px;
  overflow: hidden;
}
.insta-avatar-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Botão Seguir */
.insta-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  background-size: 200% 200%;
  animation: instaGradShift 4s ease infinite;
  box-shadow: 0 4px 20px rgba(225,48,108,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.insta-follow-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(225,48,108,0.50);
}
@keyframes instaGradShift {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* Cards de posts */
.insta-post-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: hsl(var(--insta-hue, 200), 30%, 10%);
  border: 1px solid rgba(255,255,255,0.06);
  display: block;
  transition: transform 0.25s ease;
}
.insta-post-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Placeholder quando não tem foto */
.insta-post-card.no-img::before {
  content: '\f16d';
  font-family: 'Font Awesome 6 Brands';
  font-weight: 400;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: rgba(255,255,255,0.08);
}

/* Overlay de hover */
.insta-post-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.insta-post-overlay i {
  color: #fff;
  font-size: 1.4rem;
}
.insta-post-card:hover { transform: scale(1.03); }
.insta-post-card:hover .insta-post-overlay { opacity: 1; }

/* ── Marquee Instagram ── */
.insta-marquee-wrapper {
  position: relative;
  overflow: hidden;
  /* fade nas bordas */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.insta-marquee-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: insta-scroll 28s linear infinite;
}
.insta-marquee-wrapper:hover .insta-marquee-track {
  animation-play-state: paused;
}
.insta-marquee-track .insta-post-card {
  width: 220px;
  flex-shrink: 0;
}
@keyframes insta-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

main{
   position:relative;
   overflow:hidden;
}

/* ── CTA Flutuante Mobile ── */
.mobile-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(5,8,6,0.97) 60%, transparent);
  pointer-events: none;
}
.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  background: #4ade80;
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  pointer-events: all;
  box-shadow: 0 4px 24px rgba(74,222,128,0.35);
  transition: background 0.2s, transform 0.15s;
}
.mobile-cta-btn:active { transform: scale(0.97); background: #34d399; }

.connection-dot-start,
.connection-dot-end{
    position:absolute;
    width:14px;
    height:14px;
    border-radius:999px;
    background:#4ade80;
    box-shadow:
      0 0 20px #4ade80,
      0 0 40px #4ade80;
    z-index:10;
}

.connection-dot-start{
    top:140px;
    left:240px;
}

.connection-dot-end{
    top:470px;
    right:260px;
}

@media (max-width: 767px) {
  .desktop-only {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MOSTRAR SOMENTE NO PC
   Esconde essas seções no mobile/tablet pequeno
═══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  #como-funciona,
  #synchronization-section,
  #resultados,
  #faq-section,
  #instagram-section,
  .desktop-only {
    display: none !important;
  }
}