/* Felipe Alvim — desenvolvimento web e mobile */

:root {
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --brand: #12141a;
  --brand-hot: #2a303c;
  --brand-deep: #0e1014;
  --brand-ink: #12141a;
  --on-brand: #ffffff;
  --accent: #1a6dff;
  --accent-deep: #0b4ed1;
  --accent-soft: #e8f0ff;
  --ink: #12141a;
  --muted: #5c6570;
  --surface: #ffffff;
  --surface-2: #f6f7f9;
  --card: #ffffff;
  --line: #e6e8ec;
  --hero-glow: rgba(26, 109, 255, 0.16);
  --hero-mesh: radial-gradient(ellipse 80% 60% at 72% 8%, rgba(26, 109, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 42% 36% at 12% 18%, rgba(255, 255, 255, 0.95), transparent 52%),
    radial-gradient(ellipse 48% 38% at 8% 88%, rgba(18, 20, 26, 0.03), transparent 50%),
    linear-gradient(165deg, #ffffff 0%, #f7f8fa 48%, #f0f2f5 100%);
  --shadow: 0 18px 40px rgba(18, 20, 26, 0.07);
  --radius: 14px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --media-h: 140px;
  --portrait-w: 200px;
  --portrait-h: 250px;
  --about-w: 280px;
  --about-h: 350px;
  --hero-portrait-w: 320px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-deep);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--brand);
  color: var(--on-brand);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  max-width: 1120px;
  margin-inline: auto;
}

.container.narrow {
  width: min(720px, calc(100% - 2.5rem));
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(11, 31, 42, 0.08);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  min-width: 0;
}

.brand:hover {
  color: inherit;
}

.brand-mark-img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  flex-shrink: 0;
  display: block;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  line-height: 1.05;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--brand-deep);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.nav {
  display: none;
  gap: 1.25rem;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.15rem;
  transition: color 0.25s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--muted);
}

.lang-btn.is-active {
  background: var(--brand);
  color: var(--on-brand);
}

.lang-btn:hover:not(.is-active) {
  color: var(--ink);
}

.faq-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.faq-intro .section-lead {
  margin-bottom: 1.25rem;
}

.faq-points {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.faq-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

.faq-points li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.faq-cta-label {
  margin: 0 0 0.7rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.faq-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.faq-cta .btn {
  min-height: 2.75rem;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease);
}

.faq-cta .btn:hover {
  transform: translateY(-2px);
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-group {
  margin: 1.15rem 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
}

.faq-list > .faq-group:first-child {
  margin-top: 0;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.28s var(--ease);
}

.faq-item:hover {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
}

.faq-item[open] {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  background: linear-gradient(165deg, var(--accent-soft) 0%, var(--card) 46%);
  box-shadow: var(--shadow);
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  list-style: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem 0.85rem;
  padding: 1.05rem 1.1rem;
}

.faq-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.faq-q {
  min-width: 0;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--brand);
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.faq-body {
  padding: 0 1.1rem 1.15rem;
}

.faq-item p {
  margin: 0;
  padding-top: 0.15rem;
  border-top: 1px solid color-mix(in srgb, var(--accent) 16%, var(--line));
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.6;
}

@media (min-width: 900px) {
  .faq-layout {
    grid-template-columns: minmax(16.5rem, 0.78fr) minmax(0, 1.35fr);
    gap: 2.75rem;
    align-items: start;
  }

  .faq-intro {
    position: sticky;
    top: calc(var(--header-h) + 1.15rem);
  }

  .faq-body {
    padding-left: calc(1.15rem + 1.7rem);
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  transition: transform 0.22s var(--ease), background 0.22s, color 0.22s, border-color 0.22s, box-shadow 0.22s;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn:active {
  transform: translateY(0) scale(1);
}

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 28%, transparent);
}

.btn-primary:hover {
  background: var(--brand-hot);
  color: var(--on-brand);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 32%, transparent);
}

.btn-whatsapp {
  background: #1f9e57;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #178a49;
  color: #fff;
}

.btn-pulse {
  animation: ctaPulse 2.8s var(--ease) infinite;
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 45%, transparent);
  }
  50% {
    box-shadow: 0 0 0 12px transparent;
  }
}

