/* =====================================================
   AutoFlow — style.css  v2
   SVG icons, refined card design, improved chat UX
   ===================================================== */
 
:root {
  --font-title: 'Space Grotesk', sans-serif;
  --font-body:  'Manrope', sans-serif;
 
  --bg:       #04070d;
  --bg2:      #07101a;
  --surface:  rgba(13,20,32,.82);
  --surface2: rgba(17,27,42,.9);
  --surface3: rgba(255,255,255,.045);
 
  --accent:  #00ff9d;
  --accent2: #00d4ff;
  --accent3: #7c5cff;
  --warn:    #ff7a3d;
 
  --text:   #f5f9ff;
  --muted:  #a8b5c8;
  --muted2: #6f7f98;
 
  --border:  rgba(255,255,255,.09);
  --border2: rgba(255,255,255,.16);
 
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
 
  --max: 1180px;
 
  --shadow: 0 24px 90px rgba(0,0,0,.42);
  --shadow-soft: 0 8px 40px rgba(0,0,0,.28);
}
 
/* ── RESET ── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
 
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
 
body {
  min-height: 100vh;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 18% 12%, rgba(0,255,157,.18), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(0,212,255,.16), transparent 32%),
    radial-gradient(circle at 52% 92%, rgba(124,92,255,.13), transparent 34%),
    linear-gradient(180deg, #04070d 0%, #07101a 48%, #04070d 100%);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
 
/* Grain texture */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: .38;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}
 
body::after {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 70%);
}
 
a { color: inherit; }
button,a,input { -webkit-tap-highlight-color: transparent; }
button,input { font-family: inherit; }
a:focus-visible,button:focus-visible,input:focus-visible {
  outline: 3px solid rgba(0,255,157,.4);
  outline-offset: 4px;
}
 
/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,
.logo,.nav-cta,.btn-primary,.btn-secondary,
.stat-num,.sol-number,.step-num {
  font-family: var(--font-title);
}
h1,h2,h3,h4 { letter-spacing: -.055em; line-height: 1.02; }
p { color: var(--muted); }
strong { font-weight: 800; }
 
/* ── NAV ── */
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: 76px;
  padding: 0 max(5%, calc((100vw - var(--max)) / 2));
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(4,7,13,.68);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background .3s ease, box-shadow .3s ease;
}
 
nav.scrolled {
  background: rgba(4,7,13,.92);
  box-shadow: 0 4px 40px rgba(0,0,0,.4);
}
 
.logo {
  color: var(--text); text-decoration: none;
  font-size: 1.35rem; font-weight: 800; letter-spacing: -.04em;
  display: inline-flex; align-items: center; gap: 10px;
}
 
.logo-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent), 0 0 38px rgba(0,255,157,.55);
  animation: logoPulse 2.2s ease-in-out infinite;
}

.logo-img {
  height: 36px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0,212,255,.35));
}
 
@keyframes logoPulse {
  0%,100% { transform:scale(1); opacity:1; }
  50%      { transform:scale(.78); opacity:.62; }
}
 
.nav-cta {
  cursor: pointer;
  color: #03110d;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  padding: 11px 21px; border-radius: 999px; border: 0;
  font-size: .86rem; font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 14px 38px rgba(0,255,157,.22);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  position: relative; overflow: hidden;
}
.nav-cta::before {
  content: ''; position: absolute; top: 0; left: -120%; width: 70%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left .7s ease;
}
.nav-cta:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 20px 52px rgba(0,255,157,.34); }
.nav-cta:hover::before { left: 140%; }
 
/* ── SECTIONS ── */
section {
  position: relative;
  padding: 110px max(5%, calc((100vw - var(--max)) / 2));
}
 
.section-label {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(0,255,157,.13), rgba(0,212,255,.08));
  border: 1px solid rgba(0,255,157,.24);
  border-radius: 999px; padding: 7px 14px;
  font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  box-shadow: 0 0 34px rgba(0,255,157,.08);
}
 
.section-title {
  max-width: 820px; margin: 20px 0;
  font-size: clamp(2.15rem, 4.4vw, 3.55rem);
  font-weight: 800; text-wrap: balance;
}
 
.section-sub {
  max-width: 640px; color: var(--muted);
  font-size: 1.05rem; font-weight: 500;
}
 
/* ── HERO ── */
.hero {
  min-height: 100vh; padding-top: 132px; padding-bottom: 92px;
  display: flex; align-items: center;
  overflow: hidden; isolation: isolate;
}
 
