/* =========================================================
   DR Contabilidade Digital — site
   Motivo visual: os quadrados concêntricos do símbolo da marca
   ========================================================= */

:root {
  --navy-950: #040E22;
  --navy-900: #06142E;
  --navy-800: #0A1F44;
  --navy-700: #12305F;
  --blue: #0B93D9;
  --blue-600: #0879B5;
  --blue-300: #7CC8F0;
  --ice: #E8F4FB;
  --paper: #F5F7FA;
  --white: #FFFFFF;
  --ink: #0A1730;
  --muted: #5A6880;
  --line: #DDE4ED;
  --line-dark: rgba(255, 255, 255, .1);

  --f-display: "Archivo", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 6px;
  --header-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-stretch: 112%; line-height: 1.08; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--blue); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-stretch: 120%; font-weight: 700;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 18px;
}
.eyebrow--light { color: var(--blue-300); }
.sq-dot {
  width: 10px; height: 10px; flex: none;
  border: 2px solid currentColor; position: relative;
}
.sq-dot::after { content: ""; position: absolute; inset: 2px; background: currentColor; }

.h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; }
.h2--stack span { display: block; }
.hl { color: var(--blue); }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 52ch; margin-top: 18px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--f-display); font-stretch: 110%; font-weight: 700; font-size: 14px;
  letter-spacing: .02em; border: 0; border-radius: var(--r); cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 13px; }
.btn--full { width: 100%; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -12px rgba(11, 147, 217, .7); }
.btn--blue:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn .ico-wa { fill: currentColor; stroke: none; width: 20px; height: 20px; }
.btn:hover .ico-wa { transform: none; }

/* ---------- marca: quadrados concêntricos ---------- */
.sq-mark {
  --s: 120px;
  width: var(--s); height: var(--s);
  background: var(--blue);
  position: relative; display: block;
}
.sq-mark::before, .sq-mark::after { content: ""; position: absolute; }
.sq-mark::before { inset: 16%; border: calc(var(--s) * .1) solid #fff; }
.sq-mark::after { inset: 42%; background: #fff; }
.sq-mark--sm { --s: 44px; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.header.is-scrolled {
  background: rgba(6, 20, 46, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.header.is-hidden { transform: translateY(-100%); }
.header__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.header__logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .72);
  position: relative; padding: 6px 0; transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.burger {
  display: none; margin-left: auto; width: 46px; height: 46px;
  background: rgba(255, 255, 255, .08); border: 0; border-radius: var(--r); cursor: pointer; position: relative;
}
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--navy-950);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  overflow-y: auto;
}
.menu-open .menu { opacity: 1; visibility: visible; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  font-family: var(--f-display); font-stretch: 115%; font-weight: 700;
  font-size: clamp(22px, 6vw, 30px); color: #fff;
  padding: 12px 0; border-bottom: 1px solid var(--line-dark);
  opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.menu-open .menu__nav a { opacity: 1; transform: none; }
.menu-open .menu__nav a:nth-child(2) { transition-delay: .03s; }
.menu-open .menu__nav a:nth-child(3) { transition-delay: .06s; }
.menu-open .menu__nav a:nth-child(4) { transition-delay: .09s; }
.menu-open .menu__nav a:nth-child(5) { transition-delay: .12s; }
.menu-open .menu__nav a:nth-child(6) { transition-delay: .15s; }
.menu-open .menu__nav a:nth-child(7) { transition-delay: .18s; }
.menu-open .menu__nav a:nth-child(8) { transition-delay: .21s; }
.menu__foot { margin-top: 32px; display: grid; gap: 14px; }
.menu__foot p { color: rgba(255, 255, 255, .55); font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 600px at 85% 30%, rgba(11, 147, 217, .28), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(18, 48, 95, .9), transparent 70%),
    var(--navy-900);
  color: #fff;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 90px)) 0 clamp(64px, 8vw, 110px);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero__grid--soft { opacity: .6; mask-image: radial-gradient(ellipse at 100% 0%, #000 10%, transparent 60%); -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 10%, transparent 60%); }
.hero__in {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: center;
}
.hero__title {
  font-size: clamp(38px, 6.2vw, 78px); font-weight: 800; font-stretch: 118%;
  line-height: 1.02; letter-spacing: -.02em;
}
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .72); max-width: 46ch; margin-top: 24px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.hero__chips li {
  font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .7);
  padding: 7px 12px; border: 1px solid var(--line-dark); border-radius: 100px;
}

.hero__media { position: relative; isolation: isolate; justify-self: end; width: min(100%, 460px); }
.hero__frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r);
  background: var(--navy-700);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero__mark { position: absolute; --s: 96px; right: -28px; top: -28px; z-index: -1; }
