:root {
  --ink: #032f34;
  --ink-2: #153e42;
  --ink-3: #557072;
  --sand: #f0e5d8;
  --sand-2: #f7f1ea;
  --clay: #ccbda1;
  --gold: #ccae7b;
  --white: #fffaf4;
  --line: rgba(3, 47, 52, 0.14);
  --soft: rgba(255, 250, 244, 0.64);
  --shadow: 0 24px 70px rgba(3, 47, 52, 0.16);
  --radius-lg: 32px;
  --radius-md: 22px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(204, 174, 123, 0.23), transparent 28rem),
    radial-gradient(circle at 85% 18%, rgba(85, 112, 114, 0.18), transparent 26rem),
    linear-gradient(180deg, var(--sand-2) 0%, var(--sand) 48%, #efe4d7 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max-width), calc(100% - 40px));
  margin: 18px auto 0;
  padding: 12px 14px 12px 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 244, 0.74);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.54), rgba(255, 250, 244, 0.18)),
    radial-gradient(circle at 8% 0%, rgba(204, 174, 123, 0.34), transparent 18rem),
    radial-gradient(circle at 92% 16%, rgba(3, 47, 52, 0.08), transparent 16rem),
    rgba(255, 250, 244, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 244, 0.9),
    inset 0 -1px 0 rgba(3, 47, 52, 0.1),
    0 22px 68px rgba(3, 47, 52, 0.14),
    0 2px 12px rgba(255, 250, 244, 0.34);
  backdrop-filter: blur(34px) saturate(1.55) contrast(1.05);
  -webkit-backdrop-filter: blur(34px) saturate(1.55) contrast(1.05);
}

.site-header.is-scrolled {
  border-color: rgba(255, 250, 244, 0.78);
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.62), rgba(255, 250, 244, 0.24)),
    radial-gradient(circle at 8% 0%, rgba(204, 174, 123, 0.3), transparent 18rem),
    radial-gradient(circle at 92% 16%, rgba(3, 47, 52, 0.08), transparent 16rem),
    rgba(255, 250, 244, 0.22);
}

.site-header::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.52), transparent 31%, rgba(255, 255, 255, 0.18) 62%, transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 58%);
  content: "";
  pointer-events: none;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.page-rail {
  position: fixed;
  z-index: 18;
  top: 50%;
  right: 18px;
  display: grid;
  gap: 10px;
  padding: 12px 9px;
  border: 1px solid rgba(3, 47, 52, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.72);
  box-shadow: 0 18px 50px rgba(3, 47, 52, 0.1);
  backdrop-filter: blur(18px);
  transform: translateY(-50%);
}