.availability-pill {
  margin: 1.35rem 0 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 80%, transparent);
  color: var(--muted);
  font-size: 0.88rem;
}

.availability-pill strong {
  color: var(--ink);
}

.pulse-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #1f9e57;
  box-shadow: 0 0 0 0 rgba(31, 158, 87, 0.55);
  animation: livePulse 1.8s ease-out infinite;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 158, 87, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: clip;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hero-mesh);
  animation: meshShift 14s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.28;
}

@keyframes meshShift {
  from {
    filter: hue-rotate(0deg) saturate(1);
  }
  to {
    filter: hue-rotate(12deg) saturate(1.08);
  }
}

.hero-grid {
  display: grid;
  gap: 2rem;
  padding-block: 2.35rem 2.85rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  max-width: none;
}

.hero h1 {
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.4vw, 3.85rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-role {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 500;
  color: var(--brand);
}

.hero-lead {
  margin: 1.2rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.12rem;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-aside,
.hero-photo-wrap {
  justify-self: stretch;
}

.hero-photo-wrap {
  position: relative;
  width: min(100%, var(--hero-portrait-w));
  margin-inline: auto;
}

.hero-portrait {
  position: relative;
  isolation: isolate;
  border-radius: 22px;
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: 0.85rem -0.7rem -0.7rem 0.85rem;
  border-radius: 22px;
  background: var(--accent-soft);
  z-index: 0;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 22px 48px rgba(18, 20, 26, 0.14);
  display: block;
}

.hero-facts {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0.7rem 0.85rem;
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  font-size: 0.86rem;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.hero-facts li {
  display: grid;
  gap: 0.15rem;
}

.hero-fact-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.hero-fact-value {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
  hyphens: none;
}

.hero-facts strong {
  color: var(--ink);
  font-weight: 700;
  margin-right: 0.35rem;
}

.hero-enter {
  opacity: 0;
  animation: heroEnter 0.72s var(--ease) forwards;
}

.hero-copy .hero-enter:nth-child(1) { animation-delay: 0.06s; }
.hero-copy .hero-enter:nth-child(2) { animation-delay: 0.14s; }
.hero-copy .hero-enter:nth-child(3) { animation-delay: 0.22s; }
.hero-copy .hero-enter:nth-child(4) { animation-delay: 0.3s; }
.hero-copy .hero-enter:nth-child(5) { animation-delay: 0.36s; }
.hero-copy .hero-enter:nth-child(6) { animation-delay: 0.42s; }
.hero-aside.hero-enter,
.hero-photo-wrap.hero-enter { animation-delay: 0.2s; }

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Sections */

.section {
  position: relative;
  padding: 5rem 0;
}

.section-alt {
  background: var(--surface-2);
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.section-title::after {
  content: "";
  display: block;
  width: 3.4rem;
  height: 3px;
  margin-top: 0.7rem;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  transform: scaleX(0.2);
  transform-origin: left center;
  opacity: 0.35;
  transition: transform 0.55s var(--ease), opacity 0.45s var(--ease);
}

.section.is-inview .section-title::after {
  transform: scaleX(1);
  opacity: 1;
}

.section-lead {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 40rem;
}

.about-en {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
}

/* Projects — outcome-first cards */

.project-list {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.project {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.project:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  box-shadow: var(--shadow);
}

.project-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  border-radius: 0;
  overflow: hidden;
  background: var(--surface-2);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--ease);
}

.project:hover .project-thumb img {
  transform: scale(1.04);
}

.project-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand);
  background: linear-gradient(145deg, var(--surface-2), color-mix(in srgb, var(--brand) 12%, var(--card)));
}

.project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 1.15rem 1.25rem 1.3rem;
}

.project-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.project-body .tag {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.7rem;
}

.project-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}

