:root {
  --paper: #f8f8f4;
  --paper-2: #ffffff;
  --ink: #13201d;
  --ink-soft: #34443f;
  --muted: #68736e;
  --line: #dfe5df;
  --green: #0e5f56;
  --blue: #173b57;
  --gold: #b8944d;
  --dark: #0e1a18;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

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

.page {
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.nav {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
  font-weight: 900;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-cta,
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 800;
  white-space: nowrap;
}

.nav-cta,
.btn-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 16px 30px rgba(14, 95, 86, 0.18);
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 48px;
  padding: 66px 0 54px;
}

.hero > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.9rem);
  line-height: 0.96;
  max-width: 760px;
  overflow-wrap: anywhere;
}

.mobile-title {
  display: none;
}

.lead {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.7;
  max-width: 670px;
  overflow-wrap: anywhere;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 100%;
}

.trust-row {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust-item {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.trust-item strong {
  display: block;
  font-size: 1.15rem;
}

.trust-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.visual-panel {
  position: relative;
  width: 100%;
  min-height: 520px;
  padding: 24px;
  border: 1px solid rgba(19, 32, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(19, 32, 29, 0.12);
}

.dashboard {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #f7faf8;
}

.dash-top {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  gap: 14px;
}

.dash-top strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dots {
  display: flex;
  gap: 7px;
}

.dots i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #b9c6bf;
}

.dash-body {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  padding: 18px;
}

.metric,
.chart,
.pipeline,
.phone,
.flow-card,
.result-card,
.service-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric {
  padding: 17px;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 1.6rem;
}

.bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 110px;
  margin-top: 22px;
}

.bars i {
  flex: 1;
  min-width: 10px;
  border-radius: 5px 5px 0 0;
  background: var(--green);
}

.chart {
  min-height: 240px;
  padding: 18px;
}

.line-chart {
  height: 180px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.line-chart i {
  height: var(--h);
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--gold), #f0dfb7);
}

.phone {
  position: absolute;
  right: 4px;
  bottom: 24px;
  width: 168px;
  min-height: 290px;
  padding: 14px;
  border: 8px solid var(--dark);
  background: #fbfcfb;
  box-shadow: 0 24px 50px rgba(14, 26, 24, 0.18);
}

.phone-bar {
  width: 58px;
  height: 5px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: #c4cec8;
}

.phone-line {
  height: 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #dfe7e2;
}

.phone-line.short {
  width: 64%;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 60px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}

.section-head p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.erp-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  padding: 22px;
  min-height: 180px;
}

.card-link {
  display: block;
  height: 100%;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.card-link:hover,
.card-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(14, 95, 86, 0.35);
  box-shadow: 0 18px 35px rgba(19, 32, 29, 0.09);
}

.card-link:focus-visible {
  outline: 3px solid rgba(14, 95, 86, 0.18);
  outline-offset: 3px;
}

.service-card span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #fff;
  background: var(--dark);
  font-weight: 900;
}

.service-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.94rem;
}

.inner-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.35rem);
}

.split-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 46px;
  align-items: start;
}

.split-section h2 {
  margin: 0;
}

.content-list {
  display: grid;
  gap: 18px;
}

.content-list p {
  margin: 0;
  color: #d5ded9;
  font-size: 1.02rem;
  line-height: 1.75;
}

.pain-section {
  padding-top: 36px;
}

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

.compare-card,
.segment-card,
.faq-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.compare-card {
  padding: 24px;
}

.compare-card span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  color: #fff;
  background: var(--dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.compare-card h3 {
  margin: 18px 0 12px;
  font-size: 1.35rem;
}

.compare-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.compare-good {
  border-color: rgba(14, 95, 86, 0.28);
  background: #f8fbf9;
}

.compare-good span {
  background: var(--green);
}

.segment-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.segment-card {
  padding: 22px;
  min-height: 155px;
}

.segment-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.segment-card span {
  display: block;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.94rem;
}

.faq-card {
  padding: 22px;
}

.faq-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.faq-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.58;
  font-size: 0.94rem;
}

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.contact-hero {
  padding-top: 54px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 18px;
  align-items: start;
}

.contact-form,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-form {
  padding: 24px;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  color: var(--ink);
  font-weight: 600;
}

.contact-form input,
.contact-form select {
  height: 46px;
  padding: 0 13px;
}