.page-rail a {
  position: relative;
  display: block;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(3, 47, 52, 0.34);
  border-radius: 50%;
  color: transparent;
  background: rgba(3, 47, 52, 0.08);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.page-rail a::after {
  position: absolute;
  top: 50%;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--sand);
  background: rgba(3, 47, 52, 0.92);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  content: attr(href);
  transform: translate(6px, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.page-rail a[href="#top"]::after {
  content: "Top";
}

.page-rail a[href="#institucional"]::after {
  content: "Institutional";
}

.page-rail a[href="#servicos"]::after {
  content: "Services";
}

.page-rail a[href="#approach"]::after {
  content: "Approach";
}

.page-rail a[href="#leadership"]::after {
  content: "Leadership";
}

.page-rail a[href="#produtos"]::after {
  content: "Products";
}

.page-rail a[href="#etica"]::after {
  content: "Compliance";
}

.page-rail a[href="#contato"]::after {
  content: "Contact";
}

.page-rail a:hover,
.page-rail a:focus-visible,
.page-rail a.is-active {
  border-color: var(--gold);
  background: var(--gold);
  outline: none;
  transform: scale(1.28);
}

.page-rail a:hover::after,
.page-rail a:focus-visible::after,
.page-rail a.is-active::after {
  opacity: 1;
  transform: translate(0, -50%);
}

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

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

.site-header .brand-logo {
  width: 50px;
  height: 50px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand small {
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  padding: 10px 11px;
  border-radius: 999px;
  color: rgba(3, 47, 52, 0.76);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(204, 174, 123, 0.22);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--sand);
  transition: transform 180ms ease;
}

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.78fr);
  gap: 58px;
  align-items: center;
  min-height: calc(100vh - 90px);
  padding: 92px 0 78px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: var(--gold);
  box-shadow: 0 1px 0 rgba(204, 174, 123, 0.45);
  content: "";
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h1 {
  max-width: 14ch;
  margin-bottom: 26px;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  font-weight: 500;
}

h2 {
  max-width: 22ch;
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.6vw, 2.3rem);
  font-weight: 500;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.14rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hero-text {
  max-width: 700px;
  margin-bottom: 34px;
  color: rgba(3, 47, 52, 0.74);
  font-size: clamp(1.06rem, 1.7vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: var(--sand);
  background: var(--ink);
  box-shadow: 0 18px 42px rgba(3, 47, 52, 0.24);
}

.button-secondary {
  border-color: rgba(3, 47, 52, 0.2);
  color: var(--ink);
  background: rgba(255, 250, 244, 0.56);
}

.button-reset {
  border-color: rgba(204, 174, 123, 0.85);
  color: var(--ink);
  background: linear-gradient(135deg, rgba(221, 194, 144, 0.95), rgba(204, 174, 123, 0.82));
  box-shadow: 0 14px 30px rgba(204, 174, 123, 0.22);
}

.button-reset:hover,
.button-reset:focus-visible {
  border-color: rgba(204, 174, 123, 1);
  box-shadow: 0 0 0 4px rgba(204, 174, 123, 0.18), 0 16px 36px rgba(204, 174, 123, 0.3);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 28px;
  border: 1px solid rgba(240, 229, 216, 0.16);
  border-radius: 36px;
  color: var(--sand);
  background:
    radial-gradient(circle at 76% 16%, rgba(204, 174, 123, 0.32), transparent 9rem),
    linear-gradient(145deg, #032f34 0%, #153e42 54%, #032f34 100%);
  box-shadow: var(--shadow);
}

.panel-topline,
.panel-grid {
  position: relative;
  z-index: 1;
}

.panel-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  color: rgba(240, 229, 216, 0.72);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-logo {
  width: 172px;
  height: auto;
  object-fit: contain;
}

.panel-core {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  padding: 26px;
  border: 1px solid rgba(204, 174, 123, 0.28);
  border-radius: 26px;
  background: rgba(255, 250, 244, 0.055);
}

.panel-core strong {
  display: block;
  max-width: 9ch;
  margin-bottom: 18px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.panel-core p {
  max-width: 380px;
  margin-bottom: 0;
  color: rgba(240, 229, 216, 0.72);
}

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

.panel-grid span {
  padding: 14px;
  border: 1px solid rgba(240, 229, 216, 0.12);
  border-radius: 16px;
  color: rgba(240, 229, 216, 0.76);
  background: rgba(255, 250, 244, 0.05);
  font-size: 0.82rem;
  font-weight: 800;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 120px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(3, 47, 52, 0.12);
  box-shadow: 0 18px 60px rgba(3, 47, 52, 0.08);
}

.proof article {
  min-height: 210px;
  padding: 28px;
  background: rgba(255, 250, 244, 0.66);
}

.proof span,
.service-grid span,
.product-card span,
.ethics-grid span,
.contact-direct span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.proof strong {
  display: block;
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.proof p,
.service-grid p,
.product-card p,
.product-list p,
.tax-panel p,
.tax-panel li,
.ethics-grid p,
.contact-copy p,
.form-note {
  color: rgba(3, 47, 52, 0.68);
}

.institutional,
.tax-structure,
.contact {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 70px;
  align-items: center;
  padding-bottom: 122px;
}

.section-heading {
  max-width: 620px;
}

.institutional-copy {
  display: grid;
  gap: 20px;
  align-self: center;
  padding: 36px 38px;
  font-size: 1.06rem;
}

.institutional-copy p {
  margin-bottom: 0;
  color: var(--ink-2);
}

.institutional-copy.glass-panel {
  border: 1px solid rgba(204, 174, 123, 0.28);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.32), rgba(204, 174, 123, 0.06) 60%, rgba(255, 250, 244, 0.18)),
    rgba(247, 241, 234, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 244, 0.48),
    0 14px 48px rgba(3, 47, 52, 0.07);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}

.glass-panel,
.thesis-card,
.process-strip article,
.differentiator-grid article,
.leader-card,
.mission-card {
  border: 1px solid rgba(255, 250, 244, 0.6);
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.62), rgba(255, 250, 244, 0.24)),
    rgba(255, 250, 244, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 244, 0.72),
    0 18px 60px rgba(3, 47, 52, 0.08);
  backdrop-filter: blur(22px) saturate(1.28);
  -webkit-backdrop-filter: blur(22px) saturate(1.28);
}

.thesis,
.approach,
.differentiators,
.leadership,
.mission,
.values {
  margin-bottom: 122px;
}

.thesis-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 58px);
  border-color: rgba(240, 229, 216, 0.14);
  border-radius: var(--radius-lg);
  color: var(--sand);
  background:
    radial-gradient(circle at 82% 18%, rgba(204, 174, 123, 0.28), transparent 20rem),
    linear-gradient(145deg, rgba(255, 250, 244, 0.06), transparent 44%),
    var(--ink);
}