.hero::before {
  content: '';
  position: absolute;
  width: min(560px,42vw); height: min(560px,42vw);
  right: max(3%, calc((100vw - var(--max)) / 2)); top: 22%;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(0,255,157,.18), rgba(0,212,255,.09)), rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.08);
  transform: rotate(10deg); filter: blur(.1px);
  box-shadow: 0 40px 140px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.12);
  opacity: .72; z-index: -1;
}
 
.hero::after {
  content: '';
  position: absolute; right: 12%; top: 29%;
  width: 280px; height: 280px;
  border: 1px solid rgba(0,255,157,.22); border-radius: 50%;
  box-shadow: inset 0 0 55px rgba(0,255,157,.06), 0 0 80px rgba(0,212,255,.08);
  animation: heroSpin 18s linear infinite; z-index: -1;
}
 
@keyframes heroSpin { to { transform:rotate(360deg); } }
 
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,255,157,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,157,.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 62% at 48% 38%, black, transparent 72%);
  animation: gridMove 20s linear infinite; z-index: -3;
}
 
@keyframes gridMove { to { background-position: 72px 72px; } }
 
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none; z-index: -4;
}
.orb1 { width:600px; height:600px; right:-140px; top:-120px; background:rgba(0,255,157,.17); animation:orbFloatOne 11s ease-in-out infinite; }
.orb2 { width:450px; height:450px; left:-130px; bottom:40px; background:rgba(0,212,255,.14); animation:orbFloatTwo 13s ease-in-out infinite; }
 
@keyframes orbFloatOne {
  0%,100% { transform:translate3d(0,0,0) scale(1); }
  35%      { transform:translate3d(34px,-28px,0) scale(1.08); }
  70%      { transform:translate3d(-18px,18px,0) scale(.96); }
}
@keyframes orbFloatTwo {
  0%,100% { transform:translate3d(0,0,0) scale(1); }
  40%      { transform:translate3d(-28px,24px,0) scale(1.1); }
  75%      { transform:translate3d(20px,-14px,0) scale(.94); }
}
 
.hero-inner { position:relative; max-width:940px; z-index:2; }
 
.hero-badge { margin-bottom:26px; animation: fadeSlideDown .8s cubic-bezier(.16,1,.3,1) both, badgeGlow 3s ease-in-out infinite; }
 
.hero h1 {
  max-width: 950px; margin-bottom: 26px;
  font-size: clamp(2.85rem, 7vw, 5.9rem);
  font-weight: 800; line-height: .94; text-wrap: balance;
  animation: heroTitleIn .9s cubic-bezier(.16,1,.3,1) .1s both;
}
 
.hero h1 em,.cta-final em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 28px rgba(0,255,157,.12));
  background-size: 220% 220%;
  animation: gradientFlow 4s ease-in-out infinite;
}
 
.hero-sub {
  max-width: 655px; margin-bottom: 42px;
  color: #b4c0d2; font-size: clamp(1.05rem, 1.7vw, 1.24rem); font-weight: 500;
  animation: fadeUp .9s cubic-bezier(.16,1,.3,1) .25s both;
}
 
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp .9s cubic-bezier(.16,1,.3,1) .4s both;
}
 
.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 16px; max-width: 760px; margin-top: 64px;
  animation: fadeUp .9s cubic-bezier(.16,1,.3,1) .55s both;
}
 
.hero-stats > div {
  position: relative; overflow: hidden;
  padding: 22px 24px; border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border: 1px solid var(--border);
  box-shadow: 0 14px 48px rgba(0,0,0,.24);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.hero-stats > div::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(0,255,157,.14), transparent 50%);
}
.hero-stats > div:hover { transform: translateY(-6px); border-color: rgba(0,255,157,.28); background: rgba(255,255,255,.06); }
 
.stat-num {
  position: relative;
  font-size: 2.35rem; line-height: 1; font-weight: 800; letter-spacing: -.05em;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: numberFloat 4s ease-in-out infinite;
}
.hero-stats > div:nth-child(2) .stat-num { animation-delay: .4s; }
.hero-stats > div:nth-child(3) .stat-num { animation-delay: .8s; }
 
.stat-label { position:relative; margin-top:8px; color:var(--muted); font-size:.9rem; line-height:1.35; }
 
/* ── BUTTONS ── */
.btn-primary,.btn-secondary {
  min-height: 54px; border-radius: 999px; text-decoration: none;
  font-size: .98rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease, filter .25s ease;
  border: 0; cursor: pointer;
}
 
