:root {
  --bg-darkest: #110e18;
  --bg-dark: #1b1526;
  --bg-medium: #241c31;
  --bg-hover: #30223f;
  --border: #3b2c4d;
  --text-primary: #f6f2fa;
  --text-secondary: #c0b6ce;
  --text-muted: #a397b2;
  --accent: #753cc3;
  --accent-hover: #8950d3;
  --accent-soft: #cfacf4;
  --success: #23a559;
  --danger: #f23f43;
  --radius: 8px;
  --radius-lg: 12px;
}

* { box-sizing: border-box; }

html { color-scheme: dark; scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg-darkest);
  color: var(--text-primary);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 3px;
}

.site-header {
  width: min(1120px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--text-primary);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.site-nav { display: flex; align-items: center; gap: 8px; }

.site-nav a {
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-weight: 650;
  padding: 9px 12px;
  text-decoration: none;
}

.site-nav a:hover { background: var(--bg-hover); color: var(--text-primary); }

.site-nav .nav-cta { background: var(--accent); color: #fff; }
.site-nav .nav-cta:hover { background: var(--accent-hover); }

main { overflow: hidden; }

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 590px;
  padding: 82px 0 74px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, .98fr);
  align-items: center;
  gap: clamp(42px, 8vw, 112px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-soft);
  font-size: .9rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 640px;
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 5.4vw, 4.9rem);
  letter-spacing: -.065em;
  line-height: .98;
}

.hero-copy {
  max-width: 540px;
  color: var(--text-secondary);
  font-size: 1.12rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: inherit;
  font-weight: 750;
  padding: 11px 18px;
  text-decoration: none;
}

.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary { border-color: var(--border); color: var(--text-primary); }
.button-secondary:hover { background: var(--bg-hover); }

.hero-note { margin: 14px 0 0; color: var(--text-muted); font-size: .9rem; }

.app-card {
  min-height: 396px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-dark);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .28);
}

.app-bar { height: 46px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--border); }
.app-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--text-muted); opacity: .65; }
.app-shell { display: grid; grid-template-columns: 64px 148px 1fr; min-height: 350px; }
.app-rail { padding: 14px; border-right: 1px solid var(--border); background: var(--bg-darkest); }
.rail-item { width: 36px; height: 36px; margin: 0 auto 12px; border-radius: 12px; background: var(--bg-hover); }
.rail-item.active { background: var(--accent); }
.app-channels { padding: 19px 12px; border-right: 1px solid var(--border); }
.app-channels strong { display: block; font-size: .82rem; }
.channel { display: block; margin-top: 14px; color: var(--text-secondary); font-size: .8rem; }
.channel.active { color: var(--text-primary); font-weight: 700; }
.app-conversation { padding: 23px 20px; }
.app-conversation h2 { margin-bottom: 4px; font-size: 1rem; }
.app-conversation > p { color: var(--text-muted); font-size: .78rem; }
.message { margin: 22px 0; display: grid; grid-template-columns: 28px 1fr; gap: 9px; }
.avatar-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--success); }
.avatar-dot.alt { background: #f0b232; }
.message b { font-size: .8rem; }
.message p { margin: 2px 0 0; color: var(--text-secondary); font-size: .75rem; }

.features { background: var(--bg-dark); border-block: 1px solid var(--border); }
.section-inner { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 84px 0; }
.section-heading { max-width: 620px; margin-bottom: 38px; }
.section-heading h2 { margin-bottom: 12px; font-size: clamp(1.9rem, 3vw, 2.75rem); letter-spacing: -.045em; line-height: 1.08; }
.section-heading p { margin: 0; color: var(--text-secondary); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-medium);
}
.feature-icon { width: 42px; height: 42px; margin-bottom: 25px; color: var(--accent-soft); }
.feature h3 { margin-bottom: 7px; font-size: 1.05rem; }
.feature p { margin-bottom: 0; color: var(--text-secondary); font-size: .95rem; }

.closing { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 84px 0; text-align: center; }
.closing h2 { margin-bottom: 15px; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.05em; line-height: 1.05; }
.closing p { max-width: 560px; margin: 0 auto 28px; color: var(--text-secondary); }

.site-footer { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 26px 0 34px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--text-muted); font-size: .9rem; }
.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: var(--text-primary); }

.auth-card { width: min(100%, 460px); padding: 32px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-dark); }
.auth-card > p { color: var(--text-secondary); }
.card-cta { width: 100%; margin-top: 22px; }

