/* ============================================================
   APRESENTAÇÃO COMERCIAL — Rafael Dickel
   Ferramenta de venda ao vivo, navegada por seção durante calls.
   ============================================================ */

:root {
  --branco: #ffffff;
  --escuro: #191422;
  --roxo: #7800ff;
  --lilas: #c8bfff;
  --cinza-roxo: #3a3850;

  --font-texto: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-destaque: 'Lora', Georgia, serif;

  --dur: 0.45s;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  background: var(--branco);
  color: var(--escuro);
  font-family: var(--font-texto);
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* ============================================================
   BOLA QUE ACOMPANHA O CURSOR
   ============================================================ */

.cursor-orb {
  position: fixed;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  background: var(--roxo);
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0) scale(1);
  transition: opacity 0.25s var(--ease), width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), background 0.25s var(--ease);
  will-change: transform;
}

.cursor-orb.is-visible {
  opacity: 1;
}

/* Cresce ao passar sobre elementos clicáveis */
.cursor-orb.is-hovering {
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
}

/* No fundo escuro a bola usa o lilás para manter contraste */
body.on-dark .cursor-orb {
  background: var(--lilas);
}

/* Na capa a bola fica branca, sobrepondo a regra do fundo escuro */
body.on-cover .cursor-orb {
  background: var(--branco);
}

/* Só em dispositivos com mouse de precisão — evita ficar preso em telas de toque */
@media (hover: none), (pointer: coarse) {
  .cursor-orb {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-orb {
    display: none;
  }
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img { max-width: 100%; display: block; }

/* ============================================================
   TRANSIÇÃO EM TELA DIVIDIDA — Capa ↔ Quem eu sou
   Duas metades (esquerda com a foto, direita com o texto)
   deslizam por cima da tela, cobrem tudo e revelam a seção
   seguinte, no mesmo espírito de uma "virada de página".
   ============================================================ */

.cover-wipe {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  pointer-events: none;
}

.cover-wipe.is-active {
  visibility: visible;
}

.cover-wipe-panel {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  background: var(--escuro);
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.cover-wipe-panel--left {
  left: 0;
  transform: translateY(100%);
}

.cover-wipe-panel--right {
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
}

.cover-wipe-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-wipe-text {
  text-align: center;
  color: var(--branco);
  padding: 0 1.5rem;
}

.cover-wipe-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lilas);
  margin-bottom: 0.6rem;
}

.cover-wipe-heading {
  font-family: var(--font-destaque);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
}

/* Indo da Capa para "Quem eu sou": as metades cobrem a tela vindas de cima/baixo */
.cover-wipe[data-phase="cover-fwd"] .cover-wipe-panel--left,
.cover-wipe[data-phase="cover-fwd"] .cover-wipe-panel--right {
  transform: translateY(0);
}

.cover-wipe[data-phase="reveal-fwd"] .cover-wipe-panel--left {
  transform: translateY(-100%);
}

.cover-wipe[data-phase="reveal-fwd"] .cover-wipe-panel--right {
  transform: translateY(100%);
}

/* Voltando de "Quem eu sou" para a Capa: sentido invertido */
.cover-wipe[data-phase="idle-back"] .cover-wipe-panel--left {
  transform: translateY(-100%);
}

.cover-wipe[data-phase="idle-back"] .cover-wipe-panel--right {
  transform: translateY(100%);
}

.cover-wipe[data-phase="cover-back"] .cover-wipe-panel--left,
.cover-wipe[data-phase="cover-back"] .cover-wipe-panel--right {
  transform: translateY(0);
}

.cover-wipe[data-phase="reveal-back"] .cover-wipe-panel--left {
  transform: translateY(100%);
}

.cover-wipe[data-phase="reveal-back"] .cover-wipe-panel--right {
  transform: translateY(-100%);
}

/* ============================================================
   ESTRUTURA DE SLIDES
   ============================================================ */

#deck {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.slide {
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.slide--light { background: var(--branco); }
.slide--dark { background: var(--escuro); }

.slide-inner {
  width: min(1100px, 90vw);
  padding: 2rem 0;
}

/* ============================================================
   CAPA
   ============================================================ */

.slide--cover {
  background: var(--escuro);
}

.cover-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ============================================================
   FUNDO ANIMADO DA CAPA — feixes de luz subindo e pulsando
   sobre o canvas, desenhados em JavaScript (script.js)
   ============================================================ */

.beams-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: blur(15px);
}

.cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25,20,34,0.25) 0%, rgba(25,20,34,0.55) 55%, rgba(25,20,34,0.85) 100%);
}

/* Sem animação de fundo para quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  .beams-canvas { display: none; }
}

.cover-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--branco);
  padding: 0 1.5rem;
}

.cover-eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--lilas);
  margin-bottom: 1rem;
  font-weight: 600;
}

.cover-title {
  font-family: var(--font-destaque);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.cover-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
}

.cover-btn {
  margin: 0 auto;
}

/* Entrada animada dos elementos da capa */
.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp var(--dur) var(--ease) forwards;
}
.cover-eyebrow.reveal-item { animation-delay: 0.05s; }
.cover-title.reveal-item { animation-delay: 0.15s; }
.cover-subtitle.reveal-item { animation-delay: 0.28s; }
.cover-btn.reveal-item { animation-delay: 0.4s; }

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   BOTÕES
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--roxo);
  color: var(--branco);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
  border-radius: 100px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 8px 24px rgba(120, 0, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(120, 0, 255, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--escuro);
  color: var(--branco);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  margin-top: 2.5rem;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.btn-secondary:hover { transform: translateY(-2px); opacity: 0.9; }

.btn-secondary::after {
  content: '→';
  transition: transform 0.2s var(--ease);
}

.btn-secondary:hover::after {
  transform: translateX(3px);
}

/* ============================================================
   FLOW BUTTON — botão com seta que atravessa e círculo que
   preenche o fundo no hover. Portado de um componente React
   (shadcn-style) para HTML/CSS/JS puro, sem dependências.
   ============================================================ */

.flow-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  overflow: hidden;
  border-radius: 100px;
  border: 1.5px solid rgba(25, 20, 34, 0.4);
  background: transparent;
  padding: 0.9rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--escuro);
  cursor: pointer;
  transition: border-color 0.5s var(--ease), color 0.5s var(--ease), border-radius 0.5s var(--ease), transform 0.15s var(--ease);
}

.flow-btn:hover {
  border-color: transparent;
  color: var(--branco);
  border-radius: 12px;
}

.flow-btn:active {
  transform: scale(0.95);
}

.flow-btn-arrow {
  position: absolute;
  width: 16px;
  height: 16px;
  stroke: var(--escuro);
  z-index: 2;
  transition: left 0.5s var(--ease), right 0.5s var(--ease), stroke 0.5s var(--ease);
}

.flow-btn-arrow--left {
  left: -25%;
}

.flow-btn:hover .flow-btn-arrow--left {
  left: 1rem;
  stroke: var(--branco);
}

.flow-btn-arrow--right {
  right: 1rem;
}

.flow-btn:hover .flow-btn-arrow--right {
  right: -25%;
  stroke: var(--branco);
}

.flow-btn-text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: transform 0.5s var(--ease);
}

.flow-btn:hover .flow-btn-text {
  transform: translateX(12px);
}

.flow-btn-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--roxo);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width 0.5s var(--ease), height 0.5s var(--ease), opacity 0.5s var(--ease);
  z-index: 0;
}

.flow-btn:hover .flow-btn-circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}

/* Variante para uso sobre fundo escuro (capa) */
.flow-btn--dark {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--branco);
}

.flow-btn--dark .flow-btn-arrow {
  stroke: var(--branco);
}

.flow-btn--dark .flow-btn-circle {
  background: var(--roxo);
}

.flow-btn--dark:hover {
  color: var(--branco);
}

.flow-btn:disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

/* ============================================================
   TIPOGRAFIA DE SEÇÃO
   ============================================================ */

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--roxo);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  opacity: 0;
  transform: translateY(12px);
}

.section-tag--light { color: var(--lilas); }

.section-title {
  font-family: var(--font-destaque);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--escuro);
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(16px);
}

.section-title--light { color: var(--branco); }

.section-lead {
  font-size: 1.15rem;
  color: var(--cinza-roxo);
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(16px);
}

.about-info-col .section-lead {
  margin-bottom: 1.4rem;
}

