/* =========================================================
   LipeDesign — 2026
   Design system + layout da landing page
   Estrutura MOBILE-FIRST: a base é o celular e os breakpoints
   (min-width) adicionam complexidade para telas maiores.
   641px  → tablet
   861px  → desktop (nav horizontal, grids de 3 colunas)
   1081px → desktop grande (layout completo)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #07090c;
  --bg-soft: #0a0e12;
  --surface: #0d1216;
  --surface-2: #111820;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #e9efec;
  --text-soft: #c4cfca;
  --muted: #8b9995;

  --accent: #48ba86;
  --accent-bright: #6fe9b0;
  --accent-ink: #04231a;
  --accent-soft: rgba(72, 186, 134, 0.12);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 40px);

  --font-display: "Epilogue", "Epilogue Fallback", Inter, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans",
    "Helvetica Neue", sans-serif;
  --font-body: "Epilogue", "Epilogue Fallback", Inter, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans",
    "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.68, 0.16, 1);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

a, button, summary { touch-action: manipulation; }

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

p { margin: 0; }

ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* textura de fundo */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Utilitários ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

.grad {
  background: linear-gradient(96deg, #a7f7cf 0%, var(--accent-bright) 38%, var(--accent) 74%, #2f9c6f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  z-index: 120;
  box-shadow: 0 0 12px rgba(72, 186, 134, 0.7);
}

/* ---------- Botões ---------- */
.btn {
  --btn-pad: 15px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-pad);
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgba(111, 233, 176, 0.35) inset;
}
.btn--primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -12px rgba(72, 186, 134, 0.65);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover {
  border-color: rgba(111, 233, 176, 0.5);
  background: rgba(72, 186, 134, 0.08);
  transform: translateY(-2px);
}

.btn--sm { --btn-pad: 10px 20px; font-size: 13.5px; }
.btn--full { width: 100%; }
.btn__wa { width: 18px; height: 18px; }

.btn--light {
  background: #f1f5f2;
  color: #08110d;
  padding: 7px 7px 7px 22px;
  gap: 14px;
  font-weight: 500;
}
.btn--light:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -20px rgba(241, 245, 242, 0.55);
}
.btn--light:hover .btn__orb { background: var(--accent-bright); transform: rotate(-8deg); }

.link-arrow {
  display: inline-flex;
  position: relative;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-bright);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: gap 0.25s var(--ease), border-color 0.25s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 14px; border-color: rgba(111, 233, 176, 0.5); }

/* ---------- Nav (base = menu mobile) ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px 0 0;
  transition: padding 0.35s var(--ease);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin-inline: auto;
  padding: 8px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: max-width 0.4s var(--ease), background-color 0.3s var(--ease),
    border-color 0.3s var(--ease), padding 0.4s var(--ease);
}

.nav.is-scrolled { padding: 12px 0 0; }

.nav.is-scrolled .nav__inner {
  max-width: 1180px;
  padding: 7px 7px 7px 26px;
  background: rgba(8, 11, 14, 0.97);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.95);
}

.nav__cta {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 20px;
  border-radius: 999px;
  background: #f1f5f2;
  color: #08110d;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav__cta:hover { background: #fff; transform: translateY(-1px); }

.btn__orb {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #04231a;
  flex: none;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.btn__orb svg { width: 15px; height: 15px; }
.nav__cta:hover .btn__orb { background: var(--accent-bright); transform: rotate(-8deg); }

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  position: relative;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--text);
  line-height: 1;
}

.brand__brace {
  color: var(--accent);
  font-weight: 500;
  font-size: 22px;
  transition: transform 0.3s var(--ease);
  display: inline-block;
}
.brand:hover .brand__brace:first-child { transform: translateX(-2px); }
.brand:hover .brand__brace:last-child { transform: translateX(2px); }

/* menu em tela cheia no celular */
.nav__links {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: radial-gradient(70% 50% at 80% 0%, rgba(72, 186, 134, 0.1), transparent 70%), #07090c;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  z-index: -1;
}

.nav__links a {
  position: relative;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--text);
  transition: color 0.2s var(--ease);
  padding: 12px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__links .nav__links-cta {
  display: inline-flex;
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 28px;
  color: var(--accent-ink);
}
.nav__links .nav__links-cta::after { display: none; }

