:root {
  --ink: #10110f;
  --ink-soft: #3a3b37;
  --muted: #797a74;
  --line: rgba(16, 17, 15, 0.14);
  --paper: #f7f5f0;
  --paper-2: #efede7;
  --white: #ffffff;
  --black: #050604;
  --accent: #9f1f2f;
  --accent-dark: #711522;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 26px 80px rgba(16, 17, 15, 0.14);
  --header-h: 86px;
  --container: min(82vw, 1540px);
  --font: "Montserrat", "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

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

::selection {
  background: var(--accent);
  color: #fff;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #f4f1ea;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(181, 7, 43, 0.42);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 clamp(22px, 3vw, 52px);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, height 220ms ease;
}

.site-header.is-solid,
body:not(.home):not(.index-en) .site-header {
  color: var(--ink);
  background: rgba(247, 245, 240, 0.86);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(16, 17, 15, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  min-width: 0;
}

.brand-mark {
  width: 58px;
  height: auto;
  filter: brightness(0) invert(1);
  transition: filter 220ms ease;
}

.brand-text {
  width: 148px;
  height: auto;
  filter: brightness(0) invert(1);
  transition: filter 220ms ease;
}

.site-header.is-solid .brand-mark,
.site-header.is-solid .brand-text,
body:not(.home):not(.index-en) .site-header .brand-mark,
body:not(.home):not(.index-en) .site-header .brand-text {
  filter: none;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.2vw, 42px);
}

.top-nav a {
  position: relative;
  padding: 34px 0 30px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.78;
  transition: opacity 180ms ease;
}

.top-nav a:hover,
.top-nav a[aria-current="page"] {
  opacity: 1;
}

.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 21px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.top-nav a:hover::after,
.top-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.82;
}

.lang-link span {
  opacity: 0.55;
}

.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 18px 0 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.menu-button i,
.menu-button i::before,
.menu-button i::after {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
}

.menu-button i {
  position: relative;
}

.menu-button i::before,
.menu-button i::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-button i::before {
  top: -7px;
}

.menu-button i::after {
  top: 7px;
  width: 14px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 5, 4, 0.82) 0%, rgba(4, 5, 4, 0.58) 34%, rgba(4, 5, 4, 0.14) 75%),
    linear-gradient(180deg, rgba(4, 5, 4, 0.48) 0%, rgba(4, 5, 4, 0) 34%, rgba(4, 5, 4, 0.64) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 9vh) 0 13vh;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  color: inherit;
  opacity: 0.62;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3.1rem, 7.2vw, 8.4rem);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-content > p:not(.eyebrow) {
  max-width: 710px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  line-height: 1.55;
  font-weight: 400;
}