/* Ativado por JS quando o slide entra em foco */
.slide.is-active .section-tag { animation: revealUp var(--dur) var(--ease) forwards; animation-delay: 0.05s; }
.slide.is-active .section-title { animation: revealUp var(--dur) var(--ease) forwards; animation-delay: 0.12s; }
.slide.is-active .section-lead { animation: revealUp var(--dur) var(--ease) forwards; animation-delay: 0.2s; }

/* ============================================================
   CARROSSEL COVERFLOW — fotos em perspectiva 3D, gira sozinho
   ============================================================ */

.coverflow {
  --cf-card: clamp(100px, 13vh, 150px);
  position: relative;
  width: 100%;
  flex-shrink: 0;
  padding: 0.3rem 0 1rem;
  overflow: hidden;
  perspective: calc(var(--cf-card) * 3);
}

.coverflow-track {
  position: relative;
  height: var(--cf-card);
  transform-style: preserve-3d;
}

.coverflow-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--cf-card);
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  will-change: transform;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}

.coverflow-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   SEÇÃO: QUEM EU SOU
   ============================================================ */

/* Layout em duas colunas: foto à esquerda, informações à direita */
#slide-1.slide {
  align-items: stretch;
  justify-content: stretch;
}

.about-layout {
  display: flex;
  width: 100%;
  height: 100%;
}

.about-photo-col {
  position: relative;
  width: 42%;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  opacity: 0;
}

.slide.is-active .about-photo-col {
  animation: revealFadeIn 0.5s var(--ease) forwards;
}

@keyframes revealFadeIn {
  to { opacity: 1; }
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about-info-col {
  flex: 1;
  width: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem clamp(2rem, 6vw, 5rem) 2rem clamp(2rem, 6vw, 5rem);
}

.about-info-col .coverflow {
  margin-top: -1.5rem;
}

/* Marca decorativa ao lado do rótulo da seção */
.about-heading {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.about-heading .section-tag {
  margin-bottom: 0;
}

.about-heading-mark {
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--roxo);
  flex-shrink: 0;
  transform-origin: left center;
  transform: scaleX(0);
}

.slide.is-active .about-heading-mark {
  animation: markGrow 0.4s var(--ease) forwards;
  animation-delay: 0.05s;
}

@keyframes markGrow {
  to { transform: scaleX(1); }
}

.stats-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.stat-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.85rem 1.2rem 0.85rem 1.3rem;
  border: 1px solid rgba(120, 0, 255, 0.14);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(120, 0, 255, 0.045), rgba(200, 191, 255, 0.02));
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
}

.stat-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--roxo);
}

.slide.is-active .stat-card { animation: revealUp var(--dur) var(--ease) forwards; }
.slide.is-active .stat-card:nth-child(1) { animation-delay: 0.3s; }
.slide.is-active .stat-card:nth-child(2) { animation-delay: 0.4s; }

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(120, 0, 255, 0.1);
  color: var(--roxo);
  flex-shrink: 0;
}

.stat-block {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-destaque);
  font-size: clamp(2.1rem, 4.6vw, 2.8rem);
  font-weight: 700;
  color: var(--roxo);
  line-height: 1;
  display: inline-block;
}

.stat-number-row {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.stat-suffix {
  font-family: var(--font-destaque);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--roxo);
  margin-left: 0.2rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--cinza-roxo);
  margin-top: 0.2rem;
  max-width: 190px;
}

.flag-pair {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.flag-icon {
  display: inline-block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(25, 20, 34, 0.08);
}

.about-grid {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  border-top: 1px solid #eee;
  padding-top: 1.25rem;
}

.about-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(16px);
}

.slide.is-active .about-item { animation: revealUp var(--dur) var(--ease) forwards; }
.slide.is-active .about-item:nth-child(1) { animation-delay: 0.5s; }
.slide.is-active .about-item:nth-child(2) { animation-delay: 0.58s; }

.about-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--roxo);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.about-label svg {
  flex-shrink: 0;
}

.about-value {
  font-size: 1rem;
  color: var(--escuro);
}

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-width: 320px;
}

.about-chip {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cinza-roxo);
  padding: 0.32rem 0.75rem;
  border-radius: 100px;
  border: 1px solid rgba(120, 0, 255, 0.16);
  background: #f7f4ff;
}