.btn-primary {
  color: #03110d; padding: 16px 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42), 0 18px 48px rgba(0,255,157,.27);
  position: relative; overflow: hidden;
  animation: ctaBreath 3s ease-in-out infinite;
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -120%; width: 70%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left .7s ease;
}
.btn-primary:hover { transform:translateY(-3px) scale(1.015); filter:brightness(1.06); box-shadow:inset 0 1px 0 rgba(255,255,255,.5), 0 24px 68px rgba(0,255,157,.42); }
.btn-primary:hover::before { left: 140%; }
 
.btn-secondary {
  color: var(--text); padding: 16px 26px;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--border2); backdrop-filter: blur(10px);
}
.btn-secondary:hover { background:rgba(255,255,255,.075); border-color:rgba(255,255,255,.28); transform:translateY(-3px); }
 
/* ── CARDS BASE ── */
.dor-card,.sol-card,.step,.testimonial,.faq-item {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025)), rgba(13,20,32,.76);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  transform-style: preserve-3d;
}
 
.dor-card,.sol-card,.step {
  padding: 30px;
  transition: transform .32s cubic-bezier(.16,1,.3,1), border-color .32s ease, box-shadow .32s ease, background .32s ease;
}
 
.dor-card::before,.sol-card::before,.step::before {
  content: ''; position:absolute; inset:0;
  background: radial-gradient(circle at 18% 0%, rgba(0,255,157,.14), transparent 38%), linear-gradient(135deg, rgba(255,255,255,.06), transparent 42%);
  opacity:0; transition:opacity .32s ease; pointer-events:none;
}
 
.dor-card::after,.sol-card::after,.step::after {
  content: ''; position:absolute; inset:-1px; border-radius:inherit; padding:1px;
  background: linear-gradient(135deg, rgba(0,255,157,.42), rgba(0,212,255,.24), transparent 58%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity:0; transition:opacity .32s ease; pointer-events:none;
}
 
.dor-card:hover,.sol-card:hover,.step:hover {
  transform: translateY(-10px) scale(1.018) rotateX(1.5deg);
  border-color: rgba(0,255,157,.26);
  box-shadow: 0 30px 90px rgba(0,0,0,.38), 0 0 48px rgba(0,255,157,.08);
}
.dor-card:hover::before,.dor-card:hover::after,
.sol-card:hover::before,.sol-card:hover::after,
.step:hover::before,.step:hover::after { opacity:1; }
 
.dor-card:hover h3,.sol-card:hover h3,.step:hover h3 { color: var(--accent); }
 
/* ── ICON WRAPS (SVG-based) ── */
.dor-icon,.sol-icon-wrap {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; position: relative; z-index: 1;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease;
  flex-shrink: 0;
}

.dor-icon {
  background: rgba(255,107,53,.13);
  border: 1px solid rgba(255,107,53,.28);
  box-shadow: 0 0 28px rgba(255,107,53,.08);
  color: #ff7a3d;
}
.dor-icon svg { width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.dor-card:hover .dor-icon { transform:translateY(-4px) scale(1.08) rotate(-3deg); box-shadow:0 0 36px rgba(255,107,53,.22); }

.sol-icon-wrap {
  background: rgba(0,255,157,.105);
  border: 1px solid rgba(0,255,157,.24);
  box-shadow: 0 0 28px rgba(0,255,157,.08);
  color: var(--accent);
}
.sol-icon-wrap svg { width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.sol-card:hover .sol-icon-wrap { transform:translateY(-4px) scale(1.08) rotate(-3deg); box-shadow:0 0 36px rgba(0,255,157,.22); }
 
/* ── DORES ── */
.dores {
  background:
    radial-gradient(circle at 8% 20%, rgba(255,107,53,.08), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.025), transparent);
}
 
.dores-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 22px; margin-top: 58px;
}
 
.dor-card h3,.sol-card h3,.step h3 { position:relative; z-index:1; margin-bottom:10px; font-size:1.14rem; font-weight:800; letter-spacing:-.035em; transition: color .25s ease; }
.dor-card p,.sol-card p,.step p { position:relative; z-index:1; color:var(--muted); font-size:.94rem; line-height:1.65; }
 
/* ── SOLUÇÕES ── */
.solucoes-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 22px; margin-top: 58px;
}
 
.sol-number {
  position:relative; z-index:1; margin-bottom:18px;
  font-size:3.7rem; line-height:1; font-weight:800; letter-spacing:-.08em;
  color:rgba(255,255,255,.055);
  transition: color .3s ease, transform .3s ease;
}
.sol-card:hover .sol-number { color:rgba(0,255,157,.22); transform:translateX(4px); }
 