.contact-form textarea {
  margin-top: 16px;
  padding: 13px;
  resize: vertical;
  line-height: 1.55;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(14, 95, 86, 0.16);
  border-color: var(--green);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.form-actions button {
  border: 0;
  cursor: pointer;
}

.form-actions button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-actions .btn-secondary {
  border: 1px solid var(--line);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  color: #fff;
  background: #1f8f55;
  font-weight: 800;
  white-space: nowrap;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.contact-card {
  padding: 24px;
}

.contact-card h2 {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

.contact-card p {
  color: var(--muted);
  line-height: 1.65;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-list a,
.contact-list span {
  display: block;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  color: var(--ink-soft);
  font-weight: 750;
  line-height: 1.35;
}

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

.dark-band .section {
  padding: 58px 0;
}

.dark-band .section-head p,
.dark-band .eyebrow {
  color: #b9c7c0;
}

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

.dark-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.dark-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.dark-card span {
  color: #c8d3ce;
  line-height: 1.55;
}

.selector {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.selector-shell {
  width: min(980px, calc(100% - 40px));
  padding: 60px 0;
}

.selector-shell h1 {
  max-width: 780px;
}

.selector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.selector-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.selector-card span,
.selector-card small {
  color: var(--muted);
}

.selector-card strong {
  display: block;
  margin: 16px 0 12px;
  font-size: 1.3rem;
}

.selector-card small {
  line-height: 1.55;
}

.enterprise {
  --paper: #f3f6f5;
  --green: #0d7464;
  --blue: #123c5a;
}

.enterprise .hero {
  grid-template-columns: 0.9fr 1.1fr;
}

.enterprise .visual-panel {
  color: #fff;
  background: var(--dark);
  border-color: rgba(255, 255, 255, 0.1);
}

.enterprise .dashboard {
  color: var(--ink);
}

.pipeline {
  padding: 16px;
  margin-top: 16px;
}

.pipeline-row {
  display: grid;
  grid-template-columns: 90px 1fr 54px;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.pipeline-row:last-child {
  border-bottom: 0;
}

.pipe {
  height: 9px;
  border-radius: 999px;
  background: #dfe7e2;
}

.pipe i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: var(--blue);
}

.seo {
  --paper: #fbfaf6;
  --green: #17685d;
  --gold: #a97932;
}

.seo .hero {
  grid-template-columns: 1fr 0.95fr;
}

.seo-map {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.result-card {
  padding: 18px;
}

.result-card small {
  color: var(--green);
  font-weight: 900;
}

.result-card strong {
  display: block;
  margin: 8px 0;
  font-size: 1.12rem;
}

.result-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.search-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  color: var(--muted);
  font-weight: 800;
}

.search-dot {
  width: 13px;
  height: 13px;
  border: 2px solid var(--green);
  border-radius: 999px;
}

.seo-page {
  background: #f7f8f4;
}

.seo-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
  padding: 48px 0 58px;
}

.seo-hero h1 {
  font-size: clamp(2.45rem, 5.4vw, 4.75rem);
}

.seo-photo {
  margin: 0;
  min-width: 0;
  border: 1px solid rgba(19, 32, 29, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 70px rgba(19, 32, 29, 0.1);
}

.seo-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.seo-hero-photo img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.image-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
}

.image-split h2 {
  margin: 0;
}

.image-split-dark {
  color: #fff;
}

.compact-lead {
  max-width: 620px;
  margin-top: 18px;
}

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

.mini-list span {
  display: block;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-soft);
  font-weight: 750;
  line-height: 1.4;
}

.mini-list-dark span {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #d5ded9;
}

.seo-service-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.light-card {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.light-card span {
  color: var(--muted);
}

@media (max-width: 960px) {
  .nav {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .enterprise .hero,
  .seo .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .visual-panel {
    min-height: 430px;
  }

  .service-grid,
  .erp-module-grid,
  .seo-service-grid,
  .dark-grid,
  .selector-grid,
  .split-section,
  .contact-layout,
  .segment-grid,
  .faq-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-hero,
  .image-split {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 16px;
  }
}

@media (max-width: 640px) {
  .nav,
  .hero,
  .seo-hero,
  .section,
  .selector-shell {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .brand small {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 8.5vw, 2.34rem);
    line-height: 1.06;
  }

  .lead {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero {
    gap: 30px;
    padding-bottom: 36px;
    overflow: hidden;
  }

  .hero > div {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .desktop-title {
    display: none;
  }

  .mobile-title {
    display: inline;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .trust-row,
  .service-grid,
  .erp-module-grid,
  .seo-service-grid,
  .dark-grid,
  .selector-grid,
  .split-section,
  .contact-layout,
  .form-grid,
  .compare-grid,
  .segment-grid,
  .faq-grid,
  .process-grid,
  .mini-list {
    grid-template-columns: 1fr;
  }

  .seo-hero {
    gap: 26px;
    padding: 34px 0 42px;
  }

  .seo-hero h1 {
    font-size: clamp(2rem, 9vw, 2.55rem);
  }

  .seo-hero-photo {
    display: none;
  }

  .visual-panel {
    display: none;
  }

  .dashboard {
    min-height: 300px;
  }

  .dash-top {
    height: 48px;
    padding: 0 12px;
  }

  .dash-body {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .chart {
    min-height: 190px;
  }

  .line-chart {
    height: 130px;
  }

  .phone {
    display: none;
  }

  .metric {
    padding: 14px;
  }

  .metric strong {
    font-size: 1.35rem;
  }

  .section {
    padding: 42px 0;
  }

  .contact-form,
  .contact-card {
    padding: 18px;
  }

  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