.hero-credential {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 42px;
  align-items: center;
  margin: 24px 0 0;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.btn.primary {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.hero .btn.primary,
.cta-card .btn.primary {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.btn.ghost.dark {
  color: var(--ink);
  border-color: rgba(16, 17, 15, 0.28);
  background: rgba(255, 255, 255, 0.72);
}

.btn.full {
  width: 100%;
}

.section {
  padding: clamp(86px, 9vw, 150px) 0;
}

.section.white {
  background: #fff;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(42px, 8vw, 140px);
  align-items: start;
}

.split h2,
.section-head h2,
.cta-card h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.7vw, 6.2rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
}

.split > p,
.split .prose,
.intro-panel .split > p,
.experience .split > div:last-child > p,
.contact-strip .contact-grid > div:first-child > p,
.cta-card > p {
  color: var(--muted);
  font-size: clamp(1.06rem, 1.35vw, 1.34rem);
  line-height: 1.65;
}

.prose p {
  margin: 0 0 28px;
}

.intro-panel {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(58px, 7vw, 110px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
}

.metrics > div {
  min-height: 190px;
  padding: clamp(26px, 3vw, 46px);
  border-right: 1px solid var(--line);
}

.metrics > div:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  font-size: clamp(2.5rem, 4.6vw, 5.4rem);
  line-height: 0.95;
  font-weight: 400;
}

.metrics span,
.proof-grid span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.section-head {
  max-width: 1200px;
  margin-bottom: clamp(42px, 6vw, 86px);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.2vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
  transition: background 180ms ease, transform 180ms ease;
}

.service-card:hover {
  background: #fff;
  transform: translateY(-3px);
}

.service-card span,
.service-copy span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin: auto 0 22px;
  font-size: clamp(1.45rem, 1.9vw, 2.15rem);
  line-height: 1.05;
  font-weight: 500;
}

.service-card p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.service-card a,
.text-button {
  width: max-content;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0 0 5px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-strip,
.contact-page {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(360px, 0.74fr);
  gap: clamp(48px, 8vw, 140px);
  align-items: start;
}

.contact-grid h2,
.contact-panel h2 {
  margin: 0 0 26px;
  font-size: clamp(2.2rem, 4.4vw, 5.3rem);
  line-height: 1.03;
  font-weight: 400;
}

.service-index {
  display: grid;
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.service-index a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.form-shell {
  padding: clamp(28px, 3.2vw, 52px);
  border: 1px solid rgba(16, 17, 15, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(247, 245, 240, 0.72);
  box-shadow: 0 24px 70px rgba(16, 17, 15, 0.08);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(16, 17, 15, 0.14);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 15px 16px;
  min-height: 54px;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 138px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(159, 31, 47, 0.65);
  box-shadow: 0 0 0 4px rgba(159, 31, 47, 0.08);
}

.privacy-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.form-intro {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.privacy-note a {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
}

.form-message {
  padding: 14px 16px;
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(16, 17, 15, 0.06);
  font-size: 0.92rem;
  line-height: 1.45;
}

.service-rail {
  background: #fff;
}

.service-list {
  display: grid;
  gap: 32px;
}

.service-row {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(16, 17, 15, 0.12);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.service-media {
  min-height: 100%;
  background: var(--black);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 80px);
}

.service-copy h2 {
  margin: 20px 0 24px;
  font-size: clamp(2.2rem, 4.2vw, 5.4rem);
  line-height: 0.98;
  font-weight: 400;
}

.service-copy p {
  max-width: 700px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  line-height: 1.7;
}

.clients-section {
  background: var(--paper-2);
}

.client-grid,
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.client-grid article,
.approach-grid article {
  min-height: 250px;
  padding: clamp(26px, 3vw, 42px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
}

.client-grid h3,
.approach-grid h3 {
  margin: 0 0 20px;
  font-size: clamp(1.35rem, 1.7vw, 1.95rem);
  line-height: 1.16;
  font-weight: 500;
}

.client-grid p,
.approach-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.compact-cta {
  background: var(--paper);
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px 70px;
  align-items: end;
  padding: clamp(40px, 6vw, 86px);
  border-radius: var(--radius-lg);
  color: #fff;
  background: var(--black);
}

.cta-card p {
  max-width: 900px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.cta-card div {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.experience {
  background: var(--black);
  color: #fff;
}

.experience .split > div:last-child > p,
.experience .proof-grid span {
  color: rgba(255, 255, 255, 0.68);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.proof-grid div {
  padding: 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.proof-grid div:last-child {
  border-right: 0;
}

.proof-grid strong {
  display: block;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3.8rem);
  line-height: 1;
  font-weight: 400;
}

.contact-panel {
  padding-top: 8px;
}

.contact-channel {
  display: grid;
  gap: 8px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.contact-channel:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-channel span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-channel a {
  width: max-content;
  max-width: 100%;
  font-size: clamp(1.2rem, 1.8vw, 2rem);
  line-height: 1.2;
  font-weight: 500;
}

.contact-channel small {
  color: var(--muted);
  font-size: 0.86rem;
}

.policy-page {
  padding-top: calc(var(--header-h) + 90px);
  background: #fff;
}

.policy-page .prose {
  max-width: 980px;
}

.policy-page h1 {
  margin: 40px 0 32px;
  font-size: clamp(2.8rem, 6vw, 7rem);
  line-height: 0.95;
  font-weight: 400;
}

.policy-page h2 {
  margin: 46px 0 14px;
  font-size: 1.35rem;
}

.policy-page p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.policy-page .lead {
  color: var(--ink-soft);
  font-size: 1.16rem;
}

.back-link {
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer {
  padding: clamp(70px, 8vw, 120px) 0 34px;
  color: rgba(255, 255, 255, 0.72);
  background: #000;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.35fr) repeat(3, minmax(150px, 0.55fr));
  gap: clamp(36px, 6vw, 88px);
}

.footer-brand img {
  width: 232px;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.footer-brand p {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.03rem;
  line-height: 1.6;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-col h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.95rem;
  line-height: 1.45;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(54px, 7vw, 94px);
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.82rem;
  line-height: 1.55;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 160;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.78)),
    radial-gradient(circle at 75% 20%, rgba(159, 31, 47, 0.24), transparent 30%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.menu-overlay:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

.menu-close {
  position: absolute;
  top: 26px;
  right: 34px;
  z-index: 2;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.7fr);
  min-height: 100%;
  width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-h) + 34px) 0 62px;
  gap: clamp(42px, 7vw, 110px);
}

.menu-links {
  display: grid;
  align-content: center;
  gap: 0;
}

.menu-links a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: baseline;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.menu-links span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.menu-links strong {
  font-size: clamp(2.4rem, 4.8vw, 6.4rem);
  line-height: 0.96;
  font-weight: 400;
  letter-spacing: 0;
}

.menu-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: clamp(34px, 5vw, 84px);
}

.menu-aside h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 4.6rem);
  line-height: 1.02;
  font-weight: 400;
}

.menu-services {
  display: grid;
  gap: 10px;
  margin: 42px 0;
}

.menu-services a,
.menu-contact a {
  color: rgba(255, 255, 255, 0.64);
}

.menu-services a:hover,
.menu-contact a:hover {
  color: #fff;
}

.menu-contact {
  display: grid;
  gap: 10px;
}

.service-modal {
  width: min(920px, calc(100vw - 34px));
  max-height: min(84vh, 820px);
  overflow: auto;
  border: 0;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 70px);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.service-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.service-modal > button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.service-modal h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 1;
  font-weight: 400;
}

.service-modal p,
.service-modal li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.service-modal ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  margin: 28px 0 34px;
}

.privacy-banner {
  position: fixed;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 18px 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  color: #fff;
  background: rgba(5, 6, 4, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.privacy-banner[hidden] {
  display: none !important;
}

.privacy-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.45;
}

.privacy-banner strong {
  color: #fff;
}

.privacy-banner button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

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

@media (max-width: 1180px) {
  :root {
    --container: min(88vw, 1060px);
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .top-nav {
    display: none;
  }

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

  .service-card {
    min-height: 360px;
  }

  .client-grid,
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 860px) {
  :root {
    --header-h: 76px;
    --container: calc(100vw - 38px);
  }

  .site-header {
    padding: 0 18px;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: 46px;
  }

  .brand-text {
    width: 118px;
  }

  .lang-link {
    display: none;
  }

  .menu-button {
    min-height: 44px;
    padding: 0 14px 0 16px;
  }

  .menu-button span {
    display: none;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-content {
    padding-bottom: 72px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12vw, 4.35rem);
  }

  .section {
    padding: 72px 0;
  }

  .split,
  .contact-grid,
  .service-row,
  .cta-card,
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .metrics,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .metrics > div,
  .proof-grid div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-grid div {
    border-bottom-color: rgba(255, 255, 255, 0.16);
  }

  .metrics > div:last-child,
  .proof-grid div:last-child {
    border-bottom: 0;
  }

  .service-cards,
  .client-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    min-height: 0;
  }

  .service-media {
    min-height: 260px;
  }

  .cta-card div {
    justify-content: flex-start;
  }

  .menu-grid {
    overflow: auto;
    padding-top: 90px;
    padding-bottom: 34px;
  }

  .menu-links a {
    grid-template-columns: 42px 1fr;
    padding: 18px 0;
  }

  .menu-links strong {
    font-size: clamp(2rem, 10vw, 3.8rem);
  }

  .menu-aside {
    border-left: 0;
    padding-left: 0;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

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

  .footer-bottom {
    display: block;
  }

  .privacy-banner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    left: 14px;
    right: 14px;
  }

  .privacy-banner button {
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .hero-actions,
  .cta-card div {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .form-shell {
    padding: 22px;
  }

  .contact-channel a {
    word-break: break-word;
  }
}

/* Direccao visual 02 - interface institucional escura */
:root {
  --ink: #f4f1ea;
  --ink-soft: rgba(244, 241, 234, 0.78);
  --muted: rgba(244, 241, 234, 0.55);
  --line: rgba(244, 241, 234, 0.12);
  --paper: #121212;
  --paper-2: #1a1a1a;
  --white: #f4f1ea;
  --black: #080808;
  --accent: #b5072b;
  --accent-dark: #790018;
  --charcoal: #2D2D2D;
  --charcoal-soft: #242424;
  --charcoal-deep: #171717;
  --shadow: 0 22px 64px rgba(0, 0, 0, 0.28);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

html {
  background: var(--black);
}

body {
  color: var(--ink);
  background:
    var(--grain),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 10%, rgba(181, 7, 43, 0.12), transparent 34vw),
    linear-gradient(180deg, #181818 0%, #0d0d0d 42%, #141414 100%);
  background-size: 180px 180px, 96px 96px, 96px 96px, auto, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(181, 7, 43, 0.06), transparent),
    radial-gradient(circle at 50% -15%, rgba(255, 255, 255, 0.08), transparent 34vw);
  opacity: 0.95;
}

.site-header,
.site-header.is-solid,
body:not(.home):not(.index-en) .site-header {
  height: 82px;
  color: #f6f3ec;
  background: rgba(45, 45, 45, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px) saturate(1.08);
}

.site-header::after {
  content: "";
  position: absolute;
  left: clamp(22px, 3vw, 52px);
  right: clamp(22px, 3vw, 52px);
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(181, 7, 43, 0.95), transparent);
  opacity: 0.7;
}

.brand-mark,
.brand-text,
.site-header.is-solid .brand-mark,
.site-header.is-solid .brand-text,
body:not(.home):not(.index-en) .site-header .brand-mark,
body:not(.home):not(.index-en) .site-header .brand-text {
  filter: brightness(0) invert(1);
}

.brand-text {
  width: 154px;
  opacity: 0.9;
}

.top-nav {
  padding: 7px;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.top-nav a {
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.7rem;
  opacity: 0.72;
}

.top-nav a[aria-current="page"],
.top-nav a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
}

.top-nav a::after {
  left: 18px;
  right: 18px;
  bottom: 7px;
  background: var(--accent);
}

.lang-link,
.menu-button {
  color: #f7f4ee;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 40px rgba(0, 0, 0, 0.16);
}

.menu-button {
  min-height: 50px;
  padding-left: 24px;
  padding-right: 20px;
}

.menu-button:hover {
  background: rgba(255, 255, 255, 0.13);
}

.hero {
  min-height: 100svh;
  background: var(--charcoal);
}

.hero::before {
  content: "PRAGMATUR";
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -45%);
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(5rem, 18vw, 22rem);
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.hero::before {
  content: none;
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(34px, 8vh, 90px);
  width: clamp(54px, 6vw, 96px);
  height: 4px;
  transform: translateX(-50%);
  background: var(--accent);
  box-shadow: 0 0 30px rgba(181, 7, 43, 0.55);
}

.hero-image img {
  filter: saturate(0.55) contrast(1.06) brightness(0.72);
  transform: scale(1.06);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 12, 12, 0.94) 0%, rgba(25, 25, 25, 0.76) 34%, rgba(45, 45, 45, 0.28) 74%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.18) 45%, rgba(5, 5, 5, 0.88) 100%),
    radial-gradient(circle at 72% 18%, rgba(181, 7, 43, 0.18), transparent 28vw);
}

.hero-content {
  padding-bottom: 18vh;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.64);
  opacity: 1;
  letter-spacing: 0.2em;
}

.eyebrow::before {
  width: 52px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(181, 7, 43, 0.5);
}

.hero h1 {
  max-width: 1100px;
  color: #fff;
  font-size: clamp(3.35rem, 7.4vw, 8.7rem);
  line-height: 0.9;
  font-weight: 300;
  text-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.hero-content > p:not(.eyebrow) {
  color: rgba(244, 241, 234, 0.76);
}

.btn {
  min-height: 58px;
  border-radius: 999px;
}

.btn.primary,
.hero .btn.primary,
.cta-card .btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #c20a32, #8c001c);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 38px rgba(181, 7, 43, 0.24);
}

.btn.ghost,
.btn.ghost.dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.section,
.section.white,
.intro-panel,
.services-preview,
.service-rail,
.clients-section,
.compact-cta,
.contact-strip,
.contact-page,
.policy-page {
  position: relative;
  color: var(--ink);
  background: transparent;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 32%);
}

.split h2,
.section-head h2,
.cta-card h2,
.contact-grid h2,
.contact-panel h2,
.policy-page h1,
.service-copy h2 {
  color: #fff;
  font-weight: 300;
}

.split > p,
.split .prose,
.intro-panel .split > p,
.experience .split > div:last-child > p,
.contact-strip .contact-grid > div:first-child > p,
.cta-card > p,
.prose p,
.policy-page p,
.service-copy p,
.client-grid p,
.approach-grid p,
.privacy-note,
.form-intro,
.contact-channel small,
.metrics span,
.proof-grid span {
  color: rgba(244, 241, 234, 0.58);
}

.intro-panel .split,
.editorial .split,
.experience .split,
.contact-grid {
  padding: clamp(34px, 4vw, 68px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    var(--grain),
    linear-gradient(135deg, rgba(45, 45, 45, 0.86), rgba(20, 20, 20, 0.74));
  background-size: 180px 180px, auto;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.metrics,
.proof-grid {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    var(--grain),
    linear-gradient(135deg, rgba(45, 45, 45, 0.9), rgba(18, 18, 18, 0.8));
  background-size: 180px 180px, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 16px 48px rgba(0, 0, 0, 0.22);
}

.metrics > div,
.proof-grid div {
  position: relative;
  border-color: rgba(255, 255, 255, 0.1);
}

.metrics > div::before,
.proof-grid div::before,
.client-grid article::before,
.approach-grid article::before,
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(22px, 2vw, 34px);
  width: 54px;
  height: 3px;
  background: var(--accent);
}

.metrics strong,
.proof-grid strong {
  color: #fff;
  font-weight: 300;
}

.service-cards,
.client-grid,
.approach-grid {
  gap: 16px;
  border: 0;
}

.service-card,
.client-grid article,
.approach-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    var(--grain),
    linear-gradient(135deg, rgba(45, 45, 45, 0.92), rgba(18, 18, 18, 0.86)),
    radial-gradient(circle at 90% 0%, rgba(181, 7, 43, 0.16), transparent 35%);
  background-size: 180px 180px, auto, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.service-card:hover,
.client-grid article:hover,
.approach-grid article:hover {
  background:
    linear-gradient(135deg, rgba(55, 55, 55, 0.96), rgba(18, 18, 18, 0.9)),
    radial-gradient(circle at 90% 0%, rgba(181, 7, 43, 0.22), transparent 38%);
  transform: translateY(-4px);
}

.service-card h3,
.client-grid h3,
.approach-grid h3 {
  color: #fff;
  font-weight: 400;
}

.service-card {
  gap: 0;
}

.service-card h3 {
  display: flex;
  align-items: flex-end;
  min-height: 3.35em;
  margin: clamp(30px, 4vw, 58px) 0 24px;
}

.service-card p,
.service-card span,
.service-copy span {
  color: rgba(244, 241, 234, 0.58);
}

.service-card a,
.text-button {
  color: #fff;
  border-bottom-color: var(--accent);
}

.service-row {
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background:
    var(--grain),
    linear-gradient(135deg, rgba(45, 45, 45, 0.9), rgba(12, 12, 12, 0.86));
  background-size: 180px 180px, auto;
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.24);
}

.service-row:nth-child(even) {
  grid-template-columns: 1fr 0.88fr;
}

.service-row:nth-child(even) .service-media {
  order: 2;
}

.service-media {
  position: relative;
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.48)),
    linear-gradient(180deg, transparent, rgba(181, 7, 43, 0.12));
}

