/* ==========================================================================
   Sutter.dev
   Base clara (papel), tinta quase preta e o roxo da marca como único acento.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --paper: #f4f4f6;
  --paper-2: #eae9ef;
  --surface: #fcfcfd;
  --ink: #0e0c14;
  --ink-2: #17141f;
  --ink-3: #231f2d;

  --text: #14121a;
  --muted: #5c5967;
  --line: rgba(20, 18, 26, .11);
  --line-strong: rgba(20, 18, 26, .22);

  --on-ink: #f3f1f8;
  --on-ink-muted: #aba6ba;
  --line-ink: rgba(243, 241, 248, .12);

  --violet: #6b2fe3;
  --violet-hover: #5923c6;
  --violet-soft: #ebe4fd;
  --violet-light: #bba4ff;

  --font-display: 'Funnel Display', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --r-sm: 12px;
  --r: 22px;
  --r-lg: 30px;

  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
  --section: clamp(88px, 11vw, 160px);

  --shadow-lg: 0 30px 60px -24px rgba(14, 12, 20, .28), 0 12px 24px -12px rgba(14, 12, 20, .12);
  --shadow-md: 0 14px 30px -14px rgba(14, 12, 20, .25);

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  scrollbar-color: #b7b3c2 var(--paper);
}
body {
  min-height: 100dvh;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  caret-color: var(--violet);
  accent-color: var(--violet);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--ink); color: var(--on-ink); padding: 12px 18px; border-radius: 999px;
  text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 12px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
  font-optical-sizing: auto;
}
.display-1 { font-size: clamp(2.75rem, 1.4rem + 4vw, 5.25rem); line-height: .98; letter-spacing: -0.04em; }
.display-2 { font-size: clamp(2.1rem, 1.4rem + 2.9vw, 4rem); }
.title-3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -0.025em; line-height: 1.1; }
.title-4 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 52ch; text-wrap: pretty; }
.muted { color: var(--muted); }
p { text-wrap: pretty; }
.accent { color: var(--violet); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.section--alt { background: var(--paper-2); }
.section--flush-top { padding-top: 0; }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink .lead, .section--ink .muted { color: var(--on-ink-muted); }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .lead { margin-top: 22px; }
.section-head--row {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.section-head--row > div { max-width: 720px; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font: 500 1rem/1 var(--font-body); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 240ms var(--ease-out); }
.btn--primary { --btn-bg: var(--violet); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line-strong); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .4); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --btn-bg: var(--ink-3); }
  .btn--primary:hover { --btn-bg: var(--violet-hover); }
  .btn--ghost:hover { --btn-bg: rgba(20, 18, 26, .05); --btn-bd: var(--text); }
  .btn--light:hover { --btn-bg: #eee9fb; }
  .btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .1); --btn-bd: #fff; }
  .btn:hover svg.arrow { transform: translateX(3px); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; text-decoration: none; color: var(--text);
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 240ms var(--ease-out); }
.section--ink .link-arrow { color: var(--on-ink); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover { color: var(--violet); }
  .section--ink .link-arrow:hover { color: var(--violet-light); }
  .link-arrow:hover svg { transform: translateX(3px); }
}

/* ---------- Cabeçalho ---------- */
.header-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 8px; pointer-events: none; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 240ms ease, border-color 240ms ease;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(244, 244, 246, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom-color: var(--line);
}
.site-header.is-open { background: var(--paper); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; }
.brand-mark { width: 21px; height: 30px; flex: none; }
.brand-word { font: 600 1.3rem/1 var(--font-display); letter-spacing: -0.03em; }
.brand-word span { color: var(--violet); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font-size: .97rem; font-weight: 450; color: var(--text); text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}
.nav-link svg { width: 14px; height: 14px; transition: transform 200ms var(--ease-out); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-link[aria-current="page"] { color: var(--violet); }
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover, .nav-link[aria-expanded="true"] { background: rgba(20, 18, 26, .06); }
}
.header-cta { margin-left: 12px; }