.thesis-card h2,
.thesis-card p {
  max-width: 860px;
}

.thesis-card .eyebrow,
.thesis-card p {
  color: rgba(240, 229, 216, 0.72);
}

.process-strip,
.differentiator-grid,
.leadership-grid,
.mission,
.values {
  display: grid;
  gap: 16px;
}

.process-strip {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 42px;
}

.process-strip article,
.differentiator-grid article,
.leader-card,
.mission-card {
  border-radius: var(--radius-md);
  padding: 28px 26px;
}

.process-strip article {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px 24px 24px;
}

.process-strip span,
.differentiator-grid span,
.leader-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.process-strip span,
.differentiator-grid span {
  margin-bottom: 6px;
  font-size: 0.88rem;
}

.process-strip strong,
.differentiator-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.process-strip p,
.differentiator-grid p,
.leader-card p,
.leader-card li,
.mission-card p {
  color: rgba(3, 47, 52, 0.68);
}

.process-strip p,
.differentiator-grid p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
}

.process-light p {
  font-size: 0.98rem;
}

.differentiator-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
}

.leadership-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
}

.leader-card {
  position: relative;
  overflow: hidden;
}

.leader-card::after {
  position: absolute;
  top: -48px;
  right: -54px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(204, 174, 123, 0.16);
  content: "";
}

.leader-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
  border: 1px solid rgba(204, 174, 123, 0.55);
  border-radius: 24px;
  color: var(--sand);
  background: linear-gradient(145deg, var(--ink), #17494d);
  box-shadow: 0 18px 44px rgba(3, 47, 52, 0.16);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.leader-card h3 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.leader-card ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  margin: 22px 0 0;
}

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

.mission-card h2 {
  max-width: 13ch;
  margin-bottom: 20px;
}

.values {
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(3, 47, 52, 0.12);
  box-shadow: 0 18px 60px rgba(3, 47, 52, 0.08);
}

.value-card {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 168px;
  padding: 26px 22px;
  background: rgba(255, 250, 244, 0.66);
}

.value-card span {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.value-card strong {
  display: block;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 560ms ease, transform 560ms ease;
}

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

.services {
  margin-bottom: 122px;
  padding: 104px 0;
  color: var(--sand);
  background:
    radial-gradient(circle at 12% 15%, rgba(204, 174, 123, 0.18), transparent 22rem),
    linear-gradient(180deg, #032f34 0%, #153e42 100%);
}

.services-shell {
  display: block;
  max-width: 760px;
}

.services .eyebrow {
  color: rgba(240, 229, 216, 0.72);
}

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

.service-grid article {
  min-height: 270px;
  padding: 26px;
  border: 1px solid rgba(240, 229, 216, 0.13);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 244, 0.055);
}

.service-grid span {
  color: var(--clay);
}

.service-grid h3 {
  color: var(--white);
}

.service-grid p {
  margin-bottom: 0;
  color: rgba(240, 229, 216, 0.72);
}

.products {
  padding-bottom: 122px;
}

.product-explorer {
  display: grid;
  gap: 24px;
  margin-top: 42px;
}

.product-hero-card,
.product-controls,
.technical-card,
.product-empty,
.tax-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--soft);
  box-shadow: 0 18px 60px rgba(3, 47, 52, 0.07);
  backdrop-filter: blur(18px);
}