.project-body p,
.project-desc {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.project-result {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.5;
}

.project-result-label {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.project-footer {
  margin-top: auto;
}

.project-stack {
  font-size: 0.92rem !important;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.15rem;
  padding-top: 0.15rem;
}

.project-links .btn {
  width: 100%;
  min-height: 2.85rem;
  font-size: 0.95rem;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 22%, transparent);
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
}

.text-link:hover {
  border-bottom-color: var(--brand);
}

/* Stack */

.stack-head {
  margin-bottom: 1.65rem;
}

.stack-head .section-lead {
  margin-bottom: 0;
}

.stack-groups {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 1.35rem;
  align-items: stretch;
}

.stack-group {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem 1.3rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.stack-group h3 {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  min-height: 1.15em;
}

.stack-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.5rem;
  flex: 1;
}

.stack-grid li {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--surface-2);
}

.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 2.15rem;
}

.principles {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.principles h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.principles-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.principles-grid li {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 1.2rem 1.25rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--muted);
}

.principles-grid .value-index {
  margin-bottom: 0.65rem;
}

.principles-grid strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

/* Process — reduces hiring risk */

.process-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.process-grid li {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.2rem 1.25rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.process-step {
  display: inline-grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--on-brand);
  background: var(--brand);
}

.process-grid h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.process-out {
  margin-top: auto !important;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--ink) !important;
  font-size: 0.88rem !important;
  font-weight: 600;
}

.process-extra {
  margin-top: 2.25rem;
}

.process-extra-title,
.process-need h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.process-extra-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 40rem;
}

.process-times {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.process-times li {
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.process-times strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.process-times span {
  color: var(--muted);
  font-size: 0.9rem;
}

.process-need {
  margin-top: 1.75rem;
}

.process-need ul {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.process-need li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--muted);
}

.process-need li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--brand);
}

.process-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.contact-next-title {
  margin: 1.75rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.contact-quick {
  margin: 0 0 1.35rem;
}

.contact-next {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
  counter-reset: contact-next;
}

.contact-next li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  counter-increment: contact-next;
}

.contact-next li::before {
  content: counter(contact-next, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.12rem;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-family: var(--font-display);
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.contact-channels a,
.contact-address {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--brand);
}

.contact-address {
  margin: 1rem 0 0;
  color: var(--muted);
  font-weight: 500;
}

.channel-icon {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 14%, var(--card));
  color: var(--brand);
}

.contact-channels a:hover {
  color: var(--ink);
}

.req {
  color: var(--brand);
  font-weight: 700;
}

.form-success {
  text-align: center;
  padding: 0.35rem 0.15rem 0.1rem;
  display: grid;
  gap: 0.7rem;
  justify-items: center;
}

.form-success[hidden] {
  display: none !important;
}

.contact-form.is-sent > .btn-primary,
.btn[hidden] {
  display: none !important;
}

.form-success-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--brand) 18%, var(--card));
  color: var(--brand);
  animation: successPop 0.5s var(--ease) both;
}

@keyframes successPop {
  from {
    opacity: 0;
    transform: scale(0.72);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.form-success-icon svg {
  display: block;
}

.form-success-hello {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.01em;
}

.form-success h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.form-success-lead {
  margin: 0;
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.55;
}

.form-success-next {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.form-success-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  text-align: left;
  width: min(100%, 26rem);
  color: var(--muted);
  font-size: 0.95rem;
}

.form-success-steps li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.55rem;
  align-items: start;
}

.form-success-steps li::before {
  content: counter(step);
  counter-increment: step;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--on-brand);
  background: var(--brand);
}

.form-success-steps {
  counter-reset: step;
}

.form-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 0.35rem;
}

@media (prefers-reduced-motion: reduce) {
  .form-success-icon {
    animation: none;
  }
}

.contact-form.is-sent .field,
.contact-form.is-sent .field-hint,
.contact-form.is-sent .form-status,
.contact-form.is-sent .form-badge,
.contact-form.is-sent .form-note {
  display: none;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
}

