:root {
  --navy-950: #061a31;
  --navy-900: #0b2a55;
  --navy-800: #153a66;
  --ink: #143250;
  --muted: #52687c;
  --blue: #0b67b5;
  --blue-dark: #084f91;
  --cyan: #168fc7;
  --sky: #dff2fc;
  --bg: #f6f9fc;
  --surface: #ffffff;
  --surface-soft: #edf4f8;
  --line: #d6e2eb;
  --line-strong: #a9c7da;
  --success: #0f766e;
  --shadow-sm: 0 10px 28px rgba(11, 42, 85, 0.08);
  --shadow-md: 0 22px 54px rgba(11, 42, 85, 0.12);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
}

body,
button,
input,
select,
textarea {
  font-family: Inter, Arial, sans-serif;
}

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

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

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

section[id],
#sobre {
  scroll-margin-top: 100px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #22a8e5;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--navy-950);
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  min-height: 82px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(214, 226, 235, 0.9);
  backdrop-filter: blur(12px);
  transition: min-height 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  min-height: 72px;
  box-shadow: 0 8px 24px rgba(11, 42, 85, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(var(--container), calc(100% - 48px));
  min-height: inherit;
  margin: 0 auto;
}

.brand {
  flex: 0 0 auto;
}

.brand-logo {
  width: 238px;
  height: 51px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  color: #284861;
  white-space: nowrap;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--navy-900);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: #ffffff !important;
  background: var(--blue-dark);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(8, 79, 145, 0.2);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy-900);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: 64px;
  min-height: 700px;
  padding: 122px max(24px, calc((100vw - var(--container)) / 2)) 56px;
  overflow: hidden;
  background: linear-gradient(135deg, #f9fcff, #eaf6fd 58%, #f7fbfe);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(22, 143, 199, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 143, 199, 0.09) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-content,
.hero-media {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy-900);
  font-family: "Space Grotesk", Inter, sans-serif;
  line-height: 1.08;
}

.hero h1 {
  max-width: 690px;
  margin-bottom: 0;
  font-size: clamp(3.2rem, 5.4vw, 5.35rem);
}

.hero h1 span {
  color: var(--blue);
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  box-shadow: 0 12px 26px rgba(8, 79, 145, 0.24);
}

.btn.primary:hover {
  box-shadow: 0 16px 32px rgba(8, 79, 145, 0.3);
}

.btn.secondary {
  color: var(--navy-900);
  background: #ffffff;
  border-color: var(--line-strong);
}

.btn.secondary:hover {
  background: var(--surface-soft);
}

.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 26px 0 0;
  color: #36566f;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-assurance li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-assurance span {
  color: var(--success);
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: 500px;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.hero-media figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.section {
  position: relative;
  padding: 96px max(24px, calc((100vw - var(--container)) / 2));
}

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

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.differentials-layout h2,
.about-block h2,
.faq-layout h2 {
  margin-bottom: 16px;
  font-size: clamp(2.15rem, 3.8vw, 3.7rem);
}

.section-heading p:not(.eyebrow),
.compact-heading p:not(.eyebrow) {
  max-width: 68ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.02rem;
}