.nav.is-open .nav__links { opacity: 1; visibility: visible; }
.nav.is-open { background: transparent; backdrop-filter: none; }
.nav.is-open .nav__inner {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav__toggle {
  display: block;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  position: relative;
  z-index: 3;
}
.nav__toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 23px; }

.nav.is-open .nav__toggle span:first-child { transform: translateY(3px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 2;
  padding: 8px 8px 0;
}

.hero-card {
  position: relative;
  min-height: auto;
  border-radius: 22px;
  overflow: hidden;
  background: #08100d;
  isolation: isolate;
}

.hero-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 44%;
  filter: brightness(0.86) contrast(1.06) saturate(1.04);
  animation: heroZoom 26s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-card__tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, rgba(2, 24, 17, 0.6) 0%, rgba(6, 60, 42, 0.24) 40%, rgba(72, 186, 134, 0.14) 76%, rgba(30, 242, 166, 0.08) 100%);
}

.hero-card__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 7, 6, 0.6) 0%, rgba(3, 7, 6, 0.14) 18%, transparent 34%),
    linear-gradient(92deg, rgba(3, 7, 6, 0.9) 0%, rgba(3, 7, 6, 0.66) 32%, rgba(3, 7, 6, 0.2) 62%, rgba(3, 7, 6, 0) 100%),
    linear-gradient(270deg, rgba(3, 7, 6, 0.62) 0%, rgba(3, 7, 6, 0.18) 26%, transparent 44%),
    linear-gradient(0deg, rgba(3, 7, 6, 0.94) 0%, rgba(3, 7, 6, 0.36) 22%, transparent 56%);
}

.hero-card__inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 120px 20px 0;
}

.hero-main {
  align-self: center;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 26px;
  padding-bottom: 40px;
}

.hero__title {
  font-size: clamp(2.35rem, 10.6vw, 3.3rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.hero-aside {
  justify-self: start;
  width: 100%;
  max-width: none;
  padding-bottom: 0;
}

.hero-aside__title {
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.hero-aside__text {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(233, 239, 236, 0.64);
  margin-bottom: 20px;
}

.hero-aside__stats {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(233, 239, 236, 0.5);
}
.hero-aside__stats span { display: inline-flex; align-items: center; gap: 6px; }
.hero-aside__stats span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}

.hero__link {
  position: relative;
  font-size: 13px;
  color: rgba(233, 239, 236, 0.7);
  border-bottom: 1px solid rgba(233, 239, 236, 0.25);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.hero__link:hover { color: var(--text); border-color: var(--accent); }

/* aumenta a área de toque sem mudar o visual */
.hero__link::after,
.link-arrow::after,
.brand::after {
  content: "";
  position: absolute;
  inset: -12px -10px;
}

.hero-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding: 20px 0 26px;
}

.hero-services li {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hero-services span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent-bright);
}

.hero-services p {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(233, 239, 236, 0.86);
}

/* fundo genérico (usado na 404) */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.grid-mask {
  position: absolute;
  inset: -10% -10% 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 78%);
  opacity: 0.55;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.glow--1 {
  width: 620px;
  height: 620px;
  top: -240px;
  left: -140px;
  background: radial-gradient(circle, rgba(72, 186, 134, 0.22), transparent 68%);
}
.glow--2 {
  width: 720px;
  height: 720px;
  right: -260px;
  bottom: -340px;
  background: radial-gradient(circle, rgba(47, 111, 156, 0.18), transparent 68%);
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  flex: none;
  position: relative;
  box-shadow: 0 0 0 0 rgba(111, 233, 176, 0.6);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 233, 176, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(111, 233, 176, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 233, 176, 0); }
}

/* ---------- Clientes ---------- */
.clients {
  position: relative;
  z-index: 2;
  padding: 8px 8px 0;
}

.clients__panel {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  background: linear-gradient(180deg, #0b0f12, #090c0f);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
}

.clients__label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.7;
  color: rgba(233, 239, 236, 0.42);
  flex: none;
}

.clients__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 18px;
  min-width: 0;
}

.clients__list li {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: rgba(233, 239, 236, 0.5);
  transition: color 0.25s var(--ease);
  white-space: nowrap;
}
.clients__list li:hover { color: var(--text); }