.optional {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.field-hint {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.field-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.85rem;
}

.field-count {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.field-count.is-ok {
  color: #1a7f4b;
}

.form-badge {
  margin: 0;
  justify-self: start;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.subject-hint {
  margin: 0.2rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 10%, var(--surface-2));
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.45;
}

.form-note {
  margin: -0.35rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.field-consent {
  margin-top: 0.1rem;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
}

.field.field-consent input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.18rem 0 0;
  padding: 0;
  flex: 0 0 auto;
  accent-color: var(--ink);
  border-radius: 4px;
  transform: none;
}

.consent-label a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.consent-label a:hover {
  color: var(--accent-deep);
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status.is-ok {
  color: #1a7f4b;
}

.form-status.is-error {
  color: #c62828;
}

.contact-form .btn[disabled] {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

/* Footer */

.site-footer {
  padding: 3.25rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  margin: 0.85rem 0 1rem;
  color: var(--muted);
  max-width: 22rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-cta {
  margin: 0 0 1.05rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.footer-social a,
.footer-col a,
.footer-legal a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-social a:hover,
.footer-col a:hover,
.footer-legal a:hover {
  color: var(--accent);
}

.footer-col h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
}

.footer-col ul,
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-social a,
.footer-contact a,
.footer-address,
.footer-hours {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-social .channel-icon,
.footer-contact .channel-icon {
  width: 1.6rem;
  height: 1.6rem;
}

.footer-address,
.footer-hours {
  color: var(--muted);
  font-weight: 500;
  align-items: flex-start;
}

.footer-hours span:last-child,
.footer-address span:last-child {
  line-height: 1.4;
}

.footer-area {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 16rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.15rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  gap: 1rem;
}

.footer-note {
  margin: 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 780px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  }
}

/* Reveal motion */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.reveal-left {
  transform: translateX(-22px);
}

.reveal.reveal-right {
  transform: translateX(22px);
}

.reveal.reveal-scale {
  transform: translateY(12px) scale(0.98);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 0.08s;
}
.delay-2 {
  transition-delay: 0.16s;
}
.delay-3 {
  transition-delay: 0.24s;
}

.value-grid {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 1.25rem;
  align-items: stretch;
}

.value-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.35rem 1.4rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.value-item:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  box-shadow: var(--shadow);
}

.value-index {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.value-item h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.value-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.trust-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.trust-strip li {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 3rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.stagger.stagger-on > * {
  animation: staggerIn 0.55s var(--ease) both;
}

.stagger.stagger-on > *:nth-child(1) { animation-delay: 0.04s; }
.stagger.stagger-on > *:nth-child(2) { animation-delay: 0.1s; }
.stagger.stagger-on > *:nth-child(3) { animation-delay: 0.16s; }
.stagger.stagger-on > *:nth-child(4) { animation-delay: 0.22s; }
.stagger.stagger-on > *:nth-child(5) { animation-delay: 0.28s; }
.stagger.stagger-on > *:nth-child(6) { animation-delay: 0.34s; }
.stagger.stagger-on > *:nth-child(7) { animation-delay: 0.4s; }
.stagger.stagger-on > *:nth-child(8) { animation-delay: 0.46s; }
.stagger.stagger-on > *:nth-child(9) { animation-delay: 0.52s; }
.stagger.stagger-on > *:nth-child(10) { animation-delay: 0.58s; }
.stagger.stagger-on > *:nth-child(11) { animation-delay: 0.64s; }
.stagger.stagger-on > *:nth-child(12) { animation-delay: 0.7s; }

@keyframes staggerIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.stack-grid li {
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.stack-grid li:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  background: color-mix(in srgb, var(--brand) 8%, var(--card));
}

.contact-form {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.contact-form.is-success {
  border-color: color-mix(in srgb, #1f9e57 50%, var(--line));
  box-shadow: 0 0 0 4px rgba(31, 158, 87, 0.12);
}

.contact-form.shake {
  animation: formShake 0.4s ease;
}

@keyframes formShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-6px);
  }
  75% {
    transform: translateX(6px);
  }
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 60;
  display: flex;
  gap: 0.55rem;
  padding: 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  opacity: 0;
}

.sticky-cta.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-bg,
  .hero-enter,
  .reveal,
  .btn-pulse,
  .pulse-dot,
  .stagger.stagger-on > *,
  .sticky-cta,
  .contact-form.shake,
  .form-success-icon,
  .section-title::after,
  .project:hover .project-thumb img,
  .results-card:hover,
  .faq-item summary::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .sticky-cta.is-visible {
    transform: translateX(-50%);
  }
}

@media (min-width: 780px) {
  .hero {
    --hero-portrait-w: 380px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, var(--hero-portrait-w));
    align-items: center;
    gap: 1.75rem 2.25rem;
    padding-block: 2.5rem 3rem;
  }

  .hero-facts {
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.7rem;
    z-index: 2;
    margin: 0;
    gap: 0.38rem;
    padding: 0.65rem 0.8rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: color-mix(in srgb, var(--card) 88%, transparent);
  }

  .hero-aside,
  .hero-photo-wrap {
    justify-self: end;
    margin-inline: 0;
    width: 100%;
  }

  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stack-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
  }

  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .hero {
    --hero-portrait-w: 430px;
  }

  .nav {
    display: flex;
  }

  .header-actions {
    margin-left: 0;
  }

  .nav-toggle {
    display: none !important;
  }
}

@media (max-width: 779px) {
  .header-actions .btn-sm {
    display: none;
  }

  body {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Brand logos (legado PNG — a marca viva é .brand-mark-img) */
.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

.brand-mark {
  background: var(--brand-deep);
}

.hero-role {
  color: var(--brand);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.path-grid,
.service-grid,
.portfolio-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.path-card,
.service-card,
.portfolio-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.path-card:hover,
.service-card:hover,
.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  box-shadow: var(--shadow);
}

.path-visual {
  width: 100%;
  height: var(--media-h);
  object-fit: cover;
  display: block;
}

.service-visual {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
}

.path-body,
.service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.2rem 1.35rem 1.4rem;
}

.path-card .path-body {
  padding: 1.5rem 1.55rem 1.45rem;
}

.path-index {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.path-points {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  flex: 1;
}

.path-points li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.path-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--brand);
}

.path-card-hire .path-points li::before {
  background: var(--accent);
}

.path-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
}

.path-actions .btn {
  margin-top: 0;
  align-self: auto;
  max-width: 100%;
}

.service-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

.path-card h3,
.service-card h3,
.portfolio-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  margin-bottom: 0.55rem;
}