/* Mega menu */
.has-mega { position: static; }
.mega {
  position: absolute; left: 50%; top: calc(var(--header-h) - 6px);
  width: min(1040px, calc(100vw - 2 * var(--gutter)));
  translate: -50% 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 6px;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px) scale(.985);
  transform-origin: top center;
  transition: opacity 180ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
}
.mega.is-open {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 180ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s;
}
.mega-link {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 20px; border-radius: 16px; text-decoration: none;
  transition: background-color 160ms ease;
}
.mega-link strong { font: 600 1.12rem/1.2 var(--font-display); letter-spacing: -0.02em; }
.mega-link span { font-size: .92rem; color: var(--muted); line-height: 1.45; }
@media (hover: hover) and (pointer: fine) {
  .mega-link:hover { background: var(--paper); }
  .mega-link:hover strong { color: var(--violet); }
}
.mega-all { grid-column: 1 / 3; border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; margin-top: 4px; }
.mega-all strong { display: inline-flex; align-items: center; gap: 8px; }
.mega-all strong svg { width: 16px; height: 16px; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .mega-all:hover strong svg { transform: translateX(3px); } }
.mega-feature {
  grid-row: 1 / 4; grid-column: 3;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: 22px; border-radius: 16px; background: var(--ink); color: var(--on-ink);
  text-decoration: none; min-height: 220px;
}
.mega-feature img {
  position: absolute; right: -10px; top: -20px; width: 150px; height: auto;
  mix-blend-mode: screen; opacity: .9;
  transition: transform 500ms var(--ease-out);
}
.mega-feature strong { position: relative; font: 600 1.25rem/1.15 var(--font-display); letter-spacing: -0.02em; }
.mega-feature span { position: relative; font-size: .92rem; color: var(--on-ink-muted); }
.mega-feature em { position: relative; font-style: normal; font-size: .92rem; font-weight: 500; color: var(--violet-light); margin-top: 6px; }
@media (hover: hover) and (pointer: fine) {
  .mega-feature:hover img { transform: translateY(6px) rotate(-3deg); }
}

/* Menu mobile */
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 999px;
  align-items: center; justify-content: center; margin-right: -8px;
  transition: background-color 180ms ease, transform 160ms var(--ease-out);
}
.menu-toggle:active { transform: scale(.94); }
.menu-toggle span { position: relative; width: 20px; height: 12px; display: block; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.6px; border-radius: 2px; background: var(--text);
  transition: transform 260ms var(--ease-out), top 260ms var(--ease-out);
}
.menu-toggle span::before { top: 1px; }
.menu-toggle span::after { top: 9px; }
.menu-toggle[aria-expanded="true"] span::before { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--paper);
  padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 220ms var(--ease-out), transform 320ms var(--ease-drawer), visibility 0s linear 320ms;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 220ms var(--ease-out), transform 320ms var(--ease-drawer), visibility 0s; }
.mobile-menu ul { list-style: none; }
.mobile-menu li + li { border-top: 1px solid var(--line); }
.mobile-menu a.m-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; text-decoration: none;
  font: 600 1.9rem/1.1 var(--font-display); letter-spacing: -0.03em;
}
.mobile-menu a.m-link[aria-current="page"] { color: var(--violet); }
.mobile-menu a.m-link svg { width: 22px; height: 22px; color: var(--muted); }
.mobile-menu .m-foot { display: grid; gap: 10px; }
.mobile-menu .m-foot p { font-size: .92rem; color: var(--muted); text-align: center; margin-top: 4px; }
.m-social { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.m-social a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  font-size: .95rem; font-weight: 500; color: var(--text); text-decoration: none;
  transition: background-color 180ms ease;
}
.m-social svg { width: 18px; height: 18px; color: var(--violet); }
.m-social a:active { background: rgba(20, 18, 26, .06); }
body.menu-open { overflow: hidden; }