.legal { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 58px 0 80px; }
.legal h1 { font-size: clamp(2.25rem, 4vw, 3.35rem); }
.legal .updated { margin-top: -6px; color: var(--text-muted); }
.legal h2 { margin: 38px 0 10px; font-size: 1.35rem; }
.legal p, .legal li { color: var(--text-secondary); }
.legal a { color: var(--accent-soft); }

[hidden] { display: none !important; }
[id] { scroll-margin-top: 28px; }
.support { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.support h2, .account-intro h2 { font-size: clamp(2rem, 3.7vw, 3.2rem); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 24px; }
.support-copy > p:not(.eyebrow), .account-intro > p:not(.eyebrow) { color: var(--text-secondary); max-width: 490px; }
.support-card { padding: 32px; border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: var(--radius-lg); background: var(--bg-dark); }
.support-card h3 { font-size: 1.25rem; }
.support-uses, .start-steps { padding: 0; margin: 24px 0; list-style: none; }
.support-uses li, .start-steps li { display: flex; gap: 18px; margin-bottom: 24px; }
.support-uses li > span, .start-steps li > span { color: var(--accent-soft); font-size: .875rem; font-weight: 700; padding-top: 3px; }
.support-uses p, .start-steps p { color: var(--text-secondary); margin: 4px 0 0; }
.support-soon { border-top: 1px solid var(--border); padding-top: 22px; }
.support-soon strong { color: var(--accent-soft); }
.support-soon p { color: var(--text-secondary); margin: 8px 0 0; font-size: .9375rem; }
/* O apoio e feito no aplicativo, entao a caixa termina com o botao de baixar. */
.support-cta { margin-top: 18px; }
.account-section { background: var(--bg-dark); border-block: 1px solid var(--border); }
.account-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.account-intro { padding-top: 32px; }
.account-layout .auth-card { width: 100%; background: var(--bg-darkest); }
.auth-card h3 { font-size: 1.7rem; margin-bottom: 8px; letter-spacing: -.03em; }
.legal-inline { padding-top: 0; }
.legal-inline details { border-top: 1px solid var(--border); padding: 20px 0; }
.legal-inline summary { cursor: pointer; font-size: 1.15rem; font-weight: 700; }
.legal-inline summary:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 5px; }
.legal-inline details[open] summary { margin-bottom: 24px; }
.legal-inline h3 { margin: 24px 0 8px; }

