:root {
  --bg: #ffffff;
  --surface: #f6f7fb;
  --ink: #111827;
  --muted: #687081;
  --line: #e6e8ef;
  --red: #dc2626;
  --red-dark: #991b1b;
  --indigo: #4f46e5;
  --violet: #7c3aed;
  --amber: #d97706;
  --orange: #ea580c;
  --green: #16a34a;
  --dark: #101420;
  --dark-soft: #181e2d;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.09);
  --shadow-hover: 0 24px 55px rgba(17, 24, 39, 0.13);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: "Sora", "Inter", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

:focus-visible {
  outline: 3px solid rgba(220, 38, 38, 0.35);
  outline-offset: 4px;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(230, 232, 239, 0.9);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.28s var(--ease-out), background 0.28s var(--ease-out), border-color 0.28s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(230, 232, 239, 0.72);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.09);
}

.nav-shell,
.section-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: min-height 0.28s var(--ease-out);
}

.site-header.is-scrolled .nav-shell {
  min-height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 4px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.12);
  transform-origin: left center;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}

.site-header.is-scrolled .brand-mark {
  transform: scale(0.92);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.1);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 500;
}

.nav-links a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.mobile-menu a:hover {
  color: var(--red);
}

.nav-links a:hover {
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--red);
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 30px rgba(220, 38, 38, 0.2);
  transition: transform 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out), background 0.24s var(--ease-out), filter 0.24s var(--ease-out);
}

.button:hover {
  transform: translateY(-2px);
  background: var(--red-dark);
  filter: brightness(1.03);
  box-shadow: 0 20px 38px rgba(220, 38, 38, 0.26);
}

.button:active {
  transform: scale(0.98);
}

.button-small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.button-outline {
  color: var(--red);
  background: transparent;
  border-color: rgba(220, 38, 38, 0.4);
  box-shadow: none;
}

.button-outline:hover {
  color: #fff;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
}

.mobile-menu {
  display: none;
}

.section-pad {
  padding: 96px 0;
}

.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 62px;
  background:
    radial-gradient(circle at 18% 12%, rgba(220, 38, 38, 0.08), transparent 29%),
    radial-gradient(circle at 86% 42%, rgba(79, 70, 229, 0.11), transparent 32%),
    linear-gradient(180deg, #fff, #fbfbfe 72%, #fff);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  gap: 52px;
  align-items: center;
  margin-top: -18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 4.4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h2 {
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.008em;
}

h3 {
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: clamp(1.13rem, 1.6vw, 1.38rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.004em;
}

.hero-text {
  max-width: 610px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.65;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
  min-height: 405px;
}

.browser-card,
.phone-card,
.float-note {
  position: absolute;
  border: 1px solid rgba(230, 232, 239, 0.9);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.mockup-layer {
  position: absolute;
  z-index: 1;
}

.mockup-float {
  position: relative;
  width: 100%;
  height: 100%;
  animation: suspended-float var(--float-duration, 6.8s) ease-in-out infinite;
  will-change: transform;
}

.browser-layer {
  top: 28px;
  left: 0;
  width: 88%;
  height: 300px;
  z-index: 1;
}

.browser-float {
  --float-y: -8px;
  --float-x: 0px;
  --float-rotate: 0deg;
  --float-duration: 7.4s;
}

.browser-card {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  transition: box-shadow 0.35s var(--ease-out);
}

.browser-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.browser-top span:nth-child(1) {
  background: #fb7185;
}

.browser-top span:nth-child(2) {
  background: #fbbf24;
}

.browser-top span:nth-child(3) {
  background: #34d399;
}

.browser-top div {
  flex: 1;
  height: 12px;
  margin-left: 10px;
  border-radius: 999px;
  background: #e5e7eb;
}

.hero-crm-image {
  display: block;
  width: 100%;
  height: calc(100% - 42px);
  object-fit: cover;
  object-position: center;
  background: #070b12;
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  min-height: 288px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(220, 38, 38, 0.09), rgba(79, 70, 229, 0.12)),
    #ffffff;
}

.metric-card,
.mini-chart,
.content-lines {
  border: 1px solid rgba(230, 232, 239, 0.9);
  border-radius: 8px;
  background: #fff;
}

.metric-card {
  padding: 20px;
}

.metric-card p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.metric-card strong {
  display: block;
  font-size: 3rem;
}

.metric-card span {
  color: var(--green);
  font-weight: 700;
}

.mini-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 18px;
}

.mini-chart i {
  flex: 1;
  min-height: 40px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--red), var(--indigo));
}