/* ---------- Hero (início) ---------- */
.hero { padding-top: clamp(28px, 5vw, 72px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy h1 { max-width: 11.5ch; }
.hero-copy .lead { margin-top: clamp(20px, 2.4vw, 32px); max-width: 44ch; }
.hero-copy .btn-row { margin-top: clamp(28px, 3vw, 40px); }

.hero-media {
  display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px;
  height: clamp(420px, 44vw, 640px);
}
.hero-media figure { position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .hm-1 { grid-row: 1 / 3; }
.hero-media .hm-2 { margin-top: 44px; }
.hero-media .hm-3 { margin-bottom: 44px; }
.hero-media .hm-1 img { object-position: 50% 30%; }

/* Animação de entrada do hero: o único momento coreografado da página */
.rise { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.rise > span { display: block; animation: rise 1000ms var(--ease-out) both; }
.rise:nth-child(2) > span { animation-delay: 90ms; }
.rise:nth-child(3) > span { animation-delay: 180ms; }
.hero-copy .lead { animation: fade-up 900ms var(--ease-out) 260ms both; }
.hero-copy .btn-row { animation: fade-up 900ms var(--ease-out) 360ms both; }
.hero-media figure { animation: unveil 1200ms var(--ease-in-out) both; }
.hero-media figure img { animation: settle 1600ms var(--ease-out) both; }
.hero-media .hm-1, .hero-media .hm-1 img { animation-delay: 120ms; }
.hero-media .hm-2, .hero-media .hm-2 img { animation-delay: 260ms; }
.hero-media .hm-3, .hero-media .hm-3 img { animation-delay: 400ms; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0 round var(--r)); } to { clip-path: inset(0 0 0 0 round var(--r)); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }

/* ---------- Faixa de segmentos (marquee) ---------- */
.marquee {
  display: flex; align-items: center;
  border-block: 1px solid var(--line);
  padding-block: 18px;
  overflow: hidden;
}
.marquee-label {
  flex: none; padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 8px;
  font-size: .95rem; color: var(--muted); white-space: nowrap;
}
.marquee-viewport {
  flex: 1; min-width: 0; overflow: hidden;
  padding-block: .15em; /* folga para acentos e letras com perna (g, p, ç) */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 90%, transparent);
}
.marquee-group { list-style: none; }
.marquee-item .mk { width: 12px; height: 17px; flex: none; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-item {
  display: flex; align-items: center; gap: clamp(28px, 3vw, 44px); padding-right: clamp(28px, 3vw, 44px);
  font: 500 clamp(1.4rem, 1rem + 1.4vw, 2.2rem)/1.3 var(--font-display); letter-spacing: -0.03em; color: var(--text);
  white-space: nowrap;
}
.marquee-item svg { width: 12px; height: 17px; flex: none; }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee-track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Serviços (índice interativo) ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center;
  padding: clamp(24px, 2.6vw, 34px) 0; text-decoration: none;
}
.svc-row h3 { font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.75rem); letter-spacing: -0.035em; transition: color 200ms ease, transform 400ms var(--ease-out); }
.svc-row p { grid-column: 1; color: var(--muted); max-width: 46ch; }
.svc-row .svc-arrow {
  grid-row: 1 / 3; grid-column: 2;
  width: 52px; height: 52px; border-radius: 999px; border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  transition: background-color 240ms ease, border-color 240ms ease, color 240ms ease, transform 400ms var(--ease-out);
}
.svc-row .svc-arrow svg { width: 20px; height: 20px; }
.svc-row.is-active h3 { color: var(--violet); }
.svc-row.is-active .svc-arrow { background: var(--violet); border-color: var(--violet); color: #fff; transform: rotate(-45deg); }
@media (hover: hover) and (pointer: fine) { .svc-row:hover h3 { transform: translateX(6px); } }

.svc-stage { position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.svc-stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); filter: blur(6px);
  transition: opacity 420ms var(--ease-out), transform 900ms var(--ease-out), filter 420ms var(--ease-out);
}
.svc-stage img.is-active { opacity: 1; transform: none; filter: none; }

/* ---------- Bento (diferenciais) ---------- */
.bento {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(250px, auto); gap: 14px;
}
.cell {
  position: relative; overflow: hidden; border-radius: var(--r);
  padding: clamp(24px, 2.4vw, 34px);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
}
.cell h3 { font-size: clamp(1.35rem, 1.1rem + .7vw, 1.75rem); letter-spacing: -0.03em; line-height: 1.08; }
.cell p { color: var(--muted); font-size: 1rem; max-width: 40ch; }
.cell--a { grid-column: 1 / 3; grid-row: 1 / 3; }
.cell--c { grid-column: 4; grid-row: 1 / 3; }
.cell--e { grid-column: 1 / 3; }
.cell--f { grid-column: 3 / 5; }
.cell--photo { border: 0; color: #fff; background: var(--ink); }
.cell--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.cell--photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14, 12, 20, 0) 22%, rgba(14, 12, 20, .55) 58%, rgba(14, 12, 20, .9) 100%);
}
.cell--photo > :not(img) { position: relative; z-index: 1; }
.cell--photo p { color: rgba(255, 255, 255, .84); }
@media (hover: hover) and (pointer: fine) { .cell--photo:hover img { transform: scale(1.04); } }
.cell--ink { background: var(--ink); color: var(--on-ink); border: 0; }
.cell--ink p { color: var(--on-ink-muted); }
.cell--violet { background: var(--violet); color: #fff; border: 0; }
.cell--violet p { color: rgba(255, 255, 255, .86); }
.cell--soft { background: var(--violet-soft); border: 0; }
.cell--soft p { color: #4b4560; }
.cell-icon { width: 44px; height: 44px; margin-bottom: auto; color: currentColor; opacity: .9; }
.cell--soft .cell-icon, .cell--surface .cell-icon { color: var(--violet); }
.cell-row { display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }

/* ---------- Abas (para quem) ---------- */
.tabs-list {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px;
}
.tab {
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent;
  font-size: .97rem; font-weight: 500; color: var(--text);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.tab:active { transform: scale(.97); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .tab[aria-selected="false"]:hover { border-color: var(--text); } }

.tab-panel {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px;
}
.tab-panel.is-entering { animation: panel-in 460ms var(--ease-out) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.tab-panel figure { border-radius: calc(var(--r-lg) - 10px); overflow: hidden; aspect-ratio: 5 / 4; background: var(--paper-2); }
.tab-panel figure img { width: 100%; height: 100%; object-fit: cover; }
.tab-panel .tp-body { padding: clamp(8px, 2vw, 28px) clamp(8px, 2vw, 32px) clamp(16px, 2vw, 28px) 0; }
.tab-panel h3 { font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.5rem); letter-spacing: -0.035em; }
.tab-panel .tp-body > p { margin-top: 16px; color: var(--muted); }
.tp-for { margin-top: 18px; font-size: .95rem; color: var(--muted); }
.tp-for strong { color: var(--text); font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 22px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  font-size: .9rem; font-weight: 500;
}
.chips li svg { width: 15px; height: 15px; color: var(--violet); }
.tab-panel .link-arrow { margin-top: 28px; }

/* ---------- Processo ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); counter-reset: step; }
.step { position: relative; padding-top: 44px; }
.step::before {
  content: ""; position: absolute; left: 0; right: calc(-1 * clamp(24px, 3vw, 40px)); top: 7px; height: 1px;
  background: var(--line-ink); transform-origin: left center;
}
.step:last-child::before { right: 0; }
.step::after {
  content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--ink); border: 1.5px solid var(--violet-light);
}
.step:first-child::after { background: var(--violet-light); }
.step h3 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); letter-spacing: -0.03em; }
.step p { margin-top: 12px; color: var(--on-ink-muted); max-width: 32ch; }
.section-foot { margin-top: clamp(48px, 6vw, 72px); }

/* Linha do processo desenha ao entrar na tela */
.js .steps[data-reveal].is-pending .step::before { transform: scaleX(0); }
.js .steps[data-reveal] .step::before { transition: transform 1100ms var(--ease-in-out); }
.js .steps[data-reveal] .step:nth-child(2)::before { transition-delay: 120ms; }
.js .steps[data-reveal] .step:nth-child(3)::before { transition-delay: 240ms; }
.js .steps[data-reveal] .step:nth-child(4)::before { transition-delay: 360ms; }

/* ---------- Portfólio sob pedido (chamada) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split .lead { margin-top: 22px; }
.split .btn-row { margin-top: 36px; }
.brand-panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); background: var(--ink); aspect-ratio: 5 / 4;
  display: grid; place-items: center;
}
.brand-panel img { width: 92%; height: auto; mix-blend-mode: screen; }
.brand-panel--hero { aspect-ratio: 1 / 1; animation: unveil 1100ms var(--ease-in-out) 120ms both; }
.brand-panel--hero img { width: auto; height: 74%; animation: settle 1500ms var(--ease-out) 120ms both; }
.brand-panel .bp-note {
  position: absolute; left: 24px; right: 24px; bottom: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .9rem; color: var(--on-ink-muted);
}
.brand-panel .bp-note strong { color: var(--on-ink); font-weight: 500; }
.check-list { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--violet); margin-top: 1px; }
.section--ink .check-list svg { color: var(--violet-light); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-intro .lead { margin-top: 20px; }
.faq-intro .link-arrow { margin-top: 28px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  font: 600 clamp(1.15rem, 1.05rem + .4vw, 1.4rem)/1.25 var(--font-display); letter-spacing: -0.02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  position: relative; width: 36px; height: 36px; flex: none; border-radius: 999px; border: 1px solid var(--line-strong);
  transition: transform 260ms var(--ease-out), background-color 200ms ease, border-color 200ms ease;
}
.faq-item summary .plus::before, .faq-item summary .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; border-radius: 2px;
  background: currentColor; translate: -50% -50%;
}
.faq-item summary .plus::after { rotate: 90deg; }
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-item .faq-a { padding: 0 64px 28px 0; color: var(--muted); max-width: 64ch; }
.faq-item[open] .faq-a { animation: fade-up 360ms var(--ease-out) both; }
@media (hover: hover) and (pointer: fine) { .faq-item summary:hover { color: var(--violet); } }

/* ---------- Chamada final ---------- */
.cta-band { padding-block: clamp(24px, 3vw, 40px) var(--section); }
.cta-card {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--violet); color: #fff; border-radius: var(--r-lg);
  padding: clamp(40px, 7vw, 104px) clamp(28px, 6vw, 88px);
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end;
}
.cta-card h2 { max-width: 13ch; }
.cta-card p { color: rgba(255, 255, 255, .86); font-size: 1.12rem; max-width: 40ch; }
.cta-card .btn-row { margin-top: 28px; }
.cta-card .cta-alt { display: inline-block; margin-top: 18px; color: #fff; font-weight: 500; }
.cta-mark {
  position: absolute; z-index: -1; right: -4%; top: -18%; height: 140%; width: auto;
  opacity: .14; pointer-events: none;
}

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: var(--on-ink); padding-top: clamp(72px, 9vw, 128px); padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .7fr)); gap: 40px; padding-bottom: clamp(56px, 7vw, 96px); }
.footer-brand .brand { color: var(--on-ink); }
.footer-brand p { margin-top: 22px; color: var(--on-ink-muted); max-width: 34ch; }
.footer-brand .btn { margin-top: 28px; }
.footer-col h2 { font: 500 .9rem/1.2 var(--font-body); letter-spacing: 0; color: var(--on-ink-muted); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { text-decoration: none; color: var(--on-ink); transition: color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .footer-col a:hover { color: var(--violet-light); } }
.footer-col .fc-note { color: var(--on-ink-muted); font-size: .95rem; }
.footer-word {
  font: 600 clamp(4rem, 18vw, 17rem)/.8 var(--font-display); letter-spacing: -0.06em;
  color: var(--ink-3); user-select: none; white-space: nowrap; overflow: hidden;
  padding-bottom: .06em;
}
.footer-word span { color: #2d2240; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line-ink); padding-top: 24px; margin-top: 8px;
  font-size: .9rem; color: var(--on-ink-muted);
}
.footer-bottom a { color: var(--on-ink-muted); }
.site-footer .brand-mark { width: 21px; height: 30px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1fbd5a; color: #fff;
  box-shadow: 0 14px 28px -10px rgba(14, 12, 20, .45);
  transition: transform 200ms var(--ease-out);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { transform: translateY(-2px); } }
.wa-float { animation: fade-up 600ms var(--ease-out) 1200ms both; }

/* ---------- Páginas internas ---------- */
.page-hero { padding-top: clamp(40px, 7vw, 112px); padding-bottom: clamp(48px, 6vw, 88px); }
.page-hero h1 { max-width: 14ch; }
.page-hero h1.wide { max-width: 20ch; }
.anchor-nav ~ section [id], .anchor-nav ~ section[id] { scroll-margin-top: calc(var(--header-h) + 84px); }
.page-hero .lead { margin-top: clamp(20px, 2.4vw, 32px); }
.page-hero .btn-row { margin-top: 36px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.page-hero h1 .rise > span, .page-hero h1 > .rise > span { animation-duration: 900ms; }
.page-hero .lead, .page-hero .btn-row { animation: fade-up 900ms var(--ease-out) 200ms both; }
.page-hero-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); animation: unveil 1100ms var(--ease-in-out) 120ms both; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: settle 1500ms var(--ease-out) 120ms both; }

