/* ============ O Especialista Digital ============ */
:root {
  --bg: #0a0908;
  --bg-2: #141210;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .1);
  --text: #f6f1e7;
  --muted: #b5ab98;
  --gold-deep: #c9962e;
  --gold-light: #f6dc9a;
  --gold: #e9c46a;
  --gold-soft: #f3d98f;
  --wa: #25d366;
  --grad: linear-gradient(100deg, #fdecb4 0%, #e6bb58 48%, #bd8c2f 100%);
  --radius: 22px;
  --display: "Syne", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
svg { display: block; flex: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(224, 180, 80, .55); }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* ---------- Fundo ---------- */
#stars { position: fixed; inset: 0; width: 100vw; height: 100lvh; z-index: -2; pointer-events: none; }
.nebula { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.nebula i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: drift 26s ease-in-out infinite alternate; }
.nebula i:nth-child(1) { width: 56vmax; height: 56vmax; left: -18vmax; top: -22vmax; background: radial-gradient(circle, rgba(201, 150, 46, .55), transparent 65%); }
.nebula i:nth-child(2) { width: 46vmax; height: 46vmax; right: -16vmax; top: 18vh; background: radial-gradient(circle, rgba(233, 196, 106, .32), transparent 65%); animation-duration: 34s; }
.nebula i:nth-child(3) { width: 50vmax; height: 50vmax; left: 20vw; bottom: -30vmax; background: radial-gradient(circle, rgba(150, 90, 30, .22), transparent 65%); animation-duration: 40s; }
@keyframes drift { to { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); } }

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; }
.progress i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { padding: 16px 26px; font-size: 1rem; }
.btn-primary { background: var(--grad); color: #1a1305; box-shadow: 0 10px 34px -10px rgba(233, 196, 106, .6); }
.btn-primary:hover { box-shadow: 0 16px 44px -10px rgba(224, 180, 80, .8); }
.btn-wa { background: var(--wa); color: #03240f; box-shadow: 0 10px 30px -12px rgba(37, 211, 102, .8); }
.btn-wa:hover { box-shadow: 0 16px 40px -12px rgba(37, 211, 102, .95); }
.btn-ghost { background: var(--surface); border-color: var(--line); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, .25); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.header.scrolled { background: rgba(10, 9, 8, .72); backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--line); }
.header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 1.02rem/1 var(--display); letter-spacing: -.01em; }
.logo b { color: var(--gold); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a:not(.btn) { padding: 8px 14px; border-radius: 999px; font-size: .93rem; font-weight: 600; color: var(--muted); transition: color .2s, background .2s; }
.nav > a:not(.btn):hover, .nav > a.active { color: var(--text); background: var(--surface-2); }
.nav-cta { margin-left: 10px; }
.burger { display: none; width: 44px; height: 44px; position: relative; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger i:nth-child(1) { top: 16px; }
.burger i:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] i:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { top: 20.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(36px, 7vw, 84px)); }
.hero-in { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: clamp(24px, 5vw, 72px); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-soft); box-shadow: 0 0 0 0 rgba(243, 217, 143, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(243, 217, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(243, 217, 143, 0); } }
h1 { font: 800 clamp(1.75rem, 4.4vw, 3.5rem)/1.06 var(--display); letter-spacing: -.03em; margin-top: 22px; }
h1 .grad { display: inline-block; padding-bottom: .08em; }
.hero-rot { margin-top: 18px; font: 600 clamp(1.1rem, 2.2vw, 1.5rem)/1.3 var(--display); color: var(--muted); }
.rot { display: inline-block; color: var(--text); border-bottom: 2px solid var(--gold); padding-bottom: 2px; transition: opacity .35s, transform .35s var(--ease); }
.rot.out { opacity: 0; transform: translateY(10px); }
.lead { margin-top: 18px; max-width: 34em; font-size: clamp(1rem, 1.4vw, 1.14rem); color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-facts li { display: flex; align-items: center; gap: 12px; }
.hero-facts b { font: 800 2rem/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-facts span { font-size: .8rem; line-height: 1.35; color: var(--muted); }

/* Sistema orbital */
.orbit { position: relative; width: min(500px, 100%); aspect-ratio: 1; margin-inline: auto; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .13); animation: spin var(--t) linear infinite; }
.r1 { inset: 19%; --t: 26s; }
.r2 { inset: 8%; --t: 40s; animation-direction: reverse; border-style: dashed; }
.r3 { inset: -4%; --t: 58s; }
.sat { position: absolute; width: 0; height: 0; }
.sat > span {
  position: absolute; left: 0; top: 0; translate: -50% -50%;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; white-space: nowrap;
  background: rgba(24, 21, 17, .88); border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 8px 28px -8px rgba(224, 180, 80, .7);
  font-size: .8rem; font-weight: 700;
  animation: spin var(--t) linear infinite reverse;
}
.r2 .sat > span { animation-direction: normal; }
.sat svg { width: 18px; height: 18px; color: var(--gold); }
.sat em { font-style: normal; }
.r1 .s1, .r3 .s1 { left: 100%; top: 50%; }
.r1 .s2, .r3 .s2 { left: 0; top: 50%; }
.r2 .s1 { left: 50%; top: 0; }
.r2 .s2 { left: 50%; top: 100%; }
.r3 { rotate: 40deg; }
.r3 .sat > span { rotate: -40deg; }
.core { position: absolute; inset: 36%; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, #3a3532, #1b1816 55%, #0c0b0a 100%); border: 1px solid rgba(246, 220, 154, .35);
  box-shadow: 0 0 60px 6px rgba(224, 180, 80, .4), inset -10px -14px 30px rgba(0, 0, 0, .5);
  animation: breathe 5s ease-in-out infinite; }
.core svg { width: 64%; height: 64%; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .6)); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { box-shadow: 0 0 90px 18px rgba(233, 196, 106, .45), inset -10px -14px 30px rgba(0, 0, 0, .5); } }

