/* =====================================================================
   Datamatix: página do aplicativo Vynvu (bem-estar emocional)
   Complementa style.css (mesma paleta, tipografia e componentes base)
   ===================================================================== */

/* ---------- revelação ao rolar ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s var(--ease-back); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.vy-crumbs { margin-bottom: 18px; }
.vy-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 500; color: #0b3b1a; }
.vy-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .45; }
.vy-crumbs a { color: #0b3b1a; opacity: .7; transition: opacity .3s; }
.vy-crumbs a:hover { opacity: 1; }
.vy-hero .hero-text h1 { font-size: 62px; }
.vy-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: #000; padding: 6px 0; background: linear-gradient(#000, #000) 0 100% / 100% 2px no-repeat; transition: background-size .35s; }
.vy-link:hover { background-size: 0 2px; background-position: 100% 100%; }
.vy-link .ico { font-size: 18px; stroke-width: 2; }
.vy-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; }
.vy-proof li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #0b3b1a; }
.vy-proof .ico { font-size: 16px; stroke-width: 2.6; }

/* celular com o check-in e os próximos passos */
.vy-phone-wrap { margin: 0; display: flex; flex-direction: column; align-items: center; }
.vy-phone { position: relative; width: 300px; padding: 12px; background: #000; border-radius: 46px; box-shadow: 0 0 0 2px #2a2a31, 0 60px 90px -40px rgba(0,0,0,.6); animation: vyFloat 9s ease-in-out infinite; }
@keyframes vyFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.vy-phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 99px; background: #000; z-index: 2; }
.vy-app { position: relative; background: #fff; border-radius: 36px; padding: 50px 18px 78px; color: #000; overflow: hidden; }
.vy-q { font-size: 17px; font-weight: 700; letter-spacing: -.03em; }
.vy-q small { display: block; font-size: 11px; font-weight: 500; color: #65656e; letter-spacing: 0; margin-bottom: 2px; }
.vy-moods { display: flex; justify-content: space-between; margin: 12px 0 16px; }
.vy-moods li { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 9.5px; font-weight: 600; color: #65656e; }
.vy-moods svg { width: 38px; height: 38px; border-radius: 50%; background: var(--c); transition: transform .45s var(--ease-back), box-shadow .45s; }
.vy-moods svg * { fill: none; stroke: #000; stroke-width: 2.2; stroke-linecap: round; }
.vy-moods .dot { fill: #000; stroke: none; }
.vy-moods li.on { color: #000; }
.vy-moods li.on svg { transform: scale(1.1); box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000; }
.vy-card { display: flex; align-items: center; gap: 12px; background: #000; color: #fff; border-radius: 16px; padding: 10px 12px; }
.vy-ring { position: relative; flex: none; width: 46px; height: 46px; }
.vy-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.vy-ring circle { fill: none; stroke-width: 5; }
.vy-ring .bg { stroke: #26262c; }
.vy-ring .fg { stroke: var(--bgcolor); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); transition: stroke-dashoffset .6s ease; }
.vy-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.vy-card p { line-height: 1.35 !important; color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.vy-card p small { display: flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 500; color: #a9a9b3; }
.vy-card p small .ico { font-size: 12px; color: #ffb35c; stroke-width: 2.4; }
.vy-steps-t { line-height: 1.3; margin: 14px 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #65656e; }
.vy-steps li { line-height: 1.3; display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #efeff3; font-size: 13px; font-weight: 600; }
.vy-steps li small { display: block; font-size: 10.5px; font-weight: 500; color: #65656e; }
.vy-steps .ic { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: #f1ecff; color: #6637ed; font-size: 15px; }
.vy-steps .ok { margin-left: auto; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #d9d9e0; display: grid; place-items: center; color: transparent; font-size: 12px; transition: background .35s, border-color .35s, color .35s, transform .45s var(--ease-back); }
.vy-steps .ok .ico { stroke-width: 3.2; }
.vy-steps li.done .ok { background: var(--bgcolor); border-color: var(--bgcolor); color: #000; transform: scale(1.12); }
.vy-steps li.done > span:nth-child(2) { color: #65656e; }
.vy-toast { position: absolute; left: 14px; right: 14px; bottom: 16px; display: flex; align-items: center; gap: 10px; background: #6637ed; color: #fff; border-radius: 16px; padding: 10px 12px; font-size: 12px; font-weight: 600; line-height: 1.3; opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .4s, transform .55s var(--ease-back); }
.vy-toast small { display: block; font-size: 10.5px; font-weight: 500; color: #d9ccff; }
.vy-toast i { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.16); font-size: 17px; }
.vy-phone.win .vy-toast { opacity: 1; transform: none; }
.vy-burst { position: absolute; left: 50%; bottom: 60px; width: 0; height: 0; pointer-events: none; }
.vy-burst span { position: absolute; width: 7px; height: 7px; border-radius: 2px; background: var(--c); opacity: 0; }
.vy-phone.win .vy-burst span { animation: vyBurst 1.1s ease-out forwards; }
@keyframes vyBurst { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(200deg); } }
.vy-phone-wrap figcaption { margin-top: 16px; font-size: 12.5px; font-weight: 500; color: #0b3b1a; opacity: .75; }

/* ---------- resumo ---------- */
.vy-summary { padding: 90px 0 70px; }
.vy-summary-grid { display: grid; grid-template-columns: 280px 1fr; gap: 50px; align-items: start; }
.vy-kicker { font-size: 14px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--main-color); padding-top: 8px; line-height: 1.5; }
.vy-summary-grid p { font-size: 20px; line-height: 1.65; color: #222; letter-spacing: -.01em; }
.vy-summary-grid strong { color: #000; font-weight: 600; }
.vy-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 0 330px; }
.vy-tags li { border: 1px solid #d9d9e0; border-radius: 99px; padding: 8px 18px; font-size: 14px; font-weight: 500; transition: background .3s, border-color .3s; }
.vy-tags li:hover { background: var(--bgcolor); border-color: var(--bgcolor); }

/* ---------- o problema (fundo suave, tom acolhedor) ---------- */
.vy-pain { background: var(--soft); }
.vy-pain .heading { max-width: 860px; }
.vy-pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vy-pains li { padding: 30px 28px; border-radius: 26px; background: #fff; transition: transform .35s var(--ease-back), box-shadow .35s; }
.vy-pains li:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -35px rgba(0,0,0,.3); }
.vy-pains i { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: #f1ecff; color: #6637ed; font-size: 22px; margin-bottom: 20px; }
.vy-pains h3 { font-size: 20px; font-weight: 600; letter-spacing: -.03em; padding-bottom: 8px; }
.vy-pains p { color: #555; font-size: 15px; line-height: 25px; }
.vy-quote { margin: 60px auto 0; text-align: center; font-size: 30px; line-height: 1.3; font-weight: 600; letter-spacing: -.035em; color: #8a8a94; max-width: 860px; }
.vy-quote strong { display: block; color: #000; font-weight: 600; }

/* ---------- a solução ---------- */
.vy-solution { padding-bottom: 60px; }
.vy-sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 1100px; margin: 0 auto; }
.vy-sol-lead { font-size: 18px; line-height: 31px; color: #333; }
.vy-sol-lead strong { color: #000; font-weight: 600; }
.vy-sol-punch { display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 26px 30px; border-left: 4px solid var(--main-color); background: var(--soft); border-radius: 0 20px 20px 0; font-size: 18px; line-height: 31px; font-weight: 600; color: #000 !important; }
.vy-sol-punch .hl { display: block; margin-top: 6px; color: var(--main-color); }

/* ---------- entenda: a trilha do cuidado ---------- */
.vy-cycle { background: #0a0a0d; position: relative; overflow: hidden; }
.vy-cycle::before { content: ""; position: absolute; left: 50%; top: 40%; width: 900px; height: 600px; margin-left: -450px; background: radial-gradient(closest-side, rgba(102,55,237,.2), transparent); pointer-events: none; }
.vy-cycle .container { position: relative; }
.vy-cycle .heading h2 { color: #fff; }
.vy-cycle .heading > span { background: transparent; border: 1px solid var(--bgcolor); color: var(--bgcolor); }
.vy-trail { position: relative; max-width: 980px; margin: 20px auto 0; }
.vy-nodes { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.vy-line { position: absolute; left: 12.5%; right: 12.5%; top: 35px; height: 4px; border-radius: 99px; background: #222228; }
.vy-line i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); border-radius: inherit; background: linear-gradient(90deg, #a88bff, var(--bgcolor)); transition: width .8s cubic-bezier(.6,0,.2,1); }
.vy-node { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; background: none; border: 0; padding: 0; color: #8a8a94; font: inherit; cursor: pointer; }
.vy-node .orb { position: relative; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: #151519; border: 2px solid #2a2a31; color: #8a8a94; font-size: 28px; transition: background .45s, border-color .45s, color .45s, transform .5s var(--ease-back), box-shadow .45s; }
.vy-node .orb .ico { stroke-width: 1.8; }
.vy-node .orb::after { content: ""; position: absolute; right: -4px; top: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--bgcolor) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; transform: scale(0); transition: transform .45s var(--ease-back); }
.vy-node b { font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: #d6d6dd; transition: color .4s; }
.vy-node small { font-size: 12.5px; font-weight: 500; margin-top: -8px; }
.vy-node.done .orb { border-color: #6637ed; color: #a88bff; }
.vy-node.done .orb::after { transform: scale(1); }
.vy-node.on .orb { background: var(--bgcolor); border-color: var(--bgcolor); color: #000; transform: scale(1.12); box-shadow: 0 0 0 10px rgba(84,250,128,.12); }
.vy-node.on b { color: #fff; }
.vy-node:focus-visible { outline: none; }
.vy-node:focus-visible .orb { box-shadow: 0 0 0 4px #a88bff; }
.vy-cap { max-width: 640px; margin: 44px auto 0; text-align: center; min-height: 112px; transition: opacity .3s, transform .3s; }
.vy-cap.out { opacity: 0; transform: translateY(8px); }
.vy-cap h3 { color: #fff; font-size: 24px; font-weight: 600; letter-spacing: -.03em; padding-bottom: 8px; }
.vy-cap p { color: #b3b3bd; font-size: 17px; line-height: 28px; }
.vy-cycle-close { margin-top: 40px; text-align: center; font-size: 18px; color: #8f8f99; }
.vy-cycle-close strong { color: #fff; font-weight: 600; }

/* ---------- funcionalidades ---------- */
.vy-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vy-feats li { padding: 28px 24px; border-radius: 26px; border: 1px solid var(--line); background: #fff; transition: border-color .35s, transform .35s var(--ease-back), box-shadow .35s; }
.vy-feats li:hover { border-color: #a88bff; transform: translateY(-6px); box-shadow: 0 30px 50px -35px rgba(102,55,237,.45); }
.vy-feats i { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #000; color: var(--bgcolor); font-size: 24px; margin-bottom: 20px; }
.vy-feats h3 { font-size: 19px; font-weight: 600; letter-spacing: -.03em; padding-bottom: 8px; }
.vy-feats p { color: #555; font-size: 15px; line-height: 25px; }
.vy-feat-note { margin-top: 26px; text-align: center; font-size: 15px; color: #65656e; }
.vy-feat-note strong { color: #000; }

/* ---------- para quem é + aviso ---------- */
.vy-audience { padding: 70px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vy-aud-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.vy-aud-wrap h2 { font-size: 30px; font-weight: 700; letter-spacing: -.035em; line-height: 1.15; }
.vy-aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vy-aud li { padding-left: 16px; border-left: 3px solid var(--main-color); font-size: 15px; line-height: 24px; color: #555; }
.vy-aud b { display: block; color: #000; font-size: 16px; }
.vy-notice { display: flex; align-items: flex-start; gap: 12px; margin-top: 40px; padding: 18px 22px; border-radius: 18px; background: var(--soft); font-size: 14.5px; line-height: 23px; color: #444; }
.vy-notice .ico { flex: none; font-size: 20px; color: #6637ed; margin-top: 1px; }
.vy-notice strong { color: #000; }

/* ---------- responsivo ---------- */
@media (max-width: 1400px) {
  .vy-hero .hero-text h1 { font-size: 56px; }
}
@media (max-width: 1199px) {
  .vy-hero .hero-text h1 { font-size: 48px; }
  .vy-feats { grid-template-columns: repeat(2, 1fr); }
  .vy-quote { font-size: 26px; }
}
@media (max-width: 991px) {
  .vy-hero .hero-visual { justify-content: center; }
  .vy-summary-grid { grid-template-columns: 1fr; gap: 16px; }
  .vy-tags { margin-left: 0; }
  .vy-pains { grid-template-columns: 1fr; gap: 12px; }
  .vy-sol-grid { grid-template-columns: 1fr; gap: 24px; }
  .vy-sol-lead, .vy-sol-punch { font-size: 16px; line-height: 28px; }
  .vy-aud-wrap { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 767px) {
  .vy-hero .hero-text h1 { font-size: 38px; }
  .vy-proof { flex-direction: column; gap: 8px; }
  .vy-phone { width: 272px; border-radius: 42px; }
  .vy-app { padding: 46px 14px 74px; border-radius: 32px; }
  .vy-moods svg { width: 34px; height: 34px; }
  .vy-summary { padding: 70px 0 50px; }
  .vy-summary-grid p { font-size: 17px; }
  .vy-pains li { padding: 24px 22px; }
  .vy-quote { font-size: 21px; margin-top: 44px; }
  /* trilha vertical no celular */
  .vy-nodes { grid-template-columns: 1fr; gap: 22px; }
  .vy-line { left: 35px; right: auto; top: 37px; bottom: 37px; width: 4px; height: auto; }
  .vy-line i { width: 100%; height: calc(var(--p, 0) * 100%); background: linear-gradient(180deg, #a88bff, var(--bgcolor)); transition-property: height; }
  .vy-node { display: grid; grid-template-columns: 74px 1fr; grid-template-rows: auto auto; column-gap: 18px; row-gap: 0; align-items: center; text-align: left; }
  .vy-node .orb { grid-row: 1 / 3; }
  .vy-node b { align-self: end; }
  .vy-node small { margin-top: 0; align-self: start; }
  .vy-cap { margin-top: 30px; min-height: 150px; }
  .vy-cap h3 { font-size: 21px; }
  .vy-cap p { font-size: 15.5px; line-height: 26px; }
  .vy-cycle-close { font-size: 16px; }
  .vy-feats { grid-template-columns: 1fr; }
  .vy-aud { grid-template-columns: 1fr; }
  .vy-aud-wrap h2 { font-size: 24px; }
}
@media (max-width: 374px) {
  .vy-hero .hero-text h1 { font-size: 33px; }
  .vy-phone { width: 256px; }
  .vy-moods svg { width: 30px; height: 30px; }
  .vy-steps-t { font-size: 10px; letter-spacing: .03em; }
  .vy-toast { font-size: 11px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .vy-phone { animation: none !important; }
  .vy-phone *, .vy-trail * { transition-duration: 0s !important; transition-delay: 0s !important; }
  .vy-burst { display: none; }
}