/* Serviços: navegação de âncoras */
.anchor-nav {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(244, 244, 246, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-block: 1px solid var(--line);
}
.anchor-nav ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.anchor-nav ul::-webkit-scrollbar { display: none; }
.anchor-nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  text-decoration: none; font-size: .95rem; font-weight: 500; white-space: nowrap; color: var(--muted);
  transition: background-color 180ms ease, color 180ms ease;
}
.anchor-nav a.is-current { background: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .anchor-nav a:not(.is-current):hover { color: var(--text); background: rgba(20, 18, 26, .06); } }

.service-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.service-block + .service-block { margin-top: clamp(88px, 10vw, 152px); }
.service-block--flip .sb-media { order: 2; }
.sb-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.sb-media img { width: 100%; height: 100%; object-fit: cover; }
.sb-body h2 { max-width: 14ch; }
.sb-body > p { margin-top: 20px; color: var(--muted); font-size: 1.12rem; max-width: 48ch; }
.sb-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.sb-meta h3 { font: 500 .92rem/1.2 var(--font-body); letter-spacing: 0; color: var(--muted); margin-bottom: 14px; }
.sb-meta ul { list-style: none; display: grid; gap: 10px; }
.sb-meta li { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; }
.sb-meta li svg { width: 18px; height: 18px; flex: none; color: var(--violet); margin-top: 3px; }
.sb-body .btn-row { margin-top: 36px; }