.content-lines {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding: 20px;
}

.content-lines b,
.content-lines span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: #e5e7eb;
}

.content-lines b {
  width: 42%;
  background: #c7d2fe;
}

.content-lines span:nth-child(2) {
  width: 86%;
}

.content-lines span:nth-child(3) {
  width: 74%;
}

.content-lines span:nth-child(4) {
  width: 58%;
}

.phone-card {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 10px;
  border-radius: 28px;
  background: #111827;
  transform: rotate(6deg);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease-out);
}

.phone-layer {
  right: 0;
  bottom: 8px;
  width: 152px;
  height: 292px;
  z-index: 3;
}

.phone-float {
  --float-y: -10px;
  --float-x: 3px;
  --float-rotate: -0.8deg;
  --float-duration: 5.9s;
}

.hero-phone-image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  object-position: top center;
}

.phone-screen {
  height: 100%;
  padding: 18px 14px;
  border-radius: 20px;
  background: #fff;
}

.story-ring {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border: 4px solid var(--red);
  border-radius: 999px;
  background: linear-gradient(135deg, #fee2e2, #e0e7ff);
}

.phone-screen b,
.phone-screen span {
  display: block;
  text-align: center;
}

.phone-screen span {
  width: 70%;
  height: 8px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: #e5e7eb;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 18px;
}

.post-grid i {
  aspect-ratio: 1;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.78), rgba(79, 70, 229, 0.84));
}

.float-note {
  position: relative;
  padding: 10px 13px;
  border-radius: 8px;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  transition: box-shadow 0.35s var(--ease-out);
}

.note-layer {
  z-index: 4;
  width: max-content;
  height: auto;
}

.note-layer .mockup-float {
  width: auto;
  height: auto;
}

.note-left-layer {
  left: 18px;
  bottom: 58px;
}

.note-right-layer {
  right: 12px;
  top: 0;
}

.note-left-float {
  --float-y: -5px;
  --float-x: -2px;
  --float-rotate: 0deg;
  --float-duration: 5.4s;
}

.note-right-float {
  --float-y: 5px;
  --float-x: 3px;
  --float-rotate: 0deg;
  --float-duration: 4.8s;
}

.hero-visual:hover .browser-float {
  --float-duration: 8.4s;
}

.hero-visual:hover .phone-float {
  --float-duration: 7s;
}

.hero-visual:hover .note-left-float {
  --float-duration: 6.4s;
}

.hero-visual:hover .note-right-float {
  --float-duration: 5.9s;
}

.hero-visual:hover .browser-card,
.hero-visual:hover .phone-card,
.hero-visual:hover .float-note {
  box-shadow: 0 24px 58px rgba(17, 24, 39, 0.12);
}

@keyframes suspended-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(var(--float-x, 0), var(--float-y, -8px), 0) rotate(var(--float-rotate, 0deg));
  }
}

.soft-section {
  background: var(--surface);
}

.dark-section {
  background: var(--dark);
  color: #fff;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading p,
.split-heading p,
.contact-copy p,
.info-card p,
.service-card p,
.process-item p,
.project-card p,
.faq-answer p,
.form-heading p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.section-heading.light p {
  color: #cbd5e1;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.four-cols {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.service-card,
.project-card,
.form-panel,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.04);
}

