/* Xamã — site institucional. Claro, com o roxo da marca. */
:root {
  --bg: #fbfaff;
  --bg-soft: #f3f1ff;
  --surface: #ffffff;
  --ink: #15132b;
  --ink-2: #4a4766;
  --muted: #7b7896;
  --line: #e7e4f7;
  --accent: #6d5cff;
  --accent-2: #8b7dff;
  --accent-deep: #4b3bd6;
  --accent-soft: #ece9ff;
  --green: #12b76a;
  --amber: #f59e0b;
  --pink: #ec4899;
  --shadow: 0 1px 2px rgba(21, 19, 43, 0.04), 0 12px 32px -12px rgba(41, 30, 140, 0.18);
  --shadow-lg: 0 2px 4px rgba(21, 19, 43, 0.04), 0 30px 60px -20px rgba(41, 30, 140, 0.28);
  --radius: 16px;
  --radius-lg: 24px;
  --display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(780px, 100% - 40px); }
.hl {
  color: var(--accent);
  background: linear-gradient(90deg, var(--accent-deep), var(--accent) 60%, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px;
  font: 600 15px/1.2 var(--body); text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 14px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(109, 92, 255, 0.7); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent-2); }
.btn-light { background: #fff; color: var(--accent-deep); }
.btn-light:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(109, 92, 255, 0.45); outline-offset: 2px; }

/* Navegação */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 255, 0.8);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 20px var(--display); letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 24px; margin-right: auto; }
.nav-links a, .link-quiet { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover, .link-quiet:hover { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.menu-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu-mobile { display: grid; gap: 4px; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); background: var(--bg); }
.menu-mobile a:not(.btn) { padding: 12px 4px; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.menu-mobile .btn { margin-top: 12px; justify-content: center; }
.menu-mobile[hidden] { display: none; }

/* Topo */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(167, 139, 250, 0.28), transparent 70%),
    radial-gradient(35% 45% at 80% 20%, rgba(109, 92, 255, 0.22), transparent 70%),
    radial-gradient(30% 40% at 55% 70%, rgba(236, 72, 153, 0.10), transparent 70%);
}
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 14px; color: var(--ink-2); font-weight: 500;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.18); }
.hero h1 { margin-top: 22px; font-size: clamp(42px, 7vw, 84px); line-height: 1.02; font-weight: 800; letter-spacing: -0.04em; }
.lead { margin-top: 22px; max-width: 680px; font-size: clamp(17px, 2vw, 19px); color: var(--ink-2); }
.lead strong { color: var(--ink); font-weight: 600; }
.cta-row { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--muted); font-size: 14px; font-weight: 500; }
.trust li::before { content: '✓'; color: var(--accent); margin-right: 6px; font-weight: 700; }