/* Bloco escuro de largura total (lojas online) */
.feature-wide {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); background: var(--ink); color: var(--on-ink);
  min-height: clamp(520px, 56vw, 700px);
  display: grid; align-items: end;
  padding: clamp(28px, 5vw, 72px);
}
.feature-wide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.feature-wide::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 12, 20, .9) 0%, rgba(14, 12, 20, .72) 45%, rgba(14, 12, 20, .15) 100%);
}
.feature-wide .fw-body { max-width: 560px; }
.feature-wide .fw-body > p { margin-top: 20px; color: rgba(243, 241, 248, .84); font-size: 1.12rem; }
.feature-wide .sb-meta { border-top-color: var(--line-ink); }
.feature-wide .btn-row { margin-top: 32px; }
.feature-wide .sb-meta h3 { color: var(--on-ink-muted); }
.feature-wide .sb-meta li svg { color: var(--violet-light); }

/* Sistemas: lista de módulos */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.module {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 18px; align-content: start;
  padding: 32px 28px 36px 0; border-bottom: 1px solid var(--line);
}
.module:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.module svg {
  grid-row: 1 / 3; width: 44px; height: 44px; padding: 10px; border-radius: 999px;
  color: var(--violet); background: var(--violet-soft);
}
.module h3 { font-size: 1.3rem; letter-spacing: -0.02em; align-self: center; }
.module p { color: var(--muted); font-size: .98rem; grid-column: 2; }

