/* =========================================================
   Stratus IA — "O que é a Stratus" e "Funcionalidades"
   ========================================================= */

/* rótulo pequeno acima dos títulos (mesmo estilo do bloco de públicos) */
.sec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.sec-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

/* ---------- O que é a Stratus ---------- */

/* título à esquerda, texto à direita alinhado à base (como o cabeçalho do bloco de públicos) */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr);
  align-items: end;
  gap: clamp(40px, 6vw, 110px);
  padding: clamp(80px, 10vw, 150px) var(--side) clamp(30px, 4vw, 56px);
  margin: 0 auto;
}
.about__title {
  font-size: clamp(2.3rem, 1rem + 3.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.about__title span { color: var(--dim); }
.about__text {
  justify-self: end;
  max-width: 36ch;
  font-size: 1.15rem;
  color: var(--muted);
}

.about__pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.pillar {
  display: grid;
  grid-template-columns: 44px 56px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.pillar__num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
}
.pillar__icon,
.feat__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #05080F;
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.pillar__icon svg,
.feat__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillar h3 {
  font-size: clamp(1.4rem, 1rem + 0.8vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.pillar p { margin-top: 4px; color: var(--muted); }

/* ---------- Funcionalidades ---------- */

.feats {
  padding: clamp(40px, 6vw, 80px) var(--side) clamp(100px, 12vw, 170px);
  margin: 0 auto;
}
.feats__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.feats__title {
  font-size: clamp(2.3rem, 1rem + 3.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

/* abas por perfil (mesmo visual dos chips do bloco de públicos) */
.feats__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 clamp(26px, 3vw, 36px);
}
.feats__tab {
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: 500 15px/1 var(--font);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.feats__tab:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.32); }
.feats__tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.feats__tab.is-on {
  background: #fff;
  border-color: #fff;
  color: #0B0D12;
  box-shadow: 0 10px 30px -10px rgba(77, 163, 255, 0.6);
}

.feats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.feat {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 290px;
  padding: 32px;
  border-radius: 30px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  will-change: transform;
  /* usados na troca de aba (juntam no centro e se espalham), separados do transform do scroll.
     !important porque o GSAP grava translate/scale: none no estilo inline dos elementos que anima */
  translate: var(--gx, 0px) var(--gy, 0px) !important;
  scale: var(--gs, 1) !important;
}
/* cards em dois tons alternados, como um tabuleiro */
.feat--tint {
  background: linear-gradient(160deg, #0E1B2E 0%, #0A1322 100%);
  border-color: rgba(77, 163, 255, 0.16);
}
/* as colunas de fora passam por cima da do meio enquanto os cards se encaixam */
.feat:nth-child(3n + 1),
.feat:nth-child(3n) { z-index: 2; }
.feat__tags {
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--amber);
}
.feat h3 {
  font-size: clamp(1.35rem, 1rem + 0.7vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.feat__body > p:last-child { margin-top: 8px; max-width: 34ch; color: var(--muted); }

.feats__cta { display: flex; justify-content: center; margin-top: clamp(36px, 4vw, 52px); }

/* ---------- Telas menores ---------- */

@media (max-width: 1000px) {
  .about { grid-template-columns: 1fr; gap: 26px; }
  .about__text { justify-self: start; }
  .feats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat:nth-child(n) { z-index: 1; }
}
@media (max-width: 640px) {
  /* abas em uma linha que rola de lado */
  .feats__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-left: calc(var(--side) * -1);
    margin-right: calc(var(--side) * -1);
    padding: 4px var(--side) 6px;
    scrollbar-width: none;
  }
  .feats__tabs::-webkit-scrollbar { display: none; }
  .feats__tab { flex: none; height: 40px; padding: 0 16px; font-size: 14px; }
  .feats__grid { grid-template-columns: 1fr; }
  .feat { min-height: 0; gap: 36px; padding: 26px; border-radius: 24px; }
  .pillar { grid-template-columns: 56px minmax(0, 1fr); }
  .pillar__num { display: none; }
}

/* ---------- Demonstração: perguntas à esquerda, conversa no WhatsApp à direita ---------- */

.demo__inner {
  display: grid;
  /* texto + celular como um conjunto centralizado na página */
  grid-template-columns: minmax(0, 640px) auto;
  justify-content: center;
  align-items: center;
  gap: clamp(56px, 7vw, 120px);
}
.demo {
  padding: clamp(80px, 10vw, 150px) var(--side);
  margin: 0 auto;
}
.demo__title {
  font-size: clamp(2.3rem, 1rem + 3.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.demo__title span { display: block; color: var(--dim); }
.demo__text { margin-top: 22px; max-width: 46ch; font-size: 1.15rem; color: var(--muted); }

.demo__qs { display: grid; margin: clamp(30px, 4vw, 44px) 0; border-top: 1px solid var(--line); }
.demo__q {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--dim);
  font: 500 clamp(1.05rem, 0.9rem + 0.4vw, 1.3rem)/1.3 var(--font);
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
  transition: color 0.35s ease;
}
.demo__q:hover { color: var(--muted); }
.demo__q.is-on { color: var(--text); }
.demo__q:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.demo__mode {
  justify-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}
.demo__q.is-on .demo__mode { color: var(--amber); border-color: rgba(255, 201, 77, 0.4); background: rgba(255, 201, 77, 0.08); }
/* barra de progresso até a próxima pergunta */
.demo__bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

/* janela do WhatsApp (tema escuro do app) */
.demo__phone {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 440px;
  height: clamp(540px, 66vh, 620px);
  justify-self: end;
  border-radius: 34px;
  overflow: hidden;
  background: var(--wa-bg);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -40px rgba(77, 163, 255, 0.45), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.demo__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 12px 12px;
  background: var(--wa-header);
  color: var(--wa-text);
}
.demo__hico { width: 22px; height: 22px; color: #AEBAC1; flex: none; }
.demo__back { width: 24px; height: 24px; color: var(--wa-text); }
.demo__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(160deg, #FFC56B 0%, #F08A1C 100%);
}
.demo__avatar svg { width: 21px; height: 21px; }
.demo__who { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.demo__who b { display: flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 600; }
.demo__verified { width: 16px; height: 16px; flex: none; }
.demo__who small { font-size: 12.5px; color: var(--wa-meta); transition: color 0.2s ease; }
.demo__who small.is-typing { color: var(--wa-green); }
.demo__hicons { display: flex; align-items: center; gap: 20px; }

/* fundo com o padrão de desenhos do WhatsApp (aqui com temas de aviação) */
.demo__chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  padding: 14px 18px 10px;
  overflow: hidden;
  background-color: var(--wa-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160' fill='none' stroke='%23ffffff' stroke-opacity='0.055' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 22v-3l-11-7v-7a2 2 0 0 0-4 0v7L4 19v3l11-3.5v7l-3 2.3V30l5-1.4 5 1.4v-2.2l-3-2.3v-7z' transform='translate(8 6)'/%3E%3Cpath d='M98 30h22a8 8 0 0 0 .4-16 11 11 0 0 0-21 3 6.5 6.5 0 0 0-1.4 13z'/%3E%3Cpath d='M20 92h26a4 4 0 0 1 4 4v14a4 4 0 0 1-4 4H32l-7 6v-6h-5a4 4 0 0 1-4-4V96a4 4 0 0 1 4-4z'/%3E%3Ccircle cx='118' cy='96' r='12'/%3E%3Cpath d='m118 86 3 10-3 10-3-10z'/%3E%3Cpath d='M66 62l3 6 6.5 1-4.7 4.6 1.1 6.4-5.9-3.1-5.9 3.1 1.1-6.4L56.5 69l6.5-1z'/%3E%3Cpath d='M70 132c8-8 16 8 24 0s16 8 24 0'/%3E%3Cpath d='M140 140l8-8m-8 0 8 8'/%3E%3Ccircle cx='150' cy='52' r='3'/%3E%3Cpath d='M6 140h14m-7-7v14'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
.demo__day {
  align-self: center;
  margin-bottom: 8px;
  padding: 5px 12px;
  border-radius: 8px;
  background: #182229;
  font-size: 12.5px;
  color: var(--wa-meta);
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}
.demo__msg {
  position: relative;
  max-width: 82%;
  margin-top: 6px;
  padding: 6px 8px 8px 9px;
  border-radius: 8px;
  font-size: 14.2px;
  line-height: 19px;
  color: var(--wa-text);
  overflow-wrap: anywhere;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}
.demo__msg b { font-weight: 600; }
.demo__msg > b:first-child { display: block; margin-bottom: 2px; }
.demo__msg em { display: block; margin-top: 4px; font-size: 13px; color: rgba(233, 237, 239, 0.62); }
/* "rabinho" do balão */
.demo__msg::before {
  content: "";
  position: absolute;
  top: 0;
  width: 8px;
  height: 13px;
  background: inherit;
}
.demo__msg--out { align-self: flex-end; background: var(--wa-out); border-top-right-radius: 0; }
.demo__msg--out::before { right: -8px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.demo__msg--in { align-self: flex-start; background: var(--wa-in); border-top-left-radius: 0; }
.demo__msg--in::before { left: -8px; clip-path: polygon(0 0, 100% 0, 100% 100%); }
/* espaço reservado no fim do texto para o horário ficar na mesma linha, como no app */
.demo__sp { display: inline-block; width: 48px; height: 1px; }
.demo__msg--out .demo__sp { width: 66px; }
.demo__time {
  position: absolute;
  right: 7px;
  bottom: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  font-size: 11px;
  line-height: 15px;
  color: rgba(233, 237, 239, 0.6);
}
.demo__ticks { width: 16px; height: 11px; color: rgba(233, 237, 239, 0.6); transition: color 0.3s ease; }
.demo__msg.is-read .demo__ticks { color: var(--wa-tick); }
.demo__list { margin: 4px 0 0; padding-left: 18px; }
.demo__list li + li { margin-top: 2px; }
/* botões de resposta rápida (como nas contas comerciais do WhatsApp) */
.demo__btns { align-self: flex-start; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: min(82%, 300px); margin-top: 3px; }
.demo__btns span {
  padding: 9px 6px;
  border-radius: 8px;
  background: var(--wa-in);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--wa-tick);
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}
/* mensagem de áudio */
.demo__audio { display: flex; align-items: center; gap: 10px; min-width: 230px; padding: 2px 0 4px; }
.demo__audio-av {
  position: relative;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #6B7C85 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='9' r='4' fill='%23CFD9DE'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0z' fill='%23CFD9DE'/%3E%3C/svg%3E") center/70% no-repeat;
}
.demo__audio-av i {
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a3 3 0 0 0-3 3v6a3 3 0 0 0 6 0V6a3 3 0 0 0-3-3zM6 11a6 6 0 0 0 12 0M12 17v4' fill='none' stroke='%2353BDEB' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.demo__audio > svg { flex: none; width: 28px; height: 28px; color: #AEBAC1; }
.demo__wavebox { flex: 1; display: grid; gap: 2px; }
.demo__wave { position: relative; display: flex; align-items: center; gap: 2px; height: 24px; }
.demo__wave i { width: 3px; border-radius: 2px; background: rgba(233, 237, 239, 0.45); }
.demo__wave b {
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--wa-tick);
}
.demo__audio small { font-size: 11px; color: rgba(233, 237, 239, 0.6); }
.demo__transcript {
  display: block;
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid rgba(233, 237, 239, 0.12);
  font-size: 13.5px;
  color: rgba(233, 237, 239, 0.85);
}
.demo__transcript small { display: block; font-size: 11px; letter-spacing: 0.02em; color: rgba(233, 237, 239, 0.55); }
/* documento anexado */
.demo__doc {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -2px -4px 6px -5px;
  padding: 12px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
}
.demo__doc svg { flex: none; width: 30px; height: 34px; }
.demo__doc b { display: block; font-size: 14px; font-weight: 400; }
.demo__doc small { display: block; font-size: 11.5px; color: rgba(233, 237, 239, 0.6); }
.demo__typing {
  position: relative;
  align-self: flex-start;
  display: flex;
  gap: 4px;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 8px;
  border-top-left-radius: 0;
  background: var(--wa-in);
}
.demo__typing::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  width: 8px;
  height: 13px;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.demo__typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wa-meta);
  animation: demo-dot 1s ease-in-out infinite;
}
.demo__typing i:nth-child(2) { animation-delay: 0.15s; }
.demo__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes demo-dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.demo__input { display: flex; align-items: center; gap: 6px; padding: 6px 8px 12px; background: var(--wa-bg); }
.demo__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--wa-header);
  color: var(--wa-meta);
}
.demo__ph { flex: 1; font-size: 15.5px; }
.demo__fico { flex: none; width: 22px; height: 22px; }
.demo__send {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #0B141A;
}
.demo__send svg { width: 22px; height: 22px; }

/* celular em volta da conversa (mesmo acabamento do iPhone do topo da página) */
.demo__device {
  position: relative;
  justify-self: center;
  width: var(--mock-w);
  height: auto;
  aspect-ratio: 340 / 700; /* proporção de iPhone (não achata em telas baixas) */
  padding: 12px;
  border-radius: 58px;
  background: #050506;
  box-shadow:
    0 0 0 2px #1C1D20,
    0 0 0 4px #858B94,
    0 0 0 5px #30343A,
    0 0 140px -30px rgba(77, 163, 255, 0.45),
    0 70px 120px -40px rgba(0, 0, 0, 0.95);
}
/* botões laterais */
.demo__device::before,
.demo__device::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #6B717A;
}
.demo__device::before { left: -7px; top: 150px; height: 56px; box-shadow: 0 74px 0 #6B717A; }
.demo__device::after { right: -7px; top: 196px; height: 88px; }
.demo__island {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 6;
  width: 104px;
  height: 31px;
  margin-left: -52px;
  border-radius: 20px;
  background: #000;
}
.demo__status {
  position: absolute;
  top: 23px;
  left: 30px;
  right: 28px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 10px 0 14px;
  color: #fff;
  font: 600 15px/1 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.demo__sicons { display: flex; align-items: center; gap: 6px; }
.demo__sicons svg:nth-child(1) { width: 18px; height: 12px; }
.demo__sicons svg:nth-child(2) { width: 16px; height: 12px; }
.demo__sicons svg:nth-child(3) { width: 26px; height: 12px; }
.demo__home {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 6;
  width: 120px;
  height: 5px;
  margin-left: -60px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.85);
}
/* a janela vira a tela do aparelho */
.demo__device .demo__phone {
  position: relative;
  max-width: none;
  height: 100%;
  border: 0;
  border-radius: 46px;
  box-shadow: none;
}
.demo__device .demo__phone::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0%, transparent 28%);
  pointer-events: none;
}
.demo__device .demo__head { padding-top: 58px; padding-right: 14px; }
.demo__device .demo__hicons { gap: 16px; }
.demo__device .demo__hicons .demo__hico:first-child { display: none; }
.demo__device .demo__chat { padding-left: 14px; padding-right: 14px; }
.demo__device .demo__msg { max-width: 86%; }
.demo__device .demo__audio { min-width: 0; }
.demo__device .demo__input { padding-bottom: 34px; }
.demo__device .demo__field { height: 44px; gap: 10px; padding: 0 12px; }
.demo__device .demo__send { width: 44px; height: 44px; }

@media (max-width: 1000px) {
  .demo__inner { grid-template-columns: 1fr; }
  .demo__phone, .demo__device { justify-self: center; }
}
@media (max-width: 640px) {
  .demo__q { grid-template-columns: 1fr; gap: 10px; padding: 18px 0; }
  .demo__device { width: min(320px, 100%); }
  .demo__hicons { gap: 16px; }
  .demo__hicons .demo__hico:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .demo__typing i { animation: none; }
}

/* ---------- Como funciona: título + etapas dentro de um iPhone ---------- */

.story__head {
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--side) 0;
  text-align: center; /* título centralizado, acima do celular e das etapas */
}
.story__head .sec-kicker { margin-bottom: 18px; }
.story__title {
  font-size: clamp(2.3rem, 1rem + 3.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

/* celular e etapas mais próximos, centralizados juntos */
@media (min-width: 961px) {
  .story .story__pin {
    position: relative;
    isolation: isolate;
    --story-w: var(--mock-w);
    grid-template-columns: var(--story-w) minmax(0, 520px);
    justify-content: center;
    gap: clamp(56px, 7vw, 120px);
    padding: 36px var(--side);
  }
}
/* fundo sutil: brilho azul que respira atrás do celular + malha de pontos que some nas bordas */
.story .story__pin::before,
.story .story__pin::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.story .story__pin::before {
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 70% at 40% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 70% at 40% 50%, #000 0%, transparent 75%);
}
.story .story__pin::after {
  left: 50%;
  top: 50%;
  width: min(1100px, 90vw);
  height: min(900px, 90vh);
  margin: calc(min(900px, 90vh) / -2) 0 0 calc(min(1100px, 90vw) / -2);
  background:
    radial-gradient(closest-side at 35% 50%, rgba(77, 163, 255, 0.16), transparent 70%),
    radial-gradient(closest-side at 70% 40%, rgba(37, 211, 102, 0.06), transparent 70%);
  filter: blur(20px);
  animation: story-glow 12s ease-in-out infinite alternate;
}
@keyframes story-glow {
  from { transform: translate3d(-3%, 2%, 0) scale(1); opacity: 0.8; }
  to { transform: translate3d(3%, -2%, 0) scale(1.08); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .story .story__pin::after { animation: none; } }

/* a área visual vira o aparelho; as três cenas passam a ser a tela */
.story .story__visual {
  width: min(var(--mock-w), 100%);
  aspect-ratio: 340 / 700;
  padding: 12px;
  border-radius: 58px;
  background: #050506;
  box-shadow:
    0 0 0 2px #1C1D20,
    0 0 0 4px #858B94,
    0 0 0 5px #30343A,
    0 0 140px -30px rgba(77, 163, 255, 0.45),
    0 70px 120px -40px rgba(0, 0, 0, 0.95);
}
.story .story__visual::before,
.story .story__visual::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #6B717A;
}
.story .story__visual::before { left: -7px; top: 150px; height: 56px; box-shadow: 0 74px 0 #6B717A; }
.story .story__visual::after { right: -7px; top: 196px; height: 88px; }
.story .scene { inset: 12px; border-radius: 46px; }
.story__island {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 6;
  width: 104px;
  height: 31px;
  margin-left: -52px;
  border-radius: 20px;
  background: #000;
}
.story__status {
  position: absolute;
  top: 23px;
  left: 30px;
  right: 28px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 10px 0 14px;
  color: #fff;
  font: 600 15px/1 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  pointer-events: none;
}
.story__sicons { display: flex; align-items: center; gap: 6px; }
.story__sicons svg:nth-child(1) { width: 18px; height: 12px; }
.story__sicons svg:nth-child(2) { width: 16px; height: 12px; }
.story__sicons svg:nth-child(3) { width: 26px; height: 12px; }
.story__home {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 6;
  width: 120px;
  height: 5px;
  margin-left: -60px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.85);
  pointer-events: none;
}
/* o cabeçalho do WhatsApp desce para baixo da barra de status, e a barra de digitação sobe da barra de home */
.story .scene--notes .wchat__head { padding-top: 54px; }
.story .scene--notes .wchat__bar { padding-bottom: 30px; }
.story .scene--notes .wchat__msg { max-width: 88%; }

@media (min-width: 961px) {
  .story .story__visual { width: var(--story-w); }
}
@media (max-width: 960px) {
  .story .story__visual { width: min(320px, 100%); }
}

/* papel de parede escuro original do WhatsApp nos celulares escuros (demonstração e Como funciona) */
.demo__chat,
.story .scene--notes .wchat {
  /* véu escuro por cima do papel de parede: desenhos mais suaves, sem competir com os balões */
  background:
    linear-gradient(rgba(11, 20, 26, 0.6), rgba(11, 20, 26, 0.6)),
    #0B141A url("../assets/img/bgdark.webp") center / cover no-repeat;
}


/* com o zoom de 90% (style.css), as seções de tela cheia compensam a altura para continuar ocupando a tela toda */
@media (min-width: 1001px) {
  .journey__pin { height: calc(100vh / 0.9); height: calc(100svh / 0.9); }
}
@media (min-width: 1001px) and (min-width: 961px) {
  .story__pin { min-height: calc(100svh / 0.9); }
}

/* ---------- De onde vem a resposta: Stratus no centro, fontes em volta ---------- */

.sources { padding: clamp(60px, 8vw, 120px) var(--side); }
.sources__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 100px) clamp(24px, 4vw, 64px) clamp(56px, 6vw, 90px);
  border-radius: 40px;
  background:
    radial-gradient(60% 55% at 50% 62%, rgba(77, 163, 255, 0.14), transparent 70%),
    #080C14;
  border: 1px solid var(--line);
}
.sources__head { max-width: 760px; margin: 0 auto; text-align: center; }
.sources__title {
  font-size: clamp(2.3rem, 1rem + 3.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.sources__title span { color: var(--dim); }
.sources__text { max-width: 52ch; margin: 22px auto 0; font-size: 1.12rem; color: var(--muted); }

/* mapa: 3 fontes de cada lado, logo no meio */
.sources__map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(180px, 18vw, 280px) minmax(0, 1fr);
  align-items: center;
  margin-top: clamp(48px, 6vw, 80px);
  min-height: 560px;
}
.sources__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.sources__line { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 1.2; }
.sources__dot { fill: var(--accent); filter: drop-shadow(0 0 6px rgba(77, 163, 255, 0.9)); }

.sources__list { display: contents; list-style: none; margin: 0; padding: 0; }
.source {
  position: relative;
  z-index: 1;
  width: min(300px, 100%);
  padding: 22px 24px 24px;
  border-radius: 22px;
  background: #121925;
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  /* leve inclinação como na referência (!important: o GSAP grava rotate: none no estilo inline) */
  rotate: var(--tilt, 0deg) !important;
}
.source b {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--amber);
}
.source p { font-size: 1.02rem; line-height: 1.4; color: rgba(242, 244, 247, 0.86); }
.source--l1 { grid-area: 1 / 1; justify-self: end; margin-right: 12%; --tilt: -4deg; }
.source--l2 { grid-area: 2 / 1; justify-self: start; --tilt: 2.5deg; }
.source--l3 { grid-area: 3 / 1; justify-self: end; margin-right: 12%; --tilt: -2deg; }
.source--r1 { grid-area: 1 / 3; justify-self: start; margin-left: 12%; --tilt: 4deg; }
.source--r2 { grid-area: 2 / 3; justify-self: end; --tilt: -2.5deg; }
.source--r3 { grid-area: 3 / 3; justify-self: start; margin-left: 12%; --tilt: 2deg; }

.sources__hub {
  position: relative;
  z-index: 2;
  grid-area: 1 / 2 / 4 / 3;
  justify-self: center;
  display: grid;
  place-items: center;
  width: clamp(120px, 11vw, 150px);
  aspect-ratio: 1;
  border-radius: 34px;
  background: linear-gradient(160deg, #2F7BEA 0%, #123A78 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 30px 80px -20px rgba(77, 163, 255, 0.7);
}
.sources__hub img { width: 56%; height: auto; }
/* ondas saindo do logo, como se ele recebesse os dados */
.sources__ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(77, 163, 255, 0.5);
  animation: sources-ring 2.8s ease-out infinite;
}
.sources__ring--2 { animation-delay: 1.4s; }
@keyframes sources-ring {
  from { transform: scale(1); opacity: 0.8; }
  to { transform: scale(1.7); opacity: 0; }
}

@media (max-width: 1000px) {
  .sources__map { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-height: 0; }
  .sources__hub { grid-area: auto; grid-column: 1 / -1; order: -1; margin-bottom: 24px; }
  .source, .source--l1, .source--l2, .source--l3, .source--r1, .source--r2, .source--r3 {
    grid-area: auto; justify-self: stretch; width: auto; margin: 0; --tilt: 0deg;
  }
}
@media (max-width: 560px) {
  .sources__map { grid-template-columns: 1fr; }
  .sources__panel { border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) { .sources__ring { animation: none; } }

/* planos: grupos de recursos em uma coluna no celular */
@media (max-width: 640px) { .plan__groups { grid-template-columns: 1fr; padding: 22px 22px 28px; } .plan__plus { margin: 22px 22px 0; } }

/* ---------- Planos: resumo na página inicial + página planos.html ---------- */
.plan__mini { list-style: none; margin: 0; padding: 26px 30px 32px; display: grid; gap: 14px; }
.plan__mini li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); }
.plan__mini svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.plan--featured .plan__mini li { color: #3B4250; }
.plan--featured .plan__mini svg { color: #2F7BEA; }
.plans__more { display: flex; justify-content: center; margin-top: 36px; }

/* página de planos: menu fixo simples no topo, conteúdo começa abaixo dele */
.nav.is-static { position: absolute; }
.plans--page { padding-top: clamp(140px, 14vw, 200px); }
.plans--page .plans__title { font-size: clamp(2.6rem, 1rem + 4.2vw, 5rem); }

/* ---------- Depoimentos (fileira de cards no estilo do antigo "Para quem") ---------- */
.cases--reviews .cases__head { margin-bottom: clamp(36px, 4vw, 56px); }
.cases__side { display: grid; justify-items: end; gap: 22px; }
.cases__side .cases__text { justify-self: end; }
.cases__side .cases__arrows[hidden] { display: none; }
.case__av--ini {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #1D3A63 0%, #0F2240 100%);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
.case__stars { padding-right: 8px; color: var(--amber); font-size: 13px; letter-spacing: 3px; }
.cases--reviews .case blockquote {
  margin: 0;
  padding: 0 14px;
  font-size: clamp(1.2rem, 1rem + 0.5vw, 1.45rem);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -0.02em;
}
.cases--reviews .case { width: clamp(300px, 27vw, 400px); margin: 0; }
@media (max-width: 1000px) {
  .cases__side { justify-items: start; }
  .cases__side .cases__text { justify-self: start; }
}

/* ---------- Chamada final: título longo + barra de pergunta ---------- */
.final .final__title {
  max-width: 20ch;
  font-size: clamp(2.3rem, 1rem + 3.6vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.final .final__title span { color: rgba(242, 244, 247, 0.55); }
.final .final__lead { margin: 22px auto 0; }
.final .ask { margin: 30px auto 34px; }

.final__wa { display: inline-flex; align-items: center; gap: 10px; margin-top: 36px; }
.final__wa svg { width: 20px; height: 20px; color: #25D366; }
.case__example { margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 201, 77, 0.12); color: var(--amber); font-size: 11px; font-weight: 600; }

/* =========================================================
   Ajustes do celular
   ========================================================= */
@media (max-width: 900px) {
  /* o ponto final do título acompanha a última palavra (não cai sozinho na linha de baixo) */
  .aud__swap { display: inline; }
}
@media (max-width: 640px) {
  /* funcionalidades: cards compactos, ícone ao lado do texto */
  .feats__grid { gap: 10px; }
  .feat {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    min-height: 0;
    padding: 20px 20px 22px;
    border-radius: 22px;
  }
  .feat__icon { width: 44px; height: 44px; }
  .feat__icon svg { width: 20px; height: 20px; }
  .feat__tags { margin-bottom: 6px; font-size: 10.5px; }
  .feat h3 { font-size: 1.2rem; }
  .feat__body > p:last-child { margin-top: 4px; font-size: 0.95rem; }

  /* voo: fundo escuro atrás do texto de cada fase para ler por cima do mapa */
  .journey__copy .jphase {
    padding: 18px 18px 20px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(7, 11, 18, 0.92), rgba(7, 11, 18, 0.78));
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  /* rodapé: Produto e Legal lado a lado, Empresa embaixo em linha inteira (o e-mail não quebra) */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .footer__col--company { grid-column: 1 / -1; grid-row: 3; }
  .footer__col a, .footer__col span { line-height: 2; overflow-wrap: normal; }
  .footer__bottom { display: grid; gap: 10px; }
  .footer__sep { display: none; }
  .footer__credit { display: inline-block; margin-top: 2px; }
}

/* Confiabilidade: título em duas linhas ("…não é detalhe." / "É responsabilidade.") */
.sources__head { max-width: 1100px; }
.sources__title { font-size: clamp(2rem, 1rem + 2.6vw, 3.8rem); text-wrap: initial; }
.sources__title span { display: block; }
@media (min-width: 1001px) { .sources__title { white-space: nowrap; } }

/* selo "Beta" (peso e balanceamento ainda em fase beta) */
.feat__beta {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 201, 77, 0.45);
  background: rgba(255, 201, 77, 0.1);
  color: var(--amber);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 4px;
}

/* =========================================================
   Páginas legais (termos, privacidade, disclaimer, cookies, aceite, cláusula cambial)
   ========================================================= */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(140px, 14vw, 200px) var(--side) clamp(90px, 10vw, 140px); }
.legal__head { margin-bottom: clamp(40px, 5vw, 64px); padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal__title {
  font-size: clamp(2.3rem, 1rem + 3.4vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.legal__update { margin-top: 18px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: var(--dim); }
.legal__body { color: rgba(242, 244, 247, 0.8); font-size: 1.05rem; line-height: 1.75; }
.legal__body h2 {
  margin: 44px 0 12px;
  font-size: clamp(1.25rem, 1rem + 0.6vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { margin: 28px 0 8px; font-size: 1.1rem; font-weight: 600; color: var(--text); }
.legal__body p + p { margin-top: 12px; }
.legal__body ul, .legal__body ol { margin: 12px 0 0; padding-left: 22px; }
.legal__body li { margin-top: 6px; }
.legal__body li::marker { color: var(--accent); }
.legal__body strong { color: var(--text); font-weight: 600; }
.legal__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal__more { margin-top: clamp(56px, 7vw, 90px); padding-top: 32px; border-top: 1px solid var(--line); }
.legal__more h2 { margin-bottom: 16px; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.legal__more div { display: flex; flex-wrap: wrap; gap: 10px; }
.legal__more a {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.legal__more a:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.35); }