.info-card,
.service-card {
  padding: 28px;
  transition: transform 0.26s var(--ease-out), box-shadow 0.26s var(--ease-out), border-color 0.26s var(--ease-out);
}

.info-card:hover,
.service-card:hover,
.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(220, 38, 38, 0.28);
  box-shadow: var(--shadow-hover);
}

.info-card:hover .card-icon,
.service-card:hover .service-icon,
.compact:hover .card-icon {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(220, 38, 38, 0.3);
  background: #fff5f5;
}

.compact {
  min-height: 210px;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  transition: transform 0.26s var(--ease-out), border-color 0.26s var(--ease-out), background 0.26s var(--ease-out);
}

.card-icon svg,
.method-icon svg,
.service-icon svg,
.process-item span svg,
.footer-socials svg,
.whatsapp-float svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.card-icon.red {
  color: var(--red);
  background: #f8fafc;
  border: 1px solid var(--line);
}

.card-icon.orange {
  color: var(--red);
  background: #f8fafc;
  border: 1px solid var(--line);
}

.card-icon.amber {
  color: var(--red);
  background: #f8fafc;
  border: 1px solid var(--line);
}

.card-icon.violet {
  color: var(--red);
  background: #f8fafc;
  border: 1px solid var(--line);
}

.closing-line {
  max-width: 820px;
  margin: 36px auto 0;
  color: var(--red);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
}

.method-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.method-step {
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--dark-soft);
  transition: transform 0.26s var(--ease-out), background 0.26s var(--ease-out), border-color 0.26s var(--ease-out), box-shadow 0.26s var(--ease-out);
}

.method-icon,
.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--red);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.28s var(--ease-out), background 0.28s var(--ease-out), border-color 0.28s var(--ease-out), opacity 0.28s var(--ease-out);
}

.service-icon {
  background: #f8fafc;
}

.method-step:hover {
  transform: translateY(-5px);
  border-color: rgba(220, 38, 38, 0.34);
  background: #202738;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.18);
}

.method-step:hover .method-icon {
  transform: translateY(-2px) scale(1.05);
  background: rgba(220, 38, 38, 0.12);
}

.js-enabled .method-step .method-icon,
.js-enabled .method-step span {
  opacity: 0.72;
  transform: scale(0.94);
}

.js-enabled .method-step.visible .method-icon,
.js-enabled .method-step.visible span {
  opacity: 1;
  transform: scale(1);
}

.method-step span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--red);
  font-size: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-kicker {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.method-step h3 {
  text-transform: uppercase;
}

.method-step p {
  color: #cbd5e1;
}

.service-card small {
  display: block;
  margin-top: 22px;
  color: var(--red);
  font-weight: 600;
  line-height: 1.5;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.process-item {
  display: flex;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.process-item span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: var(--red);
  background: #f8fafc;
  border: 1px solid var(--line);
  font-family: var(--font-heading);
  font-weight: 700;
}

.process-item span svg {
  color: var(--red);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.projects-section {
  background: var(--surface);
}

.project-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  appearance: none;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s var(--ease-out);
  --project-image-height: 230px;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(220, 38, 38, 0.28);
  box-shadow: var(--shadow-hover);
}

.js-enabled .project-card.reveal.visible:hover,
.js-enabled .project-card.reveal.visible:focus-visible {
  transform: translateY(-5px);
}

.project-image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  height: var(--project-image-height);
  background: #f8fafc;
}

.project-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, rgba(16, 20, 32, 0.06), rgba(16, 20, 32, 0.38));
  transition: opacity 0.3s var(--ease-out);
}

.project-card:hover .project-image-wrap::after,
.project-card:focus-visible .project-image-wrap::after {
  opacity: 1;
}

.project-card img {
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #f8fafc;
  transition: transform 0.32s var(--ease-out), filter 0.32s var(--ease-out);
}

.project-card:hover img,
.project-card:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.02);
}

.project-card .project-image-contain {
  object-fit: contain;
  object-position: top center;
  background: #fff;
}