.product-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.44fr);
  gap: 28px;
  align-items: center;
  padding: 32px;
  color: var(--sand);
  background:
    radial-gradient(circle at 82% 16%, rgba(204, 174, 123, 0.3), transparent 18rem),
    linear-gradient(150deg, rgba(204, 174, 123, 0.16), transparent 42%),
    var(--ink);
}

.product-hero-copy {
  display: grid;
  gap: 18px;
}

.product-hero-logo {
  width: 120px;
  height: auto;
  opacity: 0.94;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.12));
}

.product-hero-card span,
.technical-card-kicker,
.data-badge {
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-hero-card h3 {
  max-width: 14ch;
  margin-bottom: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.product-hero-card p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(240, 229, 216, 0.72);
}

.product-hero-metrics {
  display: grid;
  gap: 16px;
}

.product-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  min-width: min(260px, 100%);
}

.product-stats strong {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(240, 229, 216, 0.13);
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.06);
}

.product-stats span {
  color: var(--white);
  font-size: 1.45rem;
  line-height: 1;
}

.product-stats small {
  color: rgba(240, 229, 216, 0.58);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-controls {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) repeat(2, minmax(150px, 0.55fr));
  gap: 16px;
  padding: 24px;
}

.product-controls label,
.range-filter {
  display: grid;
  gap: 8px;
  color: rgba(3, 47, 52, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-controls input,
.product-controls select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(3, 47, 52, 0.16);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 250, 244, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 250, 244, 0.62);
}

.product-controls input,
.product-controls select {
  padding: 0 14px;
}

.product-controls input:focus,
.product-controls select:focus {
  border-color: rgba(204, 174, 123, 0.9);
  box-shadow: 0 0 0 4px rgba(204, 174, 123, 0.16);
  outline: none;
}

.control-wide,
.range-filter {
  grid-column: span 2;
}

.range-filter {
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(3, 47, 52, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.78), rgba(255, 250, 244, 0.46)),
    rgba(255, 250, 244, 0.5);
}