/* Incluso em todo projeto */
.included { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-ink); }
.included li { list-style: none; padding: 32px 28px 36px 0; border-bottom: 1px solid var(--line-ink); }
.included li:not(:nth-child(4n + 1)) { padding-left: 28px; border-left: 1px solid var(--line-ink); }
.included svg { width: 26px; height: 26px; color: var(--violet-light); margin-bottom: 22px; }
.included h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.included p { margin-top: 8px; color: var(--on-ink-muted); font-size: .96rem; }

/* Para quem: grade editorial de segmentos */
.segments { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(16px, 2vw, 28px); }
.segment { display: grid; gap: 22px; align-content: start; }
.segment:nth-child(6n + 1) { grid-column: 1 / 8; }
.segment:nth-child(6n + 2) { grid-column: 8 / 13; margin-top: clamp(40px, 8vw, 140px); }
.segment:nth-child(6n + 3) { grid-column: 1 / 6; }
.segment:nth-child(6n + 4) { grid-column: 6 / 13; margin-top: clamp(40px, 6vw, 96px); }
.segment:nth-child(6n + 5) { grid-column: 1 / 8; }
.segment:nth-child(6n + 6) { grid-column: 8 / 13; margin-top: clamp(40px, 8vw, 140px); }
.segment figure { border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; }
.segment:nth-child(6n + 2) figure, .segment:nth-child(6n + 3) figure, .segment:nth-child(6n + 6) figure { aspect-ratio: 4 / 5; }
.segment figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .segment:hover figure img { transform: scale(1.03); } }
.segment h2 { font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.5rem); letter-spacing: -0.035em; }
.segment .seg-who { font-size: .95rem; color: var(--muted); margin-top: 8px; }
.segment > div > p:not(.seg-who) { margin-top: 14px; color: var(--muted); max-width: 52ch; }
.segment .chips { margin-top: 18px; }
.segment .chips li { background: var(--surface); }

