/* MindMedic: landing page
   Tokens derivados dos SVGs oficiais da marca. */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --navy: #0A2A5C;
  --navy-deep: #061A3A;
  --slate: #3A4D70;
  --muted: #5B6E8F;
  --blue: #0A7CF7;
  --blue-strong: #0562EE;
  --blue-ink: #0556D6;
  --sky: #0B9DFF;
  --cyan: #1DD3FF;
  --red: #F2232E;
  --red-soft: #FF5C63;
  --glass-blue: #D6E4FD;
  --ice: #F4F8FF;
  --ice-2: #EAF2FE;
  --line: rgba(10, 42, 92, .1);
  --green: #1FAF5A;

  --shadow-sm: 0 1px 2px rgba(10, 42, 92, .06), 0 8px 24px -12px rgba(10, 60, 140, .18);
  --shadow-md: 0 2px 4px rgba(10, 42, 92, .05), 0 24px 56px -24px rgba(10, 60, 140, .28);
  --shadow-lg: 0 4px 8px rgba(10, 42, 92, .05), 0 48px 96px -40px rgba(8, 50, 130, .42);

  --display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 12px; --r-md: 18px; --r-lg: 28px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 148px);
}

*, *::before, *::after { box-sizing: border-box; }
/* Sem scroll-behavior global: ele conflita com a fixação de seções do ScrollTrigger.
   Com JS, a rolagem suave das âncoras é feita em main.js. */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; scrollbar-gutter: stable; }
html:not(.js) { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--slate); background: var(--ice); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); color: var(--navy); letter-spacing: -.03em; line-height: 1.08; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.3vw, 60px); }
h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.25; }