.sol-tag {
  position:relative; z-index:1;
  display:inline-flex; align-items:center; gap:6px;
  margin-top:22px; padding:7px 12px; border-radius:999px;
  background:rgba(0,255,157,.08); border:1px solid rgba(0,255,157,.18);
  color:var(--accent); font-size:.78rem; font-weight:700;
}

/* Sol tag dot instead of emoji */
.sol-tag::before {
  content:'';
  width:6px; height:6px; border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 6px var(--accent);
  flex-shrink:0;
}
 
/* ── DIFERENCIAL ── */
.diferencial {
  background:
    radial-gradient(circle at 75% 40%, rgba(0,212,255,.08), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.025), transparent);
  overflow: hidden;
}
 
.dif-inner { display:grid; grid-template-columns:.92fr 1.08fr; gap:76px; align-items:center; }
 
.dif-visual {
  position:relative; min-height:390px;
  display:flex; align-items:center; justify-content:center;
}
 
.dif-visual::before {
  content: ''; position:absolute; width:340px; height:340px; border-radius:50%;
  background:radial-gradient(circle, rgba(0,255,157,.18), transparent 62%);
  filter:blur(18px); animation:softPulse 4s ease-in-out infinite;
}
 
.dif-rings { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
 
.ring {
  position:absolute; border-radius:50%;
  border:1px solid rgba(0,255,157,.24);
  box-shadow:inset 0 0 28px rgba(0,255,157,.04);
  animation:spin linear infinite;
}
.ring:nth-child(1) { width:330px; height:330px; animation-duration:14s; }
.ring:nth-child(2) { width:238px; height:238px; border-color:rgba(0,212,255,.22); animation-duration:9s; animation-direction:reverse; }
.ring:nth-child(3) { width:145px; height:145px; border-color:rgba(124,92,255,.28); animation-duration:6s; }
.ring4            { width:420px; height:420px; border-color:rgba(0,255,157,.08); animation-duration:22s; border-style:dashed; }
 
.dif-orbit-dot {
  position:absolute; width:10px; height:10px; border-radius:50%;
  background:var(--accent); box-shadow:0 0 12px var(--accent), 0 0 28px rgba(0,255,157,.5);
  z-index:3;
}
.dot1 { animation:orbitDot1 14s linear infinite; }
.dot2 { animation:orbitDot2 9s linear infinite; width:8px; height:8px; background:var(--accent2); box-shadow:0 0 12px var(--accent2); }
.dot3 { animation:orbitDot3 6s linear infinite; width:6px; height:6px; background:var(--accent3); box-shadow:0 0 10px var(--accent3); }
 
@keyframes orbitDot1 {
  from { transform:rotate(0deg) translateX(165px) rotate(0deg); }
  to   { transform:rotate(360deg) translateX(165px) rotate(-360deg); }
}
@keyframes orbitDot2 {
  from { transform:rotate(120deg) translateX(119px) rotate(-120deg); }
  to   { transform:rotate(480deg) translateX(119px) rotate(-480deg); }
}
@keyframes orbitDot3 {
  from { transform:rotate(240deg) translateX(72px) rotate(-240deg); }
  to   { transform:rotate(600deg) translateX(72px) rotate(-600deg); }
}
 
.dif-center {
  position:relative; z-index:2;
  width:92px; height:92px; border-radius:28px;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  color:#03110d; display:flex; align-items:center; justify-content:center;
  box-shadow:0 0 0 1px rgba(255,255,255,.24) inset, 0 0 70px rgba(0,255,157,.36);
  animation:alivePulse 3s ease-in-out infinite, iconRotate 9s ease-in-out infinite;
}
.dif-center svg { width:36px; height:36px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
 
.dif-content p { margin-bottom:18px; color:var(--muted); font-size:1rem; line-height:1.75; }
 
.dif-points { list-style:none; display:grid; gap:14px; margin-top:30px; }
.dif-points li {
  display:flex; gap:12px; align-items:flex-start;
  color:#dce7f6; font-size:.98rem;
  transition:transform .25s ease, color .25s ease;
}
.dif-points li::before {
  content:''; width:22px; height:22px; flex:0 0 22px; margin-top:2px;
  border-radius:50%; background:rgba(0,255,157,.11); border:1px solid rgba(0,255,157,.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300ff9d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  display:inline-flex; align-items:center; justify-content:center;
  transition:transform .25s ease, box-shadow .25s ease;
}
.dif-points li:hover { transform:translateX(6px); color:var(--text); }
.dif-points li:hover::before { transform:scale(1.12); box-shadow:0 0 24px rgba(0,255,157,.22); }
 
/* ── PROCESSO ── */
.processo-steps {
  display:grid; grid-template-columns:repeat(4, minmax(0,1fr));
  gap:22px; margin-top:58px;
}

/* Step number badge */
.step-num {
  position:relative; z-index:1;
  width:52px; height:52px; margin-bottom:24px; border-radius:16px;
  background:rgba(0,255,157,.105); border:1px solid rgba(0,255,157,.23);
  color:var(--accent); display:flex; align-items:center; justify-content:center;
  font-size:1.05rem; font-weight:800;
  transition:transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease;
}
.step:hover .step-num { transform:translateY(-4px) scale(1.08) rotate(-3deg); box-shadow:0 0 36px rgba(0,255,157,.22); }
 
/* ── PROVA SOCIAL ── */
.prova {
  background:
    radial-gradient(circle at 20% 20%, rgba(124,92,255,.08), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.025), transparent);
}
 
.prova-inner {
  display:grid; grid-template-columns:.95fr 1.05fr;
  gap:58px; align-items:start; margin-top:58px !important;
}
 
.testimonial {
  padding:34px;
  transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.testimonial:hover { transform:translateY(-5px); border-color:rgba(0,255,157,.22); box-shadow:0 28px 80px rgba(0,0,0,.35); }
.testimonial::before {
  content:'"'; position:absolute; top:-2px; left:24px;
  font-family:var(--font-title); font-size:7rem; line-height:1;
  color:var(--accent); opacity:.13; pointer-events:none;
}
.testimonial::after {
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at 18% 0%, rgba(0,255,157,.14), transparent 38%);
  opacity:0; transition:opacity .3s ease; pointer-events:none;
}
.testimonial:hover::after { opacity:1; }
 
.testimonial-text { position:relative; z-index:1; padding-top:26px; margin-bottom:28px; color:#dde7f5; font-size:1.03rem; line-height:1.75; }
.testimonial-meta { display:flex; align-items:center; gap:14px; }
.testimonial-avatar { width:52px; height:52px; border-radius:50%; background:linear-gradient(135deg,var(--accent),var(--accent2)); color:#03110d; display:flex; align-items:center; justify-content:center; font-family:var(--font-title); font-weight:800; box-shadow:0 0 28px rgba(0,255,157,.16); }
.testimonial-name { color:var(--text); font-weight:800; }
.testimonial-role { color:var(--muted); font-size:.86rem; }
 
/* ── FAQ ── */
.faq-list { display:grid; gap:14px; }
.faq-item {
  border-radius:18px;
  transition:transform .25s ease, border-color .25s ease;
}
.faq-item:hover { transform:translateX(4px); border-color:rgba(0,255,157,.22); }
.faq-item::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at 0% 50%, rgba(0,255,157,.07), transparent 50%);
  opacity:0; transition:opacity .3s ease; pointer-events:none;
}
.faq-item:hover::before { opacity:1; }
 
.faq-q {
  width:100%; padding:20px 22px; background:transparent; border:none;
  color:var(--text); font-family:var(--font-body); font-size:.98rem; font-weight:800;
  text-align:left; cursor:pointer;
  display:flex; align-items:center; justify-content:space-between; gap:18px;
  position:relative; z-index:1;
  transition:color .2s ease;
}
.faq-q:hover { color:var(--accent); }
.faq-arrow { color:var(--accent); font-size:1.2rem; transition:transform .3s cubic-bezier(.16,1,.3,1); }
.faq-q:hover .faq-arrow { transform:rotate(90deg); }
.faq-item.open .faq-arrow { transform:rotate(45deg); }
 
.faq-a {
  max-height:0; overflow:hidden; padding:0 22px;
  color:var(--muted); font-size:.93rem; line-height:1.7;
  transition:max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-a { max-height:230px; padding-bottom:22px; }
 
/* ── CTA FINAL ── */
.cta-final {
  text-align:center; overflow:hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(0,255,157,.16), transparent 34%),
    radial-gradient(circle at 65% 60%, rgba(0,212,255,.11), transparent 32%),
    var(--bg);
}
 
.cta-final-bg {
  position:absolute; inset:0;
  background:
    linear-gradient(rgba(0,255,157,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,157,.035) 1px, transparent 1px);
  background-size:70px 70px;
  mask-image:radial-gradient(ellipse 65% 55% at 50% 50%, black, transparent);
  animation:gridMove 20s linear infinite;
}
 
.cta-final .section-title {
  max-width:930px; margin-inline:auto;
  font-size:clamp(2.35rem,5.8vw,4.6rem);
  animation:ctaTitleGlow 4s ease-in-out infinite;
}
.cta-final p { max-width:580px; margin:22px auto 42px; color:var(--muted); font-size:1.08rem; }
 
/* ── FOOTER ── */
footer {
  display:flex; justify-content:space-between; align-items:center;
  gap:26px; flex-wrap:wrap; padding:44px 5%;
  background:#070b13; border-top:1px solid var(--border);
}
 
.footer-copy { margin-top:8px; color:var(--muted); font-size:.88rem; }
.footer-copy a { color:var(--accent); text-decoration:none; }
 
.social-links { display:flex; gap:12px; }
.social-link {
  width:42px; height:42px; border-radius:14px;
  background:rgba(255,255,255,.04); border:1px solid var(--border);
  color:var(--muted); display:flex; align-items:center; justify-content:center;
  text-decoration:none; transition:all .25s ease;
}
.social-link:hover { color:var(--accent); border-color:rgba(0,255,157,.32); background:rgba(0,255,157,.08); transform:translateY(-2px); }
.social-link svg { transition:transform .28s cubic-bezier(.16,1,.3,1); }
.social-link:hover svg { transform:scale(1.18) rotate(-6deg); }
 
/* ══════════════════════════════════════
   CHAT WIDGET — redesigned
══════════════════════════════════════ */
#chat-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3,6,12,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
 
#chat-overlay.open { display: flex; }
 
#chat-box {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: min(680px, 88vh);
  background: linear-gradient(180deg, #0a1220 0%, #060e18 100%);
  border: 1px solid rgba(0,255,157,.2);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 0 0 1px rgba(0,255,157,.06),
    0 36px 120px rgba(0,0,0,.8),
    0 0 80px rgba(0,255,157,.1);
  transform: scale(0.88) translateY(20px);
  opacity: 0;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
  will-change: transform, opacity;
}
 
#chat-box.visible {
  transform: scale(1) translateY(0);
  opacity: 1;
  animation: chatFloat 6s ease-in-out 0.4s infinite;
}

/* ── Chat header ── */
#chat-header {
  padding: 18px 22px;
  background: rgba(4,7,13,.95);
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
 
.chat-header-left { display:flex; align-items:center; gap:14px; }
.chat-avatar-wrap { position:relative; }
 
.chat-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  color: #03110d;
  box-shadow: 0 0 20px rgba(0,255,157,.3);
  animation: avatarGlow 3s ease-in-out infinite;
}
.chat-avatar svg { width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
 
@keyframes avatarGlow {
  0%,100% { box-shadow: 0 0 20px rgba(0,255,157,.3); }
  50%      { box-shadow: 0 0 36px rgba(0,255,157,.55), 0 0 60px rgba(0,212,255,.2); }
}
 
.chat-online-dot {
  position:absolute; bottom:2px; right:2px;
  width:11px; height:11px; border-radius:50%;
  background:var(--accent); border:2px solid #04070d;
  animation:logoPulse 2s infinite;
}
 
.chat-title { font-family:var(--font-title); font-weight:800; font-size:1rem; color:var(--text); }
 
.chat-subtitle {
  font-size:.75rem; color:var(--accent);
  display:flex; align-items:center; gap:6px; margin-top:2px;
}
 
.chat-online-pulse {
  width:7px; height:7px; border-radius:50%; background:var(--accent);
  display:inline-block; animation:logoPulse 2s infinite;
}
 
.chat-close-btn {
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1);
  color:var(--muted2); width:34px; height:34px; border-radius:50%;
  cursor:pointer; font-size:1.1rem;
  display:flex; align-items:center; justify-content:center;
  transition:all .2s;
}
.chat-close-btn:hover { background:rgba(255,100,100,.12); color:#ff6b6b; border-color:rgba(255,100,100,.25); }

/* ── Prograss ── */
.chat-progress-wrap {
  height:3px; background:rgba(255,255,255,.06); flex-shrink:0;
}
 
#chat-progress {
  height:100%;
  background:linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
  background-size:200% 100%;
  width:0%; transition:width .6s ease;
  border-radius:0 2px 2px 0;
  animation:progressShimmer 2s linear infinite;
}