/* Processo detalhado */
.timeline { list-style: none; border-top: 1px solid var(--line); }
.tl-item {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px);
  padding-block: clamp(32px, 4vw, 52px); border-bottom: 1px solid var(--line);
}
.tl-item h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.75rem); letter-spacing: -0.035em; display: flex; gap: 16px; align-items: baseline; }
.tl-item h2 .tl-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--violet); flex: none; transform: translateY(-4px); }
.tl-item > p { color: var(--muted); font-size: 1.08rem; max-width: 52ch; }
.tl-get { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px 20px; align-self: start; }
.tl-get h3 { font: 500 .88rem/1.2 var(--font-body); letter-spacing: 0; color: var(--muted); margin-bottom: 8px; }
.tl-get p { font-size: .98rem; font-weight: 500; }

.need-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.need { border-radius: var(--r); padding: 28px; background: var(--ink-2); border: 1px solid var(--line-ink); }
.need svg { width: 28px; height: 28px; color: var(--violet-light); margin-bottom: 40px; }
.need h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.need p { margin-top: 8px; color: var(--on-ink-muted); font-size: .96rem; }

/* Sobre */
.manifesto { font: 500 clamp(1.8rem, 1.2rem + 2.4vw, 3.4rem)/1.12 var(--font-display); letter-spacing: -0.035em; max-width: 26ch; text-wrap: balance; }
.manifesto em { font-style: normal; color: var(--violet); }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(32px, 6vw, 96px); }
.principle { padding-top: 28px; border-top: 1px solid var(--line); }
.principle h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -0.03em; }
.principle p { margin-top: 14px; color: var(--muted); max-width: 46ch; }
.logo-stage { border-radius: var(--r-lg); background: var(--ink); overflow: hidden; display: grid; place-items: center; padding: clamp(32px, 6vw, 88px) clamp(16px, 4vw, 48px); }
.logo-stage img { width: min(100%, 980px); mix-blend-mode: screen; }

/* Portfólio */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.reason { border-radius: var(--r); padding: clamp(28px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; min-height: 280px; }
.reason:nth-child(2) { background: var(--ink); color: var(--on-ink); border: 0; }
.reason:nth-child(2) p { color: var(--on-ink-muted); }
.reason:nth-child(2) svg { color: var(--violet-light); }
.reason svg { width: 30px; height: 30px; color: var(--violet); margin-bottom: auto; }
.reason h3 { font-size: 1.5rem; letter-spacing: -0.03em; margin-top: 48px; }
.reason p { color: var(--muted); }

/* Contato */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-info .lead { margin-top: 24px; }
.contact-list { list-style: none; margin-top: 40px; border-top: 1px solid var(--line); }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list a, .contact-list .cl-static {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 20px 0; text-decoration: none;
}
.contact-list .cl-icon { width: 44px; height: 44px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--violet); }
.contact-list .cl-icon svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .88rem; color: var(--muted); }
.contact-list strong { font-weight: 500; font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-list .cl-go { width: 18px; height: 18px; color: var(--muted); transition: transform 240ms var(--ease-out), color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .contact-list a:hover strong { color: var(--violet); }
  .contact-list a:hover .cl-go { transform: translate(2px, -2px); color: var(--violet); }
}

.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.03em; }
.form-card > p { margin-top: 10px; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: .92rem; font-weight: 500; }
.field .opt { color: var(--muted); font-weight: 400; }
.input {
  width: 100%; min-height: 52px; padding: 14px 16px;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-size: 1rem; line-height: 1.4; color: var(--text);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.input::placeholder { color: #7a7685; }
.input:hover { border-color: rgba(20, 18, 26, .38); }
.input:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(107, 47, 227, .14); }
.input[aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 4px rgba(180, 35, 24, .1); }
select.input {
  appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314121a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
textarea.input { min-height: 140px; resize: vertical; }
.check {
  grid-column: 1 / -1;
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  padding: 16px; border-radius: var(--r-sm); background: var(--violet-soft);
  font-size: .97rem;
}
.check input { width: 20px; height: 20px; margin-top: 1px; flex: none; }
.check small { display: block; color: #4b4560; font-size: .88rem; margin-top: 2px; }
.form .btn { grid-column: 1 / -1; margin-top: 4px; }
.form-note { grid-column: 1 / -1; font-size: .9rem; color: var(--muted); text-align: center; min-height: 1.4em; }
.form-note.is-error { color: #b42318; }

.next-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); counter-reset: next; }
.next-steps li { position: relative; padding-top: 40px; border-top: 1px solid var(--line-strong); counter-increment: next; }
.next-steps li::before {
  content: ""; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper-2); border: 1.5px solid var(--violet);
}
.next-steps li:first-child::before { background: var(--violet); }
.next-steps h3 { font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); letter-spacing: -0.025em; }
.next-steps p { margin-top: 8px; color: var(--muted); font-size: .98rem; }

