/* =========================================================
   MeuCPD — estilos do site
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--brand-indigo); color: #fff; }

.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.container { width: 100%; max-width: calc(var(--page-max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-pill); font-size: 14px; }
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--signal-blue); outline-offset: 3px; border-radius: 6px; }

/* Plus Jakarta Sans tem espaço estreito; com tracking negativo as palavras colam */
.hero__title, .section__title, .card__title, .atj__title, .step__title, .quote--lead blockquote, .notfound h1, .form__success h3 { word-spacing: 0.08em; }
.btn, .tab__title, .stat strong { word-spacing: 0.06em; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: -0.005em;
  white-space: nowrap; cursor: pointer; border: 1px solid transparent;
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.btn .i { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn--lg { height: 48px; padding: 0 24px; font-size: 15px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; box-shadow: 0 6px 20px -6px rgba(0, 0, 0, 0.35); }
.btn--ghost { background: var(--canvas); color: var(--ink); border-color: var(--bone); }
.btn--ghost:hover { border-color: var(--cloud); background: var(--mist); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-green); display: inline-block; flex: none; }
.dot--live { position: relative; }
.dot--live::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: var(--brand-green); opacity: 0.35; animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(0.5); opacity: 0.5; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Navegação ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.78); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--dur) ease, background var(--dur) ease; }
.nav.is-scrolled { border-bottom-color: var(--bone); }
.nav__inner { max-width: calc(var(--page-max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); height: 64px; display: flex; align-items: center; gap: 24px; }
.nav__logo img { height: 28px; width: auto; }
.nav__links { display: flex; gap: 2px; margin-left: 12px; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--slate); padding: 6px 12px; border-radius: var(--radius-pill); transition: color var(--dur-fast), background var(--dur-fast); }
.nav__links a:hover, .nav__links a.is-current { color: var(--ink); background: rgba(0, 0, 0, 0.04); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__wa .dot { margin-right: 2px; }
.nav__toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--bone); background: #fff; border-radius: var(--radius-pill); cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform var(--dur) var(--ease-out), top var(--dur) var(--ease-out); }
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
.nav__sheet { display: none; }

/* ---------- Tipografia de seção ---------- */
.eyebrow, .mono-label {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ash);
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--brand-indigo); }

.section { padding: var(--section-gap) 0; }
.section--band { background: var(--mist); border-top: 1px solid var(--bone); border-bottom: 1px solid var(--bone); }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head--tight { margin: 88px 0 32px; }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.section__title { font-family: var(--font-display); font-size: var(--text-heading); line-height: 1.08; font-weight: 700; letter-spacing: -0.035em; color: var(--onyx); text-wrap: balance; }
.section__lead { margin-top: 16px; font-size: 18px; line-height: 1.55; color: var(--slate); max-width: 560px; text-wrap: pretty; }
.section__head--split .section__lead { margin-top: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 112px 0 120px; overflow: hidden; }
/* Fundo quadriculado: linhas e quadrados animados desenhados no canvas (js/main.js) */
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, #eef0f3 1px, transparent 1px), linear-gradient(to bottom, #eef0f3 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 25%, transparent 78%);
}
.hero__grid canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__grid.is-drawn { background-image: none; }
.hero__inner { position: relative; }
.hero__copy { max-width: 1040px; margin: 0 auto; text-align: center; }
.announce {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 4px 12px 4px 4px; margin-bottom: 28px;
  border: 1px solid var(--bone); border-radius: var(--radius-pill); background: #fff;
  font-size: 13px; font-weight: 500; color: var(--carbon);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur) var(--ease-out);
}
.announce span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announce:hover { border-color: var(--cloud); box-shadow: var(--shadow-layer); }
.announce .i { width: 14px; height: 14px; color: var(--ash); transition: transform var(--dur) var(--ease-out); }
.announce:hover .i { transform: translateX(3px); }
.announce__tag { background: var(--brand-green-soft); color: var(--brand-green-ink); font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--radius-pill); }