.service-body .tag {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.68rem;
}

.service-time {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.service-points {
  list-style: none;
  margin: auto 0 0;
  padding: 0.15rem 0 0;
  display: grid;
  gap: 0.4rem;
}

.service-points li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.4;
}

.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--brand);
}

.path-kicker {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.path-card-hire {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  background: linear-gradient(165deg, var(--accent-soft), var(--card));
}

.path-card-hire .path-kicker {
  color: var(--accent-deep);
}

.path-section {
  padding-block: 3.5rem;
}

.path-section .section-lead {
  max-width: 36rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.hero-cta .btn {
  min-height: 2.75rem;
}

.portfolio-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-form .btn-primary {
  width: 100%;
  min-height: 3rem;
  font-size: 1rem;
}

.section-title {
  position: relative;
}

.muted-strong {
  color: var(--ink);
  font-weight: 700;
}

.path-card p,
.service-card p,
.portfolio-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.portfolio-media {
  margin: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  height: var(--media-h);
  background: var(--surface-2);
}

.portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
  background: linear-gradient(145deg, var(--surface-2), color-mix(in srgb, var(--brand) 12%, var(--card)));
}

.about-wrap {
  display: grid;
  gap: 1.75rem;
}

.about-layout,
.about-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.about-media {
  width: var(--about-w);
  max-width: 100%;
  min-width: 0;
  justify-self: start;
}

.about-portrait {
  position: relative;
  isolation: isolate;
}

.about-portrait::before {
  content: "";
  position: absolute;
  inset: 0.75rem -0.6rem -0.6rem 0.75rem;
  border-radius: 20px;
  background: var(--accent-soft);
  z-index: 0;
}

.about-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: block;
}