/* 404 */
.not-found { min-height: calc(100dvh - var(--header-h)); display: grid; align-items: center; padding-block: 64px; }
.not-found .nf-code { font: 600 clamp(6rem, 3rem + 14vw, 14rem)/.85 var(--font-display); letter-spacing: -0.06em; color: var(--violet); }

/* ---------- Revelação ao rolar (só com JS; conteúdo visível por padrão) ---------- */
.js [data-reveal] { transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out); }
.js [data-reveal].is-pending { opacity: 0; transform: translateY(28px); }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav-list, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .mega { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .included { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .included li:not(:nth-child(4n + 1)) { padding-left: 0; border-left: 0; }
  .included li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line-ink); }
  .need-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-grid, .page-hero-grid, .split, .faq, .contact-grid, .service-block { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 13ch; }
  .hero-media { height: clamp(360px, 92vw, 560px); }
  .svc { grid-template-columns: 1fr; }
  .svc-stage { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell--a { grid-column: 1 / 3; grid-row: auto; min-height: 380px; }
  .cell--c { grid-column: 2; grid-row: span 2; }
  .cell--e, .cell--f { grid-column: 1 / 3; }
  .tab-panel { grid-template-columns: 1fr; }
  .tab-panel .tp-body { padding: 8px 12px 20px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .step:nth-child(2)::before { right: 0; }
  .faq-intro { position: static; }
  .cta-card { grid-template-columns: 1fr; align-items: start; }
  .service-block--flip .sb-media { order: 0; }
  .sb-media { aspect-ratio: 4 / 3; }
  .modules, .reasons, .next-steps { grid-template-columns: 1fr; }
  .module:nth-child(n) { padding-left: 0; border-left: 0; }
  .next-steps { row-gap: 40px; }
  .reason { min-height: 0; }
  .tl-item { grid-template-columns: 1fr; gap: 14px; }
  .principles { grid-template-columns: 1fr; }
  .segment:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .segment:nth-child(n) figure { aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; }
  .brand-word { font-size: 1.2rem; }
  .hero-copy .btn-row .btn { flex: 1 1 100%; }
  .hero-media { grid-template-columns: 1fr 1fr; gap: 10px; height: 420px; }
  .hero-media .hm-2 { margin-top: 28px; }
  .hero-media .hm-3 { margin-bottom: 28px; }
  .bento { grid-template-columns: 1fr; }
  .cell--a, .cell--c, .cell--e, .cell--f { grid-column: 1; grid-row: auto; }
  .cell--c { min-height: 380px; }
  .cell { min-height: 220px; }
  .tabs-list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .tabs-list::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .tab-panel { padding: 10px; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { padding: 0 0 40px 40px; }
  .step::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: top center; }
  .step:last-child { padding-bottom: 0; }
  .step:last-child::before { display: none; }
  .js .steps[data-reveal].is-pending .step::before { transform: scaleY(0); }
  .svc-row .svc-arrow { width: 44px; height: 44px; }
  .faq-item .faq-a { padding-right: 0; }
  .form { grid-template-columns: 1fr; }
  .sb-meta { grid-template-columns: 1fr; }
  .included { grid-template-columns: 1fr; }
  .included li:nth-child(n) { padding: 28px 0; border-left: 0; }
  .need-grid { grid-template-columns: 1fr; }
  .need svg { margin-bottom: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .cta-card .btn-row .btn { flex: 1 1 100%; }
  .page-hero .btn-row .btn { flex: 1 1 100%; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .contact-list a, .contact-list .cl-static { grid-template-columns: 44px minmax(0, 1fr) auto; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; }
  .marquee-track { animation: none !important; flex-wrap: wrap; width: auto; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .marquee-group { flex-wrap: wrap; row-gap: 12px; }
  .js [data-reveal], .js [data-reveal].is-pending { opacity: 1; transform: none; transition: none; }
  .js .steps[data-reveal].is-pending .step::before { transform: none; }
  .svc-stage img, .tab-panel.is-entering { transition: opacity 200ms ease; transform: none; filter: none; }
  .btn, .tab, .svc-row h3, .svc-row .svc-arrow { transition-property: background-color, color, border-color; }
}