.hero__title { font-family: var(--font-display); font-size: var(--text-display); line-height: 1.02; font-weight: 800; letter-spacing: -0.045em; color: var(--onyx); text-wrap: balance; }
.hero__line { display: block; }
.js [data-split] .w, .js [data-words] .w { display: inline-block; opacity: 0; transform: translateY(0.4em); filter: blur(8px); transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-soft), filter 0.8s var(--ease-soft); transition-delay: calc(var(--base, 0ms) + var(--i) * 65ms); }
.js [data-split].is-in .w, .js [data-words].is-in .w { opacity: 1; transform: none; filter: none; }
[data-split] { --base: 120ms; }
[data-words] { --base: 80ms; }
.hero__lead { margin: 28px auto 0; font-size: 20px; line-height: 1.55; color: var(--slate); max-width: 640px; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.checks { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.checks li { display: flex; gap: 8px; align-items: center; font-size: 14.5px; font-weight: 500; color: var(--carbon); }
.checks .i { width: 17px; height: 17px; color: var(--brand-green-ink); stroke-width: 2.4; }

/* ---------- Logos ---------- */
.logos { padding: 8px 0 24px; text-align: center; }
.logos .mono-label { margin-bottom: 28px; }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 48s linear infinite; padding: 8px 32px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track a { display: block; flex: none; }
.marquee__track img { width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: 0.55; transition: filter var(--dur) ease, opacity var(--dur) ease; }
.marquee__track a:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bento de serviços ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  background: #fff; border: 1px solid var(--bone); border-radius: var(--radius-large); padding: 28px; overflow: hidden;
  transition: border-color var(--dur) ease, box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.card:hover { border-color: var(--cloud); box-shadow: var(--shadow-layer); }
.card--wide { grid-column: span 2; flex-direction: row; align-items: stretch; }
.card--wide .card__body { flex: 1; }
.card--wide .card__visual { flex: 1; }
.card__kicker { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ash); margin-bottom: 14px; }
.card__title { font-family: var(--font-display); font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -0.025em; color: var(--onyx); }
.card__text { margin-top: 8px; font-size: 15px; color: var(--slate); line-height: 1.55; }
.card__list { margin-top: 20px; display: grid; gap: 10px; }
.card__list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--carbon); }
.card__list li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; flex: none; background: var(--brand-green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23138a13' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 10px no-repeat; }
.card__visual { border-radius: 14px; background: var(--mist); border: 1px solid var(--bone); min-height: 170px; position: relative; overflow: hidden; }

/* Chat do suporte */
.chat { padding: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.chat__head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--bone); margin-bottom: 4px; }
.chat__head strong { display: block; font-size: 13px; }
.chat__head small { display: block; font-size: 11px; color: var(--ash); }
.chat__avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-indigo); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.chat__msg { max-width: 82%; padding: 8px 12px; border-radius: 14px; line-height: 1.4; }
.chat__msg--in { align-self: flex-start; background: #fff; border: 1px solid var(--bone); border-bottom-left-radius: 4px; }
.chat__msg--out { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.chat__typing { align-self: flex-end; display: flex; gap: 4px; padding: 10px 12px; background: #ececec; border-radius: 14px; }
.chat__typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--ash); animation: typing 1s ease-in-out infinite; }
.chat__typing i:nth-child(2) { animation-delay: 0.15s; }
.chat__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-3px); opacity: 1; } }
.chat__done { align-self: center; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--brand-green-ink); background: var(--brand-green-soft); padding: 4px 12px; border-radius: var(--radius-pill); }
.chat__done .i { width: 14px; height: 14px; stroke-width: 2.6; }
.chat > *:not(.chat__head) { opacity: 0; transform: translateY(6px); }
.chat.is-playing > * { transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
.chat > .is-shown { opacity: 1; transform: none; }
.chat > .is-hidden { display: none; }

/* Rede */
.net { display: grid; place-items: center; padding: 8px; }
.net svg { width: 100%; max-width: 320px; }
.net__lines path { stroke: var(--cloud); stroke-width: 1.5; fill: none; stroke-dasharray: 4 5; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.net__packet { fill: var(--brand-green); }
.net__node rect { fill: #fff; stroke: var(--bone); stroke-width: 1; }
.net__node--core rect { fill: var(--ink); stroke: var(--ink); }
.net__node text { font-family: var(--font-mono); font-size: 10.5px; fill: var(--slate); text-anchor: middle; dominant-baseline: middle; }
.net__node--core text { fill: #fff; }

/* Backup */
.backup { padding: 18px; display: grid; gap: 12px; align-content: center; font-family: var(--font-mono); font-size: 11.5px; color: var(--slate); }
.backup__row { display: grid; grid-template-columns: 112px 1fr 22px; gap: 10px; align-items: center; }
.backup__row span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.backup__bar { height: 6px; border-radius: 6px; background: #e6e8ec; overflow: hidden; }
.backup__bar i { display: block; height: 100%; width: 0; background: var(--brand-indigo); border-radius: inherit; transition: width 1.4s var(--ease-soft); transition-delay: var(--d, 0s); }
.backup.is-in .backup__bar i { width: var(--w); }
.backup__row em { font-style: normal; color: var(--brand-green-ink); opacity: 0; transition: opacity 0.3s ease; transition-delay: calc(var(--d, 0s) + 1.2s); }
.backup.is-in .backup__row em { opacity: 1; }
.backup__row:nth-child(2) em { --d: 0.3s; }
.backup__row:nth-child(3) em { --d: 0.6s; }
.backup__row:nth-child(4) em { --d: 0.9s; }

/* Código */
.code { background: var(--dark); border-color: var(--dark); display: flex; align-items: center; }
.code pre { margin: 0; padding: 20px; font-family: var(--font-mono); font-size: 12px; line-height: 1.7; color: #d6d6d6; overflow: hidden; white-space: pre-wrap; }
.c-k { color: #9aa0ff; }
.c-f { color: #7be27b; }
.c-s { color: #f0c27b; }
.code__caret { display: inline-block; width: 7px; height: 14px; background: var(--brand-green); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }

/* Plano */
.plan { padding: 18px; display: grid; gap: 10px; align-content: center; }
.plan__item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--carbon); background: #fff; border: 1px solid var(--bone); border-radius: 10px; padding: 9px 12px; }
.plan__item i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--cloud); flex: none; }
.plan__item--done { color: var(--ash); }
.plan__item--done i { border-color: var(--brand-green); background: var(--brand-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 10px no-repeat; }
.plan__item--doing i { border-color: var(--brand-indigo); border-right-color: transparent; animation: rot 1s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

/* ---------- AtendeJá (bloco discreto no fim dos serviços) ---------- */
.atj {
  margin-top: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px 24px;
  padding: 24px 28px; border: 1px solid var(--bone); border-radius: var(--radius-large);
  background: linear-gradient(100deg, var(--brand-green-soft) 0%, #fff 38%);
  scroll-margin-top: 120px;
  transition: border-color var(--dur) ease, box-shadow var(--dur) var(--ease-out);
}
.atj:hover { border-color: var(--cloud); box-shadow: var(--shadow-layer); }
.atj__logo { width: 40px; height: 40px; border-radius: 11px; }
.atj__kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-green-ink); }
.atj__title { margin-top: 6px; font-family: var(--font-display); font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; color: var(--onyx); }
.atj__text { margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--slate); max-width: 640px; }
.atj__cta .i { width: 15px; height: 15px; }
.atj__cta:hover .i { transform: translate(2px, -2px); }

/* ---------- Como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; border-top: 1px solid var(--bone); }
.steps::before { content: ''; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--ink); transition: width 1.6s var(--ease-soft); }
.steps.is-in::before { width: 100%; }
.step { padding: 28px 24px 0 0; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--bone); }
.step__num { display: inline-flex; font-family: var(--font-mono); font-size: 12px; color: var(--ash); margin-bottom: 40px; }
.step__title { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--onyx); }
.step__text { margin-top: 8px; font-size: 15px; color: var(--slate); }

/* ---------- Números e depoimentos ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--bone); border-radius: var(--radius-large); padding: 28px; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(40px, 4.6vw, 60px); line-height: 1; font-weight: 700; letter-spacing: -0.045em; color: var(--onyx); font-variant-numeric: tabular-nums; }
.stat > span { display: block; margin-top: 10px; color: var(--slate); font-size: 15px; }

.quotes { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.quote { background: #fff; border: 1px solid var(--bone); border-radius: var(--radius-large); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.quote blockquote { font-size: 17px; line-height: 1.5; color: var(--carbon); letter-spacing: -0.015em; }
.quote--lead { background: var(--ink); border-color: var(--ink); }
.quote--lead blockquote { color: #fff; font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); line-height: 1.3; font-weight: 600; letter-spacing: -0.025em; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption strong { display: block; font-size: 14px; font-weight: 600; }
.quote figcaption small { display: block; font-size: 13px; color: var(--ash); }
.quote--lead figcaption strong { color: #fff; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-indigo-soft); color: var(--brand-indigo); font-size: 12px; font-weight: 700; flex: none; }
.quote--lead .avatar { background: var(--brand-green); color: var(--dark); }

/* ---------- Contato ---------- */
.contact__inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.channels { margin-top: 36px; display: grid; gap: 4px; }
.channels a { display: flex; align-items: center; gap: 14px; padding: 12px; margin: 0 -12px; border-radius: 14px; transition: background var(--dur-fast); }
.channels a:hover { background: var(--mist); }
.channels small { display: block; font-size: 12px; color: var(--ash); }
.channels strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.channels__icon { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--bone); display: grid; place-items: center; color: var(--carbon); flex: none; background: #fff; }
.channels__icon svg { width: 18px; height: 18px; }
.channels__icon--wa { background: var(--brand-green-soft); border-color: transparent; }
.channels__icon--wa svg { fill: var(--brand-green-ink); }

.form-card { background: #fff; border: 1px solid var(--bone); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-layer); position: relative; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 13px; font-weight: 600; color: var(--carbon); padding: 0; }
.field legend { margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--mist); border: 1px solid var(--bone); border-radius: var(--radius-input);
  padding: 12px 14px; outline: none; resize: vertical;
  transition: border-color var(--dur-fast), background var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { min-height: 116px; }
.field input::placeholder, .field textarea::placeholder { color: var(--fog); }
.field input:hover, .field textarea:hover { border-color: var(--cloud); }
.field input:focus, .field textarea:focus { background: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(32, 32, 32, 0.06); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e5484d; background: #fff7f7; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { cursor: pointer; position: relative; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--bone); font-size: 13px; font-weight: 500; color: var(--slate); background: #fff; transition: all var(--dur-fast) ease; }
.choices label:hover span { border-color: var(--cloud); color: var(--ink); }
.choices input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choices input:focus-visible + span { outline: 2px solid var(--signal-blue); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { font-size: 14px; color: #c62a2f; background: #fff5f5; border: 1px solid #ffd6d6; border-radius: 10px; padding: 10px 14px; }
.form__error a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 4px; }
.form__note { font-size: 12.5px; color: var(--ash); max-width: 300px; }
.btn.is-loading span { opacity: 0.6; }
.btn.is-loading .i { animation: nudge 0.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }

.form__success { text-align: center; padding: 48px 16px; outline: none; }
.form__success-icon { width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; background: var(--brand-green-soft); color: var(--brand-green-ink); display: grid; place-items: center; animation: pop 0.5s var(--ease-soft) both; }
.form__success-icon .i { width: 26px; height: 26px; stroke-width: 2.6; }
.form__success h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.form__success p { margin: 10px auto 0; max-width: 380px; color: var(--slate); }
.form__success a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }

/* ---------- Rodapé ---------- */
.footer { border-top: 1px solid var(--bone); padding: 64px 0 32px; background: #fff; }
.footer__top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.footer__brand img { height: 44px; width: auto; }
.footer__brand p { margin-top: 16px; font-size: 14px; color: var(--slate); max-width: 320px; }
.social { display: flex; gap: 8px; margin-top: 20px; }
.social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--bone); display: grid; place-items: center; color: var(--slate); transition: color var(--dur-fast), border-color var(--dur-fast); }
.social a:hover { color: var(--ink); border-color: var(--cloud); }
.social .i { width: 16px; height: 16px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__cols h4 { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ash); margin-bottom: 16px; }
.footer__cols ul { display: grid; gap: 10px; }
.footer__cols li { font-size: 14px; color: var(--slate); }
.footer__cols a:hover { color: var(--ink); }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--bone); display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--ash); }
.footer__status { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Revelação ao rolar ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-soft), filter 0.8s var(--ease-soft); transition-delay: var(--delay, 0ms); }
.js :is(.eyebrow, .section__lead, .announce, .hero__lead, .hero__cta, .checks)[data-reveal] { filter: blur(6px); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Página 404 ---------- */
.notfound { min-height: calc(100vh - 64px); display: grid; place-items: center; text-align: center; padding: 80px 24px; position: relative; overflow: hidden; }
.notfound__code { font-family: var(--font-mono); font-size: 13px; color: var(--ash); letter-spacing: 0.08em; }
.notfound h1 { margin-top: 16px; font-family: var(--font-display); font-size: var(--text-heading-lg); font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; color: var(--onyx); }
.notfound p { margin: 16px auto 32px; color: var(--slate); max-width: 420px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__sheet { display: grid; gap: 4px; max-height: 0; overflow: hidden; padding: 0 var(--gutter); transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out); }
  .nav__sheet a:not(.btn) { padding: 12px 0; font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; border-bottom: 1px solid var(--bone); }
  .nav__sheet .btn { margin-top: 12px; }
  .nav.is-open .nav__sheet { max-height: 460px; padding: 8px var(--gutter) 24px; }
  .nav.is-open { background: #fff; border-bottom-color: var(--bone); }

  .hero { padding: 88px 0 96px; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; flex-direction: column; }
  .section__head--split { grid-template-columns: 1fr; gap: 0; }
  .section__head--split .section__lead { margin-top: 16px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .nav__wa { display: none; }
  .hero { padding: 56px 0 72px; }
  .hero__line { display: inline; }
  .checks { flex-direction: column; align-items: center; gap: 10px; margin-top: 32px; }
  .hero__title { letter-spacing: -0.04em; }
  .hero__lead { font-size: 17px; margin-top: 20px; }
  .hero__cta .btn { width: 100%; }
  .announce { font-size: 12px; }
  .card { padding: 22px; }
  .atj { grid-template-columns: auto minmax(0, 1fr); padding: 20px; align-items: start; }
  .atj__cta { grid-column: 1 / -1; width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0 0; border-left: 0; }
  .step__num { margin-bottom: 16px; }
  .stat { padding: 20px; }
  .form-card { padding: 20px; border-radius: 20px; }
  .form__row { grid-template-columns: 1fr; }
  .form__foot { flex-direction: column; align-items: stretch; }
  .form__foot .btn { width: 100%; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee__track a[aria-hidden="true"] { display: none; }
}