.service-media img {
  filter: saturate(0.52) contrast(1.08) brightness(0.78);
}

.form-shell,
.contact-panel,
.contact-grid .form-shell {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    var(--grain),
    linear-gradient(145deg, rgba(45, 45, 45, 0.86), rgba(18, 18, 18, 0.84));
  background-size: 180px 180px, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 18px 54px rgba(0, 0, 0, 0.24);
}

.field label {
  color: rgba(244, 241, 234, 0.58);
}

.field input,
.field select,
.field textarea {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(244, 241, 234, 0.34);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(181, 7, 43, 0.74);
  box-shadow: 0 0 0 4px rgba(181, 7, 43, 0.12);
}

.service-index,
.contact-channel,
.contact-channel:last-child {
  border-color: rgba(255, 255, 255, 0.12);
}

.service-index a,
.contact-channel a,
.privacy-note a,
.back-link {
  color: #fff;
}

.contact-channel a,
.footer-col a,
.footer-col p {
  overflow-wrap: anywhere;
}

.cta-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    var(--grain),
    linear-gradient(135deg, rgba(45, 45, 45, 0.96), rgba(10, 10, 10, 0.94)),
    radial-gradient(circle at 86% 20%, rgba(181, 7, 43, 0.18), transparent 32%);
  background-size: 180px 180px, auto, auto;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(40px, 6vw, 86px);
  width: 80px;
  height: 4px;
  background: var(--accent);
}

.compact-cta .cta-card {
  grid-template-columns: minmax(520px, 0.72fr) minmax(0, 1fr);
  align-items: center;
}

.compact-cta .cta-card h2 {
  white-space: nowrap;
  font-size: clamp(3rem, 4.2vw, 5.4rem);
}

.compact-cta .cta-card > p {
  max-width: 820px;
}

.site-footer {
  background:
    var(--grain),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #080808, #000);
  background-size: 180px 180px, 96px 96px, auto;
}

.footer-grid {
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    var(--grain),
    rgba(45, 45, 45, 0.34);
  background-size: 180px 180px, auto;
}

.footer-brand img {
  opacity: 0.86;
}

.menu-overlay {
  background:
    var(--grain),
    linear-gradient(90deg, rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.84)),
    radial-gradient(circle at 80% 18%, rgba(181, 7, 43, 0.2), transparent 30vw),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 180px 180px, auto, auto, 92px 92px;
}

.menu-overlay::before {
  content: "PRAGMATUR";
  position: absolute;
  left: 7vw;
  bottom: 5vh;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(5rem, 14vw, 17rem);
  font-weight: 300;
  letter-spacing: 0.22em;
  pointer-events: none;
}

.menu-links a {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.menu-links strong {
  font-weight: 300;
}

.menu-links a:hover strong {
  color: #fff;
}

.menu-links a:hover {
  background: linear-gradient(90deg, rgba(181, 7, 43, 0.16), transparent);
}

.menu-aside {
  border-left-color: rgba(255, 255, 255, 0.12);
}

.menu-overlay {
  background:
    var(--grain),
    linear-gradient(90deg, rgba(7, 7, 7, 0.96), rgba(10, 10, 10, 0.9)),
    radial-gradient(circle at 82% 16%, rgba(181, 7, 43, 0.16), transparent 28vw),
    radial-gradient(circle at 18% 86%, rgba(255, 255, 255, 0.055), transparent 26vw),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 180px 180px, auto, auto, auto, 96px 96px, 96px 96px;
  backdrop-filter: blur(12px) saturate(0.86);
}

.menu-overlay::before {
  left: 6vw;
  bottom: 3vh;
  color: rgba(255, 255, 255, 0.026);
  font-size: clamp(4.4rem, 12vw, 14rem);
}

.menu-close {
  min-height: 54px;
  padding: 0 24px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 20px 52px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-close:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.13);
}

.menu-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.62fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
}

.menu-links {
  align-content: center;
  padding: clamp(18px, 2.4vw, 34px) 0;
}

.menu-links a {
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 2vw, 26px);
  min-height: clamp(82px, 9vh, 118px);
  margin-bottom: 4px;
  padding: clamp(17px, 2.15vw, 28px) clamp(14px, 1.8vw, 24px);
  border: 1px solid transparent;
  border-bottom-color: rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.menu-links a:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(181, 7, 43, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.025);
  transform: translateX(4px);
}

.menu-links span {
  align-self: center;
  font-size: 0.68rem;
  color: rgba(244, 241, 234, 0.42);
}

.menu-links strong {
  font-size: clamp(2rem, 3.55vw, 4.75rem);
  line-height: 1.02;
  color: rgba(244, 241, 234, 0.9);
}