/* Step counter */
.chat-step-counter {
  padding: 8px 22px 0;
  font-size: .72rem; color: var(--muted2); font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.chat-step-dots { display:flex; gap:4px; }
.chat-step-dot {
  width:5px; height:5px; border-radius:50%;
  background: rgba(255,255,255,.15);
  transition: background .3s ease, transform .3s ease;
}
.chat-step-dot.active { background: var(--accent); transform: scale(1.3); }
.chat-step-dot.done   { background: rgba(0,255,157,.4); }
 
@keyframes progressShimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ── Messages ── */
#chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}
 
#chat-messages::-webkit-scrollbar { width:4px; }
#chat-messages::-webkit-scrollbar-track { background:transparent; }
#chat-messages::-webkit-scrollbar-thumb { background:rgba(0,255,157,.2); border-radius:10px; }

/* ── Input area ── */
#chat-input-area {
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
  background: rgba(4,7,13,.98);
}
 
#btn-area { display:flex; flex-wrap:wrap; gap:8px; }
 
#text-input-area {
  display:none; flex-direction:column; gap:8px;
}

.input-label {
  font-size: .72rem; color: var(--muted2); font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 0 2px;
}

.input-row {
  display: flex; gap: 8px;
}
 
#chat-text-input {
  flex:1; background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1); border-radius:12px;
  padding:12px 16px; color:var(--text); font-size:.92rem;
  outline:none; transition:border-color .2s, box-shadow .2s;
}
#chat-text-input:focus {
  border-color:rgba(0,255,157,.4);
  box-shadow:0 0 0 3px rgba(0,255,157,.08);
}
 