.range-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.range-title {
  color: var(--ink-3);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.range-current {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: normal;
  text-transform: none;
}

.range-current-sep {
  color: var(--ink-3);
  font-weight: 700;
}

.range-current-unit {
  margin-left: 4px;
  color: var(--ink-3);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.range-pair {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 4px 0;
}

.range-pair input[type="range"] {
  width: 100%;
  min-height: 26px;
  margin: 0;
  padding: 0;
  accent-color: var(--ink);
  background: transparent;
}

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

.range-inputs label {
  gap: 6px;
  color: rgba(3, 47, 52, 0.66);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.range-inputs input {
  min-height: 42px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 850;
  letter-spacing: normal;
}

.range-extremes {
  display: flex;
  justify-content: space-between;
  color: rgba(3, 47, 52, 0.6);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
}

.range-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.range-filter small {
  color: rgba(3, 47, 52, 0.58);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: normal;
  text-transform: none;
}

.range-apply {
  min-height: 40px;
  border-color: rgba(204, 174, 123, 0.9);
  color: var(--ink);
  background: linear-gradient(135deg, rgba(221, 194, 144, 0.95), rgba(204, 174, 123, 0.82));
  box-shadow: 0 12px 28px rgba(204, 174, 123, 0.22);
}

.product-controls > .button-reset {
  align-self: center;
  justify-self: stretch;
  min-height: 52px;
  padding: 0 24px;
}

.range-apply.is-active {
  background: var(--ink);
  color: var(--sand);
  border-color: var(--ink);
  box-shadow: 0 14px 30px rgba(3, 47, 52, 0.24);
}

.product-results-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: rgba(3, 47, 52, 0.64);
}

.product-results-bar p,
.product-results-bar span {
  margin: 0;
}

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

.technical-card {
  display: grid;
  gap: 18px;
  min-height: 340px;
  padding: 22px;
  overflow: hidden;
  scroll-margin-top: 124px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.technical-card:hover,
.technical-card:focus-within {
  border-color: rgba(204, 174, 123, 0.5);
  box-shadow: 0 26px 74px rgba(3, 47, 52, 0.13);
  transform: translateY(-3px);
}

.technical-card-header {
  display: grid;
  gap: 10px;
}

.technical-card h3 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.82rem;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.technical-meta,
.data-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.technical-meta span,
.data-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(3, 47, 52, 0.07);
}

.data-badge {
  color: var(--ink);
  background: rgba(204, 174, 123, 0.2);
}

.technical-highlights {
  display: grid;
  gap: 9px;
  margin: 0;
}

.technical-highlights div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(3, 47, 52, 0.08);
}

.technical-highlights dt,
.technical-highlights dd {
  margin: 0;
}

.technical-highlights dt {
  color: rgba(3, 47, 52, 0.58);
  font-size: 0.82rem;
  font-weight: 850;
}

.technical-highlights dd {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
  text-align: right;
}

.technical-toggle {
  justify-self: start;
  margin-top: auto;
  border-color: rgba(3, 47, 52, 0.18);
  color: var(--ink);
  background: rgba(255, 250, 244, 0.66);
}

.technical-sheet {
  display: none;
  max-height: 410px;
  overflow: auto;
  border: 1px solid rgba(3, 47, 52, 0.1);
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.72);
}

.technical-sheet-bar {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(3, 47, 52, 0.08);
  background: rgba(255, 250, 244, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.technical-sheet-bar strong {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.technical-sheet-close {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(204, 174, 123, 0.85);
  border-radius: 999px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(221, 194, 144, 0.95), rgba(204, 174, 123, 0.82));
  box-shadow: 0 10px 28px rgba(204, 174, 123, 0.24);
  font-size: 0.78rem;
  font-weight: 950;
  cursor: pointer;
}

.technical-sheet-close:hover,
.technical-sheet-close:focus-visible {
  border-color: rgba(204, 174, 123, 1);
  box-shadow: 0 0 0 4px rgba(204, 174, 123, 0.18), 0 14px 34px rgba(204, 174, 123, 0.28);
  outline: none;
}

.technical-card.is-open {
  grid-column: span 2;
}

.technical-card.is-open .technical-toggle {
  display: none;
}

.technical-card.is-open .technical-sheet {
  display: block;
  animation: sheetIn 180ms ease both;
}

.technical-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.technical-table th,
.technical-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(3, 47, 52, 0.08);
  text-align: left;
  vertical-align: top;
}

.technical-table th {
  position: sticky;
  z-index: 1;
  top: 59px;
  color: var(--ink);
  background: rgba(255, 250, 244, 0.96);
}

.product-empty {
  padding: 28px;
  text-align: center;
}

@keyframes sheetIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tax-structure {
  align-items: center;
}

.tax-panel {
  padding: 30px;
}

.tax-panel ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 24px 0 0;
}

.ethics {
  margin-bottom: 122px;
  padding: 104px 0;
  background: rgba(255, 250, 244, 0.38);
  border-block: 1px solid rgba(3, 47, 52, 0.09);
}

.ethics-shell {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 58px;
  align-items: start;
}

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

.ethics-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 244, 0.66);
}

.ethics-grid span {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}

.ethics-grid p {
  margin-bottom: 0;
}

.contact {
  align-items: center;
  padding-bottom: 104px;
}

.contact-direct {
  margin-top: 32px;
  padding: 22px;
  border: 1px solid rgba(3, 47, 52, 0.12);
  border-radius: 20px;
  background: rgba(255, 250, 244, 0.55);
}

