/* Vella · landing page (/saiba-mais). Independente do app.css: só esta página carrega. */

:root {
    --bg: #fbfbfd;
    --surface: #ffffff;
    --ink: #1d1d1f;
    --ink-2: #6e6e73;
    --ink-3: #86868b;
    --line: rgba(0, 0, 0, .08);
    --fill: rgba(118, 118, 128, .1);
    --accent: #0071e3;
    --accent-2: #30b0c7;
    --green: #34c759;
    --orange: #ff9f0a;
    --purple: #af52de;
    --teal: #30b0c7;
    --radius: 18px;
    --radius-l: 28px;
    --shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 18px 50px rgba(0, 0, 0, .08);
    --shadow-xl: 0 30px 60px -20px rgba(16, 24, 64, .25), 0 60px 140px -40px rgba(0, 60, 160, .25);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, p { margin: 0; }
.icon { width: 20px; height: 20px; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
kbd { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 7px; background: var(--surface); font: 600 12px var(--font); color: var(--ink-2); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; font-size: 16px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; transition: transform .25s var(--ease), background .2s, box-shadow .25s; }
.btn:active { transform: scale(.97); }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(0, 113, 227, .6); }
.btn-primary:hover { background: #0077ed; box-shadow: 0 12px 30px -8px rgba(0, 113, 227, .7); }
.btn-ghost { color: var(--accent); }
.btn-ghost:hover { background: rgba(0, 113, 227, .08); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }
.btn-light:hover { transform: translateY(-1px); }

/* Navegação */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.is-scrolled { background: rgba(251, 251, 253, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; max-width: var(--wrap); height: 64px; margin: 0 auto; padding: 0 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.nav-links { display: flex; gap: 28px; margin: 0 auto; font-size: 14px; color: var(--ink-2); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-login { font-size: 14px; color: var(--ink-2); }
.nav-login:hover { color: var(--ink); }

/* Entrada em cena */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* Tipografia de seção */
.eyebrow { margin-bottom: 14px; font-size: 15px; font-weight: 600; color: var(--accent); letter-spacing: -.01em; }
h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.06; font-weight: 700; letter-spacing: -.035em; }
h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; }
h4 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.lead { margin-top: 20px; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink-2); letter-spacing: -.01em; }
.section-head { margin-bottom: 56px; }
.section-head.center .lead { max-width: 620px; margin-left: auto; margin-right: auto; }
.fine { margin-top: 16px; font-size: 14px; color: var(--ink-3); }

/* Abertura */
.hero { position: relative; padding: 148px 0 40px; text-align: center; isolation: isolate; }
.hero-glow { position: absolute; inset: 0 0 20%; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-glow span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.hero-glow span:nth-child(1) { width: 560px; height: 560px; left: 8%; top: -120px; background: #b9d4ff; }
.hero-glow span:nth-child(2) { width: 480px; height: 480px; right: 6%; top: -60px; background: #bdeee6; animation-delay: -6s; }
.hero-glow span:nth-child(3) { width: 420px; height: 420px; left: 40%; top: 220px; background: #e4d9ff; animation-delay: -12s; opacity: .45; }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.08); } }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(10px); font-size: 14px; color: var(--ink-2); }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52, 199, 89, .18); }
.hero h1 { margin-top: 26px; font-size: clamp(42px, 7.4vw, 88px); line-height: 1.02; font-weight: 700; letter-spacing: -.045em; }
.grad { background: linear-gradient(100deg, #0071e3 10%, #5e8bff 45%, #30b0c7 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 640px; margin: 24px auto 0; }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-stage { position: relative; margin-top: 72px; perspective: 1600px; }
.hero-shot { transform: rotateX(var(--tilt, 14deg)) scale(var(--scale, .94)); transform-origin: 50% 0; transition: transform .1s linear; will-change: transform; }

/* Moldura de navegador */
.device-browser { margin: 0; overflow: hidden; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, .06); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #f3f3f6; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { flex: 0 1 280px; margin: 0 auto; padding: 3px 12px; border-radius: 7px; background: rgba(0, 0, 0, .05); font-size: 12px; color: var(--ink-3); text-align: center; transform: translateX(-20px); }

/* Avisos flutuantes */
.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 16px 40px -12px rgba(16, 24, 64, .28), 0 0 0 1px rgba(0, 0, 0, .05); text-align: left; animation: bob 6s ease-in-out infinite; }
.float strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.float small { display: block; font-size: 12px; color: var(--ink-3); }
.float-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; }
.float-a { left: -10px; top: 26%; }
.float-b { right: -14px; top: 12%; animation-delay: -2s; }
.float-c { right: 6%; bottom: -26px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

.tint-blue { background: rgba(0, 113, 227, .1); color: var(--accent); }
.tint-green { background: rgba(52, 199, 89, .14); color: #1f9d45; }
.tint-purple { background: rgba(175, 82, 222, .12); color: var(--purple); }
.tint-orange { background: rgba(255, 159, 10, .14); color: #d27c00; }
.tint-teal { background: rgba(48, 176, 199, .14); color: #1d8ea3; }

/* Selos */
.trust { padding: 88px 0 24px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; font-size: 14.5px; color: var(--ink-2); }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row .icon { width: 18px; height: 18px; color: var(--accent); }

/* Manifesto: as palavras acendem conforme a rolagem */
.manifesto { padding: 120px 0 140px; }
.manifesto-text { max-width: 980px; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.16; font-weight: 700; letter-spacing: -.035em; color: var(--ink); }
.manifesto-text .w { opacity: .16; transition: opacity .35s; }
.manifesto-text .w.on { opacity: 1; }

/* Domingo de volta */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 72px; padding-bottom: 140px; }
.split-photo { margin: 0; overflow: hidden; border-radius: var(--radius-l); box-shadow: var(--shadow); }
.split-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.4s var(--ease); }
.split-photo.is-in img { transform: scale(1.03); }
.mini-stats { list-style: none; display: grid; gap: 22px; margin: 40px 0 0; padding: 0; }
.mini-stats li { display: grid; grid-template-columns: 128px 1fr; align-items: baseline; gap: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.mini-stats strong { font-size: 34px; font-weight: 700; letter-spacing: -.04em; background: linear-gradient(100deg, #0071e3, #30b0c7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mini-stats span { color: var(--ink-2); }

/* Recursos */
.features { padding: 140px 0 60px; background: linear-gradient(#fff, var(--bg)); }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 64px; margin-bottom: 140px; }
.feature-rev .feature-copy { order: 2; }
.feature-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 16px; }
.feature-icon .icon { width: 26px; height: 26px; }
.feature-copy > p { margin-top: 16px; font-size: 19px; color: var(--ink-2); }
.feature-shot { transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.feature-shot.reveal { transform: translateY(40px) scale(.97); }
.feature-shot.is-in { transform: none; }
.checks { list-style: none; display: grid; gap: 12px; margin: 28px 0 0; padding: 0; }
.checks li { display: flex; gap: 12px; font-size: 16px; color: var(--ink); }
.checks .icon { width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: rgba(52, 199, 89, .14); color: #1f9d45; stroke-width: 2.6; }

.feature-phone { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.phone { position: relative; justify-self: center; width: min(320px, 80%); padding: 12px; border-radius: 48px; background: #1d1d1f; box-shadow: var(--shadow-xl); }
.phone img { width: 100%; aspect-ratio: 1 / 2.06; padding-top: 34px; object-fit: cover; object-position: top; border-radius: 37px; background: #eef2fa; } /* faixa de status sob o entalhe */
.phone-notch { position: absolute; top: 22px; left: 50%; z-index: 1; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #1d1d1f; }

/* Detalhes */
.bento-section { padding: 60px 0 140px; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tile { padding: 30px; border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s, opacity .9s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 4px 10px rgba(0, 0, 0, .04), 0 26px 60px rgba(0, 0, 0, .1); }
.tile-wide { grid-column: span 2; }
.tile-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 40px; border-radius: 14px; }
.tile p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }

/* Segurança */
.security { position: relative; padding: 150px 0; overflow: hidden; background: #0b0b0f; color: #f5f5f7; isolation: isolate; }
.security-photo { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .22; filter: grayscale(.4); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 60%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 60%, transparent); }
.security::after { content: ""; position: absolute; inset: auto -10% -40% -10%; z-index: -1; height: 70%; background: radial-gradient(closest-side, rgba(0, 113, 227, .35), transparent); }
.security .eyebrow { color: #6fb1ff; }
.security .lead { max-width: 600px; color: #a1a1a6; }
.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border-radius: var(--radius-l); background: rgba(255, 255, 255, .1); }
.sec { padding: 34px 30px; background: rgba(18, 18, 24, .86); backdrop-filter: blur(12px); }
.sec .icon { width: 26px; height: 26px; margin-bottom: 22px; color: #6fb1ff; }
.sec p { margin-top: 8px; font-size: 15.5px; color: #a1a1a6; }

/* Consultório */
.office { padding: 140px 24px 0; }
.office-photo { position: relative; max-width: 1320px; margin: 0 auto; overflow: hidden; border-radius: 36px; box-shadow: var(--shadow); }
.office-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.office-photo figcaption { position: absolute; inset: auto 0 0; padding: 120px 56px 48px; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); color: #fff; }
.office-quote { max-width: 760px; font-size: clamp(24px, 3.2vw, 40px); line-height: 1.15; font-weight: 600; letter-spacing: -.03em; }
.office-by { margin-top: 14px; font-size: 15px; opacity: .8; }

/* Preço */
.pricing { padding: 150px 0; }
.plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 940px; margin: 0 auto; overflow: hidden; border-radius: 32px; background: var(--surface); box-shadow: var(--shadow-xl), 0 0 0 1px var(--line); }
.plan-main { padding: 48px; background: linear-gradient(160deg, #f4f8ff, #effaf8); text-align: center; }
.plan-name { font-size: 15px; font-weight: 600; color: var(--accent); }
.plan-price { display: flex; align-items: flex-start; justify-content: center; gap: 4px; margin: 14px 0 6px; }
.plan-price strong { font-size: 104px; line-height: .9; font-weight: 700; letter-spacing: -.06em; }
.plan-cur { margin-top: 10px; font-size: 26px; font-weight: 600; }
.plan-per { align-self: flex-end; margin-bottom: 8px; font-size: 18px; color: var(--ink-2); }
.plan-alt { margin-bottom: 30px; font-size: 15px; color: var(--ink-2); }
.plan-list { align-content: center; margin: 0; padding: 48px; }

/* Dúvidas */
.faq { padding: 40px 0 150px; }
.faq-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--ink-3); transition: transform .35s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 40px 26px 0; color: var(--ink-2); animation: open .45s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* Chamada final */
.final { padding: 0 0 120px; }
.final-card { position: relative; overflow: hidden; padding: 96px 32px; border-radius: 40px; background: linear-gradient(135deg, #0058c7, #0071e3 40%, #1e9fc0); color: #fff; text-align: center; isolation: isolate; }
.final-glow { position: absolute; inset: -40% -20% auto; z-index: -1; height: 120%; background: radial-gradient(closest-side, rgba(255, 255, 255, .28), transparent); animation: drift 14s ease-in-out infinite alternate; }
.final-card .logo-mark circle { stroke: #fff; }
.final-card .logo-mark { margin: 0 auto 28px; }
.final-card h2 { font-size: clamp(34px, 5.6vw, 64px); }
.final-card > p:not(.fine) { max-width: 520px; margin: 20px auto 36px; font-size: 20px; opacity: .9; }
.final-card .fine { color: rgba(255, 255, 255, .78); }

/* Rodapé */
.foot { padding: 64px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.foot-inner { display: flex; justify-content: space-between; gap: 48px; }
.foot-brand p { margin-top: 14px; line-height: 1.6; }
.foot-brand .brand { color: var(--ink); }
.foot-links { display: grid; grid-template-columns: repeat(3, minmax(130px, auto)); gap: 40px; }
.foot-links h5 { margin-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--ink); }
.foot-links a { display: block; margin-bottom: 10px; transition: color .2s; }
.foot-links a:hover { color: var(--ink); }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* Tablet */
@media (max-width: 980px) {
    .nav-links { display: none; }
    .nav-actions { margin-left: auto; }
    .split, .feature, .feature-phone, .faq-inner { grid-template-columns: 1fr; gap: 40px; }
    .feature-rev .feature-copy { order: 0; }
    .feature { margin-bottom: 110px; }
    .split-photo img { aspect-ratio: 4 / 3; }
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .plan { grid-template-columns: 1fr; }
    .float-a { left: 8px; top: auto; bottom: 18%; }
    .float-b { right: 8px; top: -18px; }
    .float-c { display: none; }
}

/* Celular */
@media (max-width: 640px) {
    body { font-size: 16px; }
    .wrap { padding: 0 16px; }
    .nav-inner { padding: 0 16px; }
    .nav-login { display: none; }
    .hero { padding: 116px 0 24px; }
    .hero-cta .btn { width: 100%; }
    .hero-stage { margin-top: 48px; }
    .browser-bar { height: 26px; padding: 0 10px; gap: 5px; }
    .browser-bar i { width: 8px; height: 8px; }
    .browser-bar span { display: none; }
    .float { padding: 8px 12px 8px 8px; gap: 8px; border-radius: 14px; }
    .float-icon { width: 30px; height: 30px; border-radius: 10px; }
    .float-icon .icon { width: 16px; height: 16px; }
    .float strong { font-size: 12px; }
    .float small { display: none; }
    .float-a { bottom: -22px; }
    .trust { padding-top: 64px; }
    .trust-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .manifesto { padding: 80px 0 100px; }
    .split { padding-bottom: 100px; }
    .mini-stats li { grid-template-columns: 1fr; gap: 4px; }
    .features, .security, .pricing { padding: 100px 0; }
    .feature { margin-bottom: 90px; }
    .section-head { margin-bottom: 40px; }
    .bento, .sec-grid { grid-template-columns: 1fr; }
    .tile-wide { grid-column: auto; }
    .tile-icon { margin-bottom: 24px; }
    .office { padding: 100px 16px 0; }
    .office-photo { border-radius: 24px; }
    .office-photo img { aspect-ratio: 4 / 5; }
    .office-photo figcaption { padding: 80px 24px 28px; }
    .plan-main, .plan-list { padding: 32px 24px; }
    .plan-price strong { font-size: 88px; }
    .faq { padding-bottom: 100px; }
    .faq summary { font-size: 17px; }
    .final { padding-bottom: 80px; }
    .final-card { padding: 72px 22px; border-radius: 28px; }
    .foot-inner { flex-direction: column; }
    .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    .hero-shot { transform: none; }
    .manifesto-text .w { opacity: 1; }
}