#send-btn {
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  border:none; border-radius:12px; padding:12px 18px;
  color:#03110d; font-family:var(--font-title); font-weight:800; font-size:.88rem;
  cursor:pointer; transition:all .2s; flex-shrink:0;
  display:flex; align-items:center; gap:6px;
}
#send-btn:hover { filter:brightness(1.08); transform:translateY(-1px); box-shadow:0 8px 28px rgba(0,255,157,.3); }
#send-btn svg { width:14px; height:14px; stroke:currentColor; fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
 
.input-error-msg {
  color:#ff7a7a; font-size:.8rem;
  animation:msgIn .3s ease both;
}
 
/* ── Chat messages ── */
.chat-msg-bot {
  display:flex; gap:10px; align-items:flex-end;
  animation:msgIn .4s cubic-bezier(.34,1.4,.64,1) both;
}
.chat-msg-user {
  display:flex; justify-content:flex-end;
  animation:msgIn .3s ease both;
}
 
.bubble-bot {
  background: rgba(17,27,42,.95);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text);
  border-radius: 16px 16px 16px 4px;
  padding: 14px 18px; font-size: .92rem; line-height: 1.65;
  max-width: 85%; font-family: var(--font-body);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
 
.bubble-user {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #03110d;
  border-radius: 16px 16px 4px 16px;
  padding: 12px 17px; font-size: .92rem; line-height: 1.65;
  max-width: 80%; font-family: var(--font-body); font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,255,157,.2);
}
 