/* ============================================================
   SEÇÃO: DIAGNÓSTICO (perguntas)
   ============================================================ */

.slide-inner--diagnostic {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-tag--center,
.section-title--center {
  align-self: center;
}

.diagnostic-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
}

/* Cada pergunta fica recolhida (altura zero) até ser revelada,
   assim a lista permanece sempre centralizada verticalmente */
.diagnostic-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  max-width: 640px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(10px) scale(0.92);
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.diagnostic-item.is-visible {
  max-height: 220px;
  padding: 0.6rem 0;
}

.diagnostic-item.is-past {
  opacity: 0.4;
  transform: translateY(0) scale(0.82);
}

.diagnostic-item.is-past .q-text {
  font-size: 1rem;
  font-weight: 500;
}

.diagnostic-item.is-past .q-badge {
  width: 24px;
  height: 24px;
  font-size: 0.7rem;
  background: transparent;
  color: var(--cinza-roxo);
  box-shadow: inset 0 0 0 1.5px rgba(58, 56, 80, 0.3);
}

/* A pergunta ativa entra com um "pop": cresce além do tamanho final
   e assenta, para chamar atenção sem ultrapassar 600ms */
.diagnostic-item.is-current {
  animation: perguntaPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes perguntaPop {
  0% { opacity: 0; transform: translateY(16px) scale(0.85); }
  60% { opacity: 1; transform: translateY(-3px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.q-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--roxo);
  color: var(--branco);
  font-family: var(--font-texto);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), font-size 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.q-text {
  font-family: var(--font-texto);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--escuro);
  transition: font-size 0.3s var(--ease), font-weight 0.3s var(--ease);
}

/* Traço que cresce sob a pergunta ativa */
.q-underline {
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--roxo);
  transition: width 0.4s var(--ease) 0.1s;
}

.diagnostic-item.is-current .q-underline {
  width: 48px;
}

/* ============================================================
   SEÇÃO: SOLUÇÕES — lista com efeito de rolagem de texto no hover
   ============================================================ */

.solutions-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid #ececec;
}

.solution-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.9rem 1.1rem;
  margin: 0 -1.1rem;
  border-bottom: 1px solid #ececec;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
}

/* Fundo em degradê que desliza da esquerda ao passar o mouse */
.solution-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(120, 0, 255, 0.07), rgba(200, 191, 255, 0.02) 80%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 0;
}

.solution-row:hover::before {
  transform: scaleX(1);
}

.solution-row > * {
  position: relative;
  z-index: 1;
}

.slide.is-active .solution-row { animation: revealUp var(--dur) var(--ease) forwards; }
.slide.is-active .solution-row:nth-child(1) { animation-delay: 0.05s; }
.slide.is-active .solution-row:nth-child(2) { animation-delay: 0.1s; }
.slide.is-active .solution-row:nth-child(3) { animation-delay: 0.15s; }
.slide.is-active .solution-row:nth-child(4) { animation-delay: 0.2s; }
.slide.is-active .solution-row:nth-child(5) { animation-delay: 0.25s; }
.slide.is-active .solution-row:nth-child(6) { animation-delay: 0.3s; }
.slide.is-active .solution-row:nth-child(7) { animation-delay: 0.35s; }
.slide.is-active .solution-row:nth-child(8) { animation-delay: 0.4s; }
.slide.is-active .solution-row:nth-child(9) { animation-delay: 0.45s; }
.slide.is-active .solution-row:nth-child(10) { animation-delay: 0.5s; }

.solution-index {
  flex-shrink: 0;
  width: 2ch;
  font-family: var(--font-destaque);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(58, 56, 80, 0.32);
  transition: color 0.3s var(--ease);
}

.solution-row:hover .solution-index {
  color: var(--roxo);
}

/* Janela que recorta a pilha de dois títulos (normal + hover) */
.solution-roll {
  flex: 1;
  min-width: 0;
  height: 1.2em;
  overflow: hidden;
  font-size: clamp(0.95rem, 2.1vw, 1.55rem);
}

.solution-roll-track {
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.solution-row:hover .solution-roll-track {
  transform: translateY(-50%);
}

.solution-title {
  display: block;
  height: 1.2em;
  line-height: 1.2em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--escuro);
}

.solution-title--hover {
  color: var(--roxo);
  font-style: italic;
}