.project-body {
  position: relative;
  z-index: 3;
  display: block;
  padding: 26px;
  background: #fff;
}

.project-tag {
  display: inline-flex;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-title {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.13rem, 1.6vw, 1.38rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.004em;
}

.project-description {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.project-open {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(220, 38, 38, 0.94);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}

.project-card:hover .project-open,
.project-card:focus-visible .project-open {
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 12px 22px rgba(220, 38, 38, 0.18);
}

.project-tag.branding {
  color: var(--indigo);
}

.project-tag.social {
  color: #ec4899;
}

.project-tag.biolink {
  color: #10b981;
}

.project-tag.captacao {
  color: #f59e0b;
}

.project-tag.video {
  color: var(--violet);
}

.project-tag.site {
  color: #0ea5e9;
}

body.modal-open {
  overflow: hidden;
}

.case-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s var(--ease-out);
}

.case-modal.open {
  pointer-events: auto;
  opacity: 1;
}

.case-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 20, 32, 0.62);
  backdrop-filter: blur(10px);
}

.case-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  width: min(1040px, 100%);
  max-height: min(760px, calc(100vh - 56px));
  overflow: auto;
  border: 1px solid rgba(230, 232, 239, 0.9);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.28);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.3s var(--ease-out);
}

.case-modal.open .case-dialog {
  transform: translateY(0) scale(1);
}

.case-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(230, 232, 239, 0.9);
  border-radius: 999px;
  color: var(--red);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: transform 0.22s var(--ease-out), border-color 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}

.case-close:hover {
  transform: translateY(-1px);
  border-color: rgba(220, 38, 38, 0.34);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.1);
}

.case-close svg {
  width: 21px;
  height: 21px;
  stroke-width: 2;
}

.case-media {
  min-height: 460px;
  background: #f8fafc;
}

.case-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center;
}

.case-media img.project-image-contain {
  object-fit: contain;
  background: #fff;
}

.case-content {
  padding: 44px 38px 36px;
}

.case-content .project-tag {
  margin-bottom: 14px;
}

.case-content h2 {
  margin-bottom: 12px;
}

.case-meta {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.case-summary {
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.7;
}

.case-details {
  display: grid;
  gap: 12px;
}

.case-detail {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.case-detail span {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-detail p {
  margin: 0;
  color: var(--ink);
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.case-gallery img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.case-link {
  width: fit-content;
  margin-top: 22px;
}

.case-link[hidden],
.case-gallery[hidden] {
  display: none !important;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(79, 70, 229, 0.1)),
    #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: 58px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 116px;
}

.contact-copy p {
  max-width: 560px;
  font-size: 1.1rem;
}

.form-panel {
  padding: 30px;
}

.form-heading {
  margin-bottom: 22px;
}

form {
  display: grid;
  gap: 14px;
}

label,
legend {
  color: #374151;
  font-size: 0.94rem;
  font-weight: 500;
}

label span {
  color: #9ca3af;
  font-size: 0.82rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid #dfe3eb;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), background 0.22s var(--ease-out);
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

fieldset {
  min-width: 0;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
}

.solution-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}

.solution-options button {
  min-height: 44px;
  border: 1px solid #dfe3eb;
  border-radius: 8px;
  color: #4b5563;
  background: #fff;
  cursor: pointer;
  text-align: left;
  padding: 10px 12px;
  transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background 0.2s var(--ease-out), color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.solution-options button.selected {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 10px 20px rgba(220, 38, 38, 0.18);
}

.solution-options button:hover {
  transform: translateY(-1px);
  border-color: rgba(220, 38, 38, 0.35);
}

.solution-options button:active {
  transform: scale(0.98);
}

.submit-button {
  width: 100%;
  margin-top: 10px;
  cursor: pointer;
}

.form-success {
  margin-top: 20px;
  padding: 20px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #065f46;
}

.form-success p {
  margin: 6px 0 0;
  color: #047857;
}

.narrow {
  max-width: 780px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  transition: border-color 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out);
}

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 68px;
  padding: 0 22px;
  border: 0;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.faq-item b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--red);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.24s var(--ease-out);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 0.32s var(--ease-out), padding 0.32s var(--ease-out), opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 20px;
}

.faq-item.open {
  border-color: rgba(220, 38, 38, 0.28);
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.06);
}

