:root {
  --ink: #102421;
  --navy: #102d2b;
  --navy-2: #173b37;
  --green: #2aa77b;
  --green-bright: #68d7ae;
  --green-soft: #e8f5f0;
  --gold: #d5ac63;
  --paper: #f7f8f5;
  --white: #ffffff;
  --muted: #60716d;
  --line: #dce4e1;
  --danger: #b44848;
  --shadow: 0 24px 70px rgba(16, 45, 43, 0.11);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  padding: 0 24px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 104px;
  height: 58px;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.access-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: #48605b;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(42, 167, 123, 0.14);
}

.hero {
  margin: 0 18px;
  border-radius: 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 30%, rgba(104, 215, 174, 0.17), transparent 27%),
    radial-gradient(circle at 8% 90%, rgba(213, 172, 99, 0.11), transparent 30%),
    var(--navy);
  overflow: hidden;
}

.hero-inner {
  max-width: 1180px;
  min-height: 505px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: 82px;
  padding: 70px 24px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: #218461;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero .eyebrow,
.eyebrow.light {
  color: var(--green-bright);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

h1 {
  max-width: 750px;
  margin: 0;
  font-size: clamp(39px, 5.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 655px;
  margin: 24px 0 30px;
  color: #c8d8d4;
  font-size: 18px;
  line-height: 1.65;
}

.primary-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: var(--green-bright);
  color: #09241e;
  padding: 14px 21px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease;
}

.primary-link:hover {
  transform: translateY(-2px);
  background: #82e4c0;
}

.primary-link svg,
.summary-toggle svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.065);
  padding: 30px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 58px;
  height: 3px;
  border-radius: 0 0 5px 5px;
  background: var(--gold);
}

.hero-card-kicker {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.hero-card > strong {
  display: block;
  margin-top: 12px;
  font: 700 23px/1.25 Inter, ui-sans-serif, system-ui, sans-serif;
}

.hero-card ul {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 22px 0 15px;
  list-style: none;
}

.hero-card li {
  display: flex;
  align-items: center;
  gap: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  padding: 14px 0;
  color: #dce8e5;
  font-size: 14px;
}

.hero-card li span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(104, 215, 174, 0.12);
  color: var(--green-bright);
  font-size: 11px;
  font-weight: 700;
}

.hero-card > p {
  margin: 0;
  color: #8eaaa4;
  font-size: 12px;
}

.consultoria {
  max-width: 1180px;
  padding: 100px 24px;
  margin: 0 auto;
}

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

.section-heading .eyebrow {
  margin-bottom: 10px;
}

h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 45px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-heading > p {
  max-width: 370px;
  margin: 0 0 3px;
  color: var(--muted);
  line-height: 1.6;
}

.sr-only {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.service-tools {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.search-box {
  position: relative;
  display: block;
}

.search-box svg {
  width: 20px;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  fill: none;
  stroke: #6c7e79;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.search-box input {
  min-height: 48px;
  border-radius: 999px;
  background: var(--white);
  padding-left: 46px;
}

.category-filters {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  overflow-x: auto;
  padding: 3px;
  scrollbar-width: thin;
}

.category-filter {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: #4e625d;
  padding: 10px 13px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.category-filter:hover {
  border-color: #9dbeb3;
}

.category-filter.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.results-count {
  min-height: 18px;
  margin: 0 0 10px 3px;
  color: var(--muted);
  font-size: 11px;
}

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

.service-card {
  min-height: 156px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  padding: 19px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #adc9c0;
  box-shadow: 0 14px 34px rgba(16, 45, 43, 0.08);
}

.service-card.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 16px 38px rgba(16, 45, 43, 0.18);
}

.service-card.active::after {
  content: "✓";
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-bright);
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.service-icon,
.detail-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--green-soft);
  color: #187454;
}

.service-icon {
  width: 38px;
  height: 38px;
}

.service-card.active .service-icon {
  background: rgba(104, 215, 174, 0.12);
  color: var(--green-bright);
}

.service-icon svg,
.detail-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card strong {
  padding-right: 23px;
  font: 700 15px/1.35 Inter, ui-sans-serif, system-ui, sans-serif;
}

.service-card-copy {
  display: grid;
  gap: 6px;
}

.service-card small {
  color: #6f817d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-card.active small {
  color: #9fbbb4;
}

.empty-results {
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 210px;
  border: 1px dashed #bdcbc7;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  text-align: center;
}

.empty-results[hidden] {
  display: none;
}

.empty-results strong {
  color: var(--ink);
}

.service-detail {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 32px;
  box-shadow: var(--shadow);
}

.detail-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.detail-icon {
  width: 52px;
  height: 52px;
}

.detail-icon svg {
  width: 26px;
  height: 26px;
}

.detail-label {
  margin: 0 0 6px;
  color: #218461;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.detail-header h3 {
  margin: 0;
  font-size: 24px;
}

#detail-description {
  max-width: 700px;
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.detail-tags span {
  border-radius: 999px;
  background: #eef4f1;
  color: #49615b;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 700;
}

.change-service {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.change-service:hover {
  border-color: var(--navy);
}

.detail-columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 45px;
  padding-top: 30px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-title span {
  font: 700 16px Inter, ui-sans-serif, system-ui, sans-serif;
}

.panel-title small {
  color: var(--muted);
  font-size: 11px;
}

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

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 10px;
  background: #f6f9f7;
  padding: 11px;
  color: #334943;
  font-size: 13px;
  line-height: 1.4;
}