/* ---------- Seções ---------- */
.section {
  position: relative;
  padding: clamp(88px, 10vw, 150px) 0;
  z-index: 2;
  scroll-margin-top: 80px;
}
section[id] { scroll-margin-top: 80px; }
.section--tight { padding-top: clamp(70px, 8vw, 110px); }

.section-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(233, 239, 236, 0.5);
  margin-bottom: 22px;
}
.section-num span {
  color: var(--accent-bright);
  margin-right: 6px;
}

.section-head { margin-bottom: clamp(44px, 5vw, 66px); }

.section-head__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.section-title {
  font-size: clamp(2rem, 4.3vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.section-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 56ch;
  padding-bottom: 4px;
}

/* ---------- Serviços ---------- */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.008) 60%);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease),
    background 0.35s var(--ease);
  overflow: hidden;
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(72, 186, 134, 0.1), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.service:hover {
  border-color: rgba(72, 186, 134, 0.34);
  transform: translateY(-4px);
}
.service:hover::before { opacity: 1; }

.service__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.service__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(72, 186, 134, 0.22);
  background: var(--accent-soft);
  color: var(--accent-bright);
}
.service__icon svg { width: 21px; height: 21px; }

.service__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(139, 153, 149, 0.6);
}

.service h3 {
  font-size: 19px;
  letter-spacing: -0.025em;
  margin-bottom: 9px;
}

.service p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 22px;
}

.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.service__tags li {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- Por que ---------- */
.why {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: start;
}

.why__left { position: static; }

.why__text {
  margin: 26px 0 28px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 52ch;
}

.why__list {
  display: flex;
  flex-direction: column;
}

.why__list li {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.why__list li:last-child { border-bottom: 1px solid var(--line); }

.why__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
  padding-top: 5px;
  flex: none;
}

.why__list h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.why__list p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 52ch;
}

/* ---------- Processo ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  position: relative;
  padding: 30px 0 0;
}

.step__dot {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(72, 186, 134, 0.12), 0 0 16px rgba(72, 186, 134, 0.6);
}

.step__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.step h3 {
  font-size: 21px;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.step p:last-child {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 30ch;
}

/* ---------- Projetos ---------- */
.section--projects {
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(72, 186, 134, 0.06), transparent 70%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.case {
  grid-column: span 1;
  --case-ratio: 1200 / 658;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.case--lg { grid-column: span 1; }

.case:hover {
  border-color: rgba(72, 186, 134, 0.35);
  transform: translateY(-4px);
}

.case__media {
  position: relative;
  aspect-ratio: var(--case-ratio);
  overflow: hidden;
  background: #0b1014;
}

.case__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
  filter: saturate(0.92) brightness(0.94);
}

.case:hover .case__media img {
  transform: scale(1.035);
  filter: saturate(1.02) brightness(1);
}

.case__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 9, 12, 0.55), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.case:hover .case__media::after { opacity: 1; }

.case__visit {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(7, 9, 12, 0.75);
  border: 1px solid rgba(111, 233, 176, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.case__visit svg { width: 12px; height: 12px; }
.case:hover .case__visit { opacity: 1; transform: translateY(0); }

.case__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 20px;
  border-top: 1px solid var(--line);
}

.case__meta h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.case__meta p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.chip {
  flex: none;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
  margin-top: 2px;
}

/* acervo */
.archive { margin-top: clamp(64px, 7vw, 96px); }

.archive__head {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  margin-bottom: 30px;
}

.archive__title {
  font-size: 22px;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.archive__title span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  border: 1px solid rgba(72, 186, 134, 0.3);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 2px 8px;
  letter-spacing: 0.04em;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter {
  padding: 9px 13px;
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.filter:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}
.filter.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.works {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.work {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
    background 0.3s var(--ease);
}

.work.is-hidden { display: none; }

a.work:hover {
  border-color: rgba(72, 186, 134, 0.32);
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.03);
}

.work__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0b1014;
}

.work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(35%) brightness(0.82) contrast(1.02);
  transition: transform 0.6s var(--ease), filter 0.45s var(--ease);
}

a.work:hover .work__media img {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(1);
}