.menu-aside {
  position: relative;
  min-height: min(66vh, 620px);
  padding: clamp(32px, 4vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    var(--grain),
    linear-gradient(145deg, rgba(45, 45, 45, 0.78), rgba(12, 12, 12, 0.72)),
    radial-gradient(circle at 100% 0%, rgba(181, 7, 43, 0.1), transparent 34%);
  background-size: 180px 180px, auto, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 20px 62px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.menu-aside::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(32px, 4vw, 58px);
  width: 68px;
  height: 3px;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(181, 7, 43, 0.46);
}

.menu-aside h2 {
  max-width: 520px;
  font-size: clamp(1.9rem, 2.45vw, 3.1rem);
  line-height: 1.06;
}

.menu-services {
  gap: 0;
  margin: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-services a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(244, 241, 234, 0.62);
}

.menu-contact {
  gap: 8px;
  padding-top: 4px;
}

.menu-contact a {
  color: rgba(244, 241, 234, 0.74);
}

.field select {
  color-scheme: dark;
}

.field select option,
.field select optgroup {
  color: #f4f1ea;
  background: #242424;
}

.field select option:checked {
  color: #fff;
  background: #b5072b;
}

.field select option:disabled {
  color: rgba(244, 241, 234, 0.46);
}

.field.has-custom-select {
  position: relative;
}

.field.has-custom-select select {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-select {
  position: relative;
  z-index: 4;
}

.custom-select.is-open {
  z-index: 90;
}

.custom-select-trigger {
  width: 100%;
  min-height: 56px;
  padding: 15px 48px 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(45, 45, 45, 0.78);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.custom-select-trigger::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  opacity: 0.82;
}

.custom-select.is-open .custom-select-trigger {
  border-color: rgba(181, 7, 43, 0.74);
  box-shadow: 0 0 0 4px rgba(181, 7, 43, 0.12);
}

.custom-select-trigger:focus-visible {
  border-color: rgba(244, 241, 234, 0.56);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 292px;
  margin: 0;
  padding: 8px;
  overflow: auto;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: rgba(244, 241, 234, 0.82);
  background:
    var(--grain),
    linear-gradient(145deg, rgba(45, 45, 45, 0.98), rgba(12, 12, 12, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(181, 7, 43, 0.14), transparent 34%);
  background-size: 180px 180px, auto, auto;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

.custom-select-options li {
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
}

.custom-select-options li:hover,
.custom-select-options li.is-active,
.custom-select-options li.is-selected {
  color: #fff;
  background: rgba(181, 7, 43, 0.38);
}

.custom-select-options li.is-disabled {
  color: rgba(244, 241, 234, 0.42);
  cursor: default;
}

.custom-select-options li.is-disabled.is-selected,
.custom-select-options li.is-disabled:hover {
  color: rgba(244, 241, 234, 0.42);
  background: transparent;
}

.lang-link,
.menu-button {
  min-height: 50px;
}

.service-modal {
  color: var(--ink);
  background: linear-gradient(145deg, #f4f1ea, #e6e1d7);
}

.service-modal h2,
.service-modal .eyebrow {
  color: #111;
}

.service-modal p,
.service-modal li {
  color: rgba(17, 17, 17, 0.68);
}

.editorial .split {
  grid-template-columns: minmax(500px, 0.9fr) minmax(0, 1.1fr);
}

.editorial .split h2 {
  white-space: nowrap;
  font-size: clamp(3.4rem, 4.5vw, 5.6rem);
}

.contact-panel {
  overflow: hidden;
  padding: clamp(34px, 3.6vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    var(--grain),
    linear-gradient(145deg, rgba(45, 45, 45, 0.72), rgba(18, 18, 18, 0.66)),
    radial-gradient(circle at 0% 0%, rgba(181, 7, 43, 0.08), transparent 36%);
  background-size: 180px 180px, auto, auto;
}

.contact-panel .eyebrow {
  margin-bottom: 34px;
}

.contact-panel h2 {
  margin-bottom: clamp(42px, 5vw, 70px);
}

.contact-panel .contact-channel:first-of-type {
  border-top-color: rgba(255, 255, 255, 0.18);
  padding-top: clamp(28px, 3.2vw, 46px);
}

.service-modal {
  color: #f4f1ea;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    var(--grain),
    linear-gradient(145deg, rgba(45, 45, 45, 0.98), rgba(12, 12, 12, 0.96)),
    radial-gradient(circle at 86% 8%, rgba(181, 7, 43, 0.18), transparent 34%);
  background-size: 180px 180px, auto, auto;
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.service-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(32px, 5vw, 70px);
  width: 72px;
  height: 4px;
  background: var(--accent);
  box-shadow: 0 0 26px rgba(181, 7, 43, 0.48);
}

.service-modal::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(18px) saturate(0.9);
}

.service-modal > button {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.service-modal h2,
.service-modal .eyebrow {
  color: #fff;
}

.service-modal .eyebrow {
  margin-top: 18px;
}

.service-modal p,
.service-modal li {
  color: rgba(244, 241, 234, 0.64);
}

.service-modal li::marker {
  color: var(--accent);
}

.privacy-banner {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(45, 45, 45, 0.9);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #f7f4ee;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 40px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.13);
}

.theme-dot {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #fffaf0 0 18%, #d9d1c3 19% 42%, #6f6f69 43% 100%);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.85),
    inset 0 -2px 4px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.theme-label {
  white-space: nowrap;
}

/* Camada material: vidro fumado e metal grafite acetinado. */
:root {
  --material-edge: rgba(255, 255, 255, 0.16);
  --material-edge-soft: rgba(255, 255, 255, 0.09);
  --material-lowlight: rgba(0, 0, 0, 0.36);
  --material-red-reflect: rgba(181, 7, 43, 0.13);
  --material-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  --material-shadow-hover: 0 30px 88px rgba(0, 0, 0, 0.36);
  --glass-blur: blur(28px) saturate(1.08);
  --metal-surface:
    var(--grain),
    linear-gradient(132deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.025) 24%, rgba(0, 0, 0, 0.18) 62%, rgba(255, 255, 255, 0.045) 100%),
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.1), transparent 28%),
    radial-gradient(circle at 100% 12%, var(--material-red-reflect), transparent 34%),
    linear-gradient(145deg, rgba(50, 50, 50, 0.86), rgba(14, 14, 14, 0.78));
  --glass-surface:
    var(--grain),
    linear-gradient(138deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035) 35%, rgba(0, 0, 0, 0.22) 100%),
    linear-gradient(180deg, rgba(45, 45, 45, 0.72), rgba(18, 18, 18, 0.58));
}

.site-header,
.site-header.is-solid,
body:not(.home):not(.index-en) .site-header {
  background:
    var(--grain),
    linear-gradient(132deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.035) 42%, rgba(0, 0, 0, 0.16)),
    rgba(34, 34, 34, 0.62);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.32),
    0 18px 54px rgba(0, 0, 0, 0.24);
}

.top-nav,
.lang-link,
.theme-toggle,
.menu-button,
.menu-close,
.privacy-banner {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045) 44%, rgba(0, 0, 0, 0.22)),
    rgba(38, 38, 38, 0.58);
  -webkit-backdrop-filter: blur(22px) saturate(1.08);
  backdrop-filter: blur(22px) saturate(1.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 14px 38px rgba(0, 0, 0, 0.22);
}

.intro-panel .split,
.editorial .split,
.experience .split,
.contact-grid,
.metrics,
.proof-grid,
.service-card,
.client-grid article,
.approach-grid article,
.service-row,
.form-shell,
.contact-panel,
.cta-card,
.footer-grid,
.menu-aside,
.service-modal,
.custom-select-trigger,
.custom-select-options {
  background: var(--metal-surface);
  background-size: 180px 180px, auto, auto, auto, auto;
  border-color: var(--material-edge-soft);
  box-shadow:
    inset 0 1px 0 var(--material-edge),
    inset 0 -1px 0 var(--material-lowlight),
    inset 1px 0 0 rgba(255, 255, 255, 0.045),
    var(--material-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(0.96);
  backdrop-filter: blur(18px) saturate(0.96);
}

.intro-panel .split,
.editorial .split,
.experience .split,
.contact-grid,
.service-card,
.client-grid article,
.approach-grid article,
.service-row,
.form-shell,
.contact-panel,
.cta-card,
.footer-grid,
.menu-aside,
.service-modal {
  position: relative;
  isolation: isolate;
}

.intro-panel .split::after,
.editorial .split::after,
.experience .split::after,
.contact-grid::after,
.service-card::after,
.client-grid article::after,
.approach-grid article::after,
.service-row::after,
.form-shell::after,
.contact-panel::after,
.cta-card::after,
.footer-grid::after,
.menu-aside::after,
.service-modal::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(122deg, rgba(255, 255, 255, 0.12), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.1), transparent 24%);
  opacity: 0.52;
  mix-blend-mode: screen;
}

.intro-panel .split > *,
.editorial .split > *,
.experience .split > *,
.contact-grid > *,
.service-card > *,
.client-grid article > *,
.approach-grid article > *,
.service-row > *,
.form-shell > *,
.contact-panel > *,
.cta-card > *,
.footer-grid > *,
.menu-aside > *,
.service-modal > * {
  position: relative;
  z-index: 1;
}

.metrics > div,
.proof-grid div {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(0, 0, 0, 0.08));
}

.service-card,
.client-grid article,
.approach-grid article,
.service-row,
.form-shell,
.contact-panel,
.cta-card {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.service-card:hover,
.client-grid article:hover,
.approach-grid article:hover,
.service-row:hover,
.form-shell:hover,
.contact-panel:hover,
.cta-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.38),
    inset 1px 0 0 rgba(255, 255, 255, 0.055),
    var(--material-shadow-hover);
}

.service-media::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(181, 7, 43, 0.12)),
    linear-gradient(130deg, rgba(255, 255, 255, 0.13), transparent 28%);
}

.field input,
.field select,
.field textarea {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.032)),
    rgba(30, 30, 30, 0.72);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.custom-select-trigger,
.custom-select-options,
.service-modal,
.menu-aside {
  background: var(--glass-surface);
  background-size: 180px 180px, auto, auto;
}

.btn.ghost,
.btn.ghost.dark {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 10px 26px rgba(0, 0, 0, 0.18);
}

.btn:hover,
.top-nav a:hover,
.lang-link:hover,
.theme-toggle:hover,
.menu-button:hover,
.menu-close:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 16px 36px rgba(0, 0, 0, 0.24);
}

/* Tema claro: vidro perlado com reflexos grafite e vermelho PRAGMATUR. */
html[data-theme="light"] {
  --ink: #191a17;
  --ink-soft: rgba(33, 34, 30, 0.82);
  --muted: rgba(54, 55, 50, 0.66);
  --line: rgba(45, 45, 45, 0.12);
  --paper: #f6f2ea;
  --paper-2: #ebe5da;
  --white: #fffdf8;
  --black: #12110f;
  --charcoal: #2d2d2d;
  --charcoal-soft: #efebe2;
  --charcoal-deep: #dad1c4;
  --shadow: 0 24px 68px rgba(45, 40, 33, 0.14);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  --material-edge: rgba(255, 255, 255, 0.78);
  --material-edge-soft: rgba(45, 45, 45, 0.11);
  --material-lowlight: rgba(104, 96, 84, 0.18);
  --material-red-reflect: rgba(181, 7, 43, 0.08);
  --material-shadow: 0 24px 70px rgba(55, 48, 39, 0.13);
  --material-shadow-hover: 0 30px 88px rgba(55, 48, 39, 0.18);
  --glass-blur: blur(26px) saturate(1.08);
  --metal-surface:
    var(--grain),
    linear-gradient(132deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.38) 28%, rgba(204, 197, 186, 0.32) 64%, rgba(255, 255, 255, 0.62) 100%),
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.75), transparent 30%),
    radial-gradient(circle at 100% 12%, var(--material-red-reflect), transparent 34%),
    linear-gradient(145deg, rgba(250, 247, 240, 0.88), rgba(226, 219, 208, 0.78));
  --glass-surface:
    var(--grain),
    linear-gradient(138deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.34) 42%, rgba(160, 151, 137, 0.18) 100%),
    linear-gradient(180deg, rgba(253, 250, 244, 0.76), rgba(228, 222, 211, 0.58));
  color-scheme: light;
}