/* Faixa */
.marquee { margin-top: clamp(48px, 7vw, 90px); border-block: 1px solid var(--line); background: rgba(255, 255, 255, .02); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee span { padding: 18px 28px; font: 700 .95rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: "✦"; color: var(--gold-light); margin-right: -28px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { padding-block: clamp(72px, 10vw, 130px); }
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.eyebrow { font: 700 .8rem/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
h2 { font: 800 clamp(1.9rem, 4.4vw, 3.3rem)/1.06 var(--display); letter-spacing: -.03em; }
.head > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 1.08rem; max-width: 38em; }
h3 { font: 700 1.3rem/1.2 var(--display); letter-spacing: -.015em; }

/* Cards */
.card {
  position: relative; isolation: isolate;
  padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .3s;
}
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(224, 180, 80, .28), rgba(233, 196, 106, .1) 40%, transparent 70%);
  transition: opacity .35s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(246, 220, 154, .45); }
.card:hover::before { opacity: 1; }
.card p { color: var(--muted); font-size: .97rem; }
.ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; color: var(--gold);
  background: linear-gradient(135deg, rgba(224, 180, 80, .28), rgba(233, 196, 106, .14)); border: 1px solid rgba(246, 220, 154, .35); }
.ico svg { width: 24px; height: 24px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards .card { display: flex; flex-direction: column; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.num { font: 800 1rem/1 var(--display); color: rgba(255, 255, 255, .22); letter-spacing: .05em; }
.cards h3 { margin-bottom: 10px; }
.cards ul { margin: 18px 0 24px; display: grid; gap: 9px; }
.cards li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; }
.cards li svg { width: 17px; height: 17px; margin-top: 3px; color: var(--gold-soft); }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; color: var(--gold-light); padding-top: 18px; border-top: 1px solid var(--line); transition: color .2s, gap .25s var(--ease); }
.card-link svg { width: 17px; height: 17px; }
.card-link:hover { color: var(--gold); gap: 14px; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-hot { border-color: rgba(233, 196, 106, .4); background: linear-gradient(180deg, rgba(233, 196, 106, .09), rgba(224, 180, 80, .05)); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento-a { grid-column: 1 / -1; padding: clamp(28px, 4vw, 44px); }
.bento-a h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.bento-a > p { margin-top: 12px; max-width: 46em; font-size: 1.04rem; }
.bento .ico { margin-bottom: 20px; }
.bento h3 { margin-bottom: 8px; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0; margin-top: 30px; }
.flow li { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-weight: 700; font-size: .9rem; }
.flow li svg { width: 18px; height: 18px; color: var(--gold); }
.flow li:not(:last-child) { margin-right: 44px; position: relative; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: calc(100% + 6px); top: 50%; width: 32px; height: 2px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); background-size: 200% 100%; animation: flow 1.6s linear infinite; border-radius: 2px; }
.flow .flow-end { background: var(--grad); color: #1a1305; border-color: transparent; }
.flow .flow-end svg { color: #1a1305; }
@keyframes flow { from { background-position: 200% 0; } to { background-position: 0 0; } }

/* Etapas */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: linear-gradient(90deg, var(--gold-deep), var(--gold), transparent); }
.steps li { position: relative; padding-right: 28px; }
.step-n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bg-2); border: 1px solid rgba(246, 220, 154, .5); font: 800 1rem/1 var(--display); color: var(--gold); box-shadow: 0 0 0 8px var(--bg), 0 0 30px rgba(224, 180, 80, .45); margin-bottom: 26px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: .97rem; }