.about-caption {
  margin: 0.9rem 0 0;
}

.about-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.about-caption span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.about-copy .path-kicker {
  margin-bottom: 0.55rem;
}

.about-copy .section-title {
  margin-top: 0;
}

.about-copy .section-lead {
  max-width: none;
  margin-bottom: 0.85rem;
}

.about-bio {
  margin: 0;
  color: var(--muted);
}

.about-stack {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.about-stack li {
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.78rem;
  font-weight: 600;
}

.about-points {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.about-points li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--muted);
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brand);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.proof-item {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  text-align: center;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.results-section .section-lead {
  max-width: 38rem;
}

.results-grid {
  display: grid;
  gap: 1.15rem;
  align-items: stretch;
}

.results-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  padding: 1.4rem 1.4rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.results-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0.28);
  transform-origin: top center;
  transition: transform 0.45s var(--ease);
}

.results-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 32%, var(--line));
  box-shadow: 0 18px 36px rgba(18, 20, 26, 0.08);
}

.section.is-inview .results-card::before,
.results-card:hover::before {
  transform: scaleY(1);
}

.results-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.results-metric {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
}

.results-card blockquote {
  margin: 0;
  flex: 1;
}

.results-card blockquote p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
}

.results-card blockquote p::before {
  content: "“";
  display: block;
  font-family: var(--font-display);
  font-size: 2.35rem;
  line-height: 0.7;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.results-foot {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.45rem 0.75rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.results-photo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  grid-row: 1 / span 2;
  align-self: center;
}

.results-who {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
  grid-column: 2;
}

.results-who cite {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}

.results-who span {
  color: var(--muted);
  font-size: 0.85rem;
}

.results-tag {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  grid-column: 2;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface-2));
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.results-link {
  grid-column: 1 / -1;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-deep);
  text-decoration: none;
  transition: color 0.22s var(--ease);
}

.results-card--featured .results-foot {
  grid-template-columns: 1fr auto;
}

.results-card--featured .results-who {
  grid-column: 1;
  grid-row: 1;
}

.results-card--featured .results-tag {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: center;
}

.results-card--featured .results-link {
  grid-column: 1 / -1;
}

.results-link:hover,
.results-link:focus-visible {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.results-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.results-card--featured {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: linear-gradient(165deg, var(--accent-soft) 0%, var(--card) 52%);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
}

.results-card--featured .results-copy {
  padding: 1.45rem 1.45rem 1.3rem;
  flex: 0 1 auto;
}

.results-card--featured blockquote {
  flex: 0 1 auto;
}

.results-card--featured .results-cover {
  margin: 0;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 0;
  order: -1;
}

.results-card--featured blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 2.1vw, 1.48rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.results-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.results-cta .btn {
  min-height: 2.85rem;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease);
}

.results-cta .btn:hover {
  transform: translateY(-2px);
}

.principles {
  margin-top: 0;
}

@media (min-width: 780px) {
  .about-layout,
  .about-grid {
    grid-template-columns: var(--about-w) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }

  .proof-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .project-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .results-grid {
    grid-template-columns: 1fr 1fr;
  }

  .results-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.78fr);
    align-items: stretch;
  }

  .results-card--featured .results-copy {
    padding: 1.75rem 1.85rem 1.5rem 1.7rem;
  }

  .results-card--featured .results-cover {
    order: 0;
    height: 100%;
    min-height: 220px;
    aspect-ratio: auto;
    border-bottom: 0;
    border-left: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  }
}

@media (min-width: 1100px) {
  .project-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .process-times {
    grid-template-columns: repeat(4, 1fr);
  }

  .results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.path-card .text-link {
  margin-top: 0.25rem;
}

.services-note {
  margin: 1.6rem auto 0;
  max-width: 38rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.services-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent);
}

@media (min-width: 780px) {
  .path-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }

  .service-grid,
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-layout {
    grid-template-columns: var(--about-w) minmax(0, 1fr);
  }
}