.work__arrow {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(7, 9, 12, 0.72);
  border: 1px solid rgba(111, 233, 176, 0.4);
  color: var(--accent-bright);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.work__arrow svg { width: 13px; height: 13px; }
a.work:hover .work__arrow { opacity: 1; transform: translateY(0); }

.work__offline {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(233, 239, 236, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 9, 12, 0.6);
  border-radius: 999px;
  padding: 2px 7px;
  backdrop-filter: blur(6px);
}

.work__meta {
  padding: 12px 14px 14px;
}

.work__meta h4 {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work__meta span {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.work--offline { opacity: 0.82; }
.work--offline:hover { border-color: var(--line); transform: none; }

.works__more {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}
.works__more[hidden] { display: none; }

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: start;
}

.faq__left { position: static; }

.faq__text {
  margin: 24px 0 26px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 34ch;
}

.faq__list details {
  border-top: 1px solid var(--line);
}
.faq__list details:last-child { border-bottom: 1px solid var(--line); }

.faq__list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  list-style: none;
  transition: color 0.2s var(--ease);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--accent-bright); }

.faq__list summary::after {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background-image: linear-gradient(var(--muted), var(--muted)), linear-gradient(var(--muted), var(--muted));
  background-size: 9px 1.5px, 1.5px 9px;
  background-position: center, center;
  background-repeat: no-repeat;
  transition: transform 0.35s var(--ease), background-color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--accent-soft);
  border-color: rgba(72, 186, 134, 0.45);
}