.bot-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center; color:#03110d;
  box-shadow: 0 0 14px rgba(0,255,157,.25);
}
.bot-avatar svg { width:14px; height:14px; stroke:currentColor; fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
 
/* ── Chips — improved ── */
.chat-chip {
  background: rgba(0,255,157,.07);
  border: 1px solid rgba(0,255,157,.2);
  color: var(--text);
  border-radius: 10px; padding: 10px 16px;
  font-size: .86rem; font-family: var(--font-body); font-weight: 600;
  cursor: pointer; white-space: normal; text-align: left;
  animation: chipIn .35s cubic-bezier(.34,1.56,.64,1) both;
  transition: all .22s cubic-bezier(.16,1,.3,1);
  line-height: 1.3;
}
.chat-chip:hover {
  background: rgba(0,255,157,.15);
  border-color: rgba(0,255,157,.45);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,255,157,.12);
}
.chat-chip:active { transform:scale(.97); }
 
/* ── Typing ── */
.typing-dot {
  width:7px; height:7px; border-radius:50%; background:var(--accent);
  opacity:.4; animation:typingBounce 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay:.2s; }
.typing-dot:nth-child(3) { animation-delay:.4s; }
 
/* ── REVEAL ── */
.reveal {
  opacity:0; transform:translateY(34px) scale(.985); filter:blur(8px);
  transition:
    opacity .72s cubic-bezier(.16,1,.3,1),
    transform .72s cubic-bezier(.16,1,.3,1),
    filter .72s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity:1; transform:translateY(0) scale(1); filter:blur(0); }
.reveal-delay-1 { transition-delay:.08s; }
.reveal-delay-2 { transition-delay:.16s; }
.reveal-delay-3 { transition-delay:.24s; }
.reveal-delay-4 { transition-delay:.32s; }
 
::-webkit-scrollbar { width:7px; }
::-webkit-scrollbar-track { background:var(--bg); }
::-webkit-scrollbar-thumb { background:rgba(0,255,157,.35); border-radius:999px; }
 
