/* ─────────────────────────────────────────────
   NR Clinic · site institucional
   Posicionamento: resultado para a clínica (dor → solução → benefício).
   Cores e tipografia do manual da marca NR Clinic.
   ───────────────────────────────────────────── */

:root {
  --ink: #0a2540;          /* Marinho */
  --ink-2: #33485f;        /* Ardósia */
  --ink-3: #5b6e83;
  --action: #0f6fc0;       /* Azul Clínico (5,2:1 sobre branco) */
  --action-hover: #0b5ca2;
  --cross: #12b39b;        /* Verde Cruz */
  --green-ink: #0c6f63;
  --grad: linear-gradient(125deg, #3ed58b 0%, #11a39a 42%, #0f6fc0 72%, #0a86f2 100%);

  --bg: #f3f6f9;
  --paper: #ffffff;
  --line: #dbe4ec;
  --line-2: #c9d6e3;
  --night: #0a2540;

  --font: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-0: .875rem;
  --fs-1: 1rem;
  --fs-2: 1.125rem;
  --fs-3: 1.375rem;
  --fs-4: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  --fs-5: clamp(2.2rem, 1.3rem + 2.8vw, 3.6rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1240px;
  --r: 14px;
  --shadow: 0 1px 2px rgba(10, 37, 64, .06), 0 18px 40px -18px rgba(10, 37, 64, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font-family: var(--font); font-size: var(--fs-1); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--action); }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ───── botões ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; font: 500 var(--fs-1) var(--font); text-decoration: none; cursor: pointer; border-radius: 10px; border: 1px solid transparent; padding: .65rem 1.1rem; min-height: 44px; transition: background-color .15s, border-color .15s, transform .15s; }
.btn--lg { padding: .8rem 1.4rem; font-size: var(--fs-2); }
.btn--block { width: 100%; }
.btn--primary { background: var(--action); color: #fff; }
.btn--primary:hover { background: var(--action-hover); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }

/* ───── navegação ───── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(243, 246, 249, .9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { max-width: var(--max); margin: 0 auto; padding: .75rem var(--gutter); display: flex; align-items: center; gap: 2rem; }
.nav__brand img { width: 150px; }
.nav__menu { display: flex; gap: 1.5rem; margin-left: auto; }
.nav__menu a { color: var(--ink-2); text-decoration: none; font-size: var(--fs-0); font-weight: 500; }
.nav__menu a:hover { color: var(--ink); }
.nav__toggle { display: none; }

/* ───── seções ───── */
.pains, .journey, .platform, .roles, .onboard, .faq, .blog { max-width: var(--max); margin: 0 auto; padding: clamp(4.5rem, 9vw, 7rem) var(--gutter) 0; }
.section-head { display: grid; gap: .75rem; max-width: 46rem; }
.section-title { font-size: var(--fs-4); font-weight: 600; letter-spacing: -.015em; }
.section-lead { font-size: var(--fs-2); }

/* ───── abertura ───── */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero__title { font-size: var(--fs-5); font-weight: 600; letter-spacing: -.025em; }
.hero__lead { font-size: var(--fs-2); margin-top: 1.25rem; max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__proof { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: var(--fs-0); color: var(--ink); font-weight: 500; }
.hero__proof li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cross); margin-right: .45rem; vertical-align: middle; }

/* ───── carrossel de telas (troca com fade + leve zoom) ───── */
.frame { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.showcase { min-width: 0; }
.showcase__stage { position: relative; aspect-ratio: 16 / 11; }
.showcase__stage > * {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left;
  opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform 1.2s var(--ease);
}
.showcase__stage > .is-active { opacity: 1; transform: scale(1); }
.showcase__dots { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.showcase__dots button {
  font: 500 var(--fs-0) var(--font); color: var(--ink-2); background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; padding: .4rem .9rem; min-height: 36px; cursor: pointer; transition: all .2s;
}
.showcase__dots button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ───── dores ───── */
.pains__grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.pain { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: .75rem; align-content: start; position: relative; overflow: hidden; transition: border-color .2s, transform .2s var(--ease); }
.pain::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.pain:hover { border-color: var(--line-2); transform: translateY(-2px); }
.pain:hover::before { transform: scaleY(1); }
.pain h3 { font-size: var(--fs-3); font-weight: 600; }
.pain__result { justify-self: start; margin-top: .25rem; font-size: var(--fs-0); font-weight: 600; color: var(--green-ink); background: #e7f6f3; border-radius: 999px; padding: .3rem .8rem; }

/* ───── jornada (sequência real) ───── */
.journey__steps { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.journey__steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: var(--line-2); }
.journey__steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.journey__steps li { position: relative; padding-right: 1.5rem; display: grid; gap: .5rem; align-content: start; }
.journey__n { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 2px solid var(--cross); display: grid; place-items: center; font-weight: 600; color: var(--ink); position: relative; margin-bottom: .5rem; }
.journey__steps h3 { font-size: var(--fs-2); font-weight: 600; }

/* ───── plataforma: abas com progresso automático ───── */
.tabs { margin-top: 2.5rem; }
.tabs__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; border-bottom: 1px solid var(--line); }
.tabs__list button {
  position: relative; font: 500 var(--fs-1) var(--font); color: var(--ink-3); background: none; border: 0; cursor: pointer;
  text-align: left; padding: .9rem .25rem 1rem; min-height: 44px;
}
.tabs__list button.is-active { color: var(--ink); font-weight: 600; }
.tabs__list button i { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; overflow: hidden; }
.tabs__list button.is-active i { background: var(--line-2); }
.tabs__list button.is-active i::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform-origin: left; animation: progress var(--tab-interval, 7s) linear forwards; }
.tabs.is-paused .tabs__list button.is-active i::after, .tabs.is-stopped .tabs__list button.is-active i::after { animation-play-state: paused; }
.tabs.is-stopped .tabs__list button.is-active i::after { animation: none; transform: scaleX(1); }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.tabs__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; padding-top: 2.5rem; }
.tabs__panel[hidden] { display: none; }
.tabs__panel.is-entering .panel__copy { animation: rise .5s var(--ease) both; }
.tabs__panel.is-entering .panel__media { animation: rise .6s var(--ease) .08s both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.panel__copy h3 { font-size: var(--fs-4); font-weight: 600; letter-spacing: -.01em; }
.panel__copy p { font-size: var(--fs-2); margin-top: 1rem; }
.panel__media { min-width: 0; display: grid; justify-items: center; }
.panel__media > .frame { width: 100%; }
.checks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.checks li { position: relative; padding-left: 1.9rem; color: var(--ink); font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; background: #e7f6f3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230c6f63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* portal: celular ilustrativo */
.phone { width: min(100%, 320px); aspect-ratio: 9 / 18.5; border-radius: 42px; padding: 12px; background: #0d1b2a; box-shadow: var(--shadow); }
.phone__screen { height: 100%; border-radius: 32px; background: #f1f5f9; overflow: hidden; position: relative; padding: 16px 14px 74px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: #334155; }
.pt-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: 14px; }
.pt-logo { width: 22px; height: 22px; border-radius: 7px; background: var(--grad); }
.pt-ctx { background: #e7f6f3; color: var(--green-ink); border-radius: 10px; padding: 8px 10px; font-size: 12px; display: flex; justify-content: space-between; gap: 8px; }
.pt-ctx span { color: var(--action); font-weight: 500; }
.pt-hello { font-size: 20px; font-weight: 600; color: var(--ink); margin: 2px; }
.pt-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; }
.pt-card small { font-size: 11px; color: #64748b; }
.pt-card b { font-size: 15px; color: var(--ink); font-weight: 600; }
.pt-card span { color: #475569; }
.pt-card em { font-style: normal; margin-top: 8px; display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 10px; background: var(--action); color: #fff; font-weight: 500; }
.pt-card--next { border-color: #bfe3dc; }
.pt-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: #fff; border-top: 1px solid #e2e8f0; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; text-align: center; font-size: 10.5px; color: #64748b; }
.pt-bar .is-on { color: var(--action); font-weight: 600; }

/* financeiro ilustrativo */
.fin { width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(1rem, 2.5vw, 1.75rem); display: grid; gap: 1.5rem; }
.fin small { display: block; font-size: var(--fs-0); color: var(--ink-3); }
.fin__top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.fin__top b { white-space: nowrap; font-size: clamp(1rem, .85rem + .45vw, 1.3rem); color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.fin__top b.up { color: #0f8a6d; }
.fin__top b.down { color: #b4404b; }
.fin__pay ul { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .6rem; }
.fin__pay li { display: grid; grid-template-columns: 8.5rem 1fr 2.5rem; align-items: center; gap: .5rem; font-size: var(--fs-0); }
.fin__pay i { height: 8px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.fin__pay i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--action); border-radius: 4px; }
.fin__pay em { font-style: normal; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.fin__flow { padding-bottom: 1.4rem; }
.fin__bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; align-items: end; height: 130px; margin-top: .75rem; }
.fin__bars span { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; }
.fin__bars span::before, .fin__bars span::after { content: ""; width: 38%; border-radius: 3px 3px 0 0; }
.fin__bars span::before { height: var(--r); background: var(--cross); }
.fin__bars span::after { height: var(--d); background: var(--line-2); }
.fin__bars em { position: absolute; bottom: -1.4rem; font-style: normal; font-size: 12px; color: var(--ink-3); }

/* ───── especialidades: faixa rolando ───── */
.fit { margin: clamp(4.5rem, 9vw, 7rem) 0 0; display: grid; gap: 1rem; }
.fit__label { max-width: var(--max); width: 100%; margin: 0 auto; padding: 0 var(--gutter); font-size: var(--fs-0); color: var(--ink-3); }
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { list-style: none; margin: 0; padding: 1.1rem 0; display: flex; gap: 3rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { font-size: var(--fs-3); font-weight: 500; color: var(--ink); white-space: nowrap; display: flex; align-items: center; gap: 3rem; }
.marquee__track li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cross); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───── perfis ───── */
.roles__grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.roles__grid article { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; display: grid; gap: .5rem; align-content: start; }
.roles__grid h3 { font-size: var(--fs-2); font-weight: 600; }

/* ───── segurança ───── */
.trust { max-width: var(--max); margin: clamp(4.5rem, 9vw, 7rem) auto 0; padding: 0 var(--gutter); }
.trust__inner { background: var(--night); color: #c9d6e3; border-radius: calc(var(--r) * 1.5); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; position: relative; overflow: hidden; }
.trust__inner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--grad); opacity: .14; filter: blur(10px); }
.trust .section-title { color: #fff; }
.trust__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; position: relative; z-index: 1; }
.trust__list b { display: block; color: #fff; font-weight: 600; margin-bottom: .2rem; }

/* ───── perguntas frequentes ───── */
.faq__list { margin-top: 2rem; display: grid; gap: .75rem; max-width: 52rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; font-weight: 600; color: var(--ink); font-size: var(--fs-2); position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.25rem; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 1.25rem 1.25rem; }
.faq details[open] p { animation: rise .35s var(--ease) both; }

/* ───── artigos ───── */
.blog__grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.blog-card { text-align: left; font: inherit; color: inherit; cursor: pointer; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; display: grid; gap: .6rem; align-content: start; transition: border-color .15s, transform .2s var(--ease); }
.blog-card:hover { border-color: var(--action); transform: translateY(-2px); }
.blog-card__meta { font-size: var(--fs-0); color: var(--ink-3); }
.blog-card__title { font-size: var(--fs-3); font-weight: 600; color: var(--ink); line-height: 1.2; }
.blog-card__more { color: var(--action); font-weight: 500; margin-top: .4rem; }

/* ───── contato ───── */
.cta { max-width: var(--max); margin: 0 auto; padding: clamp(4.5rem, 9vw, 7rem) var(--gutter); }
.cta__card { background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--r) * 1.5); position: relative; overflow: hidden; padding: clamp(1.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 4rem); }
.cta__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--grad); }
.cta__title { font-size: var(--fs-4); font-weight: 600; }
.cta__lead { font-size: var(--fs-2); margin-top: 1rem; }
.cta__points { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.cta__points li { padding-left: 1.6rem; position: relative; color: var(--ink); }
.cta__points li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; background: var(--cross); clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%); }
.cta__form { display: grid; gap: 1rem; align-content: start; position: relative; }
.field { display: grid; gap: .35rem; }
.field span { font-size: var(--fs-0); font-weight: 500; color: var(--ink); }
.field input, .field textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: 10px; padding: .7rem .85rem; min-height: 46px; width: 100%; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--action); box-shadow: 0 0 0 3px rgba(15, 111, 192, .18); }
.hp { position: absolute; left: -9999px; }
.cta__step { display: grid; gap: 1rem; }
.cta__step--2, .cta__final, .cta__form-status { display: none; }
.cta__form.is-step2 .cta__step--1 { display: none; }
.cta__form.is-step2 .cta__step--2 { display: grid; animation: rise .4s var(--ease) both; }
.cta__form.is-final .cta__step { display: none; }
.cta__form.is-final .cta__final { display: grid; gap: .4rem; padding: 1.25rem; border-radius: 12px; background: #e9f7f4; color: var(--green-ink); animation: rise .4s var(--ease) both; }
.cta__final b { font-size: var(--fs-3); color: var(--ink); }
.cta__form.has-error .cta__form-status--error { display: block; color: #b4404b; font-size: var(--fs-0); }
.cta__form.is-sending button[type=submit] { opacity: .6; pointer-events: none; }
.cta__fine { font-size: var(--fs-0); color: var(--ink-3); }
.cta__ok { color: var(--ink); }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ───── rodapé ───── */
.footer { background: var(--night); color: #c9d6e3; }
.footer__inner { max-width: var(--max); margin: 0 auto; padding: 3.5rem var(--gutter) 2.5rem; display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.footer__brand img { width: 160px; }
.footer__brand p { margin-top: 1rem; max-width: 24em; font-size: var(--fs-0); }
.footer__nav { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer__nav div { display: grid; gap: .5rem; align-content: start; }
.footer__nav b { color: #fff; font-weight: 600; margin-bottom: .25rem; }
.footer__nav a { color: #c9d6e3; text-decoration: none; font-size: var(--fs-0); }
.footer__nav a:hover { color: #fff; }
.footer__base { max-width: var(--max); margin: 0 auto; padding: 1.25rem var(--gutter) 2rem; border-top: 1px solid rgba(201, 214, 227, .15); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--fs-0); }
.footer__family { display: inline-flex; align-items: center; gap: .5rem; color: #c9d6e3; text-decoration: none; }
.footer__family:hover { color: #fff; }
.footer__family img { width: 22px; }

/* ───── leitor de artigos ───── */
.reader { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.reader.is-open { visibility: visible; }
.reader__backdrop { position: absolute; inset: 0; background: rgba(10, 37, 64, .55); opacity: 0; transition: opacity .3s; }
.reader.is-open .reader__backdrop { opacity: 1; }
.reader__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(720px, 100%); background: var(--paper); overflow-y: auto; padding: clamp(1.25rem, 4vw, 3rem); box-shadow: -20px 0 60px rgba(10, 37, 64, .25); transform: translateX(100%); transition: transform .4s var(--ease); }
.reader.is-open .reader__panel { transform: none; }
.reader__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.reader__meta { font-size: var(--fs-0); color: var(--ink-3); }
.reader__close { font: 300 2rem/1 var(--font); color: var(--ink); background: none; border: 0; cursor: pointer; width: 44px; height: 44px; }
.reader__title { font-size: var(--fs-4); font-weight: 600; margin: 1rem 0 1.5rem; }
.reader__body { font-size: var(--fs-2); line-height: 1.7; max-width: 36em; }
.reader__body p + p, .reader__body h3 + p, .reader__body ul + p { margin-top: 1rem; }
.reader__body h3 { font-size: var(--fs-3); font-weight: 600; margin: 2rem 0 .5rem; }
.reader__body ul { margin: 1rem 0 0; padding-left: 1.2rem; }
.reader__body li + li { margin-top: .4rem; }
.reader__foot { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
body.is-reading { overflow: hidden; }

/* ───── entrada das seções ao rolar (só com JS e sem redução de movimento) ───── */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
}

/* ───── responsivo ───── */
@media (max-width: 1080px) {
  .roles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 1.5rem; scrollbar-width: none; }
  .tabs__list::-webkit-scrollbar { display: none; }
}
@media (max-width: 900px) {
  .nav__menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1rem; }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { padding: .75rem 0; font-size: var(--fs-1); border-bottom: 1px solid var(--line); }
  .nav__cta { display: none; }
  .nav__toggle { display: grid; gap: 6px; margin-left: auto; width: 44px; height: 44px; place-content: center; background: none; border: 0; cursor: pointer; }
  .nav__toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

  .hero, .tabs__panel, .trust__inner, .cta__card { grid-template-columns: 1fr; }
  .pains__grid, .blog__grid { grid-template-columns: 1fr; }
  .journey__steps, .journey__steps--3 { grid-template-columns: 1fr; gap: 1.25rem; }
  .journey__steps::before { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; }
  .journey__steps li { grid-template-columns: 44px 1fr; column-gap: 1rem; padding-right: 0; }
  .journey__n { grid-row: span 2; margin: 0; }
  .trust__list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .roles__grid { grid-template-columns: 1fr; }
  .fin__top { grid-template-columns: 1fr; }
  .fin__pay li { grid-template-columns: 7rem 1fr 2.5rem; }
}

/* ───── sua marca em tudo ───── */
.brandsec { max-width: var(--max); margin: 0 auto; padding: clamp(4.5rem, 9vw, 7rem) var(--gutter) 0; }
.brandsec__grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.brandcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.25rem 1.75rem; display: grid; gap: .6rem; align-content: start; transition: transform .25s var(--ease), border-color .2s; }
.brandcard:hover { transform: translateY(-3px); border-color: var(--line-2); }
.brandcard h3 { font-size: var(--fs-3); font-weight: 600; margin-top: .5rem; }
.brandcard__art { height: 180px; border-radius: 10px; background: linear-gradient(160deg, #eef4f8, #e3ecf3); position: relative; overflow: hidden; display: grid; place-items: center; }
.mini-logo { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #f59f7a, #d9617a); flex: none; }
.brandcard__art--site { place-items: stretch; padding: 14px 14px 0; }
.mini-browser { height: 18px; background: #fff; border-radius: 8px 8px 0 0; display: flex; gap: 5px; align-items: center; padding: 0 8px; border: 1px solid var(--line); border-bottom: 0; }
.mini-browser i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.mini-site { background: #fff7f4; border: 1px solid var(--line); border-top: 0; padding: 14px; display: grid; gap: 8px; align-content: start; }
.mini-site b { color: #6b2f3f; font-size: 15px; line-height: 1.2; max-width: 14em; }
.mini-site em { font-style: normal; justify-self: start; background: #d9617a; color: #fff; font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 8px; }
.mini-phone { width: 120px; height: 200px; margin-top: 40px; background: #fff; border: 6px solid #0d1b2a; border-radius: 22px; padding: 12px 10px; display: grid; gap: 8px; align-content: start; justify-items: start; }
.mini-phone b { font-size: 12px; color: #6b2f3f; }
.mini-phone i { width: 100%; height: 26px; border-radius: 6px; background: #fdecee; }
.mini-notif { width: 86%; display: flex; gap: 10px; align-items: flex-start; background: rgba(255, 255, 255, .92); border-radius: 12px; padding: 10px 12px; box-shadow: 0 6px 20px -10px rgba(10, 37, 64, .35); font-size: 12px; animation: notif 6s var(--ease) infinite; }
.mini-notif b { display: block; color: var(--ink); font-size: 12px; }
.mini-notif small { color: var(--ink-2); font-size: 12px; line-height: 1.35; }
.brandcard__art--notif { align-content: center; gap: 10px; }
.mini-notif--2 { animation-delay: 1.2s; }
@keyframes notif { 0%, 8% { opacity: 0; transform: translateY(-10px); } 15%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 900px) { .brandsec__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .mini-notif { opacity: 1; } }

/* ───── aba de inteligência artificial ───── */
.ai-blocks { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.ai-blocks > div { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; }
.ai-blocks b { display: block; color: var(--ink); font-weight: 600; }
.ai-blocks .checks { margin-top: .75rem; gap: .45rem; }
.ai-blocks .checks li { font-size: var(--fs-0); }
.ai-note { margin-top: 1rem; font-size: var(--fs-0); color: var(--ink-3); }
@media (max-width: 560px) { .ai-blocks { grid-template-columns: 1fr; } }

/* ───── copiloto (ilustração) ───── */
.showcase__stage--ai { aspect-ratio: 16 / 11.5; }
.cop { background: #f7fafc; padding: clamp(.9rem, 2vw, 1.4rem); display: grid; grid-template-rows: auto 1fr; gap: 1rem; font-size: 13px; color: var(--ink-2); }
.cop__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cop__rec { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; }
.cop__rec i { width: 8px; height: 8px; border-radius: 50%; background: #e0485a; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.cop__who { font-weight: 500; color: var(--ink); }
.cop__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1rem; min-height: 0; }
.cop__col { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; display: grid; gap: .55rem; align-content: start; overflow: hidden; }
.cop__col small { font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--ink-3); }
.cop__col small + .cop__chips, .cop__facts + small { margin-top: .35rem; }
.cop__line { line-height: 1.45; }
.cop__line b { display: block; font-size: 11px; color: var(--action); font-weight: 600; }
.cop__line--live { color: var(--ink); }
.cop__caret { display: inline-block; width: 2px; height: 1em; background: var(--action); margin-left: 2px; vertical-align: -2px; animation: pulse 1s steps(2) infinite; }
.cop__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.cop__facts li { padding-left: .9rem; position: relative; }
.cop__facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--cross); }
.cop__facts b { color: var(--ink); }
.cop__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.cop__chips span { background: #eef4ff; color: #0b5ca2; border: 1px dashed #9cc3ec; border-radius: 8px; padding: .3rem .55rem; font-size: 12px; }
.cop__chips span::before { content: "+ "; font-weight: 600; }
@media (max-width: 560px) { .cop__grid { grid-template-columns: 1fr; } .cop__col:first-child { display: none; } }

/* ───── conversa de WhatsApp (ilustração de caso de sucesso) ───── */
.wa { display: grid; place-items: center; background: radial-gradient(120% 90% at 20% 10%, #e7f6f3 0%, #eaf1f8 55%, #dfe9f3 100%); }
.wa__phone { width: min(80%, 340px); height: 92%; min-height: 0; background: #efe7de; border: 8px solid #0d1b2a; border-bottom: 0; border-radius: 30px 30px 0 0; align-self: end; display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow); }
.wa__top { display: flex; align-items: center; gap: .6rem; background: #075e54; color: #fff; padding: .7rem .8rem; }
.wa__top b { display: block; font-size: 14px; line-height: 1.2; }
.wa__top small { font-size: 11px; opacity: .85; }
.wa__avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #f59f7a, #d9617a); flex: none; }
.wa__body { flex: 1; min-height: 0; overflow: hidden; padding: .7rem .65rem; display: flex; flex-direction: column; gap: .4rem; justify-content: flex-end; font-size: 12px; line-height: 1.4; color: #1f2c33; }
.wa__msg { max-width: 84%; padding: .45rem .6rem; border-radius: 10px; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.wa__msg--in { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.wa__msg--out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
.wa__slots { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .4rem; }
.wa__slots em { font-style: normal; text-align: center; background: #fff; border-radius: 8px; padding: .25rem .45rem; color: #0b5ca2; font-weight: 500; font-size: 11.5px; }
.wa__slots em:nth-child(2) { background: #0f6fc0; color: #fff; }
.wa__card { display: block; margin: .35rem 0; background: #fff; border-left: 3px solid var(--cross); border-radius: 6px; padding: .4rem .55rem; }
.wa__card b { display: block; color: #0c6f63; }
.wa__card b::before { content: "✓ "; }
/* mensagens entram uma a uma quando o slide fica ativo */
.is-active > .wa__phone .wa__msg, .is-active .wa__msg { animation: wa-in .45s var(--ease) both; animation-delay: calc(var(--i) * .9s + .3s); }
@keyframes wa-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .wa__phone { width: 92%; } .wa__body { font-size: 11.5px; } }