.sprite { position: absolute; }
.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 1.25em; height: 1.25em; flex: none; }
.i--lg { width: 30px; height: 30px; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

.eyebrow { font-family: var(--display); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); }
.eyebrow--light { color: #8CCBFF; }
.eyebrow--pill { display: inline-block; padding: 8px 18px; border-radius: 99px; background: rgba(255, 255, 255, .72); border: 1px solid #fff; box-shadow: var(--shadow-sm); font-family: var(--body); font-weight: 600; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--navy); }

.head { display: grid; gap: 16px; max-width: 760px; }
.head--center { margin-inline: auto; text-align: center; justify-items: center; max-width: 880px; }
.head__sub, .lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--slate); max-width: 62ch; }
.head__sub a { color: var(--blue-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.glass { background: rgba(255, 255, 255, .92); border: 1px solid #fff; box-shadow: var(--shadow-md); border-radius: var(--r-lg); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 20px; border-radius: 99px; font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap; transition: transform .25s cubic-bezier(.2, .9, .3, 1.2), box-shadow .25s, background .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { padding: 8px 18px; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn--primary { color: #fff; background: linear-gradient(180deg, #0A72E8, var(--blue-ink)); box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 14px 30px -12px rgba(5, 86, 214, .7); }
.btn--primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 20px 36px -12px rgba(5, 86, 214, .8); }
.btn--glass { color: var(--navy); background: rgba(255, 255, 255, .85); border: 1px solid #fff; box-shadow: var(--shadow-sm); }
.btn--white { color: var(--blue-ink); background: #fff; box-shadow: 0 20px 40px -18px rgba(2, 20, 60, .6); }

/* ---------- Intro ---------- */
#intro, #intro-bg { display: none; }
.intro-on #intro-bg { display: block; position: fixed; inset: 0; z-index: 80; background: var(--navy-deep); }
#intro-veil { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.intro-on #intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.intro-on { overflow: hidden; }
.intro-on body { overflow: hidden; background: var(--navy-deep); }
.intro-on.intro-lit body { background: var(--ice); }
.intro-on .nav__logo { visibility: hidden; }
#intro-logo { width: min(880px, 86vw); height: auto; overflow: visible; }
.i-pingo { fill: #FF3B45; }
.i-ltr--a { fill: #fff; }
.i-ltr--b { fill: #3FA4FF; }
.i-slogan { fill: #C9D6EE; }
.i-ring { opacity: 0; }
.intro__skip { position: fixed; right: 24px; bottom: 20px; color: rgba(255, 255, 255, .7); font-size: 14px; pointer-events: auto; padding: 8px 12px; }
.intro__skip:hover { color: #fff; }

#page { position: relative; z-index: 1; background: var(--ice); }

/* ---------- Navegação ---------- */
.nav { position: fixed; inset: 14px 0 auto; z-index: 60; padding-inline: var(--gutter); pointer-events: none; }
.nav__bar { pointer-events: auto; width: min(1200px, 100%); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 10px 8px 16px; border-radius: 99px; border: 1px solid transparent; transition: background .3s, box-shadow .3s, border-color .3s; }
.nav.is-stuck .nav__bar { background: rgba(255, 255, 255, .94); border-color: #fff; box-shadow: var(--shadow-sm); }
.nav__logo svg { height: 44px; width: 179px; margin-right: -12px; }
.nav__links { display: flex; gap: 26px; font-size: 15px; font-weight: 500; color: var(--navy); }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__login { font-weight: 600; font-size: 15px; color: var(--navy); padding: 8px 10px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .25s, top .25s; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span { top: 21px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, #F7FAFF 0%, #EEF4FF 100%); }
.hero__stage { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; }
.silk { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; will-change: transform; }
.hero__copy { position: absolute; left: 50%; top: clamp(96px, 13vh, 132px); transform: translateX(-50%); width: min(960px, calc(100% - 2 * var(--gutter))); text-align: center; z-index: 3; }
.hero__title { font-size: clamp(42px, min(6.6vw, 10.4vh), 96px); line-height: 1.02; letter-spacing: -.045em; margin-top: 18px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: block; }
.hero__title em { font-style: normal; background: linear-gradient(100deg, #0A7CF7 10%, #0B9DFF 55%, #1DBEFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin: 16px auto 0; max-width: 640px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; }
.hero__actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.pill { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 14px; border-radius: 99px; background: rgba(255, 255, 255, .94); border: 1px solid #fff; box-shadow: var(--shadow-md); color: var(--navy); font-weight: 600; font-size: 15px; white-space: nowrap; }
.pill .i { color: var(--blue); width: 24px; height: 24px; }
.pills { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.pill-wrap { position: absolute; }
.pill-wrap:nth-child(1) { left: 5.5%; top: 25%; }
.pill-wrap:nth-child(2) { left: 9%; top: 47%; }
.pill-wrap:nth-child(3) { right: 12%; top: 22%; }
.pill-wrap:nth-child(4) { right: 4.5%; top: 37%; }
.pill-wrap:nth-child(5) { right: 9%; top: 55%; }

.rig { position: absolute; left: 50%; top: 84px; width: min(1320px, calc(100vw - 64px)); margin-left: calc(min(1320px, calc(100vw - 64px)) / -2); height: min(760px, calc(100vh - 104px)); z-index: 4; transform-origin: 50% 0; will-change: transform; }
.rig::before { content: ""; position: absolute; inset: -60px 20px auto; height: 180px; background: radial-gradient(closest-side, rgba(29, 168, 255, .34), transparent); }
.rig__halo { position: absolute; inset: 24px; border-radius: 26px; box-shadow: 0 40px 120px 10px rgba(10, 110, 240, .55); opacity: 0; }
.product { position: relative; height: 100%; display: grid; grid-template-columns: 186px 268px minmax(0, 1fr) 262px; background: #fff; border: 1px solid #fff; border-radius: 26px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: 14px; line-height: 1.4; }

.p-side { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px 12px; background: linear-gradient(180deg, #F2F7FF, #E8F1FF); border-right: 1px solid var(--line); }
.p-side__mark { width: 44px; height: 44px; margin: 0 0 10px 6px; }
.slot { position: relative; height: 46px; border-radius: 99px; border: 1.5px dashed rgba(10, 92, 200, .26); }
.slot__fill { position: absolute; inset: -1.5px; display: flex; align-items: center; gap: 9px; padding-left: 12px; border-radius: 99px; background: #fff; box-shadow: var(--shadow-sm); color: var(--navy); font-weight: 600; opacity: 1; }
.slot__fill .i { color: var(--blue); width: 22px; height: 22px; }
.p-side__user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 8px 6px 2px; font-weight: 600; color: var(--navy); }
.p-side__user small { display: block; font-weight: 500; color: var(--green); font-size: 12px; }

.p-head { display: flex; align-items: center; justify-content: space-between; height: 58px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--navy); font-family: var(--display); font-size: 15px; flex: none; }
.count { font-family: var(--body); font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: var(--ice-2); color: var(--blue-ink); }
.p-status { display: inline-flex; align-items: center; gap: 7px; font-family: var(--body); font-weight: 600; font-size: 12.5px; color: var(--blue-ink); padding: 5px 12px; border-radius: 99px; background: #E6F1FF; }
.p-status i, .chat__top small i, .week__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(31, 175, 90, .18); }

.p-list { position: relative; border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.conv { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid rgba(10, 42, 92, .05); }
.conv.is-active { background: #EDF5FF; box-shadow: inset 3px 0 0 var(--blue); }
.conv__t { min-width: 0; flex: 1; }
.conv__t b { display: block; color: var(--navy); font-weight: 600; }
.conv__t small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { flex: none; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #EEF2F8; color: var(--slate); }
.tag--ia { background: #E1EFFF; color: var(--blue-ink); }
.tag--ig { background: #FFE8EA; color: #B8101C; }

.avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 12.5px; color: #fff; letter-spacing: -.02em; }
.avatar--sm { width: 26px; height: 26px; font-size: 10px; }
.avatar--lg { width: 60px; height: 60px; font-size: 19px; }
.avatar--blue { background: linear-gradient(140deg, #1DBEFF, #0562EE); }
.avatar--red { background: linear-gradient(140deg, #FF5C63, #DC0018); }
.avatar--navy { background: linear-gradient(140deg, #274C8C, #0A2A5C); }
.avatar--sky { background: linear-gradient(140deg, #7FD4FF, #0B9DFF); }

.p-chat { position: relative; display: flex; flex-direction: column; min-height: 0; background: linear-gradient(180deg, #fff, #F7FAFF); }
.p-stages { display: flex; gap: 5px; padding: 12px 16px 0; flex: none; }
.p-stages span { flex: 1; text-align: center; font-size: 11.5px; font-weight: 600; padding: 5px 2px; border-radius: 8px; background: #EEF2F8; color: var(--muted); white-space: nowrap; }
.p-stages .done { background: #D9EAFF; color: var(--blue-ink); }
.p-stages .now { background: var(--blue-ink); color: #fff; }
.p-msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px 16px; min-height: 0; overflow: hidden; }
.msg { max-width: 82%; padding: 9px 13px; border-radius: 16px; font-size: 14px; line-height: 1.4; }
.msg--in { align-self: flex-start; background: #EEF2F8; color: var(--navy); border-bottom-left-radius: 5px; }
.msg--out { align-self: flex-end; background: linear-gradient(180deg, #0A72E8, var(--blue-ink)); color: #fff; border-bottom-right-radius: 5px; }
.p-input { flex: none; display: flex; align-items: center; justify-content: space-between; margin: 0 16px 14px; height: 42px; padding: 0 8px 0 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.p-input i { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-ink); }

.p-right { position: relative; border-left: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 14px; min-height: 0; overflow: hidden; }
.p-patient { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 16px 10px; border-radius: 18px; background: linear-gradient(180deg, #F2F7FF, #fff); border: 1px solid var(--line); }
.p-patient b { color: var(--navy); font-family: var(--display); font-size: 15.5px; margin-top: 4px; }
.p-patient small { color: var(--muted); font-size: 12.5px; }
.p-tags { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-top: 6px; }
.p-tags span { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: #E6F1FF; color: var(--blue-ink); }
.p-agenda { display: grid; gap: 6px; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.p-agenda strong { color: var(--navy); font-family: var(--display); font-size: 14px; }
.ag-row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; background: #F4F7FC; font-size: 13px; color: var(--navy); }
.ag-row time { color: var(--muted); font-variant-numeric: tabular-nums; }
.ag-row.is-new { background: linear-gradient(180deg, #0A72E8, var(--blue-ink)); color: #fff; font-weight: 600; }
.ag-row.is-new time { color: #CFE5FF; }

.p-ghost { display: none; }
.js .p-ghost { display: grid; position: absolute; gap: 12px; pointer-events: none; opacity: 0; }
.p-ghost i { display: block; height: 46px; border-radius: 12px; background: linear-gradient(90deg, #EFF3FA, #F7F9FD); }
.p-list .p-ghost { inset: 72px 14px auto; }
.p-ghost--chat { inset: 120px 18px auto; }
.p-ghost--chat i:nth-child(1) { width: 62%; }
.p-ghost--chat i:nth-child(2) { width: 72%; justify-self: end; }
.p-ghost--chat i:nth-child(3) { width: 48%; }
.p-ghost--card { inset: 16px 16px auto; }
.p-ghost--card i:first-child { height: 96px; }
.p-ghost--agenda { inset: 208px 16px auto; }
.p-ghost--agenda i { height: 36px; }
.docked .p-ghost { opacity: 1; }

.toasts { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 7; display: none; pointer-events: none; }
.toast { grid-area: 1 / 1; justify-self: center; padding: 10px 20px; border-radius: 99px; background: var(--navy); color: #fff; font-weight: 600; font-size: 15px; box-shadow: var(--shadow-md); opacity: 0; white-space: nowrap; }
.toast--final { font-family: var(--display); font-weight: 800; font-size: 20px; padding: 13px 28px; background: linear-gradient(100deg, var(--blue-strong), var(--sky)); }

/* ---------- Números ---------- */
.proof { padding-block: clamp(48px, 6vw, 80px); background: #fff; border-block: 1px solid var(--line); }
.proof__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.proof__lead { font-family: var(--display); font-weight: 700; color: var(--navy); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.proof__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.proof__stats dd { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 3.9vw, 54px); line-height: 1; letter-spacing: -.04em; color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.proof__stats dt { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ---------- Dor ---------- */
.pain { background: #fff; overflow: hidden; }
.pain__stage { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; padding-block: 88px; }
.pain__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pain__text { display: grid; gap: 24px; }
.pain__lines { font-family: var(--display); font-weight: 700; font-size: clamp(25px, 3vw, 42px); line-height: 1.24; letter-spacing: -.025em; color: var(--navy); }
.pain__lines .w { transition: color .1s; }
.pain__punch { font-family: var(--display); font-weight: 800; font-size: clamp(27px, 3.3vw, 46px); line-height: 1.15; letter-spacing: -.03em; color: var(--blue-ink); }
.pain__mark { position: relative; aspect-ratio: 1; width: min(100%, 520px); justify-self: center; }
#painMark { width: 100%; height: 100%; overflow: visible; }
.pain__tag { position: absolute; padding: 8px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--navy); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.pain__tag::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--red); vertical-align: 1px; }
.t1 { left: -6%; top: 10%; } .t2 { right: -8%; top: 30%; } .t3 { left: -12%; top: 66%; } .t4 { right: -2%; top: 84%; }

/* ---------- Demo ---------- */
.demo { padding-block: var(--section); background: linear-gradient(180deg, #fff, var(--ice) 22%); }
.demo__tabs { margin: 36px auto 24px; width: fit-content; max-width: 100%; display: flex; gap: 4px; padding: 5px; border-radius: 99px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow-x: auto; scrollbar-width: none; }
.demo__tabs::-webkit-scrollbar { display: none; }
.demo__tabs button { flex: none; min-height: 44px; padding: 8px 20px; border-radius: 99px; font-weight: 600; font-size: 15px; color: var(--slate); transition: background .25s, color .25s; }
.demo__tabs button:hover { color: var(--navy); background: var(--ice); }
.demo__tabs button[aria-selected="true"] { background: var(--blue-ink); color: #fff; }
.demo__tabs .is-alert[aria-selected="true"] { background: #C8101C; }
.demo__panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; }
.chat, .back { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-md); border: 1px solid #fff; overflow: hidden; }
.chat { display: flex; flex-direction: column; height: 560px; }
.chat__top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex: none; }
.chat__mark { width: 42px; height: 42px; }
.chat__top b { display: block; color: var(--navy); line-height: 1.2; }
.chat__top small { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.chat__channel { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--blue-ink); padding: 6px 12px; border-radius: 99px; background: #E6F1FF; }
.chat__log { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 18px; overflow: hidden; background: linear-gradient(180deg, #F7FAFF, #fff); -webkit-mask-image: linear-gradient(180deg, transparent, #000 34px); mask-image: linear-gradient(180deg, transparent, #000 34px); }
.chat__log .msg { font-size: 15.5px; padding: 11px 15px; flex: none; }
.chat__log .msg--team { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 5px; }
.msg__who { display: block; font-size: 12px; font-weight: 700; opacity: .75; margin-bottom: 2px; }
.typing { display: inline-flex; gap: 6px; align-self: flex-end; padding: 13px 15px; background: #E6F1FF; border-radius: 16px; border-bottom-right-radius: 5px; flex: none; }
.typing--in { align-self: flex-start; background: #EEF2F8; border-radius: 16px; border-bottom-left-radius: 5px; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: typing 1s infinite; }
.typing--in i { background: var(--muted); }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat__foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px; border-top: 1px solid var(--line); min-height: 52px; }
.chat__foot small { color: var(--muted); font-size: 13px; }
.chat__replay { font-weight: 600; font-size: 14px; color: var(--blue-ink); padding: 8px 2px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.chat__replay.is-on { opacity: 1; pointer-events: auto; }

.back { display: flex; flex-direction: column; height: 560px; background: linear-gradient(170deg, #0C3270, var(--navy-deep)); color: #fff; }
.back__top { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; flex: none; }
.back__top strong { font-family: var(--display); font-size: 17px; }
.back__top span { font-size: 13px; color: #A9C6F2; font-variant-numeric: tabular-nums; }
.back__list { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 0 18px 18px; overflow: hidden; }
.ev { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); flex: none; }
.ev__i { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(120, 190, 255, .18); color: #9AD3FF; }
.ev__i .i { width: 20px; height: 20px; }
.ev b { display: block; font-weight: 600; font-size: 15px; line-height: 1.25; }
.ev small { display: block; font-size: 13px; color: #B5CCEE; line-height: 1.3; }
.ev--alert { background: rgba(242, 35, 46, .2); border-color: rgba(255, 92, 99, .5); }
.ev--alert .ev__i { background: rgba(255, 92, 99, .25); color: #FF9CA1; }
.back__result { flex: none; margin: 0 18px 18px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(120deg, #0A72E8, var(--blue-ink)); opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s cubic-bezier(.2, .9, .3, 1.3); }
.back__result.is-on { opacity: 1; transform: none; }
.back__result small { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: #CFE5FF; }
.back__result b { display: block; font-family: var(--display); font-size: 16.5px; line-height: 1.3; letter-spacing: -.01em; }
.back__result.is-alert { background: linear-gradient(120deg, #D0141F, #A30D17); }
.back__result.is-alert small { color: #FFD3D6; }

/* ---------- Recursos ---------- */
.features { background: var(--ice); padding-bottom: var(--section); }
.feature { padding-block: clamp(56px, 7vw, 104px); }
.feature__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature--flip .feature__copy { order: 2; }
.feature__copy { display: grid; gap: 18px; }
.feature__copy h2 { font-size: clamp(30px, 3.5vw, 48px); }
.ticks { display: grid; gap: 10px; margin-top: 4px; }
.ticks li { position: relative; padding-left: 30px; color: var(--navy); font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .52em; width: 14px; height: 14px; background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'%3E%3Cpath d='M37 0h22a6 6 0 0 1 6 6v25h25a6 6 0 0 1 6 6v22a6 6 0 0 1-6 6H65v25a6 6 0 0 1-6 6H37a6 6 0 0 1-6-6V65H6a6 6 0 0 1-6-6V37a6 6 0 0 1 6-6h25V6a6 6 0 0 1 6-6Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'%3E%3Cpath d='M37 0h22a6 6 0 0 1 6 6v25h25a6 6 0 0 1 6 6v22a6 6 0 0 1-6 6H65v25a6 6 0 0 1-6 6H37a6 6 0 0 1-6-6V65H6a6 6 0 0 1-6-6V37a6 6 0 0 1 6-6h25V6a6 6 0 0 1 6-6Z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Instagram */
.ig { position: relative; min-height: 540px; }
.ig__post { width: min(380px, 80%); overflow: hidden; }
.ig__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: var(--navy); font-size: 14.5px; }
.ig__img { aspect-ratio: 4 / 3; display: flex; align-items: flex-end; padding: 18px; background: radial-gradient(circle at 20% 15%, #7FE3FF, transparent 55%), radial-gradient(circle at 85% 90%, #FF8C91, transparent 50%), linear-gradient(140deg, #2E9BFF, #0562EE); color: #fff; font-family: var(--display); font-weight: 800; font-size: 25px; line-height: 1.12; letter-spacing: -.02em; }
.ig__comments { display: grid; gap: 8px; padding: 12px 14px 16px; font-size: 14.5px; line-height: 1.35; color: var(--navy); }
.ig__c b { font-weight: 700; }
.ig__c--ai { padding: 8px 11px; border-radius: 12px; background: #E9F3FF; }
.ig__dm { position: absolute; right: 0; top: 110px; width: min(320px, 66%); padding: 14px; display: grid; gap: 8px; }
.ig__dm .msg { max-width: 92%; }
.ig__dmtitle { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: var(--navy); }
.ig__dmtitle .i { color: var(--red); }
.ig__lead { position: absolute; right: 22px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 20px; color: var(--navy); font-size: 14.5px; }
.ig__lead small { display: block; color: var(--muted); font-size: 13px; }
.ig__spark { width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(242, 35, 46, .16); }

/* Semana */
.week { padding: 20px; }
.week__head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 14px; color: var(--navy); font-family: var(--display); }
.week__live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--green); }
.week__grid { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: 28px repeat(5, 76px); gap: 6px; }
.week__day { text-align: center; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.week__cells { grid-column: 1 / -1; grid-row: 2 / -1; border-radius: 12px; background: repeating-linear-gradient(180deg, rgba(10, 42, 92, .045) 0 76px, transparent 76px 82px); }
.blk { grid-column: var(--c); grid-row: calc(var(--r) + 1); z-index: 1; border-radius: 12px; padding: 9px 10px; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.blk--a { background: #DCEBFF; color: var(--blue-ink); }
.blk--b { background: #E9EEF8; color: var(--navy); }
.blk--c { background: #D3F3FF; color: #046089; }
.blk--new { z-index: 2; background: linear-gradient(180deg, #0A72E8, var(--blue-ink)); color: #fff; box-shadow: 0 16px 28px -12px rgba(5, 86, 214, .75); font-size: 12.5px; font-weight: 500; overflow-wrap: anywhere; }
.blk--new b { display: block; font-size: 13.5px; font-weight: 700; }

/* Fila */
.queue { padding: 18px; display: grid; gap: 8px; }
.queue__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 6px; }
.queue__kpis span { padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); line-height: 1.25; }
.queue__kpis b { display: block; font-family: var(--display); font-size: 27px; color: var(--navy); line-height: 1.1; }
.queue__kpis .ok b { color: var(--green); }
.queue__row { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.queue__t { flex: 1; min-width: 0; }
.queue__t b { display: block; color: var(--navy); font-weight: 600; font-size: 15px; line-height: 1.25; }
.queue__t small { display: block; color: var(--muted); font-size: 13px; }
.queue__sla { flex: none; font-size: 13px; font-weight: 600; color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.queue__to { flex: none; display: inline-flex; align-items: center; gap: 7px; width: 122px; font-size: 13.5px; font-weight: 600; color: var(--navy); }

/* ---------- CRM ---------- */
.crm { position: relative; color: #C8D8F0; background: radial-gradient(70% 90% at 12% 0%, rgba(11, 125, 240, .4), transparent 62%), radial-gradient(50% 70% at 100% 100%, rgba(220, 0, 24, .22), transparent 66%), var(--navy-deep); overflow: hidden; }
.crm__stage { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; padding-block: 88px 56px; }
.crm h2 { color: #fff; }
.crm .head__sub { color: #C8D8F0; min-height: 3em; }
.kanban { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.kcol { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); min-width: 0; }
.kcol h3 { display: flex; justify-content: space-between; align-items: center; gap: 6px; color: #fff; font-size: 15px; padding: 2px 4px 6px; }
.kcol h3 span { font-family: var(--body); font-size: 13px; font-weight: 600; color: #A9C6F2; }
.kcard { padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); min-width: 0; }
.kcard b { display: block; color: #fff; font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.kcard small { display: block; color: #B5CCEE; font-size: 13px; }
.kslot { height: 66px; border-radius: 14px; border: 1.5px dashed rgba(255, 255, 255, .16); flex: none; }
.kcard--hero { position: absolute; left: 0; top: 0; z-index: 3; display: flex; align-items: center; gap: 9px; background: #fff; border: 0; box-shadow: 0 22px 44px -16px rgba(0, 12, 40, .75), 0 0 0 3px rgba(29, 190, 255, .5); }
.kcard--hero b { color: var(--navy); }
.kcard--hero small { color: var(--blue-ink); font-weight: 600; font-size: 12.5px; line-height: 1.2; }
.crm__note { margin-top: 16px; font-size: 13.5px; color: #93ADD4; }

/* ---------- Cruz ---------- */
.plus { padding-block: var(--section); background: linear-gradient(180deg, var(--ice), #fff); overflow: hidden; }
.cross { --cell: minmax(0, 1fr); margin-top: 48px; display: grid; grid-template-columns: repeat(3, var(--cell)); grid-template-areas: ". top ." "left core right" ". bottom ."; gap: 12px; max-width: 1060px; margin-inline: auto; }
.cross__card { display: grid; gap: 8px; align-content: start; padding: 24px; min-height: 212px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-md); border: 1px solid #fff; }
.cross__card p { font-size: 16px; line-height: 1.45; }
.cross__card .i { color: var(--blue); margin-bottom: 4px; }
.c-top { grid-area: top; } .c-left { grid-area: left; } .c-right { grid-area: right; } .c-bottom { grid-area: bottom; }
.cross__core { grid-area: core; display: grid; place-items: center; border-radius: var(--r-lg); background: linear-gradient(150deg, #EDF5FF, var(--glass-blue)); min-height: 212px; box-shadow: inset 0 0 0 1px #fff; }
.cross__core svg { width: 62%; max-width: 170px; aspect-ratio: 1; }

/* ---------- Segurança ---------- */
.safe { padding-block: var(--section); background: #fff; }
.safe__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.safe__head { position: sticky; top: 110px; }
.safe__list { display: grid; }
.safe__list li { padding-block: 26px; border-top: 1px solid var(--line); display: grid; gap: 7px; }
.safe__list li:last-child { border-bottom: 1px solid var(--line); }
.partner { display: flex; align-items: center; gap: 14px; margin-top: 8px; padding: 14px 16px; border-radius: var(--r-md); background: var(--ice); border: 1px solid var(--line); }
.partner b { display: block; color: var(--navy); font-family: var(--display); }
.partner small { display: block; font-size: 14px; line-height: 1.4; color: var(--slate); }
.partner__seal { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--sky), var(--blue-strong)); }

/* ---------- ECG ---------- */
.steps { padding-block: var(--section); background: linear-gradient(180deg, #fff, var(--ice)); overflow: hidden; }
.ecg { margin-top: 40px; }
.ecg__line { width: 100%; height: clamp(110px, 13vw, 170px); overflow: visible; }
.ecg__line path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ecg__track { stroke: #DDE7F6; }
.ecg__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
.ecg__steps li { display: grid; gap: 6px; align-content: start; }
.ecg__dot { display: none; }
.ecg__n { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .08em; color: var(--blue-ink); }
.ecg__steps p { font-size: 16px; line-height: 1.5; }

/* ---------- Integrações ---------- */
.integ { padding-block: clamp(56px, 7vw, 104px); background: var(--ice); }
.integ__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.logos li { display: grid; justify-items: center; align-content: center; gap: 12px; min-height: 128px; padding: 16px 12px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-sm); text-align: center; }
.logos img { height: 32px; width: auto; max-width: 130px; object-fit: contain; }
.logos img[alt="ElevenLabs"] { height: 15px; }
.logos img[alt="MindVoice"] { height: 44px; }
.logos__g { font-family: var(--display); font-weight: 800; color: var(--navy); font-size: 17px; line-height: 32px; letter-spacing: -.02em; }
.logos small { font-size: 13px; line-height: 1.3; color: var(--muted); }

/* ---------- Garantia ---------- */
.guarantee { padding-bottom: clamp(56px, 7vw, 104px); background: var(--ice); }
.guarantee__card { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding: clamp(24px, 3.4vw, 44px); background: #fff; }
.guarantee__card h2 { font-size: clamp(25px, 2.8vw, 38px); }
.guarantee__card p { margin-top: 8px; max-width: 70ch; }
.guarantee__seal { flex: none; width: clamp(96px, 11vw, 136px); aspect-ratio: 1; display: grid; place-content: center; text-align: center; color: #fff; border-radius: 50%; background: radial-gradient(circle at 30% 20%, #1DD3FF, #0A7CF7 55%, #0556D6); box-shadow: 0 20px 36px -16px rgba(5, 86, 214, .8); }
.guarantee__seal b { font-family: var(--display); font-size: clamp(38px, 4.4vw, 56px); line-height: .9; letter-spacing: -.04em; }
.guarantee__seal span { font-weight: 600; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--section); background: #fff; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq .head { position: sticky; top: 110px; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { position: relative; list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--navy); line-height: 1.3; letter-spacing: -.015em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after, .faq__list summary::before { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 3px; margin-top: -1.5px; border-radius: 2px; background: var(--blue); transition: transform .3s; }
.faq__list summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::after { transform: rotate(0); }
.faq__list details p { padding: 0 44px 22px 0; }
@supports (interpolate-size: allow-keywords) {
  .faq__list { interpolate-size: allow-keywords; }
  .faq__list details::details-content { height: 0; overflow: clip; transition: height .32s ease, content-visibility .32s allow-discrete; }
  .faq__list details[open]::details-content { height: auto; }
}

/* ---------- CTA final ---------- */
.final { position: relative; overflow: hidden; color: #E4F0FF; padding-block: clamp(88px, 12vw, 176px); background: radial-gradient(60% 90% at 90% 110%, rgba(255, 70, 80, .55), transparent 62%), radial-gradient(70% 90% at 0% 0%, #1DBEFF, transparent 62%), linear-gradient(140deg, #0A7CF7, #0448BE); text-align: center; }
.final__cross { position: absolute; left: 50%; top: 50%; width: min(1000px, 130vw); margin-left: calc(min(1000px, 130vw) / -2); margin-top: calc(min(1000px, 130vw) / -2); pointer-events: none; overflow: visible; }
.final__inner { position: relative; display: grid; gap: 20px; justify-items: center; }
.final h2 { color: #fff; font-size: clamp(34px, 5vw, 72px); max-width: 17ch; }
.final p { font-size: clamp(17px, 1.5vw, 20px); max-width: 52ch; }
.final__notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: 15px; margin-top: 2px; }
.final__notes li::before { content: "+"; font-family: var(--display); font-weight: 800; margin-right: 7px; }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy-deep); color: #A9BEDF; padding-block: 56px 28px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 32px; }
.footer__brand svg { width: 220px; height: auto; margin-left: -6px; }
.footer__brand p { margin-top: 2px; }
.footer h3 { color: #fff; font-size: 15px; margin-bottom: 10px; }
.footer a { display: block; padding-block: 6px; transition: color .2s; overflow-wrap: anywhere; }
.footer a:hover { color: #fff; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__legal small { font-size: 13.5px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #1FAF5A; box-shadow: 0 16px 30px -10px rgba(14, 90, 45, .7); transition: transform .25s, opacity .3s, visibility .3s; opacity: 0; visibility: hidden; }
.wa-float .i { width: 30px; height: 30px; }
.wa-float.is-on { opacity: 1; visibility: visible; }
.wa-float:hover { transform: scale(1.07); }

/* ---------- Páginas legais ---------- */
.legal { max-width: 780px; margin-inline: auto; padding: 40px var(--gutter) 88px; }
.legal__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.legal__top svg { width: 180px; height: 44px; }
.legal__back { font-weight: 600; color: var(--blue-ink); }
.legal h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 8px; }
.legal h2 { font-size: 23px; margin: 36px 0 10px; letter-spacing: -.02em; }
.legal h3 { font-size: 18px; margin: 20px 0 6px; }
.legal p { margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 4px; }
.legal a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 2px; }
.legal__date { color: var(--muted); font-size: 15px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1239px) {
  .pill-wrap { display: inline-block; }
  .nav__links { gap: 18px; font-size: 14.5px; }
}
@media (min-width: 960px) and (min-height: 620px) {
  .motion .toasts { display: grid; }
}
@media (max-width: 1100px) {
  .nav__links { display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: 72px; flex-direction: column; gap: 0; padding: 10px 18px; border-radius: 22px; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-lg); font-size: 17px; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__toggle { display: block; }
  .nav .btn { display: none; }
  .nav__bar { background: rgba(255, 255, 255, .94); border-color: #fff; box-shadow: var(--shadow-sm); padding-left: 10px; }
  .nav__logo svg { height: 40px; width: 163px; }
}

/* Sem animação (sem JS ou "reduzir movimento"): hero e CRM em fluxo normal. */
html:not(.motion) .hero__stage { height: auto; min-height: 0; padding: 112px 0 56px; }
html:not(.motion) .hero__copy { position: relative; left: auto; top: auto; transform: none; margin-inline: auto; }
html:not(.motion) .pills { position: relative; inset: auto; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 24px var(--gutter) 0; }
html:not(.motion) .pill-wrap, html:not(.motion) .pill-wrap:nth-child(n) { position: static; }
html:not(.motion) .rig { position: relative; left: auto; top: auto; margin: 32px auto 0; }
html:not(.motion) .kslot, html:not(.motion) .kcard--hero { display: none; }
html:not(.js) .demo__tabs, html:not(.js) .chat__replay { display: none; }
html:not(.js) .back__result { opacity: 1; transform: none; }
@media (min-width: 960px) { html:not(.motion) .rig { height: 640px; } }

/* Painel em telas médias: colunas mais estreitas e etapas resumidas. */
@media (min-width: 960px) and (max-width: 1240px) {
  .product { grid-template-columns: 158px 214px minmax(0, 1fr) 204px; }
  .p-stages span:nth-child(n + 4) { display: none; }
  .slot__fill { font-size: 13.5px; }
  .conv { padding-inline: 10px; }
  .p-right { padding: 12px; }
}

/* Abaixo de 960px, ou em telas muito baixas, o hero vira fluxo normal. */
@media (max-width: 959px), (max-height: 619px) {
  .hero__stage { height: auto; min-height: 0; overflow: hidden; padding: 100px 0 40px; }
  .hero__copy { position: relative; left: auto; top: auto; transform: none; margin-inline: auto; }
  .pills { position: relative; inset: auto; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 22px var(--gutter) 0; }
  .pill-wrap, .pill-wrap:nth-child(n) { position: static; }
  .pill { height: 42px; padding: 0 15px 0 11px; font-size: 14px; }
  .pill .i { width: 21px; height: 21px; }
  .rig { position: relative; left: auto; top: auto; margin: 28px auto 0; width: calc(100% - 2 * var(--gutter)); height: auto; }
  .product { grid-template-columns: minmax(0, 1fr); height: auto; }
  .p-side, .p-list, .p-ghost, .js .p-ghost { display: none; }
  .p-msgs { justify-content: flex-start; }
  .p-right { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 959px) {
  .proof__grid, .pain__grid, .feature__grid, .safe__grid, .faq__grid, .integ__grid { grid-template-columns: minmax(0, 1fr); }
  .proof__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .pain__stage { min-height: 0; padding-block: 64px; }
  .pain__mark { order: -1; width: min(70%, 320px); margin-inline: auto; }
  .pain__tag { font-size: 13px; padding: 6px 12px; }
  .demo__panel { grid-template-columns: minmax(0, 1fr); }
  .chat { height: 500px; }
  .back { height: 540px; }
  .feature--flip .feature__copy { order: 0; }
  .safe__head, .faq .head { position: static; }
  .crm__stage { min-height: 0; padding-block: 72px; }
  .crm .head__sub { min-height: 0; }
  .kanban { display: flex; gap: 10px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .kcol { flex: 0 0 min(66vw, 240px); scroll-snap-align: center; }
  .kslot, .kcard--hero { display: none; }
  .cross { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "core core" "top left" "right bottom"; }
  .cross__card { min-height: 0; }
  .cross__core { min-height: 150px; }
  .cross__core svg { width: 124px; }
  .ecg__line { display: none; }
  .ecg__steps { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 8px; }
  .ecg__steps li { position: relative; padding: 0 0 28px 34px; }
  .ecg__steps li:last-child { padding-bottom: 0; }
  .ecg__steps li::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: -8px; width: 2px; background: linear-gradient(180deg, var(--sky), var(--blue)); }
  .ecg__steps li:last-child::before { display: none; }
  .ecg__dot { display: block; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .hero__stage { padding-top: 92px; }
  .eyebrow--pill { font-size: 13px; padding: 7px 13px; line-height: 1.3; }
  .hero__actions .btn { width: 100%; }
  .p-right { grid-template-columns: minmax(0, 1fr); }
  .p-stages span { font-size: 10.5px; }
  .p-stages span:nth-child(n + 4) { display: none; }
  .t1 { left: -14%; } .t2 { right: -16%; } .t3 { left: -18%; } .t4 { right: -12%; }
  .demo__tabs { border-radius: 99px; margin-inline: 0; }
  .chat__channel span { display: none; }
  .chat__channel { padding: 7px; }
  .ig { min-height: 0; display: grid; gap: 10px; }
  .ig__post, .ig__dm, .ig__lead { position: static; width: 100%; }
  .week { padding: 12px; }
  .week__grid { grid-template-rows: 24px repeat(5, 62px); gap: 4px; }
  .week__cells { grid-template-rows: repeat(5, 62px); gap: 4px; }
  .blk { padding: 6px; font-size: 11px; border-radius: 9px; overflow: hidden; }
  .blk--new { font-size: 10px; }
  .blk--new b { font-size: 10.5px; line-height: 1.15; }
  .queue__row { flex-wrap: wrap; }
  .queue__t { flex-basis: calc(100% - 120px); }
  .queue__to { width: auto; margin-left: 48px; }
  .cross { grid-template-columns: minmax(0, 1fr); grid-template-areas: "core" "top" "left" "right" "bottom"; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guarantee__card { flex-direction: column; align-items: flex-start; }
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .footer { padding-bottom: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html, html:not(.js) { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