.solution-category {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cinza-roxo);
  padding: 0.32rem 0.7rem;
  border-radius: 100px;
  border: 1px solid rgba(120, 0, 255, 0.15);
  background: #f7f4ff;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.solution-row:hover .solution-category {
  background: var(--roxo);
  border-color: var(--roxo);
  color: var(--branco);
}

.solution-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0;
  color: var(--roxo);
  opacity: 0;
  overflow: hidden;
  transform: translateX(-6px);
  transition: width 0.35s var(--ease), opacity 0.3s var(--ease), transform 0.35s var(--ease);
}

.solution-row:hover .solution-arrow {
  width: 18px;
  opacity: 1;
  transform: translateX(0);
}

/* Em telas sem mouse (toque), mostra o texto por completo, sem o
   recorte de rolagem, já que não existe hover para revelá-lo */
@media (hover: none), (max-width: 640px) {
  .solution-row {
    margin: 0;
    padding: 0.85rem 0;
  }
  .solution-row::before {
    display: none;
  }
  .solution-roll {
    height: auto;
    overflow: visible;
  }
  .solution-title {
    white-space: normal;
    height: auto;
    line-height: 1.25;
  }
  .solution-title--hover {
    display: none;
  }
  .solution-category {
    display: none;
  }
}

/* ============================================================
   SEÇÃO: MÉTODOS DE TRABALHO — glare cards com brilho holográfico
   e leve inclinação 3D que seguem o cursor
   ============================================================ */

.glare-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.glare-card {
  --m-x: 50%;
  --m-y: 50%;
  --r-x: 0deg;
  --r-y: 0deg;
  --bg-x: 50%;
  --bg-y: 50%;
  --duration: 300ms;
  --opacity: 0;
  --radius: 20px;
  --easing: ease;
  position: relative;
  isolation: isolate;
  perspective: 600px;
  aspect-ratio: 17 / 21;
  opacity: 0;
  transform: translateY(16px);
}

.slide.is-active .glare-card { animation: revealUp var(--dur) var(--ease) forwards; }
.slide.is-active .glare-card:nth-child(1) { animation-delay: 0.1s; }
.slide.is-active .glare-card:nth-child(2) { animation-delay: 0.2s; }
.slide.is-active .glare-card:nth-child(3) { animation-delay: 0.3s; }
.slide.is-active .glare-card:nth-child(4) { animation-delay: 0.4s; }

.glare-card-inner {
  position: relative;
  height: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(200, 191, 255, 0.18);
  overflow: hidden;
  background: var(--escuro);
  transform: rotateY(var(--r-x)) rotateX(var(--r-y));
  transition: transform var(--duration) var(--easing);
  will-change: transform;
}

.glare-card:hover .glare-card-inner {
  --opacity: 0.6;
  --duration: 200ms;
  --easing: linear;
}

.glare-card-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
}

.glare-card-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(120, 0, 255, 0.25);
  color: var(--branco);
  font-family: var(--font-texto);
  font-weight: 700;
  font-size: 0.85rem;
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
}

.glare-card-title {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--branco);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.glare-card-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* Brilho branco que segue o cursor */
.glare-card-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  mix-blend-mode: soft-light;
  opacity: var(--opacity);
  transition: opacity var(--duration) var(--easing);
  background: radial-gradient(farthest-corner circle at var(--m-x) var(--m-y), rgba(255, 255, 255, 0.8) 10%, rgba(255, 255, 255, 0.65) 20%, rgba(255, 255, 255, 0) 90%);
}