.faq-item.open b {
  transform: rotate(45deg);
}

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --footer-spotlight-x: 50%;
  --footer-spotlight-y: 50%;
  --footer-spotlight-opacity: 0.18;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.site-footer.is-spotlit {
  --footer-spotlight-opacity: 0.68;
}

.footer-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.footer-wordmark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 220px;
  font-weight: 700;
  line-height: 0.72;
  letter-spacing: 0;
  white-space: nowrap;
  user-select: none;
}

.footer-wordmark-base {
  color: rgba(15, 23, 42, 0.045);
}

.footer-wordmark-light {
  z-index: 1;
  color: transparent;
  background: radial-gradient(
    ellipse 330px 155px at var(--footer-spotlight-x) var(--footer-spotlight-y),
    rgba(220, 38, 38, 0.2) 0%,
    rgba(15, 23, 42, 0.1) 34%,
    rgba(15, 23, 42, 0.035) 55%,
    transparent 78%
  );
  background-clip: text;
  -webkit-background-clip: text;
  opacity: var(--footer-spotlight-opacity);
  mix-blend-mode: multiply;
  transition: opacity 0.28s ease;
}

.footer-spotlight {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    ellipse 360px 170px at var(--footer-spotlight-x) var(--footer-spotlight-y),
    rgba(220, 38, 38, 0.045) 0%,
    rgba(255, 255, 255, 0.04) 34%,
    transparent 72%
  );
  opacity: var(--footer-spotlight-opacity);
  transition: opacity 0.28s ease;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.footer-grid nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--red);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 12px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--red);
  background: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(220, 38, 38, 0.35);
  background: #fef2f2;
}

.footer-socials svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-socials .whatsapp-icon,
.whatsapp-float .whatsapp-icon {
  fill: currentColor;
  stroke: none;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
  box-shadow: 0 15px 32px rgba(22, 163, 74, 0.35);
  animation: whatsapp-enter 0.72s var(--ease-out) 0.5s both;
  transition: opacity 0.2s var(--ease-out), transform 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out), filter 0.24s var(--ease-out);
}

.whatsapp-float.is-hidden {
  animation: none;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.06);
  filter: brightness(1.04);
  box-shadow: 0 20px 42px rgba(22, 163, 74, 0.42);
}

.whatsapp-float:active {
  transform: scale(0.98);
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
}

.footer-socials .whatsapp-icon {
  width: 23px;
  height: 23px;
}