/* Palco do topo */
.hero-stage { position: relative; margin-top: 56px; display: grid; place-items: center; padding: 30px 0 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 14px 16px; font-size: 13.5px; line-height: 1.5;
}
.card-label { display: flex; align-items: center; gap: 6px; font: 600 11px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.float { position: absolute; z-index: 2; animation: bob 7s ease-in-out infinite; }
.card-live { left: -8px; top: 0; width: 260px; }
.card-live p + p { margin-top: 6px; }
.card-map { right: -8px; top: 30px; width: 250px; animation-delay: -2s; }
.card-chat { right: -8px; bottom: -6px; width: 270px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

.rec { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
.sp { font-weight: 600; margin-right: 6px; }
.sp1 { color: var(--accent); } .sp2 { color: #0ea5e9; } .sp3 { color: var(--pink); }
.typing { color: var(--ink-2); }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--accent); margin-left: 2px; vertical-align: -2px; animation: pulse 1s infinite; }

.note {
  position: relative; z-index: 1; width: min(640px, 100%);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.note-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #faf9ff; }
.note-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e3e0f5; }
.note-bar em { margin-left: 12px; font-style: normal; font-size: 12px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: 2px 12px; border-radius: 999px; }
.note-body { padding: 22px 26px 26px; }
.note-head h3 { font-size: 22px; }
.meta { margin-top: 4px; color: var(--muted); font-size: 13px; }
.tags { margin-top: 10px; display: flex; gap: 6px; }
.tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.t1 { background: #e0f7f1; color: #0f766e; } .t2 { background: #fdeaf3; color: #be185d; }
.tabs-mini { display: flex; gap: 18px; margin: 18px 0 16px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.tabs-mini span { padding-bottom: 10px; }
.tabs-mini .on { color: var(--accent); font-weight: 600; box-shadow: inset 0 -2px var(--accent); }
.note-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; font-size: 14px; color: var(--ink-2); }
.note-grid h4, .todo h4 { font-size: 14px; color: var(--ink); margin: 0 0 6px; }
.note-grid h4:not(:first-child) { margin-top: 14px; }
.bullets { margin: 0; padding-left: 18px; }
.todo { background: var(--bg-soft); border-radius: 14px; padding: 14px; }
.todo label { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 13.5px; color: var(--ink); }
.todo s { color: var(--muted); }
.chk { flex: 0 0 16px; height: 16px; border-radius: 5px; border: 1.5px solid #c9c4ee; background: #fff; margin-top: 2px; position: relative; }
.chk.on { background: var(--accent); border-color: var(--accent); }
.chk.on::after { content: ''; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.mini-map { width: 100%; height: auto; }
.mini-map path { fill: none; stroke: #c9c4ee; stroke-width: 2; }
.mini-map rect { fill: #fff; stroke: #c9c4ee; stroke-width: 1.5; }
.mini-map rect.root { fill: var(--accent); stroke: var(--accent); }
.mini-map text { font: 600 10px var(--body); text-anchor: middle; fill: var(--ink); }
.mini-map rect.root + text { fill: #fff; }

.q { align-self: flex-end; margin-left: auto; width: fit-content; max-width: 85%; background: var(--accent); color: #fff; padding: 8px 12px; border-radius: 14px 14px 4px 14px; }
.a { margin-top: 8px; background: var(--bg-soft); padding: 8px 12px; border-radius: 14px 14px 14px 4px; color: var(--ink); }
.ts { color: var(--accent); font-weight: 600; font-size: 12px; }

/* Números */
.stats { padding: 32px 0 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats-grid div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.stats-grid strong { display: block; font: 800 30px var(--display); letter-spacing: -0.03em; color: var(--accent-deep); }
.stats-grid span { display: block; margin-top: 6px; color: var(--ink-2); font-size: 14.5px; }

/* Seções */
.section { padding: 100px 0; }
.section-soft { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.eyebrow { text-align: center; font-weight: 600; color: var(--accent); font-size: 14px; letter-spacing: 0.04em; }
.section h2, .final h2 { text-align: center; margin-top: 10px; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; }
.sub { text-align: center; max-width: 620px; margin: 16px auto 0; color: var(--ink-2); font-size: 17px; }

/* Etapas */
.steps { margin: 40px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.steps button {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font: 500 15px var(--body); color: var(--ink-2); cursor: pointer; transition: all 0.2s;
}
.steps button b { color: var(--muted); margin-right: 6px; font-weight: 600; }
.steps button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(109, 92, 255, 0.7); }
.steps button[aria-selected="true"] b { color: rgba(255, 255, 255, 0.75); }
.panels { margin-top: 28px; }
.panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 44px; box-shadow: var(--shadow); animation: fade 0.35s ease;
}
.panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.panel-copy h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.panel-copy p { margin-top: 14px; color: var(--ink-2); font-size: 16.5px; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.checks li::before { content: ''; flex: 0 0 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%236d5cff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; margin-top: 2px; }
.panel-visual { display: grid; place-items: center; background: var(--bg-soft); border-radius: 18px; padding: 28px; min-height: 320px; }

.ext { width: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 16px; display: grid; gap: 10px; font-size: 14px; }
.ext-head { display: flex; align-items: center; gap: 8px; font: 800 17px var(--display); }
.ext-field { display: flex; justify-content: space-between; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; }
.ext-field span { color: var(--muted); }
.ext-rec { display: flex; align-items: center; gap: 8px; color: #b91c1c; font-weight: 600; font-size: 13px; padding: 4px 2px; }
.ext-btn { text-align: center; padding: 11px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 600; }

.transcript { width: 100%; max-width: 440px; display: grid; gap: 12px; }
.transcript p { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 14.5px; box-shadow: var(--shadow); }
.transcript .ts { margin-right: 10px; }

.formats { width: 100%; max-width: 440px; display: flex; flex-wrap: wrap; gap: 8px; }
.fmt { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.fmt.on { background: var(--accent-soft); border-color: transparent; color: var(--accent-deep); font-weight: 600; }
.fmt-out { width: 100%; margin-top: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); font-size: 14.5px; display: grid; gap: 6px; }
.fmt-out h4 { font-size: 15px; margin-bottom: 2px; }

.todo-lg { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.todo-lg label { justify-content: flex-start; border-bottom: 1px solid var(--line); padding: 10px 0; }
.todo-lg label:last-child { border: 0; }
.todo-lg em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12.5px; white-space: nowrap; }

.chat { width: 100%; max-width: 440px; display: flex; flex-direction: column; font-size: 14.5px; }
.chat .q { margin-top: 12px; }
.chat .q:first-child { margin-top: 0; }

/* Recursos */
.features { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform 0.2s, border-color 0.2s; }
.feature:hover { transform: translateY(-3px); border-color: #d6d0fb; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); font-size: 22px; }
.feature h3 { margin-top: 16px; font-size: 18px; }
.feature p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

/* App */
.shots { margin-top: 48px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: center; }
.shot { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #0a0a0f; }
.shot-side { transform: rotate(1.5deg); }

/* Para quem */
.personas { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.persona { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.persona h3 { font-size: 18px; }
.persona p { color: var(--ink-2); font-size: 15px; flex: 1; }
.persona .fmt { align-self: flex-start; }

/* Preços */
.plans { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.plan.featured { border: 2px solid var(--accent); box-shadow: 0 30px 60px -24px rgba(109, 92, 255, 0.45); }
.badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.price { font: 800 36px var(--display); letter-spacing: -0.03em; }
.price small { font: 500 15px var(--body); color: var(--muted); letter-spacing: 0; }
.plan .desc { color: var(--ink-2); font-size: 14.5px; min-height: 44px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; flex: 1; }
.plan li::before { content: '✓'; color: var(--accent); font-weight: 700; margin-right: 8px; }
.plan .btn { justify-content: center; }
.fine { margin-top: 20px; text-align: center; color: var(--muted); font-size: 14px; }

/* Dúvidas */
.faq { margin-top: 40px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font: 600 16.5px var(--display); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); }
.faq a { color: var(--accent); }

/* Chamada final */
.final { padding: 20px 0 100px; }
.final-inner {
  border-radius: 32px; padding: 72px 24px; text-align: center; color: #fff; display: grid; justify-items: center; gap: 22px;
  background: radial-gradient(60% 80% at 20% 10%, #8b7dff, transparent), radial-gradient(60% 80% at 90% 90%, #ec4899aa, transparent), var(--accent-deep);
  box-shadow: var(--shadow-lg);
}
.final-inner img { filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25)); background: #fff; border-radius: 18px; padding: 8px; }
.final h2 { margin: 0; color: #fff; }
.final .hl { background: none; -webkit-text-fill-color: #fff; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.5); text-underline-offset: 8px; }

/* Rodapé */
.footer { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; margin-right: auto; }
.footer nav a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.footer nav a:hover { color: var(--accent); }
.copy { color: var(--muted); font-size: 14px; }

/* Aparecer ao rolar */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 1080px) {
  .card-live { width: 250px; }
  .card-map { width: 210px; }
  .card-chat { width: 260px; right: 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .personas, .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .hero-stage { display: flex; flex-direction: column; gap: 14px; padding: 0; }
  .float { position: static; width: 100% !important; max-width: 520px; animation: none; }
  .card-map, .card-chat { display: none; }
  .note-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .panel { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
  .panel-visual { min-height: 0; }
  .shots { grid-template-columns: 1fr; }
  .shot-side { transform: none; }
}
@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .hero { padding-top: 36px; }
  .stats-grid, .features, .personas, .plans { grid-template-columns: 1fr; }
  .note-body { padding: 18px; }
  .panel { padding: 22px; }
  .steps { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 0 20px 6px; scrollbar-width: none; }
  .steps button { flex: 0 0 auto; }
  .final-inner { padding: 56px 20px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