/* Foil holográfico: listras de arco-íris + textura diagonal, só aparece perto do brilho */
.glare-card-foil {
  position: absolute;
  inset: 0;
  z-index: 2;
  mix-blend-mode: color-dodge;
  opacity: var(--opacity);
  transition: opacity var(--duration) var(--easing);
  background:
    repeating-linear-gradient(0deg, rgb(255, 119, 115) 5%, rgba(255, 237, 95, 1) 10%, rgba(168, 255, 95, 1) 15%, rgba(131, 255, 247, 1) 20%, rgba(120, 148, 255, 1) 25%, rgb(216, 117, 255) 30%, rgb(255, 119, 115) 35%) 0% var(--bg-y) / 200% 700% no-repeat,
    repeating-linear-gradient(128deg, #0e152e 0%, hsl(180, 10%, 60%) 3.8%, hsl(180, 10%, 60%) 4.5%, hsl(180, 10%, 60%) 5.2%, #0e152e 10%, #0e152e 12%) var(--bg-x) var(--bg-y) / 300% no-repeat,
    radial-gradient(farthest-corner circle at var(--m-x) var(--m-y), rgba(255, 255, 255, 0.1) 12%, rgba(255, 255, 255, 0.15) 20%, rgba(255, 255, 255, 0.25) 120%) var(--bg-x) var(--bg-y) / 300% no-repeat;
  background-blend-mode: hue, hue, overlay;
}

/* Sem mouse de precisão, sem inclinação nem brilho — só o card */
@media (hover: none), (prefers-reduced-motion: reduce) {
  .glare-card-shine,
  .glare-card-foil {
    display: none;
  }
}

/* ============================================================
   SEÇÃO: VALORES — coluna de cards enxutos sobre fundo #1b0e32,
   um deles em destaque. Clique em qualquer um abre o modal.
   ============================================================ */

.slide--pricing {
  background: #1b0e32;
}

.slide-inner--pricing {
  width: min(1100px, 92vw);
  padding: 2.5rem 0;
}

.pricing-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.2rem;
}

.pricing-heading .section-tag,
.pricing-heading .section-title {
  align-self: center;
}

.pricing-subtitle {
  max-width: 480px;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  margin-top: 0.9rem;
}

/* Seletor de período: 3 / 6 / 12 meses */
.periodo-seletor {
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.3rem;
  margin-top: 1.5rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.periodo-pill {
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.periodo-pill.is-active {
  background: var(--roxo);
  color: var(--branco);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  color: var(--branco);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 1.5rem 1.4rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.slide.is-active .pricing-card { animation: revealUp var(--dur) var(--ease) forwards; }
.slide.is-active .pricing-card:nth-child(1) { animation-delay: 0.08s; }
.slide.is-active .pricing-card:nth-child(2) { animation-delay: 0.16s; }
.slide.is-active .pricing-card:nth-child(3) { animation-delay: 0.24s; }
.slide.is-active .pricing-card:nth-child(4) { animation-delay: 0.32s; }

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.pricing-card--destaque {
  background: #1b0e32;
  border-color: rgba(120, 0, 255, 0.4);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}

.pricing-card--destaque:hover {
  border-color: var(--roxo);
}

.pricing-card-accent {
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--roxo), var(--lilas), transparent);
}

/* Tag de urgência (ex.: vagas limitadas), fica no canto do card */
.pricing-card-alert {
  position: absolute;
  top: -1px;
  right: 1.1rem;
  padding: 0.3rem 0.7rem;
  border-radius: 0 0 8px 8px;
  background: #e0293e;
  color: var(--branco);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 14px rgba(224, 41, 62, 0.35);
}

.pricing-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.pricing-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--branco);
}

.pricing-card-desc {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.pricing-card-badge {
  flex-shrink: 0;
  padding: 0.28rem 0.6rem;
  border-radius: 100px;
  background: var(--roxo);
  color: var(--branco);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pricing-card-value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem 0.35rem;
  margin-bottom: 1.4rem;
}

.pricing-card-price {
  font-family: var(--font-destaque);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--branco);
  white-space: nowrap;
}

.pricing-card-suffix {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.pricing-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--branco);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
}

.pricing-card-cta:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
}

.pricing-card-cta:active {
  transform: scale(0.98);
}

.pricing-card-cta--solid {
  background: var(--roxo);
  border-color: var(--roxo);
}

.pricing-card-cta--solid:hover {
  background: #6a00e6;
}

.pricing-card-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.09);
  margin-bottom: 1.4rem;
}

.pricing-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pricing-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

.pricing-card-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.4);
}

.pricing-card--destaque .pricing-card-features li svg {
  color: var(--roxo);
}

.pricing-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.8rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.pricing-footnote span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MODAL DE PACOTE — abre ao clicar num card de valores
   ============================================================ */

.price-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.price-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.price-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 15, 0.72);
  backdrop-filter: blur(4px);
}