.contact-direct span {
  margin-bottom: 8px;
}

.contact-direct a {
  font-size: 1.12rem;
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(3, 47, 52, 0.74);
  font-size: 0.88rem;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(3, 47, 52, 0.18);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 250, 244, 0.78);
}

.contact-form input {
  min-height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  resize: vertical;
  padding: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(204, 174, 123, 0.9);
  box-shadow: 0 0 0 4px rgba(204, 174, 123, 0.16);
  outline: none;
}

.form-note {
  margin: -4px 0 0;
  font-size: 0.9rem;
}

.site-footer {
  padding: 34px 0;
  color: rgba(240, 229, 216, 0.78);
  background: var(--ink);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer .brand small,
.site-footer p {
  color: rgba(240, 229, 216, 0.66);
}

.site-footer p {
  margin: 0;
}

.services-intro {
  max-width: 700px;
  margin-top: 22px;
  color: rgba(240, 229, 216, 0.74);
  font-size: clamp(1.06rem, 1.7vw, 1.24rem);
}

.services-intro strong {
  color: var(--white);
  font-weight: 600;
}

.modality-shell {
  width: min(1280px, calc(100% - 40px));
  margin-top: 64px;
}

.modality-figure {
  display: grid;
  gap: 18px;
  align-items: stretch;
  grid-template-columns: minmax(0, 2.15fr) minmax(250px, 0.85fr);
  margin: 0;
}

.modality-figure-frame {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(240, 229, 216, 0.22);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.16), rgba(255, 250, 244, 0.04) 60%, rgba(204, 174, 123, 0.08)),
    rgba(255, 250, 244, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 244, 0.22),
    0 22px 60px rgba(3, 47, 52, 0.28);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.modality-figure-frame::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(140deg, rgba(255, 250, 244, 0.08), transparent 38%, rgba(204, 174, 123, 0.06) 78%, transparent);
  content: "";
  pointer-events: none;
}

.modality-figure-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(3, 47, 52, 0.18);
}

.modality-figure figcaption {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 24px;
  border: 1px solid rgba(240, 229, 216, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 244, 0.045);
}

.modality-figure figcaption .eyebrow {
  color: var(--gold);
}

.modality-figure figcaption .eyebrow::before {
  background: var(--clay);
}

.modality-figure figcaption p {
  margin: 0;
  color: rgba(240, 229, 216, 0.78);
  font-size: 0.98rem;
  line-height: 1.55;
}

.modality-header {
  max-width: 860px;
  margin-bottom: 38px;
}

.modality-header .eyebrow {
  color: var(--gold);
}

.modality-header .eyebrow::before {
  background: var(--clay);
}

.modality-header h3 {
  margin-bottom: 16px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.modality-header p {
  margin-bottom: 0;
  color: rgba(240, 229, 216, 0.72);
  font-size: 1.06rem;
}

.process-light article {
  border-color: rgba(240, 229, 216, 0.13);
  background: rgba(255, 250, 244, 0.055);
}

.process-light span {
  color: var(--clay);
}

.process-light strong {
  color: var(--white);
}

.process-light p {
  color: rgba(240, 229, 216, 0.72);
}

.modality-brazil {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid rgba(240, 229, 216, 0.13);
}

.brazil-advantage {
  margin-top: 48px;
}

.advantage-card {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(240, 229, 216, 0.14);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 82% 18%, rgba(204, 174, 123, 0.22), transparent 20rem),
    linear-gradient(145deg, rgba(255, 250, 244, 0.06), transparent 44%),
    rgba(3, 47, 52, 0.42);
}

.advantage-card .eyebrow {
  margin-bottom: 28px;
  color: var(--gold);
}

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

  .process-light {
    grid-template-columns: 1fr;
  }

  .proof article,
  .service-grid article,
  .product-hero-card,
  .product-controls,
  .technical-card,
  .tax-panel,
  .ethics-grid article,
  .contact-form,
  .ethics-quote,
  .advantage-card {
    padding: 22px;
  }