@keyframes whatsapp-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .reveal {
  opacity: 0;
  transform: translate3d(0, var(--reveal-y, 24px), 0);
  transition: opacity 0.62s var(--ease-out), transform 0.62s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-enabled .reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.section-heading.reveal,
.split-heading.reveal,
.hero-visual.reveal,
.form-panel.reveal {
  --reveal-y: 18px;
}

.project-card.reveal {
  --reveal-y: 26px;
}

.method-step.reveal,
.process-item.reveal {
  --reveal-y: 20px;
}

@media (max-width: 1020px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-menu {
    display: grid;
    max-height: 0;
    overflow: hidden;
    gap: 16px;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0;
    color: var(--muted);
    transition: max-height 0.25s ease, padding 0.25s ease;
  }

  .mobile-menu.open {
    max-height: 430px;
    padding: 16px 0 22px;
  }

  .hero-grid,
  .contact-grid,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-grid {
    margin-top: 0;
  }

  .four-cols,
  .method-track,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-dialog {
    grid-template-columns: 1fr;
  }

  .case-media,
  .case-media img {
    min-height: 360px;
  }

  .contact-copy {
    position: static;
  }

  .site-footer {
    --footer-spotlight-opacity: 0.16;
  }

  .site-footer.is-spotlit {
    --footer-spotlight-opacity: 0.16;
  }

  .footer-wordmark {
    font-size: 168px;
  }
}

@media (max-width: 700px) {
  .nav-shell,
  .section-shell {
    width: min(100% - 28px, 1120px);
  }

  .section-pad {
    padding: 72px 0;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 64px;
  }

  .hero-grid {
    gap: 32px;
  }

  h1 {
    font-size: clamp(2.25rem, 10.5vw, 3rem);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
    line-height: 1.15;
  }

  h3 {
    font-size: clamp(1.08rem, 5.2vw, 1.28rem);
  }

  .button-row,
  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 345px;
  }

  .browser-layer {
    width: 94%;
    height: 280px;
  }

  .dashboard-preview {
    gap: 12px;
    min-height: 236px;
    padding: 18px;
  }

  .metric-card strong {
    font-size: 2.3rem;
  }

  .phone-layer {
    width: 126px;
    height: 242px;
  }

  .float-note {
    max-width: 210px;
    font-size: 0.7rem;
  }

  .browser-float {
    --float-y: -5px;
  }

  .phone-float {
    --float-y: -7px;
    --float-x: 2px;
    --float-rotate: -0.5deg;
  }

  .note-left-float {
    --float-y: -3px;
    --float-x: -1px;
  }

  .note-right-float {
    --float-y: 3px;
    --float-x: 1px;
  }

  .note-left-layer {
    left: 8px;
    bottom: 36px;
  }

  .two-cols,
  .four-cols,
  .method-track,
  .process-list,
  .project-grid,
  .solution-options,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .info-card,
  .service-card,
  .project-card,
  .form-panel,
  .process-item {
    padding: 22px;
  }

  .project-card {
    padding: 0;
    --project-image-height: 220px;
  }

  .project-card img {
    height: 220px;
  }

  .project-body {
    padding: 22px;
  }

  .project-open {
    opacity: 1;
    transform: translateY(0);
    color: var(--red);
    background: #fef2f2;
    box-shadow: none;
  }

  .case-modal {
    padding: 14px;
  }

  .case-dialog {
    max-height: calc(100vh - 28px);
    border-radius: 10px;
  }

  .case-media,
  .case-media img {
    min-height: 260px;
  }

  .case-content {
    padding: 28px 22px 24px;
  }

  .case-close {
    top: 10px;
    right: 10px;
  }

  .footer-grid {
    gap: 24px;
  }

  .site-footer {
    --footer-spotlight-opacity: 0.14;
  }

  .site-footer.is-spotlit {
    --footer-spotlight-opacity: 0.14;
  }

  .footer-wordmark {
    font-size: 132px;
  }

  .footer-wordmark-light {
    background: radial-gradient(
      ellipse 240px 120px at 50% 52%,
      rgba(220, 38, 38, 0.12) 0%,
      rgba(15, 23, 42, 0.06) 42%,
      transparent 76%
    );
  }

  .footer-spotlight {
    background: radial-gradient(
      ellipse 250px 125px at 50% 52%,
      rgba(220, 38, 38, 0.03) 0%,
      transparent 74%
    );
  }

  .whatsapp-float {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

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

  .button:hover,
  .info-card:hover,
  .service-card:hover,
  .project-card:hover,
  .project-card:hover img,
  .project-card:focus-visible img,
  .case-dialog,
  .case-modal.open .case-dialog,
  .method-step:hover,
  .whatsapp-float:hover,
  .solution-options button:hover,
  .nav-links a:hover {
    transform: none;
  }

  .site-footer,
  .site-footer.is-spotlit {
    --footer-spotlight-x: 50%;
    --footer-spotlight-y: 52%;
    --footer-spotlight-opacity: 0.12;
  }
}