.section-heading.align-left p:not(.eyebrow) {
  margin-left: 0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: -132px auto 96px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.trust-strip div {
  display: grid;
  gap: 5px;
  padding: 24px 28px;
}

.trust-strip div + div {
  border-left: 1px solid var(--line);
}

.trust-strip strong {
  color: var(--navy-900);
  font-family: "Space Grotesk", Inter, sans-serif;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.services-section {
  padding-top: 132px;
  background: #ffffff;
}

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

.service-pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-pillar:hover,
.service-pillar.featured {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.service-pillar:hover {
  transform: translateY(-4px);
}

.service-pillar.featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.service-number {
  position: absolute;
  top: 28px;
  right: 28px;
  color: #aac3d4;
  font: 700 0.82rem "Space Grotesk", sans-serif;
}

.icon-box {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--blue);
  background: var(--surface-soft);
  border-radius: 8px;
}

.icon-box svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-pillar h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.service-pillar > p {
  margin: 0;
  color: var(--muted);
}

.service-pillar ul {
  display: grid;
  gap: 9px;
  padding: 20px 0 0;
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-pillar li {
  position: relative;
  padding-left: 20px;
  color: #36566f;
  font-size: 0.92rem;
}

.service-pillar li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 1px;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
}

.service-pillar .service-examples {
  margin-top: 20px;
  font-size: 0.9rem;
}

.service-examples strong {
  color: var(--navy-900);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  padding-top: 24px;
  color: var(--blue-dark);
  font-weight: 800;
}

.text-link:hover span,
.project-content a:hover {
  transform: translateX(3px);
}

.text-link span {
  transition: transform 160ms ease;
}

.included-line {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 46px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.included-line strong {
  flex: 0 0 auto;
  color: var(--navy-900);
}

.included-line ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.included-line li {
  padding: 5px 10px;
  color: #36566f;
  background: var(--surface-soft);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
}

.portfolio-section {
  color: #dce9f3;
  background: var(--navy-950);
}

.section-heading.light h2,
.section-heading.light p:not(.eyebrow) {
  color: #ffffff;
}

.section-heading.light p:not(.eyebrow) {
  color: #b7cad9;
}

.portfolio-section .eyebrow,
.contact-section .eyebrow {
  color: #66c6ed;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: -12px 0 34px;
}

.portfolio-filters button {
  min-height: 42px;
  padding: 0 15px;
  color: #c9d9e5;
  background: transparent;
  border: 1px solid #35516d;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
}

.portfolio-filters button:hover,
.portfolio-filters button.is-active {
  color: var(--navy-950);
  background: #ffffff;
  border-color: #ffffff;
}

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

.portfolio-card {
  overflow: hidden;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.portfolio-card.is-hidden {
  display: none;
}

.project-frame {
  display: grid;
  aspect-ratio: 3 / 2;
  place-items: center;
  overflow: hidden;
  background: #eaf2f7;
}

.project-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 220ms ease;
}

.portfolio-card:hover .project-frame img {
  transform: scale(1.025);
}

.project-content {
  padding: 24px;
}

.project-content > span {
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-content h3 {
  margin: 8px 0 10px;
  font-size: 1.24rem;
}

.project-content p {
  min-height: 72px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.project-content a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--blue-dark);
  font-size: 0.88rem;
  font-weight: 800;
  transition: transform 160ms ease;
}

.process-section {
  background: #ffffff;
}

.compact-heading {
  max-width: 720px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 108px;
  border-top: 1px solid var(--line-strong);
}

.process-grid article {
  padding: 26px 28px 0 0;
}

.process-grid article + article {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--blue);
  font: 700 1rem "Space Grotesk", sans-serif;
}

.process-grid h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.differentials-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(420px, 1.24fr);
  gap: 72px;
  align-items: start;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.differentials-layout h2 {
  max-width: 520px;
}

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

.differential-list article {
  display: flex;
  gap: 13px;
}

.differential-list article > span {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--success);
  background: #e5f6f3;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
}

.differential-list h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.differential-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.about-block {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 64px;
  padding: 54px;
  color: #dce9f3;
  background: var(--navy-900);
  border-radius: 8px;
}

.about-block h2 {
  margin-bottom: 0;
  color: #ffffff;
}

.about-block p:not(.eyebrow) {
  margin: 0;
  color: #c3d3df;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tech-tags span {
  padding: 6px 10px;
  color: #ffffff;
  border: 1px solid #527292;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(460px, 1.3fr);
  gap: 72px;
  padding-top: 108px;
}

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

.faq-list details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list details[open] {
  border-color: var(--line-strong);
  background: var(--surface-soft);
}

.faq-list summary {
  color: var(--navy-900);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-section {
  color: #dce9f3;
  background: var(--navy-900);
}

.contact-tools {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 20px;
}

.diagnostic-panel,
.briefing-panel {
  padding: 30px;
  color: var(--ink);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.panel-heading {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.panel-heading > span {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--blue-dark);
  background: var(--surface-soft);
  border-radius: 8px;
  font-weight: 800;
}

.panel-heading h3 {
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.panel-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.diagnostic-form,
.briefing-form {
  display: grid;
  gap: 15px;
}

.diagnostic-form label,
.briefing-form label {
  display: grid;
  gap: 7px;
  color: var(--navy-900);
  font-size: 0.86rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #74899a;
}

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

.quiz-result:empty {
  display: none;
}

.result-card {
  padding-top: 20px;
  margin-top: 5px;
  border-top: 1px solid var(--line);
}

.result-card > span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.result-card h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.result-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.recommendation-meta div {
  padding: 10px;
  background: var(--surface-soft);
  border-radius: 6px;
}

.recommendation-meta small,
.recommendation-meta strong {
  display: block;
}

.recommendation-meta small {
  color: var(--muted);
}

.recommendation-meta strong {
  margin-top: 2px;
  color: var(--navy-900);
  font-size: 0.84rem;
}

.result-card .btn {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.briefing-form .consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.5;
}

.consent-field input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  accent-color: var(--blue-dark);
}

.consent-field a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 700;
}

.form-status:not(:empty) {
  display: block;
}

.form-status.is-success {
  color: #07534d;
  background: #e6f7f2;
  border-color: #9cd8c8;
}

.form-status.is-error {
  color: #842029;
  background: #fff0f1;
  border-color: #e8b4b8;
}

.form-status.is-info {
  color: var(--navy-900);
  background: var(--surface-soft);
  border-color: var(--line-strong);
}

.contact-direct {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid #35516d;
}

.contact-direct > div:first-child {
  display: grid;
  gap: 4px;
}

.contact-direct strong {
  color: #ffffff;
}

.contact-direct span {
  color: #b7cad9;
  font-size: 0.9rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  color: #ffffff;
  border: 1px solid #527292;
  border-radius: 7px;
  font-weight: 700;
}

.contact-links a:hover {
  background: #173e67;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #ffffff;
  background: #128c7e;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(18, 140, 126, 0.3);
  transition: transform 160ms ease;
}

.legal-page {
  min-height: 100vh;
  background: #ffffff;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(920px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.legal-header img {
  width: 230px;
  height: auto;
}

.legal-shell {
  width: min(800px, calc(100% - 48px));
  padding: 78px 0 100px;
  margin: 0 auto;
}

.legal-shell > h1 {
  max-width: none;
  margin: 8px 0 8px;
  color: var(--navy-900);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.05;
}

.legal-updated {
  margin: 0;
  color: var(--muted);
}

.legal-content {
  display: grid;
  gap: 38px;
  margin-top: 56px;
}

.legal-content section {
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 10px;
  color: var(--navy-900);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.35rem;
}

.legal-content p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
}

.legal-content a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.success-page {
  display: grid;
  min-height: 100vh;
  padding: 24px;
  place-items: center;
  background: var(--bg);
}

.success-shell {
  width: min(620px, 100%);
  padding: 46px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.success-brand {
  display: inline-block;
  margin-bottom: 34px;
}

.success-brand img {
  width: 230px;
  height: auto;
}

.success-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  place-items: center;
  color: #ffffff;
  background: var(--success);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
}

.success-shell h1 {
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 7vw, 3.6rem);
}