.float-card {
  position: absolute; display: grid; gap: 2px;
  background: rgba(255, 255, 255, .96); color: var(--ink);
  padding: 16px 20px; border-radius: var(--r);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { font-family: var(--f-display); font-stretch: 120%; font-weight: 900; font-size: 34px; line-height: 1; color: var(--navy-900); }
.float-card span { font-size: 13px; font-weight: 600; color: var(--muted); }
.float-card--a { left: -36px; bottom: 48px; }
.float-card--b { right: -22px; bottom: -22px; background: var(--blue); animation-delay: -3s; }
.float-card--b strong { color: #fff; }
.float-card--b span { color: rgba(255, 255, 255, .85); }
.float-card__k { font-family: var(--f-display); font-stretch: 120%; font-weight: 700; letter-spacing: .14em; font-size: 11px !important; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- números ---------- */
.stats { background: var(--paper); padding: clamp(64px, 8vw, 110px) 0; border-bottom: 1px solid var(--line); }
.stats__head { max-width: 640px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.stat { padding: 28px 24px 0 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat__n {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 900;
  font-size: clamp(44px, 5.6vw, 76px); line-height: 1; color: var(--navy-900);
  font-variant-numeric: tabular-nums; letter-spacing: -.03em;
}
.stat__n sup { font-size: .38em; color: var(--blue); vertical-align: top; position: relative; top: .3em; margin-left: 4px; letter-spacing: 0; }
.stat__l { margin-top: 12px; color: var(--muted); font-weight: 600; font-size: 15px; }

/* ---------- seções ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.section.dark { background: var(--navy-900); color: #fff; overflow: hidden; }
.section.dark .lead { color: rgba(255, 255, 255, .68); }
.section__head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 720px; }
.section__head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.section__head--split > div { max-width: 680px; }

/* serviços */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(10, 31, 68, .35); border-color: transparent; }
.svc__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .8s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.1); }
.svc__body { padding: 26px 26px 30px; position: relative; }
.svc__n { font-family: var(--f-display); font-stretch: 120%; font-weight: 700; font-size: 13px; color: var(--blue); }
.svc h3 { font-size: 22px; font-weight: 800; margin: 10px 0 8px; }
.svc p { color: var(--muted); }
.services__more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.services__more a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; padding: 10px 16px;
  background: var(--ice); color: var(--navy-800); border-radius: 100px;
  transition: background .25s, color .25s;
}
.services__more a::before { content: "+"; color: var(--blue); font-weight: 800; }
.services__more a:hover { background: var(--navy-900); color: #fff; }

/* diferencial */
.diff .wrap { position: relative; }
.diff__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r); overflow: hidden; }
.diff-card { background: var(--navy-900); padding: 34px 28px 38px; transition: background .4s var(--ease); }
.diff-card:hover { background: var(--navy-800); }
.diff-card__i {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 28px;
  background: rgba(11, 147, 217, .14); color: var(--blue-300); border-radius: var(--r);
}
.diff-card__i svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.diff-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.diff-card p { color: rgba(255, 255, 255, .66); font-size: 15px; }
.diff-card__em { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-dark); color: #fff !important; font-weight: 600; }

/* benefícios */
.benefits__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.benefits__media { position: relative; }
.benefits__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--r); }
.benefits__mark { position: absolute; --s: 110px; left: -24px; bottom: -24px; }
.ben-list { margin-top: 40px; border-top: 1px solid var(--line); }
.ben-list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.ben-list__n { font-family: var(--f-display); font-stretch: 120%; font-weight: 800; color: var(--blue); font-size: 15px; padding-top: 3px; }
.ben-list h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.ben-list p { color: var(--muted); }

/* registro de marca */
.mark { background: var(--paper); }
.mark__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.mark__head { position: sticky; top: calc(var(--header-h) + 32px); }
.mark__head .btn { margin-top: 32px; }
.mark__note {
  margin-top: 32px; padding: 16px 18px; font-size: 14px; color: var(--muted);
  border-left: 3px solid var(--blue); background: var(--white); border-radius: 0 var(--r) var(--r) 0;
}
.steps { position: relative; display: grid; gap: 16px; counter-reset: s; }
.step {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 30px 30px 96px;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.step:hover { border-color: var(--blue); box-shadow: 0 20px 40px -28px rgba(11, 147, 217, .6); }
.step__n {
  position: absolute; left: 28px; top: 28px;
  width: 44px; height: 44px; display: grid; place-items: center;
  font-family: var(--f-display); font-stretch: 120%; font-weight: 800; font-size: 14px;
  color: #fff; background: var(--navy-900); border-radius: 4px;
}
.step h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.step p { color: var(--muted); }
.step__tip {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line);
  color: var(--navy-800) !important; font-weight: 600; font-size: 15px;
}
.step__tip svg { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* certificado */
.cert { padding: clamp(72px, 10vw, 140px) 0 0; }
.cert__card {
  position: relative; overflow: hidden; border-radius: calc(var(--r) * 2);
  background: var(--navy-950); color: #fff;
  min-height: 440px; display: flex; align-items: center;
}
.cert__bg { position: absolute; right: 0; top: 0; height: 100%; width: 60%; object-fit: cover; }
.cert__card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy-950) 38%, rgba(4, 14, 34, .6) 65%, rgba(4, 14, 34, .1));
}
.cert__body { position: relative; z-index: 1; max-width: 560px; padding: clamp(36px, 6vw, 72px); }
.cert__body p:not(.eyebrow) { color: rgba(255, 255, 255, .72); margin: 18px 0 32px; font-size: 17px; }