/* Luz e profundidade em roxo; todos os efeitos são locais e leves. */
body { background: radial-gradient(ellipse 65% 650px at 80% 170px, #42215b55, transparent), var(--bg-darkest); }
::selection { background: #753cc3; color: white; }
.site-header { border-bottom: 1px solid #b182db20; }
.brand { font-size: 2.1rem; letter-spacing: -.055em; line-height: 1; }
.hero { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; right: -180px; top: -60px; border-radius: 50%; background: radial-gradient(circle, #753cc328, transparent 68%); pointer-events: none; }
.hero h1 { line-height: 1.04; letter-spacing: -.055em; }
.eyebrow { font-size: .8125rem; letter-spacing: .13em; }
.button, .site-nav a, .feature, .app-card, .support-card { transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease; }
.button-primary:not(:disabled), .site-nav .nav-cta { background: linear-gradient(135deg, #8445cb, #622fa7); border: 1px solid #bd87ed40; box-shadow: inset 0 1px 0 #ffffff18, 0 6px 22px #753cc328; }
.button-primary:not(:disabled):hover, .site-nav .nav-cta:hover { background: linear-gradient(135deg, #9556dd, #753cc3); box-shadow: 0 8px 32px #753cc34d; }
.button-secondary { background: #ffffff03; }
.app-card { border-color: #76509570; box-shadow: 0 28px 65px #00000060, 0 0 65px #753cc31a, inset 0 1px 0 #ffffff0a; transform: perspective(1200px) rotateY(-7deg) rotateZ(1deg); }
.app-bar { background: linear-gradient(90deg, #30203e, #1b1526); }
.app-bar span:first-child { background: #b07bcf; }
.app-bar span:nth-child(2) { background: #8955ad; }
.app-bar span:nth-child(3) { background: #653e88; }
.rail-item.active { background: linear-gradient(135deg, #9b62dd, #622fa7); box-shadow: 0 4px 14px #753cc340; }
.channel.active { background: #753cc326; margin-left: -5px; padding: 5px; border-radius: 6px; color: #e6cafa; }
.features { background: linear-gradient(180deg, #1b1526, #16111e); }
.feature-grid { gap: 20px; }
.feature { background: linear-gradient(145deg, #2b2036, #1d1727); border-color: #73528e35; border-radius: 16px; padding: 28px; box-shadow: inset 0 1px 0 #ffffff05; }
.feature-icon { width: 46px; height: 46px; padding: 6px; background: #753cc31a; border-radius: 10px; }
.support { position: relative; isolation: isolate; padding-block: 110px; }
.support::before { content: ""; position: absolute; z-index: -1; inset: 0 -200px; background: radial-gradient(ellipse at 75% 50%, #753cc31f, transparent 65%); pointer-events: none; }
.support-card { background: linear-gradient(145deg, #30203e, #1b1526 70%); border: 1px solid #8151a865; border-radius: 20px; box-shadow: 0 24px 70px #00000030, inset 0 1px 0 #c795ec25; padding: 36px; }
.support-uses li > span, .start-steps li > span { display: flex; align-items: center; justify-content: center; flex: 0 0 34px; height: 34px; padding: 0; border: 1px solid #a570ce35; border-radius: 10px; background: #753cc31c; }
.support-soon { padding: 20px; border: 1px solid #9e64cb30; border-radius: 12px; background: #753cc316; }
.account-section { background: linear-gradient(145deg, #21182d, #17111f); }
.account-layout .auth-card { border-radius: 18px; box-shadow: 0 16px 40px #00000026; }
.closing { background: radial-gradient(ellipse at center, #753cc31f, transparent 68%); }
.legal-inline details { border-color: #73528e40; }
.legal-inline summary:hover { color: var(--accent-soft); }

@media (hover: hover) {
  .button:not(:disabled):hover { transform: translateY(-2px); }
  .feature:hover { transform: translateY(-5px); border-color: #a46dcc80; box-shadow: 0 14px 35px #00000030, 0 0 25px #753cc312; }
  .app-card:hover { transform: perspective(1200px) rotateY(0) rotateZ(0); }
  .support-card:hover { border-color: #b478de; box-shadow: 0 24px 70px #00000040, 0 0 32px #753cc318; }
}

@keyframes reveal-in {
  from { opacity: .25; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal-in { animation: reveal-in .65s cubic-bezier(.2,.7,.2,1) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .app-card { transform: none; }
}

@media (max-width: 780px) {
  .hero { min-height: auto; padding: 58px 0 64px; grid-template-columns: 1fr; }
  .app-card { max-width: 520px; width: 100%; justify-self: center; }
  .app-card { transform: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .support, .account-layout { grid-template-columns: 1fr; gap: 28px; }
  .account-intro { padding-top: 0; }
}

@media (max-width: 520px) {
  .site-header { min-height: 68px; gap: 8px; }
  .site-header { flex-wrap: wrap; padding-block: 16px; }
  .site-nav { flex-wrap: wrap; }
  .support-card { padding: 24px; }
  .site-nav a { padding-inline: 8px; font-size: .92rem; }
  h1 { font-size: clamp(2.45rem, 13vw, 3.6rem); }
  .app-shell { grid-template-columns: 50px 106px 1fr; }
  .app-rail { padding: 10px 7px; }
  .rail-item { width: 31px; height: 31px; }
  .app-channels { padding: 16px 8px; }
  .app-conversation { padding: 19px 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .section-inner, .closing { padding: 62px 0; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .auth-card { padding: 26px 20px; }
}

/* ---------- Sodal+ ---------- */
.plus { padding-block: 96px 20px; }
.plus-heading { display: flex; gap: 24px; align-items: flex-start; max-width: 720px; margin-bottom: 36px; }
.plus-logo { flex: none; filter: drop-shadow(0 8px 24px #9b62dd55); }
.plus-heading h2 { margin-bottom: 12px; font-size: clamp(2rem, 3.7vw, 3.2rem); letter-spacing: -.045em; line-height: 1.05; }
.plus-heading p:not(.eyebrow) { margin: 0; color: var(--text-secondary); }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan { padding: 30px; border: 1px solid #73528e35; border-radius: 18px; background: linear-gradient(145deg, #231a2e, #19131f); }
.plan h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 1.35rem; }
.plan-plus { border-color: #a46dcc90; background: linear-gradient(145deg, #34224a, #1d1628 75%); box-shadow: 0 20px 60px #0000002e, 0 0 40px #753cc31f; }
.plan-list { margin: 0; padding: 0; list-style: none; }
.plan-list li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--text-secondary); }
.plan-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-soft); font-weight: 700; }
.plan-list strong { color: var(--text-primary); }
.plan-how { margin: 18px 0 0; padding: 14px 16px; border: 1px solid #9e64cb30; border-radius: 12px; background: #753cc316; color: var(--text-secondary); font-size: .9375rem; }
.support-copy a { color: var(--accent-soft); }

@media (max-width: 780px) {
  .plan-grid { grid-template-columns: 1fr; }
  .plus-heading { flex-direction: column; gap: 12px; }
}

/* Selecionar texto: roxo suave em vez de bloco forte. No trecho em degrade o
   texto e transparente, entao a selecao precisa devolver a cor da letra. */
::selection { background: #753cc366; color: #fff; }

/* ---------- Novidades ---------- */
.news { padding-block: 84px 20px; }
.news-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.news-item { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 22px 26px; border: 1px solid #73528e35; border-radius: 16px; background: linear-gradient(145deg, #231a2e, #19131f); }
.news-version strong { display: block; font-size: 1.15rem; }
.news-version span { color: var(--text-muted); font-size: .875rem; }
.news-item ul { margin: 0; padding-left: 18px; color: var(--text-secondary); }
.news-item li + li { margin-top: 6px; }
.news-item li::marker { color: var(--accent-soft); }

/* ---------- Duvidas ---------- */
.faq { padding-block: 84px 40px; }
.faq-list { max-width: 820px; }
.faq-list details { border-top: 1px solid #73528e40; padding: 18px 0; }
.faq-list details:last-child { border-bottom: 1px solid #73528e40; }
.faq-list summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent-soft); font-size: 1.3rem; line-height: 1; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--accent-soft); }
.faq-list summary:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 5px; }
.faq-list details p { margin: 12px 0 0; color: var(--text-secondary); max-width: 720px; }
.faq-list a { color: var(--accent-soft); }

@media (max-width: 620px) {
  .news-item { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
}

/* Rodape com mais links: quebra linha no celular em vez de passar da tela.
   O clip segura os brilhos decorativos (::before) que saem pela lateral. */
.footer-links { flex-wrap: wrap; row-gap: 8px; }
html, body { overflow-x: clip; }


/* ---------- imagens interativas (topo e "Por dentro do Sodal") ----------
   O palco inclina seguindo o mouse (app.js). Os cartoes flutuantes ficam em
   profundidades diferentes, entao andam em ritmos diferentes: e o 3D. */
.hero-visual { perspective: 1400px; }
.tour-stage { perspective: 1600px; }
.tilt { position: relative; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.tilt.is-moving { transition: none; }
.tilt-glow { position: absolute; inset: 10% 8%; border-radius: 40px; background: radial-gradient(closest-side, #8c50e6b0, transparent); filter: blur(42px); transform: translateZ(-60px); pointer-events: none; }
.tilt-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; mix-blend-mode: soft-light; transition: opacity .4s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), #ffffffa0, transparent 45%); transform: translateZ(1px); }
.tilt.is-moving .tilt-glare { opacity: 1; }

.hero-visual .tilt { border-radius: 14px; }
.hero-shot { position: relative; display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 34px 80px #00000070, 0 0 0 1px #a46dcc40; }

.hero-float { position: absolute; border-radius: 14px; background: #1b1526e6; border: 1px solid #ffffff1f; box-shadow: 0 20px 44px #00000080; backdrop-filter: blur(8px); animation: boiar 6s ease-in-out infinite; }
.hero-float--plus { right: -4%; top: -9%; padding: 9px 14px; display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .95rem; transform: translateZ(90px); }
.hero-float--call { left: -7%; bottom: -14%; width: 50%; padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; transform: translateZ(120px); animation-delay: -3s; }
.hero-call-title { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; color: var(--text-secondary); font-size: .72rem; font-weight: 700; }
.hero-call-title::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3bd57d; box-shadow: 0 0 8px #3bd57d; }
.hero-tile { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; display: flex; align-items: flex-end; padding: 6px; border: 1px solid #ffffff1a; }
.hero-tile b { position: relative; padding: 2px 6px; border-radius: 6px; background: #00000073; font-size: .68rem; }
.hero-tile--fala { box-shadow: inset 0 0 0 2px #3bd57d, 0 0 18px #3bd57d59; }
.hero-tile--fogo { background: radial-gradient(120% 70% at 50% 120%, #ffb347 0%, #ff5e3a 30%, #7a1f3d 62%, #1d0f1f 100%); }
.hero-tile--galaxia { background: radial-gradient(70% 70% at 30% 30%, #5b3cc4 0%, #2a1052 45%, #0b0820 100%); }
.hero-dot { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 34%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 800; font-size: .72rem; border: 2px solid #ffffff33; }
.hero-dot--a { background: linear-gradient(135deg, #ff7eb3, #b44bff); }
.hero-dot--b { background: linear-gradient(135deg, #4fd1c5, #3b6fe0); }
@keyframes boiar { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

.tour-layout { display: grid; grid-template-columns: minmax(260px, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.tour-tabs { display: flex; flex-direction: column; gap: 12px; }
.tour-tab { position: relative; display: block; width: 100%; padding: 18px 20px 18px 24px; border: 1px solid #73528e35; border-radius: 16px; background: linear-gradient(145deg, #2b2036, #1d1727); color: var(--text-primary); font: inherit; text-align: left; cursor: pointer; overflow: hidden; transition: border-color .25s, background .25s, transform .25s, box-shadow .25s; }
.tour-tab strong { display: block; margin-bottom: 3px; font-size: 1.05rem; }
.tour-tab span { display: block; color: var(--text-secondary); font-size: .93rem; line-height: 1.45; }
.tour-tab::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--accent-soft); opacity: 0; transition: opacity .25s; }
.tour-tab[aria-selected="true"] { border-color: #a46dcc90; background: linear-gradient(145deg, #34224a, #1d1628 75%); box-shadow: 0 14px 40px #00000030, 0 0 30px #753cc31f; }
.tour-tab[aria-selected="true"]::before { opacity: 1; }
/* Barrinha que enche enquanto a aba esta no ar sozinha (troca automatica). */
.tour-tab .tour-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, #9b62dd, #cfacf4); }
.tour-tab[aria-selected="true"] .tour-progress.is-running { animation: tour-progresso var(--tour-ms, 7000ms) linear forwards; }
@keyframes tour-progresso { to { width: 100%; } }
.tour-stage .tilt { border-radius: 22px; }
.tour-shot { position: relative; display: block; width: 100%; max-width: 620px; height: auto; margin: 0 auto; border-radius: 22px; box-shadow: 0 34px 80px #00000070, 0 0 0 1px #a46dcc40; transition: opacity .35s ease, transform .35s ease; }
.tour-shot.is-changing { opacity: 0; transform: scale(.97); }

@media (hover: hover) {
  .tour-tab:hover { border-color: #a46dcc80; transform: translateX(4px); }
}

@media (max-width: 780px) {
  .hero-visual { max-width: 560px; width: 100%; justify-self: center; margin-bottom: 30px; }
  .hero-float--call { left: -2%; }
  .hero-float--plus { right: -2%; }
  .tour-layout { grid-template-columns: 1fr; }
  .tour-stage { order: -1; }
  .tour-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .tour-tab { padding: 14px 14px 14px 18px; }
  .tour-tab span { display: none; }
}

/* Tela de celular: quadradinhos da call menores, a bolinha sobe para nao cobrir o nome. */
@media (max-width: 520px) {
  .hero-float--call { width: 58%; bottom: -18%; }
  .hero-dot { width: 30%; top: 36%; font-size: .6rem; }
  .hero-float--plus { top: -12%; font-size: .85rem; padding: 7px 11px; }
}

/* Instagram: icone no menu e botao ao lado do download. */
.site-nav .nav-social { display: inline-flex; align-items: center; gap: 6px; }
.site-nav .nav-social svg { flex: none; }
.button-ghost { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.button-ghost:hover { background: var(--bg-hover); }
.button-insta { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 640px) {
  .site-nav .nav-social__text { display: none; }
}


/* Caixa do link de convite (?convite=CODIGO) */
.convite {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--accent) 16%, var(--bg-dark));
}

.convite[hidden] {
  display: none;
}

.convite-texto {
  color: var(--text-primary);
  font-size: 15px;
}

.convite-linha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.convite-codigo {
  padding: 6px 12px;
  border: 1px dashed var(--accent-soft);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 20px;
  letter-spacing: 0.18em;
  user-select: all;
}

.convite-copiar {
  padding: 8px 14px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.convite-copiar:hover {
  background: var(--accent-hover);
}