.success-shell > p:not(.eyebrow) {
  max-width: 52ch;
  margin: 0 auto;
  color: var(--muted);
}

.success-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.site-footer {
  padding: 54px max(24px, calc((100vw - var(--container)) / 2)) 28px;
  color: #c7d7e3;
  background: #041426;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(160px, 0.6fr) minmax(220px, 0.8fr);
  gap: 64px;
}

.footer-brand img {
  width: 230px;
  height: auto;
  padding: 6px 8px;
  background: #ffffff;
  border-radius: 6px;
}

.footer-brand p {
  max-width: 330px;
  margin: 16px 0 0;
  color: #aebfcd;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-column h2 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: #c7d7e3;
  font-size: 0.9rem;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  padding-top: 24px;
  margin-top: 42px;
  color: #93a9ba;
  border-top: 1px solid #24405c;
  font-size: 0.8rem;
}

.footer-bottom span:nth-child(2) {
  text-align: center;
}

.footer-bottom span:last-child {
  text-align: right;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 16px;
    font-size: 0.82rem;
  }

  .brand-logo {
    width: 210px;
    height: 46px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    gap: 40px;
  }

  .service-pillar {
    padding: 24px;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: min(var(--container), calc(100% - 48px));
    padding: 14px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 10px;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 4px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 48px;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-media img {
    height: min(320px, 42vw);
    aspect-ratio: 16 / 8.5;
  }

  .trust-strip {
    margin-top: -116px;
  }

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

  .service-pillar:last-child {
    grid-column: 1 / -1;
  }

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

  .process-grid article:nth-child(3) {
    border-left: 0;
  }

  .differentials-layout,
  .about-block,
  .faq-layout,
  .contact-tools {
    grid-template-columns: 1fr;
  }

  .differentials-layout,
  .faq-layout {
    gap: 38px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-bottom,
  .footer-bottom span:nth-child(2),
  .footer-bottom span:last-child {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .header-inner {
    width: calc(100% - 32px);
  }

  .site-header {
    min-height: 72px;
  }

  .brand-logo {
    width: 176px;
    height: 38px;
  }

  .main-nav {
    width: calc(100% - 32px);
  }

  .hero {
    gap: 24px;
    padding: 94px 20px 34px;
  }

  .hero h1 {
    font-size: 2.48rem;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 0.98rem;
  }

  .hero-actions {
    display: grid;
    margin-top: 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-assurance {
    display: none;
  }

  .hero-media img {
    height: 190px;
    aspect-ratio: auto;
  }

  .hero-media figcaption {
    display: none;
  }

  .section {
    padding: 68px 20px;
  }

  .services-section {
    padding-top: 84px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .differentials-layout h2,
  .about-block h2,
  .faq-layout h2 {
    font-size: 2.15rem;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin: -108px 0 70px;
  }

  .trust-strip div {
    padding: 20px;
  }

  .trust-strip div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-pillars,
  .portfolio-grid,
  .process-grid,
  .differential-list,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .service-pillar:last-child {
    grid-column: auto;
  }

  .included-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .project-content p {
    min-height: 0;
  }

  .process-grid {
    gap: 0;
    margin-bottom: 72px;
  }

  .process-grid article,
  .process-grid article + article {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .process-grid span {
    margin-bottom: 18px;
  }

  .differentials-layout {
    grid-template-columns: 1fr;
    padding: 58px 0;
  }

  .about-block {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 22px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .diagnostic-panel,
  .briefing-panel {
    padding: 22px;
  }

  .recommendation-meta {
    grid-template-columns: 1fr;
  }

  .contact-direct {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-links {
    width: 100%;
  }

  .contact-links a {
    width: 100%;
    justify-content: center;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 50px;
    height: 50px;
  }

  .legal-header {
    width: min(100% - 32px, 920px);
    min-height: 78px;
  }

  .legal-header img {
    width: 168px;
  }

  .legal-header .btn {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 0.78rem;
  }

  .legal-shell {
    width: min(100% - 40px, 800px);
    padding: 56px 0 76px;
  }

  .success-page {
    padding: 16px;
  }

  .success-shell {
    padding: 34px 20px;
  }

  .success-actions {
    display: grid;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