.advantage-grid div {
  padding: 22px;
  border: 1px solid rgba(240, 229, 216, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 244, 0.05);
}

.advantage-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.06rem;
  font-weight: 700;
}

.advantage-grid p {
  margin-bottom: 0;
  color: rgba(240, 229, 216, 0.72);
  font-size: 0.96rem;
}

.capabilities-shell {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid rgba(240, 229, 216, 0.13);
}

.capabilities-shell .section-heading {
  margin-bottom: 38px;
}

.capabilities-shell .section-heading .eyebrow {
  color: rgba(240, 229, 216, 0.72);
}

.capabilities-shell h3 {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.ethics-body {
  display: grid;
  gap: 32px;
}

.ethics-quote {
  margin: 0;
  padding: 32px;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(255, 250, 244, 0.55);
}

.ethics-quote p {
  margin-bottom: 18px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.ethics-quote cite {
  color: var(--ink-3);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ethics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ethics-actions .button-primary {
  background: var(--ink);
  box-shadow: 0 18px 42px rgba(3, 47, 52, 0.24);
}

@supports not (backdrop-filter: blur(1px)) {
  .site-header,
  .glass-panel,
  .thesis-card,
  .process-strip article,
  .differentiator-grid article,
  .leader-card,
  .mission-card,
  .product-hero-card,
  .product-controls,
  .technical-card,
  .product-empty,
  .tax-panel,
  .contact-form,
  .value-card {
    background: var(--soft);
  }
}

@media (max-width: 1080px) {
  .site-header {
    align-items: flex-start;
    border-radius: 30px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 980px) {
  .hero,
  .institutional,
  .services-shell,
  .tax-structure,
  .ethics-shell,
  .contact {
    grid-template-columns: 1fr;
  }

  .process-strip,
  .differentiator-grid,
  .leadership-grid,
  .mission {
    grid-template-columns: 1fr;
  }

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

  .modality-figure {
    grid-template-columns: 1fr;
  }

  .product-hero-card,
  .product-controls,
  .technical-grid {
    grid-template-columns: 1fr;
  }

  .control-wide,
  .range-filter,
  .technical-card.is-open {
    grid-column: auto;
  }

  .hero {
    gap: 42px;
    min-height: auto;
    padding-top: 72px;
  }

  .hero-copy,
  .section-heading,
  .institutional-copy {
    max-width: 760px;
  }

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

  .proof,
  .institutional,
  .services,
  .products,
  .tax-structure,
  .ethics,
  .thesis,
  .approach,
  .differentiators,
  .leadership,
  .mission,
  .values {
    margin-bottom: 88px;
    padding-bottom: 0;
  }

  .services,
  .ethics {
    padding: 78px 0;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .section-shell,
  .site-header {
    width: min(100% - 28px, var(--max-width));
  }

  .site-header {
    align-items: center;
    margin-top: 12px;
    overflow: visible;
    border-radius: 999px;
  }

  .nav-toggle {
    position: relative;
    z-index: 22;
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 14px auto;
    z-index: 21;
    display: grid;
    justify-content: stretch;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 250, 244, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 16px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2.25rem, 11vw, 3.5rem);
  }

  .hero {
    padding: 54px 0;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-panel {
    min-height: auto;
    padding: 22px;
  }

  .panel-core {
    margin-top: 44px;
    padding: 22px;
  }

  .panel-logo {
    width: 148px;
  }

  .panel-topline,
  .panel-grid,
  .service-grid,
  .ethics-grid {
    grid-template-columns: 1fr;
  }

  .proof article,
  .service-grid article,
  .product-hero-card,
  .product-controls,
  .technical-card,
  .tax-panel,
  .ethics-grid article,
  .contact-form {
    padding: 22px;
  }

  .product-hero-card {
    grid-template-columns: 1fr;
  }

  .product-hero-metrics {
    min-width: 0;
  }

  .product-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .range-inputs {
    grid-template-columns: 1fr;
  }

  .technical-sheet {
    max-height: 520px;
  }
}

@media (max-width: 1320px) {
  .page-rail {
    display: none;
  }
}

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

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