.price-modal-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  background: var(--escuro);
  border: 1px solid rgba(200, 191, 255, 0.25);
  border-radius: 20px;
  padding: 2.2rem 2rem;
  transform: translateY(18px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.price-modal.is-open .price-modal-dialog {
  transform: translateY(0) scale(1);
}

.price-modal--special .price-modal-dialog {
  border-color: rgba(200, 191, 255, 0.4);
}

.price-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.price-modal-close:hover {
  background: var(--roxo);
  transform: rotate(90deg);
}

.price-modal-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--roxo);
  margin-bottom: 0.5rem;
}

.price-modal--special .price-modal-tag { color: var(--lilas); }

.price-modal-title {
  font-family: var(--font-destaque);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--branco);
  margin-bottom: 0.6rem;
}

.price-modal-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  margin-bottom: 1.3rem;
}

.price-modal-value-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-bottom: 1.3rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.price-modal-value {
  font-family: var(--font-destaque);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--branco);
}

.price-modal--special .price-modal-value { color: var(--lilas); }

.price-modal-period {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Comparativo dos 3 períodos de contrato, dentro do modal */
.price-modal-periodos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: -0.6rem 0 1.3rem;
}

.price-modal-periodo-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.6rem 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.price-modal-periodo-item.is-active {
  border-color: var(--roxo);
  background: rgba(120, 0, 255, 0.12);
}

.price-modal-periodo-meses {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.price-modal-periodo-valor {
  font-family: var(--font-destaque);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--branco);
}

.price-modal-periodo-valor span {
  font-family: var(--font-texto);
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
}

.price-includes-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--roxo);
  margin-bottom: 0.6rem;
}

.price-modal--special .price-includes-title { color: var(--lilas); }

.price-includes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.3rem;
}

.price-includes-list li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.4;
}

.price-includes-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--roxo);
}

.price-modal--special .price-includes-list li::before {
  background: var(--lilas);
}


/* ============================================================
   NAVEGAÇÃO FIXA
   ============================================================ */

.nav-controls {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  gap: 0.6rem;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.nav-controls.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--branco);
  color: var(--escuro);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(25,20,34,0.15);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  border: 1px solid rgba(25,20,34,0.08);
}

.nav-btn:hover {
  background: var(--roxo);
  color: var(--branco);
  transform: translateY(-2px);
}

.nav-btn:disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* No fundo escuro os botões ganham contorno claro */
.on-dark .nav-btn {
  background: var(--escuro);
  color: var(--branco);
  border-color: rgba(255,255,255,0.2);
}

/* ============================================================
   INDICADOR DE PROGRESSO
   ============================================================ */

.progress-nav {
  position: fixed;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.progress-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.progress-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(25,20,34,0.2);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.progress-dot.is-active {
  background: var(--roxo);
  transform: scale(1.35);
}

.on-dark .progress-dot { background: rgba(255,255,255,0.25); }
.on-dark .progress-dot.is-active { background: var(--lilas); }

/* ============================================================
   FOCO DE TECLADO (acessibilidade)
   ============================================================ */

button:focus-visible {
  outline: 2px solid var(--roxo);
  outline-offset: 3px;
}

.on-dark button:focus-visible {
  outline-color: var(--lilas);
}

/* ============================================================
   RESPONSIVO
   ============================================================ */

@media (max-width: 900px) {
  .glare-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 2.2rem; }
  .progress-nav { left: 1rem; }
  .nav-controls { right: 1rem; bottom: 1rem; }

  /* Em telas menores a foto fica acima das informações, em vez de ao lado */
  #slide-1.slide {
    align-items: center;
    justify-content: center;
  }
  .about-layout {
    flex-direction: column;
    height: auto;
    max-height: 100%;
    overflow-y: auto;
  }
  .about-photo-col {
    width: 100%;
    height: 34vh;
  }
  .about-info-col {
    padding: 1.5rem clamp(1.5rem, 6vw, 3rem) 1.5rem 2.5rem;
  }
}

@media (max-width: 600px) {
  .slide-inner { width: 92vw; }
  .about-grid { flex-direction: column; gap: 1.5rem; }
  .glare-grid { grid-template-columns: 1fr; }
  .glare-card { aspect-ratio: 4 / 3; }
}

/* ============================================================
   PREFERÊNCIA POR MENOS MOVIMENTO
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
}