/* Simulador */
.sim { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px); padding: clamp(24px, 4vw, 44px); }
.sim:hover { transform: none; }
.sim > *, .contact > * { min-width: 0; }
.sim-form { display: grid; gap: 26px; align-content: center; }
.range > span { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; font-size: .95rem; color: var(--muted); margin-bottom: 12px; }
.range output { font: 700 1.05rem/1 var(--display); color: var(--text); white-space: nowrap; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; display: block; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold-deep) 0%, var(--gold) var(--p, 50%), rgba(255, 255, 255, .12) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold-deep) 0%, var(--gold) var(--p, 50%), rgba(255, 255, 255, .12) var(--p, 50%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 5px solid var(--gold); box-shadow: 0 0 0 5px rgba(233, 196, 106, .2); transition: box-shadow .2s; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--gold); box-shadow: 0 0 0 5px rgba(233, 196, 106, .2); }
input[type="range"]:hover::-webkit-slider-thumb, input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 9px rgba(233, 196, 106, .25); }
input[type="range"]:focus-visible { outline: none; }
.sim-out { border-radius: 18px; padding: clamp(22px, 3vw, 34px); background: radial-gradient(120% 90% at 100% 0%, rgba(233, 196, 106, .16), transparent 60%), rgba(10, 9, 8, .6); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.sim-big span { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.sim-big b { display: block; font: 800 clamp(2rem, 4.6vw, 3.2rem)/1 var(--display); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.sim-out dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sim-out dl div { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); }
.sim-out dt { font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.sim-out dd { font: 700 1.4rem/1.3 var(--display); font-variant-numeric: tabular-nums; }
.fine { font-size: .78rem; color: var(--muted); opacity: .85; }

/* Contato + chat */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.contact-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.contact-alt span { width: 100%; font-size: .9rem; color: var(--muted); font-weight: 600; }
.chat { border-radius: 26px; overflow: hidden; background: rgba(20, 18, 15, .85); border: 1px solid rgba(246, 220, 154, .35); box-shadow: 0 40px 100px -40px rgba(224, 180, 80, .7), 0 0 0 1px rgba(255, 255, 255, .03) inset; backdrop-filter: blur(14px); display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.chat-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(224, 180, 80, .18); border: 1px solid rgba(246, 220, 154, .4); }
.chat-head b { display: block; font: 700 1rem/1.2 var(--display); }
.chat-head small { color: var(--muted); font-size: .8rem; }
.chat-reset { margin-left: auto; font-size: .82rem; font-weight: 700; color: var(--muted); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); }
.chat-reset:hover { color: var(--text); background: var(--surface-2); }
.chat-log { height: 300px; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.msg { max-width: 86%; padding: 11px 16px; border-radius: 18px; font-size: .95rem; line-height: 1.5; animation: pop .35s var(--ease) both; white-space: pre-line; overflow-wrap: anywhere; }
.msg.bot { align-self: flex-start; background: rgba(255, 255, 255, .075); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: linear-gradient(120deg, #f6dc9a, #d9aa43); color: #1a1305; border-bottom-right-radius: 6px; font-weight: 700; }
.msg.typing { display: inline-flex; gap: 5px; padding: 16px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.chat-actions { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; min-height: 76px; align-items: center; }
.chip { padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; transition: background .2s, border-color .2s, transform .2s; animation: pop .3s var(--ease) both; }
.chip:hover { border-color: var(--gold-light); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: rgba(224, 180, 80, .32); border-color: var(--gold-light); }
.chat-actions .btn { animation: pop .3s var(--ease) both; }
.chat-actions .next { margin-left: auto; }
.chat-actions .next:disabled { opacity: .4; pointer-events: none; }
.chat-form { display: flex; gap: 8px; width: 100%; }
.chat-form input { flex: 1; min-width: 0; padding: 13px 18px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--text); font: inherit; font-size: 1rem; }
.chat-form input::placeholder { color: rgba(181, 171, 152, .7); }
.chat-form input:focus { outline: none; border-color: var(--gold); }
.chat-final { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }

/* Chat ao vivo */
.chat-col { min-width: 0; }
.chat-privacy { margin-top: 12px; text-align: center; }
#chat-status.on { color: #6ee7a0; }
#chat-status.on::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.msg.admin { align-self: flex-start; background: rgba(224, 180, 80, .14); border: 1px solid rgba(246, 220, 154, .4); border-bottom-left-radius: 6px; }
.msg.admin::before { content: attr(data-from); display: block; font: 700 .68rem/1.6 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.msg.note { align-self: center; max-width: 100%; padding: 6px 14px; border-radius: 999px; background: rgba(74, 222, 128, .12); border: 1px solid rgba(74, 222, 128, .35); color: #86efac; font-size: .8rem; font-weight: 700; text-align: center; }
.chat-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%; }
.chat-alt span { font-size: .8rem; color: var(--muted); margin-right: auto; }
.chat-alt .btn { padding: 8px 14px; font-size: .82rem; box-shadow: none; }
.fab-badge { position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #ef4444; border: 2px solid var(--bg); }
.fab-badge[hidden] { display: none; }
/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(246, 220, 154, .45); background: rgba(224, 180, 80, .07); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font: 700 1.08rem/1.3 var(--display); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font: 400 1.3rem/1 var(--body); color: var(--gold); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 44em; }

/* CTA final */
.final { padding-top: 0; }
.final-box { position: relative; overflow: hidden; text-align: center; padding: clamp(48px, 8vw, 96px) 24px; border-radius: 34px; border: 1px solid rgba(246, 220, 154, .4);
  background: radial-gradient(70% 120% at 50% 0%, rgba(224, 180, 80, .38), transparent 70%), radial-gradient(60% 90% at 50% 110%, rgba(233, 196, 106, .22), transparent 70%), rgba(20, 18, 15, .7); }
.final-box h2 { font-size: clamp(2.3rem, 6.5vw, 4.6rem); }
.final-box p { margin-top: 16px; color: var(--muted); font-size: 1.1rem; }
.final-box .cta-row { justify-content: center; }

/* Rodapé */
.footer { border-top: 1px solid var(--line); padding: 40px 0 110px; background: rgba(10, 9, 8, .6); }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer nav a { color: var(--muted); font-size: .93rem; font-weight: 600; }
.footer nav a:hover { color: var(--text); }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); transition: background .2s, transform .2s, color .2s; }
.social a:hover { background: var(--surface-2); transform: translateY(-2px); color: var(--gold); }
.copy { text-align: center; margin-top: 28px; color: var(--muted); font-size: .83rem; opacity: .8; }

/* Botão flutuante */
.fab { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 55; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab-btn { position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #1a1305; box-shadow: 0 14px 40px -8px rgba(233, 196, 106, .7); transition: transform .3s var(--ease); }
.fab-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: ripple 2.4s ease-out infinite; }
.fab-btn:hover { transform: scale(1.07); }
.fab-btn svg { grid-area: 1 / 1; transition: opacity .25s, transform .3s var(--ease); }
.fab-x { opacity: 0; transform: rotate(-90deg); }
.fab.open .fab-open { opacity: 0; transform: rotate(90deg); }
.fab.open .fab-x { opacity: 1; transform: none; }
.fab.open .fab-btn::before { animation: none; opacity: 0; }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.fab-menu { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; visibility: hidden; }
.fab.open .fab-menu { visibility: visible; }
.fab-item { display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px; background: rgba(20, 18, 15, .95); border: 1px solid var(--line); font-weight: 700; font-size: .92rem; box-shadow: 0 12px 30px -12px #000; opacity: 0; transform: translateY(12px) scale(.94); transition: opacity .25s, transform .3s var(--ease); }
.fab-item svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; }
.fab-wa svg { background: var(--wa); color: #03240f; }
.fab-ig svg { background: linear-gradient(45deg, #f59e0b, #ec4899 50%, #8b5cf6); color: #fff; }
.fab-br svg { background: var(--grad); color: #1a1305; }
.fab.open .fab-item { opacity: 1; transform: none; }
.fab.open .fab-item:nth-child(2) { transition-delay: .05s; }
.fab.open .fab-item:nth-child(1) { transition-delay: .1s; }

.toast { position: fixed; left: 50%; bottom: 100px; z-index: 70; translate: -50% 20px; max-width: calc(100% - 32px); padding: 14px 22px; border-radius: 16px; background: #fff; color: #141210; font-weight: 700; font-size: .93rem; text-align: center; box-shadow: 0 20px 50px -10px #000; opacity: 0; pointer-events: none; transition: opacity .3s, translate .3s var(--ease); }
.toast.show { opacity: 1; translate: -50% 0; }

/* Entrada ao rolar */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in { transition: opacity .8s var(--ease), transform .4s var(--ease), border-color .3s; }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .steps::before { display: none; }
  .sim, .contact { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .burger { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px; background: rgba(10, 9, 8, .97); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav > a:not(.btn) { padding: 14px 16px; font-size: 1.05rem; }
  .nav-cta { margin: 10px 0 0; padding: 16px; }
  .header:has(.nav.open) { background: rgba(10, 9, 8, .97); }
  .hero-in { grid-template-columns: 1fr; }
  .orbit { width: min(400px, 86%); margin-top: 20px; }
}

@media (max-width: 620px) {
  :root { --header-h: 64px; }
  .cards, .bento { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps li { padding: 0 0 0 76px; }
  .step-n { position: absolute; left: 0; top: 0; margin: 0; }
  .cta-row .btn { width: 100%; }
  .hero-facts { gap: 16px 24px; }
  .sat em { display: none; }
  .sat > span { padding: 11px; }
  .flow li:not(:last-child) { margin-right: 30px; }
  .flow li:not(:last-child)::after { width: 18px; }
  .chat-log { height: 320px; }
  .chat-final { grid-template-columns: 1fr; }
  .footer-in { flex-direction: column; text-align: center; }
  .footer nav { justify-content: center; }
  .sim-out dd { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Pontos de confiança ao lado do chat */
.contact-points { display: grid; gap: 12px; margin-top: 28px; }
.contact-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.contact-points svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: #1a1305; background: var(--grad); }

/* Canais alternativos: presentes, mas sem competir com o botão do atendimento */
.alt-channels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 20px; font-size: .9rem; color: var(--muted); }
.alt-channels.center { justify-content: center; }
.alt-channels a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 700; transition: border-color .2s, background .2s; }
.alt-channels a:hover { border-color: rgba(255, 255, 255, .3); background: var(--surface-2); }
.alt-channels svg { width: 16px; height: 16px; }
.alt-channels a[data-wa] svg { color: var(--wa); }
.final-box .alt-channels { font-size: .9rem; }
.fab-item.fab-br { background: var(--grad); color: #1a1305; border-color: transparent; }
.fab-item.fab-br svg { background: rgba(26, 19, 5, .15); color: #1a1305; }
.fab.open .fab-item:nth-child(3) { transition-delay: 0s; }