/* ══════════════════════════════════════
   KEYFRAMES
══════════════════════════════════════ */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeSlideDown { from { opacity:0; transform:translateY(-18px); } to { opacity:1; transform:translateY(0); } }
@keyframes heroTitleIn { from { opacity:0; transform:translateY(34px) scale(.96); filter:blur(10px); } to { opacity:1; transform:translateY(0) scale(1); filter:blur(0); } }
@keyframes badgeGlow { 0%,100% { box-shadow:0 0 24px rgba(0,255,157,.08); } 50% { box-shadow:0 0 44px rgba(0,255,157,.22); } }
@keyframes gradientFlow { 0%,100% { background-position:0% 50%; } 50% { background-position:100% 50%; } }
@keyframes ctaBreath { 0%,100% { box-shadow:0 15px 40px rgba(0,255,157,.28), 0 0 0 rgba(0,255,157,0); } 50% { box-shadow:0 22px 60px rgba(0,255,157,.42), 0 0 34px rgba(0,212,255,.18); } }
@keyframes spin { to { transform:rotate(360deg); } }
@keyframes softPulse { 50% { transform:scale(1.08); opacity:.76; } }
@keyframes alivePulse { 0%,100% { transform:rotate(-7deg) scale(1); } 50% { transform:rotate(-7deg) scale(1.08); } }
@keyframes iconRotate { 0%,100% { transform:rotate(-7deg) scale(1); } 45% { transform:rotate(8deg) scale(1.06); } 70% { transform:rotate(-12deg) scale(1.03); } }
@keyframes numberFloat { 0%,100% { transform:translateY(0); filter:brightness(1); } 50% { transform:translateY(-4px); filter:brightness(1.2); } }
@keyframes ctaTitleGlow { 0%,100% { text-shadow:0 0 0 rgba(0,255,157,0); } 50% { text-shadow:0 0 36px rgba(0,255,157,.14); } }
@keyframes chatFloat { 0%,100% { box-shadow:0 36px 120px rgba(0,0,0,.75), 0 0 80px rgba(0,255,157,.12); } 50% { box-shadow:0 42px 140px rgba(0,0,0,.82), 0 0 105px rgba(0,212,255,.18); } }
@keyframes msgIn { from { opacity:0; transform:translateY(12px) scale(.96); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes chipIn { from { opacity:0; transform:translateY(8px) scale(.92); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes typingBounce { 0%,80%,100% { transform:translateY(0); opacity:.3; } 40% { transform:translateY(-6px); opacity:1; } }
 
/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width:1100px) {
  .dores-grid,.solucoes-grid,.processo-steps { grid-template-columns:repeat(2, minmax(0,1fr)); }
  .dif-inner,.prova-inner { grid-template-columns:1fr; gap:54px; }
  .dif-visual { min-height:310px; order:2; }
}
 
@media (max-width:760px) {
  html { scroll-padding-top:78px; }
  nav { padding:14px 5%; }
  .logo { font-size:1.15rem; }
  .nav-cta { padding:10px 15px; font-size:.76rem; }
  .hero { min-height:auto; padding:112px 5% 72px; }
  .hero h1 { font-size:clamp(2.35rem,13vw,3.65rem); letter-spacing:-.075em; }
  .hero-sub { font-size:1rem; }
  .hero-actions { flex-direction:column; }
  .btn-primary,.btn-secondary { width:100%; justify-content:center; }
  .hero-stats { grid-template-columns:1fr; margin-top:42px; }
  section { padding:76px 5%; }
  .dores-grid,.solucoes-grid,.processo-steps { grid-template-columns:1fr; gap:16px; margin-top:38px; }
  .dor-card,.sol-card,.step,.testimonial { padding:24px; border-radius:22px; }
  .section-title { font-size:clamp(2rem,11vw,2.8rem); }
  .dif-visual { min-height:250px; }
  .ring:nth-child(1) { width:250px; height:250px; }
  .ring:nth-child(2) { width:185px; height:185px; }
  .ring:nth-child(3) { width:115px; height:115px; }
  .ring4 { width:310px; height:310px; }
  .dif-center { width:76px; height:76px; border-radius:22px; }
  footer { flex-direction:column; align-items:flex-start; }
  #chat-box { height: 92vh !important; border-radius: 20px !important; }
  #chat-messages { padding: 16px 14px !important; }
  .btn-primary { animation:none; }
}
 
@media (max-width:430px) {
  .hero-badge,.section-label { font-size:.67rem; letter-spacing:.09em; }
  .stat-num { font-size:2.05rem; }
  .sol-number { font-size:3.25rem; }
}
 
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}