@media (max-width: 1023px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 1.25rem 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: min(70vh, 28rem);
    overflow-y: auto;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    min-height: 2.75rem;
    display: flex;
    align-items: center;
  }

  .header-inner {
    position: relative;
    flex-wrap: nowrap;
    gap: 0.65rem;
  }

  .brand-logo {
    height: 32px;
  }

  .brand-mark-img {
    width: 34px;
    height: 34px;
  }

  .brand-tag {
    display: none;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .lang-switch {
    display: inline-flex;
  }

  .lang-btn {
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.4rem 0.55rem;
  }

  .nav-toggle {
    flex-shrink: 0;
    margin-left: 0.15rem;
  }
}

@media (max-width: 779px) {
  .container {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .section {
    padding: 3.25rem 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    gap: 1.75rem;
    padding-block: 2.25rem 2.75rem;
  }

  .hero-photo-wrap {
    width: min(100%, 268px);
    margin-inline: auto;
  }

  .hero-portrait::before {
    inset: 0.65rem -0.5rem -0.5rem 0.65rem;
  }

  .about-media {
    width: min(100%, 240px);
    margin-inline: auto;
  }

  .about-caption {
    text-align: center;
  }

  .about-photo {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .hero-brand {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: 2.85rem;
  }

  .hero-cta .btn-whatsapp {
    grid-column: auto;
  }

  .availability-pill {
    flex-wrap: wrap;
  }

  .contact-form {
    padding: 1.15rem;
  }

  .field input,
  .field textarea,
  .field select {
    font-size: 16px;
    min-height: 2.85rem;
  }

  .field textarea {
    min-height: 8rem;
  }

  .contact-form .btn-primary {
    width: 100%;
    min-height: 3rem;
  }

  .sticky-cta {
    width: min(100% - 1.25rem, 22rem);
    bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
    padding: 0.45rem;
    gap: 0.4rem;
  }

  .sticky-cta .btn {
    flex: 1;
    justify-content: center;
    min-height: 2.6rem;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    gap: 0.85rem;
    text-align: center;
  }

  .float-actions {
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  }
}

/* Floating actions: back-to-top + WhatsApp */
.float-actions {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.float-btn {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(11, 31, 42, 0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), opacity 0.25s;
  text-decoration: none;
}

.float-btn:hover {
  transform: translateY(-3px);
}

.float-top {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
}

.float-top[hidden] {
  display: none !important;
}

.float-wa {
  background: #25d366;
  color: #fff;
}

.float-wa:hover {
  color: #fff;
}

@media (max-width: 420px) {
  .hero-cta {
    grid-template-columns: 1fr;
  }

  .hero-cta .btn-whatsapp {
    grid-column: auto;
  }

  .header-inner {
    gap: 0.4rem;
  }

  .header-actions {
    gap: 0.3rem;
  }
}

/* Hero: atalho para o caminho de contratação técnica */
.hero-micro {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-micro .text-link {
  margin-left: 0.35rem;
  white-space: nowrap;
}

/* Case em destaque */
.highlight-band {
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 7%, var(--surface)), var(--surface));
  border-block: 1px solid var(--line);
}

.highlight-inner {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.highlight-copy .section-title {
  margin-top: 0.45rem;
}

.highlight-problem {
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.highlight-result {
  position: relative;
  margin: 0 0 1.25rem;
  padding-left: 1rem;
  border-left: 3px solid var(--brand);
  font-weight: 600;
}

.highlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.highlight-media {
  max-width: 320px;
}

.highlight-media img {
  width: 100%;
  height: var(--media-h);
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* Quando faz sentido me chamar */
.fit-section {
  padding-block: 4.25rem;
}

.fit-grid {
  display: grid;
  gap: 1.15rem;
  margin-top: 0.35rem;
  align-items: stretch;
}

.fit-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.45rem 1.5rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.fit-card h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.fit-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
  flex: 1;
}

.fit-card li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.5;
}

.fit-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
}

.fit-yes {
  border-color: color-mix(in srgb, var(--brand) 38%, var(--line));
}

.fit-yes li::before {
  background: var(--brand);
}

.fit-no {
  background: var(--surface-2);
}

.fit-no li {
  color: var(--muted);
}

.fit-no li::before {
  background: color-mix(in srgb, var(--muted) 55%, var(--line));
}

.fit-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-top: 1.25rem;
}

.fit-note {
  margin: 0;
  flex: 1 1 16rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Prazos típicos no processo */
.process-note {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1.1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--muted);
  font-size: 0.95rem;
}


@media (min-width: 860px) {
  .highlight-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: start;
  }

  .highlight-media {
    justify-self: end;
    margin-top: 0.15rem;
  }

  .fit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ——— Responsivo: mobile, tablet, desktop ——— */

img,
video,
iframe,
svg {
  max-width: 100%;
}

.header-inner,
.hero-copy,
.hero-photo-wrap,
.hero-grid,
.about-media,
.about-copy,
.stack-group,
.service-card,
.path-card,
.portfolio-card,
.results-card,
.contact-form,
.footer-brand,
.footer-col {
  min-width: 0;
}

.hero-copy,
.section-lead,
.hero-lead,
.hero-micro,
.availability-pill,
.consent-label {
  overflow-wrap: break-word;
}

.hero-micro .text-link {
  white-space: normal;
}

@media (max-width: 1023px) {
  .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-cta .btn,
  .hero-cta .btn-whatsapp {
    width: 100%;
    grid-column: auto;
  }

  body {
    padding-bottom: calc(6.25rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 767px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo-wrap {
    width: min(100%, 280px);
    margin-inline: auto;
  }

  .hero-facts {
    position: static;
  }

  .reveal.reveal-left,
  .reveal.reveal-right {
    transform: translateY(22px);
  }

  .hero-micro {
    padding-right: 3.4rem;
  }

  .float-actions {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
  }

  .float-btn {
    width: 2.9rem;
    height: 2.9rem;
  }

  .path-actions,
  .services-actions,
  .results-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .path-actions .btn,
  .services-actions .btn,
  .results-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    --hero-portrait-w: min(340px, 38vw);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(200px, var(--hero-portrait-w));
    align-items: start;
    gap: 1.5rem 1.5rem;
    padding-block: 2.25rem 2.75rem;
  }

  .hero-photo-wrap {
    width: 100%;
    margin-inline: 0;
    justify-self: end;
  }

  .path-grid,
  .service-grid,
  .portfolio-grid,
  .fit-grid,
  .principles-grid,
  .process-grid,
  .project-list,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stack-groups {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .proof-strip,
  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid,
  .faq-layout,
  .highlight-inner,
  .results-card--featured {
    grid-template-columns: 1fr;
  }

  .about-layout,
  .about-grid {
    grid-template-columns: var(--about-w) minmax(0, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .hero-facts {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 1rem 0 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: color-mix(in srgb, var(--card) 92%, transparent);
  }

  .about-layout,
  .about-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .about-copy {
    justify-self: stretch;
  }
}

@media (min-width: 900px) and (max-width: 1023px) {
  .stack-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-facts {
    position: absolute;
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.6rem;
    z-index: 2;
    margin: 0;
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .value-grid,
  .stack-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  }

  .proof-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .nav {
    gap: 0.55rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav a {
    font-size: 0.8rem;
  }

  .hero {
    --hero-portrait-w: 380px;
  }

  .header-inner {
    gap: 0.75rem;
  }
}

@media (max-width: 479px) {
  .hero-brand {
    font-size: clamp(1.85rem, 10vw, 2.45rem);
  }

  .availability-pill {
    display: flex;
    border-radius: 14px;
  }

  .stack-groups,
  .value-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .eyebrow {
    letter-spacing: 0.04em;
  }
}

@media (max-width: 359px) {
  .container,
  .container.narrow {
    width: calc(100% - 1.25rem);
  }

  .brand-name {
    font-size: 0.9rem;
  }
}

