/* =========================================================
   Webora — projetos, planos e contratação
   Paleta: azul royal, branco e preto
   ========================================================= */
:root {
  --blue: #0052FF;
  --blue-500: #1F66FF;
  --blue-700: #003CC7;
  --blue-300: #6E9BFF;
  --blue-100: #DCE7FF;
  --black: #06070B;
  --ink: #0B0D13;
  --wa: #1fa855;
  --paper: #fbfbfd;
  --head: 'Sora', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --r: 20px;
}

/* ---------- temas: cada seção escolhe o seu ---------- */
body, .t-black {
  --bg: var(--black); --surface: #0D0F16; --surface-2: #141722; --line: #1D2130; --line-2: #2C3247;
  --text: #F4F6FB; --soft: #D3D8E4; --muted: #98A1B5; --accent: var(--blue-300); --tint: rgba(0, 82, 255, .18);
  --shadow: 0 30px 60px -30px #000;
}
.t-white, .t-soft {
  --bg: #fff; --surface: #fff; --surface-2: #F4F6FB; --line: #E3E7F0; --line-2: #C9D1E1;
  --text: #0B0D13; --soft: #2A3142; --muted: #586176; --accent: var(--blue); --tint: rgba(0, 82, 255, .08);
  --shadow: 0 30px 60px -34px rgba(11, 20, 50, .35);
}
.t-soft { --bg: #F4F6FB; --surface-2: #E9EDF5; }
.t-blue {
  --bg: var(--blue); --surface: rgba(255, 255, 255, .1); --surface-2: rgba(255, 255, 255, .16); --line: rgba(255, 255, 255, .22); --line-2: rgba(255, 255, 255, .4);
  --text: #fff; --soft: rgba(255, 255, 255, .95); --muted: rgba(255, 255, 255, .88); --accent: #fff; --tint: rgba(255, 255, 255, .16);
  --shadow: 0 30px 60px -30px rgba(0, 16, 70, .7);
}
.t-black, .t-white, .t-soft, .t-blue { background: var(--bg); color: var(--text); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.header :focus-visible { outline-color: #fff; }
::selection { background: var(--blue); color: #fff; }
.t-blue ::selection { background: #fff; color: var(--blue); }
.i { width: 1em; height: 1em; flex: none; }
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.skip { position: fixed; left: 16px; top: -80px; z-index: 300; background: #fff; color: var(--blue); padding: 12px 18px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 16px; }
.hl { color: var(--accent); }

/* ---------- type ---------- */
.title { font-family: var(--head); font-weight: 700; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.sec-head { margin-bottom: clamp(40px, 6vw, 64px); }
.sec-head--center { text-align: center; display: grid; justify-items: center; }
.sec-head--center .title { max-width: 20ch; }
.sec-head--split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 5vw, 80px); align-items: end; }
.sec-head--split .sec-head__lead { margin-top: 0; padding-bottom: 6px; }
.sec-head__lead { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 560px; }
.sec-head__lead a, .plans__note a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-size: 13.5px; font-weight: 500; color: var(--soft); }
.chip__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chip__dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent); animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.1); opacity: 0; } }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .4s; }
.btn .i { font-size: 18px; transition: transform .4s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 14px 30px -14px rgba(0, 82, 255, .9); }
.btn--primary:hover { background: var(--blue-500); }
.t-white .btn--primary:hover, .t-soft .btn--primary:hover { background: var(--blue-700); }
.t-blue .btn--primary, .btn--white { background: #fff; color: var(--blue); box-shadow: 0 14px 30px -16px rgba(0, 16, 70, .7); }
.t-blue .btn--primary:hover, .btn--white:hover { background: var(--blue-100); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--blue); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.t-blue .btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #17924a; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 16px; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: background .4s, box-shadow .4s; }
.header.is-scrolled, .header.is-open { background: rgba(6, 7, 11, .86); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.header__bar { position: relative; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .24), 0 10px 20px -10px rgba(0, 16, 70, .8); transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__word { width: 108px; height: auto; }
.nav { display: flex; gap: 30px; font-size: 14.5px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; opacity: .9; transition: opacity .3s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transition: transform .45s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }
.header .btn--primary { background: #fff; color: var(--blue); box-shadow: none; }
.header .btn--primary:hover { background: var(--blue-100); }
.header.is-scrolled .btn--primary { background: var(--blue); color: #fff; }
.header.is-scrolled .btn--primary:hover { background: var(--blue-500); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .34); place-items: center; font-size: 20px; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- mockups ---------- */
.browser { overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 80px -30px rgba(0, 12, 60, .75); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #EEF1F6; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #C3CAD8; }
.browser__url { flex: 0 1 240px; min-width: 0; margin-left: 10px; height: 20px; padding: 0 10px; border-radius: 6px; background: #fff; color: #586176; font-size: 11px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.phone { padding: 5px; border-radius: 26px; background: var(--ink); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 30px 60px -20px rgba(0, 10, 50, .8); }
.phone img { width: 100%; height: auto; aspect-ratio: 9 / 18; object-fit: cover; object-position: top; border-radius: 21px; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(116px, 13vw, 164px); background: radial-gradient(110% 80% at 88% 0%, var(--blue-500) 0%, var(--blue) 46%, #0046E0 100%); }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 75% 75% at 70% 35%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 75% 75% at 70% 35%, #000 10%, transparent 75%); }
.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(32px, 4.4vw, 64px); }
.hero .chip { margin-bottom: 26px; }
.hero__title { font-family: var(--head); font-weight: 800; font-size: clamp(38px, 4.8vw, 66px); line-height: 1.04; letter-spacing: -.045em; margin-bottom: 26px; }
.hero__title .line { display: block; overflow: hidden; padding: .06em .08em .1em; margin: -.06em -.08em -.1em; }
.hero__title .line > span { display: inline-block; }
.hero__title mark { display: inline-block; margin-top: .1em; padding: .04em .2em .1em; border-radius: .16em; background: #fff; color: var(--blue); }
.hero__lead { max-width: 520px; color: var(--muted); font-size: clamp(16px, 1.4vw, 18.5px); margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.js .hero .chip, .js .hero__lead, .js .hero__cta, .js .hero__stats { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js .hero__title .line > span { transform: translateY(112%); transition: transform 1.1s var(--ease); }
.js .hero__visual { opacity: 0; transform: translateY(30px); transition: opacity 1.2s var(--ease) .3s, transform 1.4s var(--ease) .3s; }
.is-ready .hero .chip, .is-ready .hero__lead, .is-ready .hero__cta, .is-ready .hero__stats, .is-ready .hero__visual { opacity: 1; transform: none; }
.is-ready .hero__title .line > span { transform: none; }
.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.is-ready .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.is-ready .hero__lead { transition-delay: .35s; }
.is-ready .hero__cta { transition-delay: .45s; }
.is-ready .hero__stats { transition-delay: .6s; }

.hero__visual { position: relative; aspect-ratio: 1 / .86; }
.hero__visual .browser { position: absolute; }
.browser--back { width: 80%; right: 0; top: 0; transform: rotate(3deg); }
.browser--front { width: 90%; left: 0; top: 21%; transform: rotate(-2deg); }
.hero__visual .phone { position: absolute; width: 24%; right: 3%; bottom: 0; transform: rotate(4deg); }
.float { position: absolute; left: -3%; bottom: 5%; display: flex; align-items: center; gap: 12px; padding: 11px 18px 11px 11px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px -20px rgba(0, 12, 60, .8); animation: bob 7s ease-in-out infinite; }
.float b { display: block; font-size: 14px; line-height: 1.3; }
.float small { color: #586176; font-size: 12.5px; }
.float__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 20px; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 84px); border-top: 1px solid var(--line); }
.hero__stats li { padding: 24px 24px 30px; border-left: 1px solid var(--line); }
.hero__stats li:first-child { border-left: 0; padding-left: 0; }
.hero__stats b { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(20px, 2.1vw, 28px); letter-spacing: -.03em; line-height: 1.2; }
.hero__stats li > span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.45; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: #fff; color: var(--ink); padding-block: 18px; }
.marquee__track { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; animation: marquee 30s linear infinite; }
.marquee span { font-family: var(--head); font-weight: 800; font-size: clamp(18px, 2.3vw, 26px); letter-spacing: -.02em; }
.marquee i { width: 9px; height: 9px; border-radius: 2px; background: var(--blue); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- projetos ---------- */
.work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.case { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); transition: border-color .4s, transform .6s var(--ease), opacity .9s var(--ease) var(--d, 0s); }
.case:hover { border-color: var(--line-2); }
.case__media { position: relative; display: flex; align-items: flex-end; overflow: hidden; padding: 28px 28px 0; background: radial-gradient(90% 120% at 50% 0%, rgba(0, 82, 255, .34), transparent 70%), var(--surface-2); }
.case__media .browser { width: 100%; border-radius: 12px 12px 0 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -20px #000; transition: transform .9s var(--ease); transform-origin: 50% 100%; }
.case:hover .case__media .browser { transform: scale(1.025); }
.case__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 26px 28px 28px; }
.case__tag { color: var(--accent); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.case__name { font-family: var(--head); font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -.03em; }
.case__seg { color: var(--muted); font-size: 14px; margin-top: -6px; }
.case__desc { color: var(--soft); font-size: 15.5px; }
.case__feats { display: flex; flex-wrap: wrap; gap: 8px; }
.case__feats li { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--soft); font-size: 13px; }
.case__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.case__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.case__link .i { font-size: 18px; color: var(--accent); transition: transform .4s var(--ease); }
.case__link:hover { color: var(--accent); }
.case__link:hover .i { transform: translate(2px, -2px); }
.case__plan { color: var(--muted); font-size: 14px; }
.case__plan b { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.case__plan:hover b { color: var(--accent); text-decoration-color: currentColor; }

.case--feature { grid-column: 1 / -1; flex-direction: row; }
.case--feature .case__media { flex: 1.3; padding: 44px 0 0 44px; background: linear-gradient(140deg, var(--blue-500), var(--blue) 45%, var(--blue-700)); }
.case--feature .case__media .browser { border-radius: 14px 0 0 0; transform-origin: 0 100%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 60px -20px rgba(0, 12, 60, .8); }
.case--feature .phone { position: absolute; width: 21%; right: 7%; bottom: -9%; transition: transform .9s var(--ease); }
.case--feature:hover .phone { transform: translateY(-10px); }
.case--feature .case__body { flex: 1; justify-content: center; gap: 14px; padding: clamp(28px, 3.4vw, 48px); }
.case--feature .case__name { font-size: clamp(28px, 3.2vw, 42px); }
.case--feature .case__foot { margin-top: 10px; }

.work__cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px; margin-top: 24px; padding: 26px 28px; border-radius: 24px; border: 1px dashed var(--line-2); }
.work__cta p { color: var(--muted); font-size: 16.5px; max-width: 620px; }
.work__cta b { color: var(--text); }
.noscript { text-align: center; color: var(--muted); }

/* ---------- planos ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: transform .6s var(--ease), border-color .4s, box-shadow .6s, opacity .9s var(--ease) var(--d, 0s); }
.plan:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.plan--top {
  --text: #fff; --soft: rgba(255, 255, 255, .96); --muted: rgba(255, 255, 255, .88); --line: rgba(255, 255, 255, .24); --line-2: rgba(255, 255, 255, .4); --accent: #fff; --tint: rgba(255, 255, 255, .18);
  background: linear-gradient(160deg, var(--blue-500), var(--blue) 40%, #0046E0); border-color: transparent; box-shadow: 0 40px 80px -36px rgba(0, 82, 255, .75);
}
.plan--top:hover { border-color: transparent; box-shadow: 0 44px 90px -34px rgba(0, 82, 255, .85); }
.plan__badge { align-self: flex-start; padding: 6px 13px; border-radius: 999px; background: var(--tint); color: var(--accent); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; margin-bottom: 20px; }
.plan--top .plan__badge { background: #fff; color: var(--blue); }
.plan__name { font-family: var(--head); font-size: 27px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.plan__tagline { color: var(--muted); font-size: 15px; margin-top: 8px; min-height: 72px; }
.plan__price { display: flex; align-items: flex-start; gap: 6px; margin: 18px 0 4px; font-family: var(--head); }
.plan__price small { font-size: 17px; font-weight: 600; margin-top: 8px; color: var(--muted); }
.plan__price b { font-size: clamp(46px, 4.6vw, 60px); font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.plan__price sup { font-size: 22px; font-weight: 700; margin-top: 6px; }
.plan__terms { color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.plan .btn { width: 100%; }
.plan__list { display: grid; align-content: start; gap: 11px; flex: 1; margin: 26px 0; padding-top: 24px; border-top: 1px solid var(--line); }
.plan__list li { display: flex; gap: 11px; font-size: 15px; color: var(--soft); }
.plan__list li.is-head { font-weight: 700; color: var(--text); }
.plan__list .i { margin-top: 2px; width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--tint); color: var(--accent); }
.plan__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.plan__meta dt { color: var(--muted); font-size: 12px; }
.plan__meta dd { font-weight: 700; font-size: 14.5px; line-height: 1.35; }
.plan__ideal { margin-top: 16px; color: var(--muted); font-size: 13.5px; }
.plan__ideal b { color: var(--text); font-weight: 600; }
.plans__note { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 44px; }
.plans__note--sub { margin-top: 8px; }

/* ---------- comparar ---------- */
.compare { max-width: 1040px; margin-inline: auto; overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.compare table { width: 100%; border-collapse: collapse; min-width: 700px; }
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare thead th { font-family: var(--head); font-size: 17px; font-weight: 700; vertical-align: bottom; padding-top: 22px; }
.compare thead th small { display: block; font-family: var(--body); font-size: 13px; color: var(--muted); font-weight: 500; }
.compare .is-top { background: var(--tint); }
.compare thead th.is-top { color: var(--accent); box-shadow: inset 0 3px 0 var(--blue); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody th { color: var(--soft); font-weight: 500; }
.compare td { font-weight: 600; }
.compare .yes, .compare .no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.compare .yes { background: var(--blue); color: #fff; }
.compare .no { background: var(--surface-2); color: #8A93A8; }
.compare .yes .i, .compare .no .i { font-size: 15px; }
.compare__note { max-width: 1040px; margin: 18px auto 0; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 28px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .4s, transform .6s var(--ease), opacity .9s var(--ease) var(--d, 0s); }
.step:hover { border-color: var(--accent); }
.step__n { display: inline-block; font-family: var(--head); font-weight: 800; font-size: 40px; line-height: 1.1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--accent); margin-bottom: 18px; }
.step h3 { font-family: var(--head); font-size: 20px; margin-bottom: 8px; letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- vantagens ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.perk { padding: 28px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .4s, box-shadow .6s, transform .6s var(--ease), opacity .9s var(--ease) var(--d, 0s); }
.perk:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.perk__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 24px; margin-bottom: 20px; }
.perk h3 { font-family: var(--head); font-size: 19px; letter-spacing: -.02em; margin-bottom: 8px; }
.perk p { color: var(--muted); font-size: 15px; }

/* ---------- wizard ---------- */
.contract { background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(0, 82, 255, .22), transparent 70%), var(--bg); }
.wizard { max-width: 960px; margin-inline: auto; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 4vw, 44px); box-shadow: 0 40px 100px -50px #000; }
.wizard__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 34px; }
.wizard__steps li { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 2px solid var(--line-2); color: var(--muted); font-size: 14px; transition: color .4s, border-color .4s; }
.wizard__steps span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1.5px solid var(--line-2); font-weight: 700; font-size: 13px; transition: background .4s, color .4s, border-color .4s; }
.wizard__steps li.is-active, .wizard__steps li.is-done { color: var(--text); border-color: var(--blue); }
.wizard__steps li.is-active span { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 5px var(--tint); }
.wizard__steps li.is-done span { background: var(--tint); border-color: var(--accent); color: var(--accent); }

.panel { display: none; }
.panel.is-active { display: block; animation: panel-in .6s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(18px); } }
.panel__title { font-family: var(--head); font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.025em; margin-bottom: 20px; }
.panel__title--sm { font-size: 19px; margin: 30px 0 14px; }
.panel__actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.panel__actions .btn--primary { margin-left: auto; }
.panel__total { color: var(--muted); }
.panel__total b { color: var(--text); font-family: var(--head); font-size: 22px; margin-left: 6px; }
.panel__privacy { margin-top: 18px; color: var(--muted); font-size: 13.5px; }

.pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pick__opt { position: relative; display: block; cursor: pointer; }
.pick__opt input { position: absolute; opacity: 0; pointer-events: none; }
.pick__card { display: grid; align-content: start; gap: 4px; height: 100%; padding: 22px; border-radius: 20px; border: 1.5px solid var(--line-2); background: var(--surface-2); transition: border-color .3s, background .3s, box-shadow .4s, transform .4s var(--ease); }
.pick__card b { font-family: var(--head); font-size: 19px; padding-right: 30px; }
.pick__card em { font-style: normal; font-family: var(--head); font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--accent); }
.pick__card small { color: var(--muted); font-size: 13.5px; }
.pick__card::after { content: ''; position: absolute; right: 20px; top: 20px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); transition: all .3s; }
.pick__opt input:checked + .pick__card { border-color: var(--blue); background: rgba(0, 82, 255, .12); box-shadow: 0 0 0 4px var(--tint); }
.pick__opt input:checked + .pick__card::after { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 4px var(--surface-2); }
.pick__opt input:focus-visible + .pick__card { outline: 2px solid var(--accent); outline-offset: 3px; }
.pick__opt:hover .pick__card { transform: translateY(-2px); }
.pay { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pay__opt { position: relative; cursor: pointer; }
.pay__opt input { position: absolute; opacity: 0; }
.pay__opt span { display: grid; gap: 2px; height: 100%; padding: 16px 18px 16px 50px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--surface-2); transition: border-color .3s, background .3s; }
.pay__opt span::before { content: ''; position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); transition: all .3s; }
.pay__opt b { font-size: 15px; }
.pay__opt small { color: var(--muted); font-size: 13px; }
.pay__opt input:checked + span { border-color: var(--blue); background: rgba(0, 82, 255, .12); }
.pay__opt input:checked + span::before { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 3px var(--surface-2); }
.pay__opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.grid-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--soft); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--bg); font-size: 16px; transition: border-color .3s, box-shadow .3s; }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #6B7489; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--tint); }
.field.is-invalid input { border-color: #ff5a5a; }
.field__err { color: #ff8585; font-size: 13px; min-height: 0; }
.field__err:empty { display: none; }

.paper { max-height: 440px; overflow-y: auto; padding: clamp(22px, 4vw, 40px); border-radius: 18px; background: var(--paper); color: var(--ink); font-family: 'Georgia', 'Times New Roman', serif; font-size: 14.5px; line-height: 1.62; box-shadow: inset 0 -30px 30px -30px rgba(0, 0, 0, .25); }
.paper h3 { font-family: var(--head); font-size: 17px; text-align: center; letter-spacing: -.01em; margin-bottom: 6px; }
.paper__meta { text-align: center; color: #586176; font-size: 12.5px; font-family: var(--body); margin-bottom: 22px !important; }
.paper h4 { font-family: var(--head); font-size: 14px; margin: 20px 0 8px; letter-spacing: .01em; }
.paper p { margin-bottom: 9px; }
.paper ul { margin: 4px 0 12px 20px; list-style: disc; }
.paper li { margin-bottom: 4px; }
.paper::-webkit-scrollbar { width: 10px; }
.paper::-webkit-scrollbar-thumb { background: #C9D1E1; border-radius: 10px; border: 3px solid var(--paper); }

.sign { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin-top: 22px; align-items: start; }
.sign__pad { position: relative; border-radius: 18px; background: var(--paper); color: var(--ink); padding: 14px 16px 12px; }
.sign__label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #586176; font-weight: 600; }
.sign__pad canvas { width: 100%; height: 150px; touch-action: none; cursor: crosshair; }
.sign__line { display: block; height: 1.5px; background: #B4BCCD; margin-top: -26px; margin-bottom: 8px; pointer-events: none; }
.sign__name { font-size: 13px; font-weight: 600; color: #2A3142; min-height: 20px; }
.sign__clear { position: absolute; right: 14px; top: 12px; font-size: 13px; font-weight: 600; color: #586176; padding: 4px 10px; border-radius: 8px; background: #E9EDF5; }
.sign__clear:hover { background: #DCE2EE; }
.sign__checks { display: grid; gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--surface-2); cursor: pointer; font-size: 14.5px; transition: border-color .3s; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 7px; border: 2px solid var(--line-2); background: var(--bg); display: grid; place-items: center; transition: all .25s; }
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check:has(input:checked) { border-color: var(--blue); }
.sign__err { color: #ff8585; font-size: 14px; min-height: 20px; }

.done { text-align: center; display: grid; justify-items: center; }
.done__badge { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 42px; margin-bottom: 18px; box-shadow: 0 0 0 10px var(--tint), 0 0 60px rgba(0, 82, 255, .6); animation: pop .8s var(--ease) both; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.done .panel__title { margin-bottom: 6px; }
.done__meta { color: var(--muted); }
.done__meta b, .done__code b { color: var(--text); }
.done__code { color: var(--muted); font-size: 13.5px; margin-top: 4px; word-break: break-all; }
.payment { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; margin-top: 30px; padding: 24px; border-radius: 22px; background: var(--surface-2); border: 1px solid var(--line-2); }
.payment__qr { width: 196px; height: 196px; padding: 10px; border-radius: 16px; background: #fff; }
.payment__qr img, .payment__qr svg { width: 100%; height: 100%; }
.payment__label { color: var(--accent); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.payment__value { font-family: var(--head); font-size: clamp(34px, 4vw, 44px); font-weight: 800; letter-spacing: -.04em; line-height: 1.15; }
.payment__sub { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.payment__sub:empty { display: none; }
.copy { display: flex; gap: 8px; margin-bottom: 12px; }
.copy input { flex: 1; min-width: 0; min-height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--muted); font-size: 13px; font-family: ui-monospace, monospace; }
.payment__key { color: var(--muted); font-size: 13.5px; }
.payment__key b { color: var(--text); }
.after { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.next { counter-reset: n; display: grid; gap: 8px; margin-top: 22px; padding: 18px 20px; border-radius: 16px; border: 1px dashed var(--line-2); color: var(--soft); font-size: 14.5px; }
.next li { counter-increment: n; display: flex; gap: 10px; }
.next li::before { content: counter(n); flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--accent); font-size: 12px; font-weight: 700; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); }
.faq .sec-head { margin-bottom: 0; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font-family: var(--head); font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; letter-spacing: -.01em; transition: color .3s; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--accent); }
.faq__list summary span { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s, color .3s; }
.faq__list details[open] summary span { transform: rotate(135deg); background: var(--blue); color: #fff; border-color: var(--blue); }
.faq__list details > div { padding-bottom: 24px; color: var(--muted); font-size: 15.5px; max-width: 640px; }

/* ---------- cta / footer ---------- */
.cta { position: relative; overflow: hidden; padding-block: clamp(80px, 10vw, 130px); background: radial-gradient(90% 120% at 50% 0%, var(--blue-500), var(--blue) 50%, #0046E0); }
.cta__inner { position: relative; display: grid; justify-items: center; text-align: center; gap: 26px; }
.cta__inner img { width: 104px; height: auto; }
.cta .title { max-width: 18ch; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.footer { border-top: 1px solid var(--line); padding-block: 40px calc(30px + env(safe-area-inset-bottom)); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14.5px; color: var(--soft); }
.footer nav a:hover { color: var(--accent); }
.footer__legal { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: grid; gap: 4px; }
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 90; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; font-size: 30px; box-shadow: 0 14px 34px -10px rgba(31, 168, 85, .8); transition: transform .4s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s var(--ease) infinite; }

/* ---------- impressão ---------- */
@media print {
  body { background: #fff; }
  body > *:not(main), main > *:not(#contratar), .contract .sec-head, .wizard__steps, .panel__actions, .sign, .after, .next, .payment, .done, .panel__privacy { display: none !important; }
  .contract { background: #fff; }
  .wizard { border: 0; box-shadow: none; padding: 0; background: #fff; }
  .panel[data-step="3"] { display: block !important; }
  .paper { max-height: none; overflow: visible; box-shadow: none; padding: 0; }
}

/* ---------- responsivo ---------- */
@media (min-width: 1001px) {
  .plan--top { margin-block: -14px; padding-block: 46px 42px; }
}
@media (max-width: 1000px) {
  .menu-btn { display: grid; }
  .nav { position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: grid; gap: 2px; padding: 10px; border-radius: 18px; background: rgba(9, 11, 17, .97); border: 1px solid #262B3C; box-shadow: 0 30px 60px -20px #000; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .4s var(--ease), visibility .3s; }
  .header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 13px 14px; border-radius: 12px; font-size: 16px; opacity: 1; }
  .nav a::after { display: none; }
  .nav a:hover { background: rgba(255, 255, 255, .07); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 620px; width: 100%; margin-inline: auto; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats li { padding: 20px 18px 22px; }
  .hero__stats li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero__stats li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .sec-head--split { grid-template-columns: 1fr; align-items: start; }
  .case--feature { flex-direction: column; }
  .case--feature .case__media { padding: 32px 0 0 32px; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plan__tagline { min-height: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .faq { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .header__bar { height: 66px; }
  .brand__mark { width: 34px; height: 34px; border-radius: 10px; }
  .brand__word { width: 94px; }
  .hero__title { font-size: clamp(36px, 11vw, 58px); }
  .hero__cta .btn, .cta__actions .btn { width: 100%; }
  .float { left: 0; bottom: 2%; padding: 9px 14px 9px 9px; border-radius: 14px; }
  .float__ico { width: 34px; height: 34px; font-size: 17px; border-radius: 10px; }
  .float b { font-size: 13px; }
  .float small { font-size: 11.5px; }
  .browser__bar { height: 26px; padding: 0 10px; }
  .browser__bar i { width: 7px; height: 7px; }
  .browser__url { height: 16px; line-height: 16px; font-size: 9.5px; }
  .phone { padding: 4px; border-radius: 18px; }
  .phone img { border-radius: 14px; }
  .work { grid-template-columns: 1fr; }
  .case__media { padding: 20px 20px 0; }
  .case--feature .case__media { padding: 24px 0 0 24px; }
  .case__body, .case--feature .case__body { padding: 22px 20px 24px; }
  .work__cta { padding: 22px 20px; }
  .work__cta .btn { width: 100%; }
  .plan { padding: 28px 22px 24px; }
  .steps, .perks { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 13px 14px; font-size: 14px; }
  .wizard { border-radius: 24px; }
  .wizard__steps { gap: 6px; }
  .wizard__steps li { flex-direction: column; gap: 6px; font-size: 11.5px; text-align: center; }
  .pick, .pay, .grid-fields, .sign, .after { grid-template-columns: 1fr; }
  .panel__actions .btn { flex: 1; }
  .paper { max-height: 380px; font-size: 14px; }
  .payment { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .payment__info { width: 100%; }
  .payment__label { justify-content: center; }
}
@media (max-width: 420px) {
  .header .btn--sm { padding: 0 14px; }
  .header .btn--sm .i { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