.check-item span:first-child {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #d9efe7;
  color: #177153;
  font-size: 10px;
  font-weight: 900;
}

.panel-note {
  margin: 16px 0 0;
  color: #71807d;
  font-size: 11px;
  line-height: 1.5;
}

.steps-list {
  position: relative;
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.steps-list::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 23px;
  left: 14px;
  width: 1px;
  background: #cfe0da;
}

.steps-list li {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  min-height: 56px;
  counter-increment: steps;
}

.steps-list li::before {
  content: counter(steps);
  z-index: 1;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #bdd6cd;
  border-radius: 50%;
  background: var(--white);
  color: #26765b;
  font-size: 11px;
  font-weight: 800;
}

.steps-list strong {
  display: block;
  padding-top: 4px;
  color: #2c433d;
  font-size: 13px;
  line-height: 1.45;
}

.proposal {
  margin: 0 18px;
  border-radius: 28px 28px 0 0;
  background: var(--navy);
  color: var(--white);
}

.proposal-shell {
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 74px;
  padding: 94px 24px;
  margin: 0 auto;
}

.proposal-intro {
  align-self: start;
  position: sticky;
  top: 32px;
}

.proposal-intro > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: #b8cbc6;
  line-height: 1.7;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 28px;
  padding-top: 22px;
  color: #91aaa4;
  font-size: 12px;
  line-height: 1.5;
}

.privacy-note svg {
  width: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--green-bright);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.proposal-form {
  display: grid;
  gap: 20px;
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
  padding: 34px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
}

.selected-service-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 12px;
  background: var(--green-soft);
  padding: 14px 16px;
}

.selected-service-line span {
  color: var(--muted);
  font-size: 12px;
}

.selected-service-line strong {
  color: #176f51;
  font-size: 13px;
  text-align: right;
}

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

label {
  display: grid;
  gap: 8px;
  color: #30423f;
  font-size: 12px;
  font-weight: 700;
}

label > span {
  color: var(--green);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #d9e1df;
  border-radius: 10px;
  outline: none;
  background: #fbfcfb;
  color: var(--ink);
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 400;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(42, 167, 123, 0.13);
}

.field-error {
  min-height: 0;
  color: var(--danger);
  font-size: 11px;
  font-weight: 600;
}

.has-error input {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(180, 72, 72, 0.1);
}

.summary-preview {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.summary-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: #f7f9f8;
  color: #324943;
  padding: 13px 15px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.summary-toggle svg {
  transition: transform 160ms ease;
}

.summary-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.summary-content {
  border-top: 1px solid var(--line);
  padding: 16px;
}

.summary-content pre {
  margin: 0;
  white-space: pre-wrap;
  color: #50635e;
  font: 12px/1.65 Inter, ui-sans-serif, system-ui, sans-serif;
}

.whatsapp-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  background: #1f9c70;
  color: var(--white);
  padding: 15px 20px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(31, 156, 112, 0.2);
  transition: transform 160ms ease, background-color 160ms ease;
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  background: #178861;
}

.whatsapp-button svg {
  width: 20px;
  fill: currentColor;
}

.submit-note {
  margin: -10px 0 0;
  color: #7c8b88;
  font-size: 11px;
  text-align: center;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: var(--navy);
  color: #79938d;
  padding: 24px max(24px, calc((100vw - 1132px) / 2));
  font-size: 11px;
}

.footer-brand {
  color: #b3c6c1;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.footer-brand span {
  color: var(--gold);
}

footer p {
  margin: 0;
}

.toast {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  max-width: 360px;
  transform: translateY(20px);
  border-radius: 12px;
  background: #0c2522;
  color: var(--white);
  padding: 13px 16px;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.25);
  font-size: 13px;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

:focus-visible {
  outline: 3px solid rgba(104, 215, 174, 0.7);
  outline-offset: 3px;
}

@media (max-width: 940px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-card {
    max-width: 520px;
  }

  .service-tools {
    grid-template-columns: 1fr;
  }

  .category-filters {
    justify-content: flex-start;
  }

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

  .detail-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .proposal-shell {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .proposal-intro {
    position: static;
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .topbar {
    height: 72px;
    padding: 0 18px;
  }

  .brand-copy small {
    display: none;
  }

  .brand-logo {
    width: 87px;
    height: 52px;
  }

  .access-badge {
    padding: 7px 10px;
    font-size: 11px;
  }

  .hero,
  .proposal {
    margin: 0 8px;
    border-radius: 20px;
  }

  .hero-inner {
    min-height: auto;
    padding: 58px 20px 40px;
  }

  .hero-card {
    padding: 24px;
  }

  .consultoria {
    padding: 72px 18px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .section-heading > p {
    font-size: 14px;
  }

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

  .service-card {
    min-height: 138px;
    padding: 15px;
  }

  .service-card strong {
    font-size: 13px;
  }

  .service-detail {
    border-radius: 20px;
    padding: 22px 18px;
  }

  .detail-header {
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .change-service {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .checklist {
    grid-template-columns: 1fr;
  }

  .proposal-shell {
    padding: 72px 16px 45px;
  }

  .proposal-form {
    padding: 22px 17px;
  }

  .form-row.two-columns {
    grid-template-columns: 1fr;
  }

  .selected-service-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .selected-service-line strong {
    text-align: left;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