html[data-theme="light"] body {
  color: var(--ink);
  background:
    var(--grain),
    linear-gradient(90deg, rgba(45, 45, 45, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(45, 45, 45, 0.032) 1px, transparent 1px),
    radial-gradient(circle at 78% 10%, rgba(181, 7, 43, 0.075), transparent 34vw),
    linear-gradient(180deg, #fbf9f4 0%, #f1ece3 48%, #e9e2d7 100%);
  background-size: 180px 180px, 96px 96px, 96px 96px, auto, auto;
}

html[data-theme="light"] body::before {
  background:
    linear-gradient(90deg, transparent, rgba(181, 7, 43, 0.045), transparent),
    radial-gradient(circle at 50% -15%, rgba(255, 255, 255, 0.86), transparent 36vw);
  opacity: 0.86;
}

html[data-theme="light"] .site-header,
html[data-theme="light"] .site-header.is-solid,
html[data-theme="light"] body:not(.home):not(.index-en) .site-header {
  color: var(--ink);
  background:
    var(--grain),
    linear-gradient(132deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.34) 42%, rgba(122, 113, 101, 0.16)),
    rgba(246, 242, 234, 0.68);
  border-bottom-color: rgba(45, 45, 45, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(104, 96, 84, 0.14),
    0 18px 54px rgba(55, 48, 39, 0.12);
}

html[data-theme="light"] .brand-mark,
html[data-theme="light"] .brand-text,
html[data-theme="light"] .site-header.is-solid .brand-mark,
html[data-theme="light"] .site-header.is-solid .brand-text,
html[data-theme="light"] body:not(.home):not(.index-en) .site-header .brand-mark,
html[data-theme="light"] body:not(.home):not(.index-en) .site-header .brand-text {
  filter: none;
}

html[data-theme="light"] .top-nav,
html[data-theme="light"] .lang-link,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .menu-button,
html[data-theme="light"] .menu-close,
html[data-theme="light"] .privacy-banner {
  color: var(--ink);
  border-color: rgba(45, 45, 45, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.34) 44%, rgba(128, 118, 104, 0.14)),
    rgba(246, 242, 234, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(104, 96, 84, 0.13),
    0 14px 38px rgba(55, 48, 39, 0.1);
}

html[data-theme="light"] .top-nav a[aria-current="page"],
html[data-theme="light"] .top-nav a:hover {
  background: rgba(181, 7, 43, 0.08);
}

html[data-theme="light"] .theme-dot {
  background:
    radial-gradient(circle at 34% 30%, #585650 0 18%, #2d2d2d 19% 48%, #b5072b 49% 100%);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.32),
    inset 0 -2px 5px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(45, 45, 45, 0.18);
}

html[data-theme="light"] .section,
html[data-theme="light"] .section.white,
html[data-theme="light"] .intro-panel,
html[data-theme="light"] .services-preview,
html[data-theme="light"] .service-rail,
html[data-theme="light"] .clients-section,
html[data-theme="light"] .compact-cta,
html[data-theme="light"] .contact-strip,
html[data-theme="light"] .contact-page,
html[data-theme="light"] .policy-page {
  color: var(--ink);
  background: transparent;
}

html[data-theme="light"] .section::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 34%);
}

html[data-theme="light"] .split h2,
html[data-theme="light"] .section-head h2,
html[data-theme="light"] .cta-card h2,
html[data-theme="light"] .contact-grid h2,
html[data-theme="light"] .contact-panel h2,
html[data-theme="light"] .policy-page h1,
html[data-theme="light"] .service-copy h2,
html[data-theme="light"] .service-card h3,
html[data-theme="light"] .client-grid h3,
html[data-theme="light"] .approach-grid h3,
html[data-theme="light"] .metrics strong,
html[data-theme="light"] .proof-grid strong {
  color: var(--ink);
}

html[data-theme="light"] .section .eyebrow,
html[data-theme="light"] .contact-panel .eyebrow,
html[data-theme="light"] .service-modal .eyebrow {
  color: rgba(33, 34, 30, 0.62);
}

html[data-theme="light"] .hero .eyebrow,
html[data-theme="light"] .hero-content > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

html[data-theme="light"] .split > p,
html[data-theme="light"] .split .prose,
html[data-theme="light"] .intro-panel .split > p,
html[data-theme="light"] .experience .split > div:last-child > p,
html[data-theme="light"] .contact-strip .contact-grid > div:first-child > p,
html[data-theme="light"] .cta-card > p,
html[data-theme="light"] .prose p,
html[data-theme="light"] .policy-page p,
html[data-theme="light"] .service-copy p,
html[data-theme="light"] .client-grid p,
html[data-theme="light"] .approach-grid p,
html[data-theme="light"] .privacy-note,
html[data-theme="light"] .form-intro,
html[data-theme="light"] .contact-channel small,
html[data-theme="light"] .metrics span,
html[data-theme="light"] .proof-grid span,
html[data-theme="light"] .service-card p,
html[data-theme="light"] .service-card span,
html[data-theme="light"] .service-copy span {
  color: var(--muted);
}

html[data-theme="light"] .intro-panel .split,
html[data-theme="light"] .editorial .split,
html[data-theme="light"] .experience .split,
html[data-theme="light"] .contact-grid,
html[data-theme="light"] .metrics,
html[data-theme="light"] .proof-grid,
html[data-theme="light"] .service-card,
html[data-theme="light"] .client-grid article,
html[data-theme="light"] .approach-grid article,
html[data-theme="light"] .service-row,
html[data-theme="light"] .form-shell,
html[data-theme="light"] .contact-panel,
html[data-theme="light"] .cta-card,
html[data-theme="light"] .footer-grid,
html[data-theme="light"] .menu-aside,
html[data-theme="light"] .service-modal,
html[data-theme="light"] .custom-select-trigger,
html[data-theme="light"] .custom-select-options {
  border-color: var(--material-edge-soft);
  box-shadow:
    inset 0 1px 0 var(--material-edge),
    inset 0 -1px 0 var(--material-lowlight),
    inset 1px 0 0 rgba(255, 255, 255, 0.44),
    var(--material-shadow);
}

html[data-theme="light"] .service-card:hover,
html[data-theme="light"] .client-grid article:hover,
html[data-theme="light"] .approach-grid article:hover,
html[data-theme="light"] .service-row:hover,
html[data-theme="light"] .form-shell:hover,
html[data-theme="light"] .contact-panel:hover,
html[data-theme="light"] .cta-card:hover {
  border-color: rgba(45, 45, 45, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(104, 96, 84, 0.2),
    inset 1px 0 0 rgba(255, 255, 255, 0.5),
    var(--material-shadow-hover);
}

html[data-theme="light"] .service-card a,
html[data-theme="light"] .text-button,
html[data-theme="light"] .service-index a,
html[data-theme="light"] .contact-channel a,
html[data-theme="light"] .privacy-note a,
html[data-theme="light"] .back-link {
  color: var(--ink);
}

html[data-theme="light"] .field label {
  color: rgba(54, 55, 50, 0.68);
}

html[data-theme="light"] .field input,
html[data-theme="light"] .field select,
html[data-theme="light"] .field textarea {
  color: var(--ink);
  border-color: rgba(45, 45, 45, 0.13);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.44)),
    rgba(255, 253, 248, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(104, 96, 84, 0.12);
}

html[data-theme="light"] .field input::placeholder,
html[data-theme="light"] .field textarea::placeholder {
  color: rgba(54, 55, 50, 0.4);
}

html[data-theme="light"] .field select {
  color-scheme: light;
}

html[data-theme="light"] .field select option,
html[data-theme="light"] .field select optgroup {
  color: var(--ink);
  background: #fffdf8;
}

html[data-theme="light"] .custom-select-trigger,
html[data-theme="light"] .custom-select-options {
  color: var(--ink);
  background: var(--glass-surface);
}

html[data-theme="light"] .custom-select-options li:hover,
html[data-theme="light"] .custom-select-options li.is-active,
html[data-theme="light"] .custom-select-options li.is-selected {
  color: var(--accent);
  background: rgba(181, 7, 43, 0.1);
}

html[data-theme="light"] .custom-select-options li.is-disabled {
  color: rgba(54, 55, 50, 0.42);
}

html[data-theme="light"] .menu-overlay {
  background:
    var(--grain),
    linear-gradient(90deg, rgba(251, 249, 244, 0.96), rgba(241, 236, 227, 0.9)),
    radial-gradient(circle at 82% 16%, rgba(181, 7, 43, 0.1), transparent 28vw),
    radial-gradient(circle at 18% 86%, rgba(255, 255, 255, 0.72), transparent 26vw),
    linear-gradient(90deg, rgba(45, 45, 45, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(45, 45, 45, 0.026) 1px, transparent 1px);
  background-size: 180px 180px, auto, auto, auto, 96px 96px, 96px 96px;
}

html[data-theme="light"] .menu-overlay::before {
  color: rgba(45, 45, 45, 0.04);
}

html[data-theme="light"] .menu-links a {
  border-bottom-color: rgba(45, 45, 45, 0.12);
}

html[data-theme="light"] .menu-links span {
  color: rgba(54, 55, 50, 0.42);
}

html[data-theme="light"] .menu-links strong {
  color: rgba(25, 26, 23, 0.86);
}

html[data-theme="light"] .menu-links a:hover {
  background:
    linear-gradient(90deg, rgba(181, 7, 43, 0.1), rgba(255, 255, 255, 0.32)),
    rgba(255, 255, 255, 0.18);
}

html[data-theme="light"] .menu-links a:hover strong {
  color: var(--ink);
}

html[data-theme="light"] .menu-services a,
html[data-theme="light"] .menu-contact a {
  color: var(--muted);
}

html[data-theme="light"] .service-modal {
  color: var(--ink);
}

html[data-theme="light"] .service-modal::backdrop {
  background: rgba(18, 16, 13, 0.42);
  backdrop-filter: blur(18px) saturate(0.96);
}

html[data-theme="light"] .service-modal > button {
  color: var(--ink);
  border-color: rgba(45, 45, 45, 0.14);
  background: rgba(255, 255, 255, 0.52);
}

html[data-theme="light"] .service-modal h2,
html[data-theme="light"] .service-modal .eyebrow {
  color: var(--ink);
}

html[data-theme="light"] .service-modal p,
html[data-theme="light"] .service-modal li {
  color: var(--muted);
}

html[data-theme="light"] .site-footer {
  background:
    var(--grain),
    linear-gradient(90deg, rgba(45, 45, 45, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #ede7dd, #dcd4c8);
  background-size: 180px 180px, 96px 96px, auto;
}

html[data-theme="light"] .footer-brand img {
  opacity: 0.9;
}

html[data-theme="light"] .privacy-banner button {
  color: var(--ink);
  border-color: rgba(45, 45, 45, 0.22);
}

/* Tema claro restrito: navegação, fundo geral e menu. */
html[data-theme="light"] {
  --ink: #f4f1ea;
  --ink-soft: rgba(244, 241, 234, 0.78);
  --muted: rgba(244, 241, 234, 0.55);
  --line: rgba(244, 241, 234, 0.12);
  --paper: #121212;
  --paper-2: #1a1a1a;
  --white: #f4f1ea;
  --black: #080808;
  --charcoal: #2D2D2D;
  --charcoal-soft: #242424;
  --charcoal-deep: #171717;
  --shadow: 0 22px 64px rgba(0, 0, 0, 0.28);
  --material-edge: rgba(255, 255, 255, 0.16);
  --material-edge-soft: rgba(255, 255, 255, 0.09);
  --material-lowlight: rgba(0, 0, 0, 0.36);
  --material-red-reflect: rgba(181, 7, 43, 0.13);
  --material-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  --material-shadow-hover: 0 30px 88px rgba(0, 0, 0, 0.36);
  --glass-blur: blur(28px) saturate(1.08);
  --metal-surface:
    var(--grain),
    linear-gradient(132deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.025) 24%, rgba(0, 0, 0, 0.18) 62%, rgba(255, 255, 255, 0.045) 100%),
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.1), transparent 28%),
    radial-gradient(circle at 100% 12%, var(--material-red-reflect), transparent 34%),
    linear-gradient(145deg, rgba(50, 50, 50, 0.86), rgba(14, 14, 14, 0.78));
  --glass-surface:
    var(--grain),
    linear-gradient(138deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035) 35%, rgba(0, 0, 0, 0.22) 100%),
    linear-gradient(180deg, rgba(45, 45, 45, 0.72), rgba(18, 18, 18, 0.58));
  color-scheme: dark;
}