/* sobre */
.about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { border: 1px solid var(--line); border-radius: var(--r); padding: 32px 28px 36px; transition: border-color .4s; }
.pillar:hover { border-color: var(--blue); }
.pillar h3 { font-size: 24px; font-weight: 800; margin: 26px 0 12px; }
.pillar p { color: var(--muted); }
.quote { margin: clamp(56px, 7vw, 96px) 0 0; text-align: center; }
.quote p {
  font-family: var(--f-display); font-stretch: 110%; font-weight: 700;
  font-size: clamp(26px, 4vw, 48px); line-height: 1.15; letter-spacing: -.01em;
  max-width: 22ch; margin: 0 auto; color: var(--navy-900);
}

/* contato */
.contact__in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__list { margin-top: 40px; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255, 255, 255, .82); }
.contact__list svg { flex: none; width: 20px; height: 20px; margin-top: 3px; fill: none; stroke: var(--blue-300); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.form {
  background: var(--white); color: var(--ink); border-radius: calc(var(--r) * 2);
  padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.form__intro { color: var(--muted); font-size: 15px; margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; font-weight: 700; color: var(--navy-800); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1.5px solid transparent; border-radius: var(--r);
  padding: 13px 14px; transition: border-color .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--blue); background: var(--white); }
.field.is-invalid input { border-color: #D64545; }
.form__err { color: #C03535; font-size: 14px; font-weight: 600; }

/* faq */
.faq__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__ctas { display: grid; gap: 12px; margin-top: 32px; }
.faq-link {
  display: grid; gap: 2px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r);
  position: relative; transition: border-color .3s, background .3s;
}
.faq-link::after { content: "→"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--blue); font-weight: 700; transition: transform .3s var(--ease); }
.faq-link:hover { border-color: var(--blue); background: var(--ice); }
.faq-link:hover::after { transform: translate(4px, -50%); }
.faq-link strong { font-family: var(--f-display); font-stretch: 110%; font-size: 15px; }
.faq-link span { font-size: 14px; color: var(--muted); }

.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  text-align: left; background: none; border: 0; cursor: pointer;
  padding: 24px 0; font-family: var(--f-display); font-stretch: 108%; font-weight: 700;
  font-size: clamp(17px, 1.6vw, 20px); line-height: 1.3; color: var(--ink);
  transition: color .25s;
}
.acc__q:hover { color: var(--blue-600); }
.acc__q i { flex: none; position: relative; width: 32px; height: 32px; border: 1.5px solid var(--line); border-radius: 4px; transition: background .3s, border-color .3s; }
.acc__q i::before, .acc__q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy-900); transform: translate(-50%, -50%); transition: transform .35s var(--ease), background .3s; }
.acc__q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__q[aria-expanded="true"] i { background: var(--navy-900); border-color: var(--navy-900); }
.acc__q[aria-expanded="true"] i::before, .acc__q[aria-expanded="true"] i::after { background: #fff; }
.acc__q[aria-expanded="true"] i::after { transform: translate(-50%, -50%) rotate(0); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc__a > div { overflow: hidden; }
.acc__a p { color: var(--muted); padding-right: 48px; }
.acc__a p + p { margin-top: 10px; }
.acc__a p:last-child { padding-bottom: 26px; }
.acc__a strong { color: var(--ink); }
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }

/* footer */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .66); padding: clamp(64px, 8vw, 96px) 0 28px; font-size: 15px; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer__brand img { height: 52px; width: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 34ch; }
.footer__social { display: flex; gap: 10px; margin-top: 24px; }
.footer__social a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); border-radius: var(--r); color: #fff;
  transition: background .3s, border-color .3s;
}
.footer__social a:hover { background: var(--blue); border-color: var(--blue); }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__col h3 { font-size: 13px; font-stretch: 120%; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 13px; }
.footer__bottom a { color: #fff; font-weight: 700; }
.footer__bottom a:hover { color: var(--blue-300); }

/* whatsapp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 45;
  width: 58px; height: 58px; display: grid; place-items: center;
  background: #25D366; color: #fff; border-radius: 50%;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7);
  transition: transform .35s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- animação de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .diff__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { padding-top: 32px; }
}

@media (max-width: 900px) {
  .hero__in, .benefits__in, .mark__in, .contact__in, .faq__in { grid-template-columns: 1fr; }
  .hero__media { justify-self: center; width: min(100%, 420px); margin-top: 16px; }
  .float-card--a { left: -12px; }
  .float-card--b { right: -8px; }
  .hero__mark { right: -12px; top: -16px; --s: 72px; }
  .services__grid, .about__grid { grid-template-columns: 1fr; }
  .section__head--split { flex-direction: column; align-items: flex-start; }
  .mark__head, .faq__head { position: static; }
  .benefits__media { max-width: 420px; }
  .benefits__mark { left: auto; right: -12px; bottom: -16px; --s: 80px; }
  .cert__bg { width: 100%; opacity: .45; }
  .cert__card::after { background: linear-gradient(180deg, rgba(4, 14, 34, .5), var(--navy-950) 70%); }
  .cert__card { align-items: flex-end; min-height: 480px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --header-h: 68px; }
  .header__logo img { height: 34px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .float-card { padding: 12px 14px; }
  .float-card strong { font-size: 26px; }
  .diff__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding-right: 14px; }
  .stat + .stat { padding-left: 14px; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat__l { font-size: 14px; }
  .form__row { grid-template-columns: 1fr; }
  .step { padding: 24px 22px 26px; }
  .step__n { position: static; margin-bottom: 18px; }
  .acc__a p { padding-right: 0; }
  .footer__top { grid-template-columns: 1fr; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   CAMADA "TECNOLOGIA" — elementos animados
   ========================================================= */

/* ---------- utilitários ---------- */
.glass {
  background: rgba(255, 255, 255, .09);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.live { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #2BD47D; position: relative; }
.live i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #2BD47D; animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* loader */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--navy-950);
  transition: opacity .6s var(--ease), visibility .6s;
  animation: loaderOut .01s 3s forwards; /* garantia caso o JS não rode */
}
.loaded .loader { opacity: 0; visibility: hidden; }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }
.loader__mark { position: relative; width: 84px; height: 84px; }
.loader__mark i { position: absolute; inset: 0; border: 6px solid var(--blue); animation: lsq 1s var(--ease) both; }
.loader__mark i:nth-child(2) { inset: 16px; border-color: #fff; animation-delay: .12s; }
.loader__mark i:nth-child(3) { inset: 32px; background: var(--blue); border: 0; animation-delay: .24s; }
@keyframes lsq { from { transform: scale(.2) rotate(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* barra de progresso de leitura */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-300)); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* títulos palavra a palavra */
.js .reveal.split { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.split.is-in .w > span { transform: none; }
.hero__title .hl .w > span, .diff .hl .w > span {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-300) 50%, var(--blue) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* brilho que segue o mouse */
.spot { position: relative; overflow: hidden; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(11, 147, 217, .13), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.spot:hover::before { opacity: 1; }
.diff-card.spot::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(11, 147, 217, .28), transparent 50%); z-index: 0; }
.diff-card > * { position: relative; z-index: 1; }

/* símbolos contábeis flutuando */
.glyphs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.glyphs span {
  position: absolute; bottom: -60px;
  font-family: var(--f-display); font-stretch: 125%; font-weight: 800;
  color: rgba(124, 200, 240, .16);
  animation: rise linear infinite;
}
.glyphs--soft span { color: rgba(124, 200, 240, .08); }
@keyframes rise {
  from { transform: translateY(0) rotate(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  to { transform: translateY(calc(-100vh - 200px)) rotate(var(--r, 40deg)); opacity: 0; }
}

/* quadrados do logo girando */
.sq-orbit { position: absolute; width: 260px; height: 260px; right: -90px; top: -80px; z-index: -1; pointer-events: none; }
.sq-orbit i { position: absolute; inset: 0; border: 1.5px solid rgba(124, 200, 240, .35); animation: spin 28s linear infinite; }
.sq-orbit i:nth-child(2) { inset: 40px; border-color: rgba(11, 147, 217, .6); animation-duration: 18s; animation-direction: reverse; }
.sq-orbit i:nth-child(3) { inset: 90px; background: var(--blue); border: 0; animation-duration: 12s; box-shadow: 0 0 60px rgba(11, 147, 217, .7); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- HERO ---------- */
.hero__fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__frame { will-change: transform; }
.hero__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 30%;
  background: linear-gradient(180deg, transparent, rgba(11, 147, 217, .22) 85%, rgba(124, 200, 240, .7));
  mix-blend-mode: screen; animation: scan 5s var(--ease) infinite; pointer-events: none;
}
@keyframes scan { 0% { transform: translateY(-100%); opacity: 0; } 15% { opacity: 1; } 70% { transform: translateY(340%); opacity: 0; } 100% { transform: translateY(340%); opacity: 0; } }
[data-depth] { transition: transform .6s var(--ease); }

.dash {
  position: absolute; left: -96px; top: 44px; width: 260px; padding: 16px 16px 14px; color: #fff;
  background: rgba(10, 31, 68, .72);
}
.dash__top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.dash__tag { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-300); font-weight: 700; }
.dash__kpi { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 6px; }
.dash__kpi span { font-size: 12px; color: rgba(255, 255, 255, .65); }
.dash__kpi strong { font-family: var(--f-display); font-stretch: 120%; font-weight: 900; font-size: 26px; color: #2BD47D; }
.dash__kpi b { font-weight: inherit; }
.dash__chart { width: 100%; height: 60px; overflow: visible; }
.dash__line { fill: none; stroke: var(--blue-300); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 300; }
.dash__area { opacity: 0; }
.dash__pt { fill: #fff; stroke: var(--blue); stroke-width: 2; opacity: 0; }
.is-in .dash__line { animation: draw 2.2s .5s var(--ease) forwards; }
.is-in .dash__area { animation: fadeIn 1.2s 1.4s forwards; }
.is-in .dash__pt { animation: fadeIn .3s 2.4s forwards, pulse 1.8s 2.7s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes pulse { 50% { transform: scale(1.6); } }
.dash__bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 10px; }
.dash__bars i { flex: 1; height: var(--h, 10%); background: var(--blue); border-radius: 2px 2px 0 0; transition: height 1s var(--ease); }
.dash__bars i:nth-child(even) { background: rgba(124, 200, 240, .45); }
.dash__legend { display: flex; gap: 14px; margin-top: 10px; font-size: 11px; color: rgba(255, 255, 255, .6); }
.dash__legend i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 2px; }
.dash__legend .c1 { background: var(--blue); }
.dash__legend .c2 { background: rgba(124, 200, 240, .45); }

.float-card--a { left: auto; right: -34px; top: 46%; bottom: auto; animation-delay: -2s; }

.toasts { position: absolute; left: -60px; bottom: -26px; width: 250px; height: 66px; }
.toast {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px; background: #fff; color: var(--ink);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55);
  opacity: 0; transform: translateY(16px) scale(.96);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.toast.is-on { opacity: 1; transform: none; }
.toast.is-out { opacity: 0; transform: translateY(-14px) scale(.96); }
.toast__i { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(43, 212, 125, .14); }
.toast__i svg { width: 20px; height: 20px; fill: none; stroke: #18A862; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.toast.is-on .toast__i svg { animation: draw .6s .25s var(--ease) forwards; }
.toast strong { display: block; font-size: 14px; line-height: 1.2; }
.toast small { font-size: 12px; color: var(--muted); }

.hero__down {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 14px;
}
.hero__down span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- FAIXA ROLANTE ---------- */
.ticker { position: relative; overflow: hidden; padding: 46px 0; background: var(--paper); }
.ticker__row { display: flex; overflow: hidden; background: var(--navy-900); color: #fff; transform: rotate(-2deg); margin: 0 -40px; position: relative; z-index: 2; }
.ticker__row--rev { background: var(--blue); transform: rotate(1.5deg); margin-top: -18px; z-index: 1; }
.ticker__track { display: flex; align-items: center; gap: 28px; padding: 18px 14px; flex: none; white-space: nowrap; animation: marquee 40s linear infinite; }
.ticker__row--rev .ticker__track { animation-direction: reverse; animation-duration: 34s; padding: 14px; }
.ticker__track span { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(18px, 2.4vw, 28px); text-transform: uppercase; letter-spacing: .01em; }
.ticker__row--rev .ticker__track span { font-size: clamp(14px, 1.6vw, 18px); color: var(--navy-950); }
.ticker__track b { font-family: var(--f-display); font-weight: 900; font-size: 22px; color: #fff; opacity: .9; }
.ticker__track .sq-dot { width: 14px; height: 14px; color: var(--blue); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- NÚMEROS ---------- */
.stats__grid { border-top: 0; gap: 16px; }
.stat, .stat + .stat {
  padding: 28px 26px 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--white);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.stat:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(10, 31, 68, .35); border-color: transparent; }
.stat:last-child, .stat:nth-child(2) { border-right: 1px solid var(--line); }
.stat__n sup.pre { margin: 0 4px 0 0; }
.stat__viz { height: 72px; margin-bottom: 22px; display: flex; align-items: center; }

.viz-clients { display: grid !important; grid-template-columns: repeat(12, 1fr); gap: 4px; align-content: center; }
.viz-clients i { aspect-ratio: 1; background: var(--line); border-radius: 2px; transition: background .3s, transform .4s var(--ease); transform: scale(.4); }
.is-in .viz-clients i { background: var(--blue); transform: none; transition-delay: calc(var(--d) * 22ms); }
.is-in .viz-clients i:nth-child(3n) { background: var(--navy-800); }
.is-in .viz-clients i.blink { animation: blink 1.2s ease-in-out; }
@keyframes blink { 50% { background: var(--blue-300); transform: scale(.7); } }

.viz-ring { width: 72px; height: 72px; transform: rotate(-90deg); }
.viz-ring circle { fill: none; stroke-width: 7; }
.viz-ring__bg { stroke: var(--ice); }
.viz-ring__fg { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s .2s var(--ease); }
.is-in .viz-ring__fg { stroke-dashoffset: calc(100 - var(--p)); }
.viz-ring__ck { fill: none; stroke: var(--navy-900); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; transform: rotate(90deg); transform-origin: 40px 40px; transition: stroke-dashoffset .6s 1.6s var(--ease); }
.is-in .viz-ring__ck { stroke-dashoffset: 0; }

.viz-tax { flex-direction: column; align-items: stretch !important; justify-content: center; gap: 10px; }
.viz-tax__row { display: grid; grid-template-columns: 66px 1fr; align-items: center; gap: 10px; }
.viz-tax__row small { font-size: 12px; font-weight: 700; color: var(--muted); }
.viz-tax__bar { height: 14px; background: var(--paper); border-radius: 3px; overflow: hidden; }
.viz-tax__bar i { display: block; height: 100%; width: 0; background: var(--navy-700); border-radius: 3px; }
.viz-tax__bar--dr i { background: var(--blue); }
.is-in .viz-tax__bar i { animation: barIn 1.4s .2s var(--ease) forwards; }
.is-in .viz-tax__bar--dr i { animation: barDr 2.6s .2s var(--ease) forwards; }
@keyframes barIn { to { width: var(--w); } }
@keyframes barDr { 0% { width: 0; } 50% { width: 100%; } 100% { width: var(--w); } }

.viz-gauge { width: 120px; height: 70px; overflow: visible; }
.viz-gauge path { fill: none; stroke-width: 9; stroke-linecap: round; }
.viz-gauge__bg { stroke: var(--ice); }
.viz-gauge__fg { stroke: var(--blue); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s .2s var(--ease); }
.is-in .viz-gauge__fg { stroke-dashoffset: calc(100 - var(--p)); }
.viz-gauge__needle { transform-box: view-box; transform-origin: 50px 50px; transform: rotate(0); transition: transform 1.8s .2s cubic-bezier(.34, 1.4, .5, 1); }
.viz-gauge__needle line { stroke: var(--navy-900); stroke-width: 3; stroke-linecap: round; }
.viz-gauge__needle circle { fill: var(--navy-900); }
.is-in .viz-gauge__needle { transform: rotate(var(--deg)); }

/* ---------- SERVIÇOS: ícones animados ---------- */
.svc__img { position: relative; }
.svc__badge {
  position: absolute; left: 16px; bottom: 16px; width: 66px; height: 66px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 14px; box-shadow: 0 16px 30px -14px rgba(6, 20, 46, .6);
}
.svc__badge svg { width: 42px; height: 42px; fill: none; stroke: var(--navy-900); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }

.ic-doc__paper { fill: #fff; }
.ic-doc__l { stroke: var(--blue); stroke-dasharray: 16; stroke-dashoffset: 16; animation: docLine 4s var(--ease) infinite; }
.ic-doc__l.l2 { animation-delay: .2s; }
.ic-doc__l.l3 { animation-delay: .4s; }
.ic-doc__stamp { transform-box: fill-box; transform-origin: center; animation: stamp 4s var(--ease) infinite; }
.ic-doc__stamp circle { fill: #2BD47D; stroke: #fff; }
.ic-doc__stamp path { stroke: #fff; }
@keyframes docLine { 0%, 8% { stroke-dashoffset: 16; } 30%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -16; } }
@keyframes stamp { 0%, 40% { transform: scale(0) rotate(-30deg); } 52% { transform: scale(1.25) rotate(0); } 60%, 88% { transform: scale(1); } 100% { transform: scale(0); } }

.ic-team .p { opacity: .2; animation: person 3.6s ease-in-out infinite; }
.ic-team .p2 { animation-delay: .3s; stroke: var(--blue); }
.ic-team .p3 { animation-delay: .6s; }
.ic-team__ok { stroke: #2BD47D; stroke-dasharray: 22; stroke-dashoffset: 22; animation: teamLine 3.6s var(--ease) infinite; }
@keyframes person { 0%, 100% { opacity: .2; transform: translateY(3px); } 25%, 75% { opacity: 1; transform: none; } }
@keyframes teamLine { 0%, 35% { stroke-dashoffset: 22; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -22; } }

.ic-chart__ax { stroke: var(--muted); stroke-width: 2; }
.ic-chart .b { fill: var(--blue); stroke: none; transform-box: fill-box; transform-origin: bottom; animation: barUp 3.6s var(--ease) infinite; }
.ic-chart .b2 { animation-delay: .15s; fill: var(--navy-700); }
.ic-chart .b3 { animation-delay: .3s; }
.ic-chart__tr { stroke: #2BD47D; stroke-dasharray: 46; stroke-dashoffset: 46; animation: trend 3.6s var(--ease) infinite; }
@keyframes barUp { 0% { transform: scaleY(0); } 30%, 85% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes trend { 0%, 30% { stroke-dashoffset: 46; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -46; } }

/* ---------- DIFERENCIAL: fluxo híbrido ---------- */
.flow { margin-top: 28px; padding: 28px; border: 1px solid var(--line-dark); border-radius: 14px; background: rgba(255, 255, 255, .03); }
.flow__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: rgba(255, 255, 255, .7); margin-bottom: 24px; font-size: 15px; }
.flow__cap .live { color: #fff; font-family: var(--f-display); font-stretch: 115%; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.flow__track { display: flex; align-items: center; }
.flow__node {
  flex: none; width: 190px; display: grid; justify-items: start; gap: 4px;
  padding: 18px; border-radius: 12px; background: var(--navy-800); border: 1px solid var(--line-dark);
}
.flow__node strong { font-family: var(--f-display); font-stretch: 112%; font-size: 15px; margin-top: 10px; }
.flow__node small { color: rgba(255, 255, 255, .55); font-size: 13px; line-height: 1.3; }
.flow__node--end { background: var(--blue); border-color: var(--blue); }
.flow__node--end small { color: rgba(255, 255, 255, .85); }
.flow__ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(11, 147, 217, .16); color: var(--blue-300); }
.flow__node--end .flow__ic { background: rgba(255, 255, 255, .2); color: #fff; }
.flow__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flow__ic--spin svg { animation: spin 6s linear infinite; }
.flow__link { flex: 1; height: 2px; position: relative; background: repeating-linear-gradient(90deg, rgba(124, 200, 240, .35) 0 6px, transparent 6px 12px); min-width: 30px; }
.flow__link i { position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin-top: -4px; border-radius: 2px; background: var(--blue-300); box-shadow: 0 0 12px var(--blue); animation: travel 2.4s linear infinite; }
.flow__link i:nth-child(2) { animation-delay: .8s; }
.flow__link i:nth-child(3) { animation-delay: 1.6s; }
@keyframes travel { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 8px); opacity: 0; } }

/* ---------- BENEFÍCIOS: DRE animado ---------- */
.benefits__media { isolation: isolate; }
.dre {
  position: absolute; right: -48px; top: 34px; width: 270px; padding: 18px; color: #fff;
  background: rgba(6, 20, 46, .86); z-index: 2;
  animation: float 7s ease-in-out infinite;
}
.dre__t { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin-bottom: 14px; }
.dre__t small { color: rgba(255, 255, 255, .55); font-size: 12px; }
.dre__row { display: grid; grid-template-columns: 92px 1fr 12px; align-items: center; gap: 10px; font-size: 12px; padding: 6px 0; color: rgba(255, 255, 255, .78); }
.dre__row b { height: 10px; background: rgba(255, 255, 255, .08); border-radius: 3px; overflow: hidden; }
.dre__row b i { display: block; height: 100%; width: 0; background: var(--blue-300); border-radius: 3px; transition: width 1.4s var(--ease); }
.dre__row--neg b i { background: #F07C7C; }
.dre__row--res { border-top: 1px solid var(--line-dark); margin-top: 6px; padding-top: 12px; color: #fff; font-weight: 700; }
.dre__row--res b i { background: #2BD47D; }
.dre__row em { font-style: normal; color: #2BD47D; font-weight: 900; opacity: 0; }
.is-in .dre__row b i { width: var(--w); }
.is-in .dre__row:nth-child(3) b i { transition-delay: .2s; }
.is-in .dre__row:nth-child(4) b i { transition-delay: .4s; }
.is-in .dre__row:nth-child(5) b i { transition-delay: .6s; }
.is-in .dre__tax { animation: taxDown 4s 2s var(--ease) infinite alternate; }
.is-in .dre__profit { animation: profitUp 4s 2s var(--ease) infinite alternate; }
.is-in .dre__row em { animation: fadeIn .4s 2s forwards, bob 1.6s 2.4s ease-in-out infinite; }
@keyframes taxDown { to { width: 20%; } }
@keyframes profitUp { to { width: 44%; } }
@keyframes bob { 50% { transform: translateY(-3px); } }

/* ---------- REGISTRO DE MARCA: trilho ---------- */
.steps { padding-left: 40px; }
.steps__rail { position: absolute; left: 11px; top: 30px; bottom: 30px; width: 2px; background: var(--line); }
.steps__rail i { position: absolute; left: 0; top: 0; width: 100%; height: var(--fill, 0%); background: linear-gradient(180deg, var(--blue-300), var(--blue)); }
.steps__rail i::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; margin-left: -6px; background: var(--blue); box-shadow: 0 0 0 5px rgba(11, 147, 217, .2); }
.step::before {
  content: ""; position: absolute; left: -36px; top: 38px; width: 10px; height: 10px;
  background: var(--paper); border: 2px solid var(--line); transition: background .4s, border-color .4s, transform .4s var(--ease);
}
.step.is-on::before { background: var(--blue); border-color: var(--blue); transform: rotate(45deg); }
.step.is-on .step__n { background: var(--blue); }
.step__n { transition: background .4s; }

/* ---------- CERTIFICADO: cartão animado ---------- */
.cert__bg { opacity: .28; }
.cert__viz { position: absolute; right: clamp(24px, 8vw, 110px); top: 50%; transform: translateY(-50%); z-index: 1; width: 300px; height: 200px; }
.sq-orbit--cert { width: 340px; height: 340px; right: -20px; top: -70px; z-index: -1; }
.ccard { position: relative; width: 100%; height: 100%; padding: 20px; overflow: hidden; color: #fff; animation: float 6s ease-in-out infinite; }
.ccard__top { display: flex; justify-content: space-between; align-items: center; }
.ccard__chip { width: 42px; height: 32px; border-radius: 6px; background: linear-gradient(135deg, #E9C77B, #B6874B); position: relative; }
.ccard__chip::after { content: ""; position: absolute; inset: 7px 10px; border: 1.5px solid rgba(0, 0, 0, .25); border-radius: 3px; }
.ccard__ok { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #2BD47D; background: rgba(43, 212, 125, .14); padding: 5px 10px; border-radius: 100px; }
.ccard__ok svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ccard__lock { position: absolute; right: 22px; bottom: 22px; }
.ccard__lock svg { width: 48px; height: 48px; fill: none; stroke: var(--blue-300); stroke-width: 2.6; stroke-linecap: round; }
.ccard__shackle { animation: lock 3.2s var(--ease) infinite; }
@keyframes lock { 0%, 20% { transform: translateY(-5px); } 35%, 100% { transform: none; } }
.ccard__name { font-family: var(--f-display); font-stretch: 115%; font-weight: 800; font-size: 18px; margin-top: 40px; }
.ccard__code { display: flex; gap: 8px; margin-top: 12px; }
.ccard__code span { height: 8px; width: 46px; border-radius: 4px; background: rgba(255, 255, 255, .2); position: relative; overflow: hidden; }
.ccard__code span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); transform: translateX(-100%); animation: sweep 2.4s ease-in-out infinite; }
.ccard__code span:nth-child(2)::after { animation-delay: .2s; }
.ccard__code span:nth-child(3)::after { animation-delay: .4s; }
@keyframes sweep { to { transform: translateX(100%); } }
.ccard__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--blue-300); box-shadow: 0 0 18px 4px rgba(124, 200, 240, .6); animation: cscan 3.2s ease-in-out infinite; }
@keyframes cscan { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 50% { transform: translateY(198px); opacity: 1; } 60%, 100% { opacity: 0; transform: translateY(198px); } }

/* ---------- responsivo da camada tech ---------- */
@media (max-width: 1080px) {
  .flow__track { flex-wrap: wrap; gap: 12px; }
  .flow__link { display: none; }
  .flow__node { width: calc(50% - 6px); }
  .stat, .stat + .stat, .stat:nth-child(3), .stat:nth-child(n+3) { padding: 24px 22px 26px; }
}
@media (max-width: 900px) {
  .dash { left: -10px; top: 24px; width: 220px; padding: 12px; }
  .dash__bars { height: 34px; }
  .float-card--a { right: -10px; }
  .toasts { left: -6px; width: 230px; }
  .sq-orbit { width: 180px; height: 180px; right: -30px; top: -40px; }
  .sq-orbit i:nth-child(2) { inset: 28px; }
  .sq-orbit i:nth-child(3) { inset: 62px; }
  .hero__down { display: none; }
  .dre { right: -10px; width: 240px; }
  .cert__viz { position: relative; right: auto; top: auto; transform: none; margin: 36px auto 0; width: min(300px, 80%); }
  .cert__card { flex-direction: column; align-items: stretch; padding-top: 24px; }
  .sq-orbit--cert { width: 260px; height: 260px; }
}
@media (max-width: 600px) {
  .dash { width: 190px; }
  .dash__kpi strong { font-size: 20px; }
  .dash__chart { height: 44px; }
  .dash__legend { display: none; }
  .toasts { width: 220px; bottom: -34px; }
  .flow { padding: 20px; }
  .flow__node { width: 100%; grid-template-columns: 40px 1fr; column-gap: 14px; }
  .flow__node .flow__ic { grid-row: span 2; }
  .flow__node strong { margin-top: 0; }
  .ticker { padding: 30px 0; }
  .steps { padding-left: 28px; }
  .steps__rail { left: 5px; }
  .step::before { left: -28px; top: 32px; }
  .stats__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .split .w > span { transform: none; }
  .dash__line { stroke-dashoffset: 0; }
  .dash__area, .dash__pt { opacity: 1; }
  .toast:first-child { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
  .loader { display: none; }
}

/* ---------- ajustes de composição do hero (rostos livres) ---------- */
.hero__title { font-size: clamp(38px, 5.4vw, 70px); font-stretch: 112%; }
.dash { top: auto; bottom: 64px; left: -84px; width: 236px; }
.toasts { left: auto; right: -40px; top: -30px; bottom: auto; }
.float-card--a { top: auto; bottom: -28px; right: auto; left: 150px; }
.float-card strong span { font: inherit; color: inherit; }
.stat__n { font-size: clamp(40px, 4vw, 58px); font-stretch: 112%; white-space: nowrap; }
@media (max-width: 900px) {
  .dash { left: -10px; bottom: 40px; width: 200px; }
  .toasts { right: -6px; top: -26px; width: 220px; }
  .float-card--a { left: auto; right: -8px; bottom: -22px; }
}
@media (max-width: 600px) {
  .dash { width: 172px; bottom: 30px; }
  .dash__kpi span { font-size: 11px; }
  .toasts { width: 210px; }
}
.dre { top: auto; bottom: 48px; right: -56px; }
.benefits__mark { left: -24px; bottom: auto; top: -24px; }
@media (max-width: 900px) {
  .dre { right: -10px; bottom: 24px; }
  .benefits__mark { left: auto; right: -12px; top: -16px; }
}
.sq-orbit--cert i:nth-child(3) { inset: 130px; box-shadow: 0 0 40px rgba(11, 147, 217, .5); }
@media (max-width: 600px) { .dash__tag { display: none; } }