.faq__answer {
  overflow: hidden;
}
.faq__answer p {
  padding: 0 40px 24px 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 62ch;
  animation: fadeIn 0.4s var(--ease);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Contato ---------- */
.section--contact {
  background:
    radial-gradient(700px 420px at 12% 10%, rgba(72, 186, 134, 0.1), transparent 70%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

.contact__title {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

.contact__lead {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 42ch;
  margin-bottom: 32px;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 46px;
}

.contact__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: start;
  gap: 20px 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.contact__info li { display: flex; flex-direction: column; gap: 4px; }

.contact__label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(139, 153, 149, 0.8);
}

.contact__info a,
.contact__info > li > span:last-child {
  font-size: 14px;
  color: var(--text-soft);
  transition: color 0.2s var(--ease);
}
.contact__info a { padding: 4px 0; }
.contact__info a:hover { color: var(--accent-bright); }

.form-card {
  width: 100%;
  max-width: 560px;
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
}

.form-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}

.field { margin-bottom: 14px; }

.field label {
  display: block;
  font-size: 11.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(7, 9, 12, 0.6);
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b9995' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
}
.field select option { background: #0d1216; color: var(--text); }

.field input::placeholder,
.field textarea::placeholder { color: rgba(139, 153, 149, 0.6); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(72, 186, 134, 0.55);
  background: rgba(7, 9, 12, 0.85);
}

.field textarea { resize: vertical; min-height: 84px; font-family: var(--font-body); }

.form-card .btn { margin-top: 6px; }

.form-card__note {
  margin-top: 12px;
  font-size: 11px;
  text-align: center;
  color: rgba(139, 153, 149, 0.85);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  padding: clamp(56px, 7vw, 84px) 0 28px;
  border-top: 1px solid var(--line);
}

.footer__top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
  padding-bottom: 52px;
}

.footer__brand { max-width: 320px; }
.footer__brand img { margin-bottom: 18px; opacity: 0.95; }
.footer__brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.footer__nav {
  display: flex;
  gap: clamp(40px, 7vw, 90px);
}

.footer__nav h4 {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(139, 153, 149, 0.75);
  margin-bottom: 14px;
}

.footer__nav a {
  display: block;
  font-size: 13.5px;
  color: var(--text-soft);
  padding: 10px 0;
  transition: color 0.2s var(--ease);
}
.footer__nav a:hover { color: var(--accent-bright); }

.footer__bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  text-align: center;
  color: rgba(139, 153, 149, 0.75);
}

/* ---------- WhatsApp flutuante ---------- */
.wa-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 14px 34px -12px rgba(72, 186, 134, 0.8);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.wa-fab svg { width: 24px; height: 24px; }
.wa-fab:hover {
  transform: scale(1.07);
  background: var(--accent-bright);
}

/* ---------- Reveal ---------- */
.reveal {
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   BREAKPOINTS (mobile-first)
   ========================================================= */

/* ---------- ≥ 641px — tablet ---------- */
@media (min-width: 641px) {
  body { font-size: 16px; }

  .hero { padding: 12px 12px 0; }
  .hero-card {
    min-height: clamp(560px, calc(100svh - 140px), 860px);
    border-radius: 30px;
  }
  .hero-card__inner { padding: clamp(104px, 14vh, 150px) clamp(22px, 3.4vw, 56px) 0; }
  .hero__title { font-size: clamp(2.9rem, 7.4vw, 7rem); }
  .hero-aside { max-width: 520px; }
  .hero-aside__text { font-size: 13.5px; }
  .hero-services { gap: 18px 24px; padding: 24px 0 clamp(22px, 4vh, 38px); }
  .hero-services p { font-size: 13px; }

  .clients { padding: 12px 12px 0; }
  .clients__panel {
    gap: 20px;
    border-radius: 26px;
    padding: 28px clamp(24px, 3.4vw, 56px);
  }
  .clients__list { gap: 12px clamp(16px, 2.2vw, 34px); }
  .clients__list li { font-size: 14px; }

  .services { grid-template-columns: repeat(2, 1fr); }

  .featured { grid-template-columns: repeat(2, 1fr); }

  .works { gap: 16px; }
  .work__meta h4 { font-size: 14px; }
  .work__meta span { font-size: 9.5px; }

  .archive__head {
    align-items: center;
    flex-direction: row;
  }
  .filters { gap: 7px; }
  .filter { padding: 7px 14px; min-height: 0; }

  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .step { padding: 38px 28px 0 0; }

  .form-card { padding: 26px; }
  .contact__info { grid-template-columns: repeat(3, auto); gap: 24px 44px; }
  .contact__info a { padding: 0; }

  .footer__top { flex-direction: row; gap: 48px; }
  .footer__nav a { padding: 4px 0; }

  .wa-fab { right: 22px; bottom: 22px; width: 52px; height: 52px; }
  .wa-fab svg { width: 26px; height: 26px; }
}

/* ---------- ≥ 861px — desktop ---------- */
@media (min-width: 861px) {
  /* nav horizontal */
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }

  .nav__links {
    position: static;
    inset: auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 30px;
    background: none;
    opacity: 1;
    visibility: visible;
    z-index: auto;
  }
  .nav__links a {
    font-family: var(--font-body);
    font-size: 14px;
    padding: 4px 0;
    color: var(--text-soft);
  }
  .nav__links .nav__links-cta { display: none; }

  .nav__inner { padding: 8px clamp(22px, 3.4vw, 56px); }

  .clients__panel { grid-template-columns: auto minmax(0, 1fr); gap: 24px 48px; }
  .clients__list { justify-content: space-between; }

  .section-head__row {
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(24px, 5vw, 70px);
    align-items: end;
  }
  .section-desc { max-width: 44ch; }

  .featured { grid-template-columns: repeat(12, 1fr); }
  .case { grid-column: span 4; }
  .case--lg { grid-column: span 6; }

  .works { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- ≥ 1081px — desktop grande ---------- */
@media (min-width: 1081px) {
  .hero-main {
    grid-template-columns: minmax(0, 1.42fr) minmax(0, 0.58fr);
    gap: clamp(28px, 4vw, 64px);
    padding-bottom: clamp(30px, 6vh, 64px);
  }
  .hero-aside {
    justify-self: end;
    max-width: 330px;
    padding-bottom: 12px;
  }
  .hero-services { grid-template-columns: repeat(4, 1fr); }

  .services { grid-template-columns: repeat(3, 1fr); }

  .why,
  .faq {
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(40px, 7vw, 96px);
  }
  .faq { grid-template-columns: 0.8fr 1.2fr; }
  .why__left,
  .faq__left { position: sticky; top: 110px; }
  .why__text { max-width: 38ch; }
  .faq__text { max-width: 34ch; }

  .steps { grid-template-columns: repeat(4, 1fr); row-gap: 0; }

  .contact {
    grid-template-columns: 1fr 440px;
    gap: clamp(40px, 6vw, 84px);
  }
  .form-card { max-width: none; padding: 26px; }

  .works { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Toque (sem hover) ---------- */
@media (hover: none) {
  .case__visit,
  .work__arrow {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