html[data-theme="light"] body {
  color: #191a17;
  background:
    var(--grain),
    linear-gradient(90deg, rgba(45, 45, 45, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(45, 45, 45, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 78% 10%, rgba(181, 7, 43, 0.07), transparent 34vw),
    linear-gradient(180deg, #fbf9f4 0%, #f1ece3 48%, #e8e1d6 100%);
  background-size: 180px 180px, 96px 96px, 96px 96px, auto, auto;
}

html[data-theme="light"] body::before {
  background:
    linear-gradient(90deg, transparent, rgba(181, 7, 43, 0.045), transparent),
    radial-gradient(circle at 50% -15%, rgba(255, 255, 255, 0.74), transparent 36vw);
  opacity: 0.82;
}

html[data-theme="light"] .site-header,
html[data-theme="light"] .site-header.is-solid,
html[data-theme="light"] body:not(.home):not(.index-en) .site-header {
  color: #191a17;
  background:
    var(--grain),
    linear-gradient(132deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.34) 42%, rgba(122, 113, 101, 0.16)),
    rgba(246, 242, 234, 0.7);
  border-bottom-color: rgba(45, 45, 45, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(104, 96, 84, 0.14),
    0 18px 54px rgba(55, 48, 39, 0.12);
}

html[data-theme="light"] .brand-mark,
html[data-theme="light"] .brand-text,
html[data-theme="light"] .site-header.is-solid .brand-mark,
html[data-theme="light"] .site-header.is-solid .brand-text,
html[data-theme="light"] body:not(.home):not(.index-en) .site-header .brand-mark,
html[data-theme="light"] body:not(.home):not(.index-en) .site-header .brand-text {
  filter: none;
}

html[data-theme="light"] .top-nav,
html[data-theme="light"] .lang-link,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .menu-button,
html[data-theme="light"] .menu-close,
html[data-theme="light"] .privacy-banner {
  color: #191a17;
  border-color: rgba(45, 45, 45, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.34) 44%, rgba(128, 118, 104, 0.14)),
    rgba(246, 242, 234, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(104, 96, 84, 0.13),
    0 14px 38px rgba(55, 48, 39, 0.1);
}

html[data-theme="light"] .top-nav a[aria-current="page"],
html[data-theme="light"] .top-nav a:hover {
  background: rgba(181, 7, 43, 0.08);
}

html[data-theme="light"] .theme-dot {
  background:
    radial-gradient(circle at 34% 30%, #585650 0 18%, #2d2d2d 19% 48%, #b5072b 49% 100%);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.32),
    inset 0 -2px 5px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(45, 45, 45, 0.18);
}

html[data-theme="light"] .section-head h2,
html[data-theme="light"] .policy-page h1,
html[data-theme="light"] .policy-page h2,
html[data-theme="light"] .policy-page h3,
html[data-theme="light"] .back-link {
  color: #191a17;
}

html[data-theme="light"] .section-head .eyebrow,
html[data-theme="light"] .section-head p,
html[data-theme="light"] .policy-page p,
html[data-theme="light"] .policy-page li {
  color: rgba(54, 55, 50, 0.68);
}

html[data-theme="light"] .intro-panel .split,
html[data-theme="light"] .editorial .split,
html[data-theme="light"] .experience .split,
html[data-theme="light"] .contact-grid,
html[data-theme="light"] .metrics,
html[data-theme="light"] .proof-grid,
html[data-theme="light"] .service-card,
html[data-theme="light"] .client-grid article,
html[data-theme="light"] .approach-grid article,
html[data-theme="light"] .service-row,
html[data-theme="light"] .form-shell,
html[data-theme="light"] .contact-panel,
html[data-theme="light"] .cta-card,
html[data-theme="light"] .footer-grid,
html[data-theme="light"] .service-modal,
html[data-theme="light"] .custom-select-trigger,
html[data-theme="light"] .custom-select-options {
  background: var(--metal-surface);
  background-size: 180px 180px, auto, auto, auto, auto;
  border-color: var(--material-edge-soft);
  color: #f4f1ea;
  box-shadow:
    inset 0 1px 0 var(--material-edge),
    inset 0 -1px 0 var(--material-lowlight),
    inset 1px 0 0 rgba(255, 255, 255, 0.045),
    var(--material-shadow);
}

html[data-theme="light"] .split h2,
html[data-theme="light"] .cta-card h2,
html[data-theme="light"] .contact-grid h2,
html[data-theme="light"] .contact-panel h2,
html[data-theme="light"] .service-copy h2,
html[data-theme="light"] .service-card h3,
html[data-theme="light"] .client-grid h3,
html[data-theme="light"] .approach-grid h3,
html[data-theme="light"] .metrics strong,
html[data-theme="light"] .proof-grid strong,
html[data-theme="light"] .service-modal h2,
html[data-theme="light"] .service-modal .eyebrow {
  color: #fff;
}

html[data-theme="light"] .split > p,
html[data-theme="light"] .split .prose,
html[data-theme="light"] .intro-panel .split > p,
html[data-theme="light"] .experience .split > div:last-child > p,
html[data-theme="light"] .contact-strip .contact-grid > div:first-child > p,
html[data-theme="light"] .cta-card > p,
html[data-theme="light"] .service-copy p,
html[data-theme="light"] .client-grid p,
html[data-theme="light"] .approach-grid p,
html[data-theme="light"] .privacy-note,
html[data-theme="light"] .form-intro,
html[data-theme="light"] .contact-channel small,
html[data-theme="light"] .metrics span,
html[data-theme="light"] .proof-grid span,
html[data-theme="light"] .service-card p,
html[data-theme="light"] .service-card span,
html[data-theme="light"] .service-copy span,
html[data-theme="light"] .service-modal p,
html[data-theme="light"] .service-modal li {
  color: rgba(244, 241, 234, 0.58);
}

html[data-theme="light"] .intro-panel .eyebrow,
html[data-theme="light"] .editorial .eyebrow,
html[data-theme="light"] .experience .eyebrow,
html[data-theme="light"] .contact-grid .eyebrow,
html[data-theme="light"] .contact-panel .eyebrow,
html[data-theme="light"] .service-modal .eyebrow {
  color: rgba(244, 241, 234, 0.64);
}

html[data-theme="light"] .service-card a,
html[data-theme="light"] .text-button,
html[data-theme="light"] .service-index a,
html[data-theme="light"] .contact-channel a,
html[data-theme="light"] .privacy-note a {
  color: #fff;
}

html[data-theme="light"] .field label {
  color: rgba(244, 241, 234, 0.58);
}

html[data-theme="light"] .field input,
html[data-theme="light"] .field select,
html[data-theme="light"] .field textarea {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.032)),
    rgba(30, 30, 30, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

html[data-theme="light"] .field input::placeholder,
html[data-theme="light"] .field textarea::placeholder {
  color: rgba(244, 241, 234, 0.34);
}

html[data-theme="light"] .custom-select-trigger,
html[data-theme="light"] .custom-select-options,
html[data-theme="light"] .service-modal {
  color: #f4f1ea;
  background: var(--glass-surface);
  background-size: 180px 180px, auto, auto;
}

html[data-theme="light"] .custom-select-options li:hover,
html[data-theme="light"] .custom-select-options li.is-active,
html[data-theme="light"] .custom-select-options li.is-selected {
  color: #fff;
  background: rgba(181, 7, 43, 0.38);
}

html[data-theme="light"] .custom-select-options li.is-disabled.is-selected,
html[data-theme="light"] .custom-select-options li.is-disabled:hover {
  color: rgba(244, 241, 234, 0.42);
  background: transparent;
}

html[data-theme="light"] .menu-overlay {
  background:
    var(--grain),
    linear-gradient(90deg, rgba(251, 249, 244, 0.96), rgba(241, 236, 227, 0.9)),
    radial-gradient(circle at 82% 16%, rgba(181, 7, 43, 0.1), transparent 28vw),
    radial-gradient(circle at 18% 86%, rgba(255, 255, 255, 0.72), transparent 26vw),
    linear-gradient(90deg, rgba(45, 45, 45, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(45, 45, 45, 0.026) 1px, transparent 1px);
  background-size: 180px 180px, auto, auto, auto, 96px 96px, 96px 96px;
}

html[data-theme="light"] .menu-overlay::before {
  color: rgba(45, 45, 45, 0.04);
}

html[data-theme="light"] .menu-links a {
  border-bottom-color: rgba(45, 45, 45, 0.12);
}

html[data-theme="light"] .menu-links span {
  color: rgba(54, 55, 50, 0.42);
}

html[data-theme="light"] .menu-links strong,
html[data-theme="light"] .menu-links a:hover strong {
  color: rgba(25, 26, 23, 0.88);
}

html[data-theme="light"] .menu-links a:hover {
  background:
    linear-gradient(90deg, rgba(181, 7, 43, 0.1), rgba(255, 255, 255, 0.32)),
    rgba(255, 255, 255, 0.18);
}

html[data-theme="light"] .menu-aside {
  color: #191a17;
  background:
    var(--grain),
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(235, 228, 217, 0.62)),
    radial-gradient(circle at 100% 0%, rgba(181, 7, 43, 0.08), transparent 34%);
  background-size: 180px 180px, auto, auto;
  border-color: rgba(45, 45, 45, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 20px 62px rgba(55, 48, 39, 0.12);
}

html[data-theme="light"] .menu-aside h2 {
  color: #191a17;
}

html[data-theme="light"] .menu-aside .eyebrow,
html[data-theme="light"] .menu-services a,
html[data-theme="light"] .menu-contact a {
  color: rgba(54, 55, 50, 0.68);
}

html[data-theme="light"] .service-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px) saturate(0.9);
}

html[data-theme="light"] .service-modal > button {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .site-footer {
  background:
    var(--grain),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #080808, #000);
  background-size: 180px 180px, 96px 96px, auto;
}

html[data-theme="light"] .privacy-banner {
  color: #191a17;
}

html[data-theme="light"] .privacy-banner button {
  color: #191a17;
  border-color: rgba(45, 45, 45, 0.22);
}

/* Afinação tipográfica: títulos mais contidos e CTAs sem sobreposição. */
.hero h1 {
  font-size: clamp(3rem, 6.55vw, 7.65rem);
}

.split h2,
.section-head h2,
.cta-card h2 {
  font-size: clamp(2.05rem, 4.05vw, 5.35rem);
}

.contact-grid h2,
.contact-panel h2,
.service-copy h2 {
  font-size: clamp(2.05rem, 3.75vw, 4.8rem);
}

.editorial .split h2 {
  font-size: clamp(3rem, 3.85vw, 4.85rem);
}

.compact-cta .cta-card {
  grid-template-columns: minmax(280px, 0.62fr) minmax(420px, 1fr);
  grid-template-areas:
    "title body"
    "title actions";
  align-items: center;
  gap: 22px clamp(42px, 5vw, 82px);
  min-height: clamp(300px, 24vw, 420px);
}

.compact-cta .cta-card h2 {
  grid-area: title;
  align-self: center;
  max-width: 100%;
  white-space: normal;
  text-wrap: balance;
  font-size: clamp(2.65rem, 3vw, 4rem);
  line-height: 1.03;
}

.compact-cta .cta-card > p {
  grid-area: body;
  align-self: end;
  max-width: 760px;
  font-size: clamp(1rem, 1.14vw, 1.22rem);
  line-height: 1.65;
}

.compact-cta .cta-card > div {
  grid-area: actions;
  justify-content: flex-start;
  align-self: start;
  margin-top: 2px;
}

.footer-grid {
  grid-template-columns: minmax(320px, 1.25fr) minmax(140px, 0.48fr) minmax(170px, 0.52fr) minmax(220px, 0.7fr);
  gap: clamp(32px, 4.6vw, 68px);
}

.footer-col a,
.footer-col p {
  word-break: normal;
  overflow-wrap: normal;
}

.service-card h3 {
  min-height: 3.6em;
  margin: clamp(66px, 4.6vw, 88px) 0 24px;
  align-items: flex-start;
}

.service-card p {
  flex: 1;
}

.service-card a {
  margin-top: auto;
}

.intro-panel .split {
  grid-template-columns: minmax(340px, 0.78fr) minmax(460px, 1fr);
  align-items: center;
  gap: clamp(46px, 6vw, 110px);
  min-height: clamp(340px, 28vw, 500px);
  padding: clamp(44px, 5vw, 76px);
}

.intro-panel .split > div:first-child {
  max-width: 640px;
}

.intro-panel .split h2 {
  max-width: 640px;
  font-size: clamp(2.65rem, 4.35vw, 4.75rem);
  line-height: 1.04;
  text-wrap: balance;
}

.intro-panel .split > p {
  align-self: center;
  max-width: 760px;
  font-size: clamp(1.04rem, 1.22vw, 1.26rem);
  line-height: 1.72;
}

.editorial .split,
.experience .split {
  align-items: center;
}

/* Indicadores de experiência mais contidos dentro do cartão principal. */
.experience .proof-grid {
  width: min(100%, 640px);
  margin-top: clamp(30px, 3.4vw, 46px);
}

.experience .proof-grid div {
  min-height: 136px;
  padding: clamp(22px, 2.2vw, 30px);
}

.experience .proof-grid div::before {
  left: clamp(20px, 1.9vw, 28px);
  width: 44px;
}

.experience .proof-grid strong {
  font-size: clamp(2.15rem, 2.75vw, 3.25rem);
}

.experience .proof-grid span {
  margin-top: 12px;
  font-size: 0.86rem;
  line-height: 1.45;
}

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

@media (max-width: 1180px) {
  .top-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

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

@media (max-width: 860px) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  .menu-overlay {
    overflow-y: auto;
  }

  .menu-overlay::before {
    left: 24px;
    bottom: 18px;
    font-size: clamp(4.8rem, 24vw, 8rem);
    letter-spacing: 0.16em;
  }

  .menu-close {
    top: 18px;
    right: 18px;
    min-height: 50px;
    padding: 0 22px;
  }

  .menu-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: auto;
    width: calc(100vw - 42px);
    padding: 106px 0 42px;
    overflow: visible;
  }

  .menu-links {
    width: 100%;
    padding: 0;
  }

  .menu-links a {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 70px;
    margin-bottom: 7px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.024);
  }

  .menu-links a:hover {
    transform: none;
  }

  .menu-links span {
    font-size: 0.66rem;
  }

  .menu-links strong {
    font-size: clamp(2rem, 9.3vw, 3.2rem);
    line-height: 0.98;
  }

  .menu-aside {
    min-height: auto;
    width: 100%;
    padding: 30px 26px 28px;
    border-radius: 22px;
  }

  .menu-aside::before {
    left: 26px;
    width: 64px;
  }

  .menu-aside h2 {
    font-size: clamp(1.82rem, 7.8vw, 2.65rem);
    line-height: 1.05;
  }

  .menu-services {
    margin: 26px 0 20px;
  }

  .menu-services a,
  .menu-contact a {
    font-size: 1rem;
    line-height: 1.35;
  }

  .site-header,
  .site-header.is-solid,
  body:not(.home):not(.index-en) .site-header {
    height: 76px;
  }

  .header-actions {
    gap: 8px;
  }

  .theme-toggle {
    width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .theme-label {
    display: none;
  }

  .theme-dot {
    width: 17px;
    height: 17px;
  }

  .hero::before {
    left: 8vw;
    top: 38%;
    transform: translateY(-50%);
    font-size: 5rem;
    letter-spacing: 0.16em;
    white-space: normal;
  }

  .hero::after {
    left: 19px;
    bottom: 46px;
    transform: none;
  }

  .hero {
    min-height: 94svh;
  }

  .hero-content {
    padding-top: 130px;
    padding-bottom: 92px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10.2vw, 3.75rem);
    line-height: 0.93;
  }

  .hero-content > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .intro-panel .split,
  .editorial .split,
  .experience .split,
  .contact-grid {
    padding: 24px;
    border-radius: 18px;
  }

  .service-row,
  .service-row:nth-child(even) {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .compact-cta .cta-card {
    grid-template-columns: 1fr;
  }

  .compact-cta .cta-card h2 {
    white-space: normal;
    font-size: clamp(2.15rem, 8.6vw, 3.15rem);
  }

  .service-card h3 {
    min-height: 0;
    margin-top: 30px;
  }

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

  .service-row:nth-child(even) .service-media {
    order: initial;
  }

  .service-copy {
    padding: 28px;
  }

  .footer-grid {
    padding: 28px;
    border-radius: 18px;
  }

  .editorial .split {
    grid-template-columns: 1fr;
  }

  .editorial .split h2 {
    white-space: normal;
    font-size: clamp(2.25rem, 8.8vw, 3.2rem);
  }

  .contact-panel {
    padding: 26px;
    border-radius: 18px;
  }
}

@media (max-width: 560px) {
  .brand-text {
    width: 124px;
  }

  .hero h1 {
    font-size: clamp(2.12rem, 9.6vw, 3.2rem);
  }

  .privacy-banner {
    grid-template-columns: 1fr;
  }

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

/* Correcao estrutural mobile: evitar overflow e colunas fantasma em Safari/iOS. */
@media (max-width: 900px) {
  html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
  }

  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  :root {
    --header-h: 68px;
    --container: calc(100% - 24px);
  }

  main,
  section,
  footer,
  .container,
  .site-header,
  .hero,
  .hero-content,
  .split,
  .intro-panel .split,
  .editorial .split,
  .experience .split,
  .contact-grid,
  .metrics,
  .proof-grid,
  .service-cards,
  .client-grid,
  .approach-grid,
  .service-row,
  .compact-cta .cta-card,
  .footer-grid,
  .menu-grid,
  .menu-aside,
  .form-shell,
  .contact-panel {
    max-width: 100%;
    min-width: 0;
  }

  .container,
  .menu-grid {
    width: var(--container);
    margin-left: auto;
    margin-right: auto;
  }

  .site-header,
  .site-header.is-solid,
  body:not(.home):not(.index-en) .site-header {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 0 10px;
  }

  .site-header::after {
    left: 10px;
    right: 10px;
  }

  .brand {
    flex: 1 1 auto;
    max-width: calc(100% - 138px);
    gap: 8px;
  }

  .brand-mark {
    width: 30px;
    flex: 0 0 auto;
  }

  .brand-text {
    width: 88px;
    max-width: 34vw;
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 6px;
  }

  .lang-link {
    display: inline-flex;
    justify-content: center;
    width: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    font-size: 0.67rem;
    letter-spacing: 0.05em;
    opacity: 1;
  }

  .lang-link span {
    display: none;
  }

  .lang-link strong {
    opacity: 1;
  }

  .theme-toggle,
  .menu-button {
    width: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    justify-content: center;
  }

  .theme-label,
  .menu-button span {
    display: none;
  }

  .theme-dot {
    width: 15px;
    height: 15px;
  }

  .menu-button i,
  .menu-button i::before,
  .menu-button i::after {
    width: 18px;
  }

  .hero {
    min-height: auto;
    overflow: hidden;
    padding-top: var(--header-h);
  }

  .hero-image,
  .hero-shade {
    inset: 0;
    width: 100%;
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 8, 8, 0.92), rgba(16, 16, 16, 0.58) 58%, rgba(8, 8, 8, 0.86)),
      linear-gradient(180deg, rgba(5, 5, 5, 0.28), rgba(5, 5, 5, 0.84));
  }

  .hero-content {
    min-height: calc(100svh - var(--header-h));
    padding-top: clamp(46px, 13vh, 86px);
    padding-bottom: 74px;
  }

  .hero::after {
    left: 12px;
    bottom: 32px;
    width: 44px;
    transform: none;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 10.8vw, 3.1rem);
    line-height: 0.96;
    text-wrap: balance;
    overflow-wrap: break-word;
  }

  .hero-content > p:not(.eyebrow) {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-credential {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.72rem;
  }

  .hero-actions,
  .compact-cta .cta-card > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 10px;
  }

  .btn,
  .hero .btn.primary,
  .hero .btn.ghost,
  .cta-card .btn {
    width: 100%;
    min-height: 52px;
    padding-inline: 18px;
  }

  .section {
    overflow: hidden;
    padding: clamp(54px, 15vw, 76px) 0;
  }

  .split,
  .intro-panel .split,
  .editorial .split,
  .experience .split,
  .contact-grid,
  .service-row,
  .service-row:nth-child(even),
  .compact-cta .cta-card,
  .footer-grid,
  .menu-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .intro-panel .split,
  .editorial .split,
  .experience .split,
  .contact-grid,
  .cta-card,
  .footer-grid,
  .form-shell,
  .contact-panel {
    padding: 22px;
    border-radius: 18px;
  }

  .intro-panel .split,
  .experience .split,
  .contact-grid {
    gap: 24px;
    min-height: 0;
  }

  .split h2,
  .section-head h2,
  .cta-card h2,
  .contact-grid h2,
  .contact-panel h2,
  .service-copy h2,
  .policy-page h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 9vw, 3.05rem);
    line-height: 1.02;
    white-space: normal;
    text-wrap: balance;
  }

  .intro-panel .split h2,
  .editorial .split h2,
  .compact-cta .cta-card h2 {
    font-size: clamp(2.05rem, 9vw, 3.05rem);
  }

  .split > p,
  .split .prose,
  .intro-panel .split > p,
  .experience .split > div:last-child > p,
  .contact-strip .contact-grid > div:first-child > p,
  .cta-card > p,
  .prose p,
  .service-copy p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.62;
  }

  .metrics,
  .proof-grid,
  .service-cards,
  .client-grid,
  .approach-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .metrics > div,
  .proof-grid div {
    min-height: 0;
    padding: 24px 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .metrics > div:last-child,
  .proof-grid div:last-child {
    border-bottom: 0;
  }

  .metrics strong,
  .proof-grid strong {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

  .service-card,
  .client-grid article,
  .approach-grid article {
    min-height: 0;
    padding: 28px 22px;
  }

  .service-card h3,
  .approach-grid h3,
  .client-grid h3 {
    min-height: 0;
    margin: 26px 0 18px;
    font-size: clamp(1.6rem, 7.6vw, 2.25rem);
    line-height: 1.08;
  }

  .service-card p,
  .approach-grid p,
  .client-grid p {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .service-row:nth-child(even) .service-media {
    order: initial;
  }

  .service-media {
    min-height: 230px;
  }

  .service-copy {
    padding: 24px;
  }

  .compact-cta .cta-card {
    grid-template-areas:
      "title"
      "body"
      "actions";
    gap: 18px;
    min-height: 0;
  }

  .compact-cta .cta-card > p {
    align-self: auto;
  }

  .footer-grid {
    gap: 30px;
  }

  .footer-col a,
  .footer-col p,
  .footer-bottom,
  .contact-channel a {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .menu-overlay::before {
    left: 14px;
    bottom: 18px;
    max-width: calc(100% - 28px);
    white-space: normal;
    overflow: hidden;
  }

  .menu-close {
    top: 14px;
    right: 12px;
    min-height: 42px;
    padding: 0 16px;
  }

  .menu-grid {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 86px 0 34px;
    overflow: visible;
  }

  .menu-links,
  .menu-aside {
    width: 100%;
  }

  .menu-links a {
    grid-template-columns: 30px minmax(0, 1fr);
    min-height: 66px;
    padding: 14px;
  }

  .menu-links strong {
    font-size: clamp(1.75rem, 9vw, 2.8rem);
  }

  .menu-aside {
    min-height: auto;
    padding: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .custom-select-options {
    max-height: min(46svh, 320px);
  }
}

@media (max-width: 430px) {
  :root {
    --container: calc(100% - 20px);
  }

  .brand-text {
    width: 76px;
  }

  .hero-content {
    padding-top: 38px;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 11vw, 2.75rem);
  }

  .intro-panel .split,
  .editorial .split,
  .experience .split,
  .contact-grid,
  .cta-card,
  .footer-grid,
  .form-shell,
  .contact-panel {
    padding: 18px;
  }
}
