@font-face {
  font-family: "Manrope";
  src: url("assets/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Rajdhani";
  src: url("assets/rajdhani-semibold-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Rajdhani";
  src: url("assets/rajdhani-bold-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --purple-950: #16051f;
  --purple-900: #22102f;
  --purple-800: #321244;
  --purple-700: #4a1761;
  --purple-500: #742a91;
  --lime: #9cff00;
  --lime-dark: #72bd00;
  --ink: #1b1720;
  --body: #625c66;
  --muted: #f4f3f2;
  --surface: #fbfaf8;
  --line: #dfdcdf;
  --white: #fff;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(30, 11, 39, .16);
  --font-display: "Rajdhani", "Bahnschrift", "Arial Narrow", sans-serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--body);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.015em;
}
em { color: var(--lime-dark); font-style: normal; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 82px 0; }
.skip-link {
  position: fixed;
  z-index: 999;
  top: -100px;
  left: 12px;
  padding: 12px 16px;
  color: var(--purple-950);
  background: var(--lime);
  font-weight: 800;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--lime-dark); outline-offset: 3px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--purple-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before { width: 32px; height: 3px; background: var(--lime-dark); content: ""; }
.eyebrow.light { color: var(--white); }
.eyebrow.light::before { background: var(--lime); }
.section-heading { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.section-heading.heading-left { max-width: 820px; margin-left: 0; text-align: left; }
.section-heading h2 { margin: 12px 0 19px; font-size: clamp(38px, 5vw, 62px); }
.section-heading p { margin-bottom: 0; font-size: 18px; }

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 27px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: color .22s, background-color .22s, border-color .22s, transform .22s;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--purple-950); background: var(--lime); }
.button.primary:hover { color: var(--white); background: var(--purple-700); }
.button.ghost { color: var(--white); border-color: rgba(255, 255, 255, .65); background: rgba(255, 255, 255, .04); }
.button.ghost:hover { color: var(--purple-950); background: var(--white); }
.button.dark { color: var(--white); background: var(--purple-950); }
.button.dark:hover { color: var(--purple-950); background: var(--white); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-800);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.text-link::after { color: var(--lime-dark); font-size: 19px; content: "↗"; transition: transform .2s; }
.text-link:hover::after { transform: translate(2px, -2px); }

.topline { color: #cfc2d4; border-bottom: 1px solid rgba(255, 255, 255, .07); background: #12031a; font-size: 11px; }
.topline-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.topline-links { display: flex; align-items: center; gap: 16px; }
.topline a { transition: color .2s; }
.topline a:hover { color: var(--lime); }
.topline-separator { width: 1px; height: 13px; background: rgba(255, 255, 255, .25); }
.topline-instagram { display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-weight: 700; }
.instagram-mark { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.site-header { position: relative; z-index: 20; }
.masthead { position: relative; overflow: hidden; background: linear-gradient(110deg, #281035 0%, #3d174e 58%, #2b0e39 100%); }
.masthead::before { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 76% 0%, rgba(145, 255, 0, .08), transparent 33%); content: ""; }
.masthead-inner { position: relative; min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 0; }
.brand { width: 242px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; filter: drop-shadow(0 5px 8px rgba(0, 0, 0, .28)); }
.header-contacts { display: flex; align-items: center; gap: 29px; }
.header-contact { display: flex; align-items: center; gap: 13px; padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.header-contact-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--lime);
  border: 1px solid rgba(145, 255, 0, .65);
  background: rgba(145, 255, 0, .06);
  border-radius: 2px;
  font-size: 10px;
  font-weight: 900;
}
.header-contact small, .header-contact strong { display: block; }
.header-contact small { color: #cfc2d4; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.header-contact strong { color: var(--white); font-size: 13px; font-weight: 700; }
.header-contact:hover strong { color: var(--lime); }

.navigation { min-width: 0; flex: 1 1 auto; }
.navigation-inner { min-height: 72px; display: flex; align-items: stretch; justify-content: space-between; }
.menu { flex: 1 1 auto; display: flex; align-items: stretch; justify-content: center; margin: 0; padding: 0; list-style: none; }
.menu a {
  position: relative;
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 6px;
  color: #e7dfea;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .045em;
  white-space: nowrap;
  text-transform: uppercase;
  transition: color .2s, background-color .2s;
}
.menu a::after { position: absolute; right: 6px; bottom: 0; left: 6px; height: 2px; background: var(--lime); content: ""; opacity: 0; transform: scaleX(.3); transition: opacity .2s, transform .2s; }
.menu a:hover { color: var(--white); background: rgba(255, 255, 255, .055); }
.menu a.active { color: var(--white); background: transparent; }
.menu a:hover::after, .menu a.active::after { opacity: 1; transform: scaleX(1); }
.menu-num, .menu-arrow, .mobile-menu-item-cta, .mobile-menu-item-social { display: none; }
.nav-cta {
  min-width: 165px;
  height: 48px;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-inline: 16px;
  color: var(--purple-950);
  background: var(--lime);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  white-space: nowrap;
  text-transform: uppercase;
  transition: color .2s, background-color .2s;
}
.nav-cta:hover { color: var(--purple-950); background: var(--white); }
.nav-cta span { color: var(--purple-700); font-size: 18px; }
.menu-toggle { display: none; }

.hero { position: relative; background: var(--purple-950); }
.hero img { width: 100%; height: auto; }

.intro { background: var(--surface); padding: 88px 0; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 52px; }
.image-frame { position: relative; padding: 0 26px 26px 0; }
.image-frame::before {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72%;
  height: 72%;
  background: var(--lime);
  content: "";
}
.image-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  box-shadow: 0 20px 50px rgba(30, 11, 39, .16);
  display: block;
}
.image-caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  min-width: 215px;
  padding: 19px 24px;
  color: var(--white);
  background: var(--purple-900);
}
.image-caption strong, .image-caption span { display: block; }
.image-caption strong {
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1.15;
}
.image-caption span {
  font-size: 12px;
  color: #ffffff;
  margin-top: 3px;
}

.intro-copy {
  display: flex;
  flex-direction: column;
}
.intro-copy h2 {
  margin: 14px 0 20px;
  font-size: clamp(34px, 3.8vw, 50px);
  line-height: 1.08;
  color: var(--ink);
}
.intro-copy h2 em {
  color: var(--purple-700);
  background: linear-gradient(135deg, var(--purple-700) 10%, var(--purple-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-style: normal;
  font-weight: 800;
}
.intro-copy .lead {
  color: #1b1720;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 12px;
}
.intro-copy p {
  color: #4a4350;
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.intro-pillars-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 14px;
}
.intro-pillars-label span {
  color: var(--purple-700);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.intro-pillars-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #dfdcdf, transparent);
}

.intro-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 4px;
}
.pillar-card {
  position: relative;
  padding: 16px 14px;
  background: var(--white);
  border: 1px solid #e5e1e7;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(30, 11, 39, .04);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.pillar-card::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--purple-700);
  content: "";
  border-radius: 8px 8px 0 0;
  transition: background .25s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
  border-color: #c9c2cc;
  box-shadow: 0 10px 24px rgba(30, 11, 39, .09);
}
.pillar-card:hover::before {
  background: var(--lime-dark);
}
.pillar-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--lime-dark);
}
.pillar-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--purple-950);
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.pillar-card p {
  margin: 0;
  color: #635d68;
  font-size: 12px;
  line-height: 1.45;
}

.services { background: var(--muted); }
.service-tabs { display: grid; grid-template-columns: repeat(6, 1fr); margin-bottom: 0; border-bottom: 4px solid var(--lime); box-shadow: 0 10px 34px rgba(33, 11, 43, .08); }
.service-tab { min-height: 112px; padding: 21px 10px; border: 0; border-right: 1px solid #e5e1e7; color: var(--purple-900); background: var(--white); cursor: pointer; font-size: 11px; font-weight: 900; line-height: 1.35; text-transform: uppercase; transition: color .2s, background-color .2s; }
.service-tab:last-child { border-right: 0; }
.service-tab span { display: block; margin-bottom: 13px; color: var(--lime-dark); font-size: 11px; letter-spacing: .15em; }
.service-tab.active, .service-tab:hover { color: var(--white); background: var(--purple-800); }
.service-tab.active span, .service-tab:hover span { color: var(--lime); }
.service-panel { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 560px; background: var(--white); box-shadow: var(--shadow); }
.service-panel[hidden] { display: none; }
.service-photo { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.service-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#panel-fabricacao .service-photo img,
#panel-laser .service-photo img { object-position: center bottom; }
.service-copy { display: flex; flex-direction: column; justify-content: center; padding: 40px 48px; }
.service-copy .text-link { align-self: flex-start; }
.service-copy h3 { margin: 12px 0 17px; font-size: clamp(32px, 4vw, 47px); }
.service-copy p { font-size: 16px; }
.check-list { margin: 24px 0 30px; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 9px 0; padding-left: 27px; color: #423b45; font-size: 14px; font-weight: 650; }
.check-list li::before { position: absolute; left: 0; top: .25em; width: 14px; height: 14px; display: grid; place-items: center; color: var(--purple-950); background: var(--lime); content: "✓"; font-size: 9px; font-weight: 900; }
.tech-stack { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 27px; }
.tech-stack span { padding: 6px 9px; color: var(--purple-800); border: 1px solid #d9d3dd; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.capabilities { padding: 44px 0; background: #f7f8fa; }
.capabilities .section-heading { max-width: none; margin-bottom: 20px; }
.capabilities .section-heading h2 { margin-bottom: 0; font-size: clamp(36px, 3.2vw, 46px); }
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; align-items: start; gap: 12px; }
.capability-card { position: relative; min-width: 0; min-height: 0; display: flex; overflow: hidden; border: 1px solid #dce1e9; border-radius: 8px; background: linear-gradient(135deg, #fff 50%, #f0f2f6); box-shadow: 0 5px 18px rgba(19, 32, 55, .045); transition: box-shadow .25s, border-color .25s; }
.capability-card:hover { border-color: #c3cedc; box-shadow: 0 10px 28px rgba(19, 32, 55, .1); }
.capability-copy { position: relative; z-index: 1; width: 56%; min-height: 0; align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; padding: 16px 20px; }
.capability-card-top { display: flex; align-items: center; justify-content: flex-start; gap: 22px; margin-bottom: 8px; }
.capability-number { color: #283b5c; font-family: var(--font-body); font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.capability-number b { color: var(--lime-dark); font-weight: 800; }
.capability-card h3 { width: 100%; margin: 0 0 10px; color: #101d35; font-size: 28px; line-height: 1.05; }
.capability-description { width: 100%; margin: 0 0 12px; color: #4b5970; font-size: 12px; line-height: 1.5; }
.capability-card ul { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 10px; margin: 0; padding: 0; list-style: none; }
.capability-card .capability-list-single { grid-template-columns: 1fr; }
.capability-card li { position: relative; padding-left: 11px; color: #3b4b66; font-size: 11px; font-weight: 500; line-height: 1.4; }
.capability-card li::before { position: absolute; top: .5em; left: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--lime-dark); content: ""; }
.capability-link { min-height: 32px; display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; color: #263a58; font-size: 9px; font-weight: 800; letter-spacing: .03em; line-height: 1.4; text-transform: uppercase; }
.capability-link span { color: var(--lime-dark); font-size: 18px; line-height: 1; transition: transform .2s; }
.capability-link:hover span { transform: translateX(4px); }
/* Preserve the supplied photos' proportions inside the diagonal card crop. */
.capability-visual { position: absolute; z-index: 0; inset: 0 0 0 auto; width: 46%; background-size: cover; background-position: center; background-repeat: no-repeat; clip-path: polygon(19% 0, 100% 0, 100% 100%, 0 100%, 0 52%); }
.capability-visual::after { position: absolute; inset: 60% 0 0; background: linear-gradient(transparent, rgba(10, 23, 34, .88)); content: ""; }
.capability-visual-structures { background-image: url("assets/estruturas-metalicas-aplicacoes.png"); background-position: 73% center; }
.capability-visual-pipes { background-image: url("assets/tubulacoes-aplicacoes.png"); background-position: 34% center; }
.capability-visual-equipment { background-image: url("assets/equipamentos-aplicacoes.png"); background-position: 56% center; }
.capability-visual-building { background-image: url("assets/construcao-aplicacoes.png"); background-position: 55% center; }
.capability-caption { position: absolute; z-index: 1; right: 16px; bottom: 17px; left: 16px; max-width: 155px; color: #fff; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.capability-footer { display: flex; justify-content: flex-end; margin-top: 14px; }
@media (min-width: 1121px) {
  .capability-grid { align-items: stretch; }
  .capability-card ul { margin-bottom: 10px; }
  .capability-link { margin-top: auto; }
}
.segments { color: var(--white); background: linear-gradient(110deg, rgba(32, 7, 44, .78), rgba(74, 23, 97, .68)), url("assets/fabricacao-estrutura-bratech.webp") center/cover; padding: 64px 0; }
.segments-layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); align-items: center; gap: 42px; padding: 44px; background: rgba(54, 17, 70, .64); border: 1px solid rgba(255, 255, 255, .08); }
.segments-copy { min-width: 0; }
.segments-carousel { min-width: 0; width: 100%; }
.segments-carousel-controls, .carousel-hint { display: none; }
.segment-tiles { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.segment-tiles li { min-width: 0; min-height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 12px 6px; border: 1px solid rgba(156, 255, 0, .66); border-radius: 0 16px 0 16px; background: rgba(22, 5, 31, .16); text-align: center; transition: background-color .2s, border-color .2s, transform .2s; }
.segment-tiles li:hover { border-color: var(--lime); background: rgba(156, 255, 0, .075); transform: translateY(-3px); }
/* Native images also work in local file previews, unlike external CSS masks. */
.segment-tiles .segment-icon { display: block; width: 34px; height: 34px; flex: 0 0 auto; object-fit: contain; filter: brightness(0) saturate(100%) invert(84%) sepia(78%) saturate(1832%) hue-rotate(34deg) brightness(103%) contrast(109%); }
.segment-tiles li > span:last-child { color: #f5edf8; font-size: 10.5px; font-weight: 650; line-height: 1.3; }
.segments-copy h2 { margin: 18px 0 23px; color: var(--white); font-size: clamp(48px, 4.5vw, 64px); line-height: 1.02; }
.segments-copy h2 em { color: var(--lime); }
.segments-rule { width: 100%; height: 2px; margin-bottom: 22px; background: var(--lime); }
.segments-copy p { max-width: 570px; margin: 0 0 20px; color: #e4dbe8; font-size: 14px; line-height: 1.65; }
.segments-copy .segments-lead { margin-bottom: 6px; color: var(--white); font-size: 16px; font-weight: 800; line-height: 1.45; }
.segments-cta { min-height: 52px; display: inline-flex; align-items: center; gap: 13px; margin-top: 5px; padding: 12px 21px; border: 1px solid rgba(255, 255, 255, .77); border-radius: 7px; color: var(--white); background: rgba(255, 255, 255, .035); font-size: 11px; font-weight: 800; letter-spacing: .04em; line-height: 1.5; text-transform: uppercase; transition: color .2s, background-color .2s, border-color .2s; }
.segments-cta span { color: var(--lime); font-size: 22px; font-weight: 400; line-height: 1; }
.segments-cta:hover { color: var(--purple-950); border-color: var(--lime); background: var(--lime); }
.segments-cta:hover span { color: var(--purple-950); }

.portfolio-section { background: var(--white); }
.portfolio-filters { display: flex; justify-content: center; gap: 9px; margin: -16px 0 39px; }
.portfolio-filters { scrollbar-width: none; }
.portfolio-filters::-webkit-scrollbar { display: none; }
.portfolio-filters button { min-height: 40px; padding: 0 18px; border: 1px solid var(--line); color: #777078; background: transparent; cursor: pointer; font-size: 10px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.portfolio-filters button.active, .portfolio-filters button:hover { color: var(--purple-950); border-color: var(--lime); background: var(--lime); }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 255px; gap: 7px; }
.portfolio-card { position: relative; overflow: hidden; background: var(--purple-950); }
.portfolio-card[hidden] { display: none; }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio-card:nth-child(6) img, .portfolio-card:nth-child(7) img, .portfolio-card:nth-child(8) img { object-position: center 42%; }
.portfolio-card::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23, 5, 31, .96), rgba(23, 5, 31, .03) 72%); content: ""; }
.portfolio-card > div { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 25px; color: var(--white); }
.portfolio-card span, .portfolio-card small { color: var(--lime); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.portfolio-card h3 { margin: 5px 0 0; color: var(--white); font-size: 18px; letter-spacing: -.01em; text-transform: uppercase; }
.portfolio-card:hover img { transform: scale(1.06); }

.contact { display: grid; grid-template-columns: 1fr 1fr; color: #d5c9d9; background: var(--white); }
.contact-copy { min-height: 560px; display: flex; align-items: center; background: linear-gradient(125deg, rgba(27, 5, 38, .96), rgba(59, 16, 77, .9)), url("assets/fabricacao-estrutura-bratech.webp") center/cover; }
.contact-copy-inner { width: min(590px, calc(100% - 48px)); margin-left: max(calc((100vw - var(--max)) / 2), 24px); padding: 40px 48px 40px 0; }
.contact-copy h2 { margin: 12px 0 18px; color: var(--white); font-size: clamp(36px, 4vw, 49px); text-transform: uppercase; }
.contact-copy h2 em { color: var(--lime); }
.contact-copy p { max-width: 470px; margin-bottom: 0; font-size: 15px; line-height: 1.6; }
.contact-direct { display: grid; gap: 8px; margin-top: 22px; }
.contact-direct a { padding: 9px 13px; border-left: 2px solid var(--lime); border-radius: 0 6px 6px 0; background: rgba(255, 255, 255, .055); transition: background-color .2s; }
.contact-direct a:hover { background: rgba(255, 255, 255, .13); }
.contact-direct span, .contact-direct strong { display: block; }
.contact-direct span { color: var(--lime); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-direct strong { color: var(--white); font-size: 12px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.contact-form-wrap { display: flex; align-items: center; background: var(--white); }
.contact-form { width: min(590px, calc(100% - 48px)); margin-right: max(calc((100vw - var(--max)) / 2), 24px); padding: 40px 0 40px 48px; }
.contact-form h2 { margin: 10px 0 10px; font-size: 32px; }
.contact-form label { display: grid; gap: 4px; margin-bottom: 10px; }
.contact-form label > span { color: #4e4651; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #ddd8df; border-radius: 6px; color: var(--ink); background: #f7f5f7; padding: 10px 12px; outline: 0; }
.contact-form input, .contact-form select { min-height: 44px; }
.contact-form textarea { height: 86px; min-height: 86px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--purple-700); box-shadow: 0 0 0 3px rgba(116, 42, 145, .14); }
.form-submit { width: 100%; min-height: 48px; margin-top: 5px; border-radius: 8px; }
.form-note { margin: 10px 0 0; color: #807981; font-size: 10px; line-height: 1.5; }
.form-status { min-height: 1.5em; margin: 9px 0 0; color: var(--purple-700); font-size: 12px; font-weight: 700; }
.location { background: #faf7fb; padding: 72px 0; border-top: 1px solid #ebe4ee; border-bottom: 1px solid #ebe4ee; }
.location-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--white);
  border: 1px solid #e2d9e6;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(36, 17, 50, .05);
  margin-top: 24px;
}
.location-card-map { position: relative; width: 100%; min-height: 380px; height: 100%; background: #eae5eb; }
.location-card-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.location-card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 30px;
}
.location-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.location-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.location-entry strong {
  display: block;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--purple-950);
  margin-bottom: 4px;
}
.location-entry p {
  margin: 0;
  color: #554c58;
  font-size: 13px;
  line-height: 1.5;
}
.location-entry small {
  display: block;
  color: #746b78;
  font-size: 12px;
  margin-top: 3px;
}
.location-entry a {
  color: #4a414e;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color .2s ease;
}
.location-entry a:hover { color: var(--purple-700); text-decoration: underline; }
.location-card-action {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 16px;
  border-top: 1px solid #f0eaf2;
}
.location-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 8px;
  color: var(--purple-950);
  background: var(--lime);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(156, 255, 0, .28);
  transition: background-color .22s ease, transform .22s ease, box-shadow .22s ease, color .22s ease;
}
.location-btn:hover {
  background: var(--purple-800);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(36, 17, 50, .18);
}
.location-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.faq { background: var(--muted); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.faq-intro h2 { margin: 13px 0 20px; font-size: clamp(38px, 4.5vw, 55px); }
.faq-intro .text-link { margin-top: 13px; }
.faq-list details { border-top: 1px solid #d8d3da; }
.faq-list details:last-child { border-bottom: 1px solid #d8d3da; }
.faq-list summary { position: relative; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; color: var(--ink); cursor: pointer; font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: -.01em; list-style: none; text-transform: uppercase; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; width: 27px; height: 27px; flex: 0 0 auto; border-radius: 50%; background: var(--purple-800); }
.faq-list summary span::before, .faq-list summary span::after { position: absolute; left: 8px; top: 13px; width: 11px; height: 1px; background: var(--white); content: ""; }
.faq-list summary span::after { transform: rotate(90deg); transition: transform .2s; }
.faq-list details[open] summary span { background: var(--lime); }
.faq-list details[open] summary span::before, .faq-list details[open] summary span::after { background: var(--purple-950); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details p { margin: -4px 48px 22px 0; font-size: 14px; }

.footer { color: #c8bdcd; background: var(--purple-950); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .75fr .78fr 1.1fr; gap: 48px; padding: 68px 0 57px; }
.footer-logo { display: block; width: 245px; margin-bottom: 24px; }
.instagram-link { display: inline-flex; gap: 8px; color: var(--lime); font-size: 12px; font-weight: 800; }
.footer-socials { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer-social-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 9px 13px; border: 1px solid rgba(255, 255, 255, .23); border-radius: 999px; color: var(--white); font-size: 11px; font-weight: 750; transition: border-color .25s ease, background-color .25s ease, transform .25s ease; }
.footer-social-link img { width: 19px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-socials a:hover { color: var(--lime); border-color: var(--lime); background: rgba(156, 255, 0, .08); transform: translateY(-2px); }
.footer-social-pending { color: #c8bdcd; border-style: dashed; }
.footer h2 { margin: 9px 0 17px; color: var(--white); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin-bottom: 5px; font-size: 13px; }
.footer a:hover { color: var(--lime); }
.footer address { font-size: 13px; font-style: normal; line-height: 1.8; }
.footer-route { margin-top: 15px; color: var(--white); }
.footer-route::after { color: var(--lime); }
.footer-bottom { padding: 19px 0; color: #988d9d; background: #0f0315; font-size: 11px; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-bottom a { color: #cfc3d4; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--lime); }

.whatsapp-float { position: fixed; z-index: 30; right: 22px; bottom: 22px; width: 57px; height: 57px; display: grid; place-items: center; border-radius: 50%; color: var(--purple-950); background: var(--lime); box-shadow: 0 14px 34px rgba(20, 4, 29, .3); transition: transform .2s, background-color .2s, opacity .2s; }
.whatsapp-float:hover { background: var(--white); transform: translateY(-3px); }
.whatsapp-float svg { width: 29px; fill: currentColor; }
.to-top { position: fixed; z-index: 28; right: 29px; bottom: 91px; width: 42px; height: 42px; border: 0; color: var(--white); background: var(--purple-800); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s, transform .2s; }
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Progressive enhancement: content stays visible when JavaScript is unavailable. */
.reveal { opacity: 1; translate: none; }
.motion-ready .reveal {
  --motion-x: 0px;
  --motion-y: 22px;
  transition: opacity .65s ease var(--motion-delay, 0ms), translate .8s cubic-bezier(.22, 1, .36, 1) var(--motion-delay, 0ms), transform .28s ease, box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
}
.motion-ready .reveal[data-motion="left"] { --motion-x: -24px; --motion-y: 0px; }
.motion-ready .reveal[data-motion="right"] { --motion-x: 24px; --motion-y: 0px; }
.motion-ready .reveal:not(.visible) { opacity: 0; translate: var(--motion-x) var(--motion-y); }
.motion-ready .reveal.visible { opacity: 1; translate: 0 0; }
.motion-ready .reveal[data-motion="fade"] { --motion-y: 0px; translate: none; }
.scroll-progress { position: fixed; z-index: 60; top: 0; left: 0; width: 100%; height: 3px; background: var(--lime); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* Brand accents draw in once; only decorative light continues to move. */
.motion-ready .reveal.visible .eyebrow::before { transform-origin: left; animation: accent-draw .8s cubic-bezier(.22, 1, .36, 1) both; }
.motion-ready .segments-copy.visible .segments-rule { transform-origin: left; animation: accent-draw .95s cubic-bezier(.22, 1, .36, 1) both; }
.motion-ready .intro-copy.visible .feature-list article { animation: detail-enter .7s cubic-bezier(.22, 1, .36, 1) backwards; }
.motion-ready .intro-copy.visible .feature-list article:nth-child(1) { animation-delay: .18s; }
.motion-ready .intro-copy.visible .feature-list article:nth-child(2) { animation-delay: .28s; }
.motion-ready .image-frame.visible::before { transform-origin: bottom right; animation: accent-draw .9s cubic-bezier(.22, 1, .36, 1) both; }
.motion-ready .faq-list details[open] p { animation: detail-enter .4s ease both; }
.motion-ready .menu.open { animation: detail-enter .3s ease both; }
.motion-ready .segments, .motion-ready .contact-copy { position: relative; isolation: isolate; overflow: hidden; }
.motion-ready .segments::before, .motion-ready .contact-copy::before {
  position: absolute; z-index: -1; top: -100px; right: -100px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 255, 0, .09), rgba(116, 42, 145, .18) 38%, transparent 70%);
  pointer-events: none; content: ""; animation: industrial-light 9s ease-in-out infinite alternate; animation-play-state: paused;
}
.motion-ready .segments.motion-active::before, .motion-ready .contact.motion-active .contact-copy::before { animation-play-state: running; }
.motion-paused .segments::before, .motion-paused .contact-copy::before { animation-play-state: paused !important; }

/* Interactions retain the original photos, card dimensions, and typography. */
.brand img { transition: transform .35s ease; }
.service-tab span { transition: transform .3s ease, color .3s ease; }
.segment-icon { transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.capability-visual { transition: filter .45s ease; }
.capability-caption { transition: transform .4s ease; }
.service-photo img { transition: transform .6s ease; }
.contact-direct a { transition: background-color .25s ease, transform .25s ease; }
.contact-form input, .contact-form select, .contact-form textarea { transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { background: var(--white); }
.faq-list summary span { transition: background-color .25s ease, transform .3s ease; }
.footer-grid li a { display: inline-block; transition: color .25s ease, transform .25s ease; }
.button, .nav-cta, .segments-cta { position: relative; isolation: isolate; overflow: hidden; }
.button::before, .nav-cta::before, .segments-cta::before {
  position: absolute; z-index: -1; top: -50%; left: -50%; width: 45%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
  content: ""; pointer-events: none; transform: translateX(0) skewX(-18deg); transition: transform .7s ease;
}
.button:focus-visible::before, .nav-cta:focus-visible::before, .segments-cta:focus-visible::before { transform: translateX(450%) skewX(-18deg); }
.capability-card:focus-within { border-color: var(--lime-dark); box-shadow: 0 12px 30px rgba(50, 18, 68, .12); }

@keyframes accent-draw { from { transform: scaleX(.05); opacity: .2; } to { transform: scaleX(1); opacity: 1; } }
@keyframes detail-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes industrial-light { from { transform: translate(0, 0) scale(.9); opacity: .55; } to { transform: translate(-70px, 35px) scale(1.15); opacity: 1; } }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .brand:hover img { transform: translateY(-2px); }
  .service-tab:hover span { transform: translateY(-4px); }
  .service-photo:hover img { transform: scale(1.025); }
  .capability-card.visible:hover { transform: translateY(-5px); border-color: var(--lime-dark); box-shadow: 0 16px 32px rgba(50, 18, 68, .13); }
  .capability-card:hover .capability-visual { filter: brightness(1.08); }
  .capability-card:hover .capability-caption { transform: translateY(-3px); }
  .segment-tiles li:hover .segment-icon { transform: translateY(-4px) rotate(-4deg) scale(1.08); }
  .contact-direct a:hover { transform: translateX(4px); }
  .faq-list summary:hover span { transform: rotate(8deg); }
  .footer-grid li a:hover { transform: translateX(3px); }
  .button:hover::before, .nav-cta:hover::before, .segments-cta:hover::before { transform: translateX(450%) skewX(-18deg); }
}

.simple-page { min-height: 100vh; color: var(--body); background: var(--muted); }
.simple-header { padding: 26px 0; background: var(--purple-950); }
.simple-header .brand { display: block; }
.simple-main { padding: 80px 0 110px; }
.simple-content { max-width: 850px; margin: auto; padding: 55px; background: var(--white); box-shadow: var(--shadow); }
.simple-content h1 { margin-bottom: 20px; font-size: clamp(38px, 6vw, 64px); }
.simple-content h2 { margin-top: 34px; font-size: 24px; }
.simple-content li { margin-bottom: 8px; }
.credit-list { margin: 18px 0 30px; padding-left: 20px; }
.credit-list li { padding-left: 4px; line-height: 1.55; }
.credit-list a { color: var(--purple-700); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1120px) {
  .masthead-inner { gap: 18px; }
  .brand { width: 205px; }
  .menu a { padding-inline: 7px; font-size: 9px; }
  .menu a::after { right: 7px; left: 7px; }
  .nav-cta { min-width: 150px; padding-inline: 10px; font-size: 9px; }
  .service-tab { font-size: 10px; }
  .service-panel { min-height: 600px; }
  .capability-grid { grid-template-columns: 1fr; max-width: 730px; margin-inline: auto; }
  .capability-copy { padding: 18px 22px; }
  .capability-card h3 { font-size: 32px; }
  .capability-card li { font-size: 11px; }
  .footer-grid { gap: 30px; }
}

@media (max-width: 1200px) {
  .masthead { overflow: visible; }
  .masthead-inner { min-height: 80px; }
  .navigation { position: static; min-width: 0; flex: 1 1 auto; }
  .navigation-inner { min-height: 62px; align-items: center; }
  .menu-toggle { height: 62px; display: flex; align-items: center; gap: 12px; padding: 0 15px; border: 0; color: var(--white); background: transparent; cursor: pointer; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
  .menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { width: 23px; height: 2px; display: block; background: var(--lime); content: ""; transition: transform .2s, opacity .2s; }
  .menu-toggle-lines { position: relative; }
  .menu-toggle-lines::before { position: absolute; top: -7px; }
  .menu-toggle-lines::after { position: absolute; top: 7px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { top: 0; transform: rotate(-45deg); }
  
  /* Mobile Menu Container */
  .menu {
    position: absolute;
    z-index: 50;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 75px);
    flex: none;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    background: linear-gradient(180deg, #1f0b27 0%, #15061b 100%);
    border-bottom: 2px solid rgba(156, 255, 0, .25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .6);
    padding: 8px 0 16px;
  }
  .menu.open { display: flex; }
  
  /* Menu Items */
  .menu li {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .menu a {
    height: 52px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #f1e9f5;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: transparent;
    transition: background-color .15s ease, color .15s ease, padding-left .15s ease;
  }
  .menu a::after { display: none; }
  
  .menu-num {
    display: inline-block;
    font-size: 11px;
    font-weight: 900;
    color: var(--lime);
    opacity: .75;
    min-width: 22px;
    letter-spacing: .05em;
  }
  .menu-label {
    flex: 1 1 auto;
    text-align: left;
  }
  .menu-arrow {
    display: inline-block;
    font-size: 14px;
    color: rgba(255, 255, 255, .3);
    transition: transform .15s ease, color .15s ease;
  }
  
  /* Hover & Active States (Sophisticated, non-jarring) */
  .menu a:hover {
    background: rgba(255, 255, 255, .04);
    color: var(--white);
    padding-left: 28px;
  }
  .menu a:hover .menu-arrow {
    color: var(--lime);
    transform: translateX(4px);
  }
  .menu a.active {
    background: rgba(156, 255, 0, .08);
    color: var(--lime);
    border-left: 4px solid var(--lime);
    padding-left: 20px;
  }
  .menu a.active .menu-num {
    opacity: 1;
    color: var(--lime);
  }
  .menu a.active .menu-arrow {
    color: var(--lime);
  }
  
  /* Mobile Menu CTA Button */
  .mobile-menu-item-cta {
    display: block;
    padding: 16px 20px 8px;
  }
  .mobile-nav-cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    background: var(--lime) !important;
    color: var(--purple-950) !important;
    border-radius: 8px;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: 0 4px 18px rgba(156, 255, 0, .25);
    border-bottom: 0 !important;
    border-left: 0 !important;
    padding: 0 16px !important;
  }
  .mobile-nav-cta:hover {
    background: var(--white) !important;
    color: var(--purple-950) !important;
    transform: translateY(-1px);
    padding-left: 16px !important;
  }
  .mobile-nav-cta span:last-child {
    font-size: 16px;
    font-weight: 900;
  }
  
  /* Mobile Menu Social / Info Footer */
  .mobile-menu-item-social {
    display: block;
    padding: 8px 20px 4px;
  }
  .mobile-menu-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #b5a4bd;
    letter-spacing: .03em;
  }
  .mobile-menu-socials a {
    height: auto !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: #b5a4bd !important;
    border-bottom: 0 !important;
    background: transparent !important;
    font-size: 11px !important;
    text-transform: none !important;
    font-weight: 700 !important;
  }
  .mobile-menu-socials a:hover {
    color: var(--lime) !important;
    padding-left: 0 !important;
  }
  .mobile-dot {
    color: rgba(255, 255, 255, .2);
  }
  
  .nav-cta { display: none; }
}

@media (max-width: 900px) {
  .motion-ready .reveal[data-motion="left"] { --motion-x: -12px; }
  .motion-ready .reveal[data-motion="right"] { --motion-x: 12px; }
  .section { padding: 68px 0; }
  .topline { display: none; }
  .hero img { width: 100%; height: clamp(260px, 45vw, 380px); object-fit: cover; object-position: center; display: block; }
  .brand { width: 220px; }
  .intro-grid { grid-template-columns: 1fr; gap: 38px; }
  .intro-grid { max-width: 730px; }
  .segments-layout { display: flex; flex-direction: column; gap: 20px; padding: 32px 24px; }
  .segments-copy { display: contents; }
  .segments-copy .eyebrow { order: 1; }
  .segments-copy h2 { order: 2; max-width: 650px; font-size: 44px; margin: 8px 0 12px; }
  .segments-rule { order: 3; margin-bottom: 8px; }
  .segments-desc { display: none; }
  .segments-carousel { order: 4; width: 100%; }
  .segment-tiles { max-width: 580px; margin-inline: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .segments-cta { order: 5; max-width: 580px; width: 100%; margin-inline: auto; justify-content: center; }
  .service-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 0;
    box-shadow: none;
  }
  .service-tab {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid #ddd8df;
    border-radius: 8px;
    background: var(--white);
    font-size: 11px;
    font-weight: 800;
    text-align: left;
    white-space: normal;
    line-height: 1.2;
    transition: all .2s ease;
  }
  .service-tab:nth-child(3) { border-right: 1px solid #ddd8df; }
  .service-tab span {
    display: inline-block;
    margin-bottom: 0;
    font-size: 12px;
    font-weight: 900;
    color: var(--lime-dark);
  }
  .service-tab.active {
    color: var(--white);
    background: var(--purple-900);
    border-color: var(--purple-900);
    box-shadow: 0 4px 14px rgba(30, 11, 39, .18);
  }
  .service-tab.active span {
    color: var(--lime);
  }
  .service-panel {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(30, 11, 39, .08);
  }
  .service-photo { height: 320px; }
  .service-copy { justify-content: flex-start; padding: 28px 24px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .contact-copy { min-height: auto; }
  .contact-copy-inner, .contact-form { width: min(720px, calc(100% - 48px)); margin-inline: auto; padding: 52px 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre-in-view .whatsapp-float, .sobre-in-view .to-top,
  .aplicacoes-in-view .whatsapp-float, .aplicacoes-in-view .to-top,
  .segmentos-in-view .whatsapp-float, .segmentos-in-view .to-top,
  .contato-in-view .whatsapp-float, .contato-in-view .to-top,
  .footer-in-view .whatsapp-float, .footer-in-view .to-top { opacity: 0; pointer-events: none; transform: translateY(12px); }
}

@media (max-width: 650px) {
  .container { width: min(100% - 32px, var(--max)); }
  .section { padding: 54px 0; }
  .section-heading { margin-bottom: 30px; }
  .topline { display: none; }
  .hero img { width: 100%; height: clamp(230px, 62vw, 320px); object-fit: cover; object-position: center; display: block; }
  .masthead-inner { min-height: 70px; justify-content: space-between; gap: 10px; }
  .brand { width: 210px; }
  .navigation { flex: 0 1 auto; }
  .menu-toggle { width: 46px; justify-content: center; padding-inline: 10px; }
  .menu-toggle-label { display: none; }
  .image-frame { padding: 0 16px 16px 0; }
  .image-caption { min-width: 160px; padding: 14px 18px; }
  .intro-pillars { grid-template-columns: 1fr; gap: 8px; }
  .pillar-card { padding: 12px 14px; }
  .pillar-header { margin-bottom: 3px; }
  .pillar-card p { font-size: 13px; line-height: 1.45; margin-bottom: 0; }
  .service-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 14px;
    border-bottom: 0;
    box-shadow: none;
  }
  .service-tab {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #ddd8df;
    border-radius: 8px;
    background: var(--white);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
    white-space: normal;
  }
  .service-tab:nth-child(3),
  .service-tab:nth-child(even) {
    border-right: 1px solid #ddd8df;
  }
  .service-tab span {
    display: inline-block;
    margin-bottom: 0;
    font-size: 11px;
    font-weight: 900;
    color: var(--lime-dark);
  }
  .service-tab.active {
    color: var(--white);
    background: var(--purple-900);
    border-color: var(--purple-900);
    box-shadow: 0 4px 14px rgba(30, 11, 39, .18);
  }
  .service-tab.active span {
    color: var(--lime);
  }
  .service-tab.active:nth-child(3),
  .service-tab.active:nth-child(even) {
    border-right-color: var(--purple-900);
  }
  .service-panel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(30, 11, 39, .08);
  }
  .service-photo { height: 240px; }
  .service-copy { padding: 24px 20px 28px; }
  .service-copy h3 { font-size: 24px; margin: 6px 0 10px; }
  .service-copy p { font-size: 13.5px; line-height: 1.55; }
  .check-list { margin: 16px 0 20px; }
  .check-list li { font-size: 13px; margin: 6px 0; }
  .service-copy .text-link {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-900);
    color: var(--lime);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(30, 11, 39, .15);
  }
  .service-copy .text-link::after { display: none; }
  .capabilities { padding: 32px 0; }
  .capabilities .section-heading { margin-bottom: 18px; }
  .capabilities .section-heading h2 { font-size: 34px; line-height: 1.08; }
  .capability-grid { grid-template-columns: 1fr; gap: 14px; }
  .capability-card { min-height: 0; flex-direction: column; border-radius: 12px; background: var(--white); }
  .capability-copy { order: 2; width: 100%; min-height: 0; flex: 0 1 auto; padding: 18px; }
  .capability-card-top { width: 100%; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
  .capability-number { font-size: 10px; }
  .capability-card h3 { width: 100%; margin-bottom: 8px; font-size: 26px; line-height: 1.1; }
  .capability-card ul { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }
  .capability-card li { padding-left: 14px; font-size: 12.5px; line-height: 1.45; }
  .capability-description { margin-bottom: 12px; font-size: 13px; line-height: 1.55; }
  .capability-link { width: 100%; min-height: 46px; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 12px 14px; border: 1px solid #dce3eb; border-radius: 8px; background: #f7f9fc; font-size: 10px; letter-spacing: .025em; }
  .capability-link span { font-size: 22px; }
  .capability-link:hover { border-color: var(--lime-dark); background: #f3f8ea; }
  .capability-visual, .capability-visual-equipment { position: relative; order: 1; inset: auto; width: 100%; height: clamp(160px, 48vw, 220px); flex: 0 0 auto; clip-path: none; border-bottom: 2px solid var(--lime); background-position: center; }
  .capability-visual-structures { background-position: center 57%; }
  .capability-visual-pipes { background-position: center 54%; }
  .capability-visual-equipment { background-position: center 55%; }
  .capability-visual-building { background-position: center 60%; }
  .capability-visual::after { inset: 45% 0 0; }
  .capability-caption { right: 18px; bottom: 15px; left: 18px; max-width: 230px; font-size: 12px; line-height: 1.2; }
  .capability-footer { justify-content: center; margin-top: 14px; }
  .capability-footer .text-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 11px; }
  .segments { padding: 44px 0; }
  .segments-layout { display: flex; flex-direction: column; gap: 14px; padding: 26px 16px; border-radius: 12px; }
  .segments-copy { display: contents; }
  .segments-copy .eyebrow { order: 1; }
  .segments-copy h2 { order: 2; margin: 8px 0 14px; font-size: clamp(28px, 7.5vw, 38px); }
  .segments-rule { order: 3; margin-bottom: 8px; }
  .segments-desc { display: none; }
  .segments-carousel { order: 4; width: 100%; margin: 0; }
  .segment-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 8px 0 14px;
    padding: 0;
    overflow: visible;
  }
  .segment-tiles li {
    min-height: 80px;
    gap: 6px;
    padding: 8px 4px;
    border: 1px solid rgba(156, 255, 0, .5);
    border-radius: 0 12px 0 12px;
    background: rgba(22, 5, 31, .38);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .segment-tiles .segment-icon { width: 28px; height: 28px; }
  .segment-tiles li > span:last-child {
    font-size: 9.5px;
    font-weight: 700;
    color: #f5edf8;
    line-height: 1.2;
    padding-inline: 2px;
  }
  .segments-cta {
    order: 5;
    width: 100%;
    min-height: 48px;
    justify-content: center;
    padding-inline: 14px;
    border-radius: 8px;
    font-size: 10.5px;
    margin-top: 4px;
  }
  .segments-carousel-controls, .carousel-hint { display: none !important; }
  .portfolio-section { padding: 44px 0; }
  .portfolio-section .section-heading { margin-bottom: 20px; }
  .portfolio-section .section-heading h2 { max-width: 390px; margin: 10px auto 0; font-size: clamp(32px, 8.4vw, 44px); line-height: 1.08; text-wrap: balance; }
  .portfolio-section .section-heading h2 em { white-space: nowrap; }
  .portfolio-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 20px; padding: 0; overflow: visible; }
  .portfolio-filters button { width: 100%; min-width: 0; min-height: 46px; padding: 10px 8px; border-radius: 8px; color: var(--purple-800); background: var(--white); font-size: 11px; line-height: 1.25; letter-spacing: .045em; }
  .portfolio-filters button.active { color: var(--white); border-color: var(--purple-800); background: var(--purple-800); box-shadow: inset 0 -2px 0 var(--lime); }
  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 285px; gap: 12px; }
  .portfolio-card { border-radius: 10px; }
  .contact-copy-inner, .contact-form { width: calc(100% - 32px); padding: 38px 0; }
  .contact-copy h2 { font-size: 34px; line-height: 1.1; }
  .contact-form h2 { font-size: 28px; line-height: 1.1; }
  .contact-form label { margin-bottom: 12px; }
  .contact-form input, .contact-form select, .contact-form textarea {
    font-size: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #d5cdd8;
  }
  .contact-form input, .contact-form select { min-height: 48px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-submit {
    min-height: 50px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    margin-top: 8px;
    box-shadow: 0 4px 18px rgba(156, 255, 0, .28);
  }
  .location { padding: 48px 0; }
  .location-card { grid-template-columns: 1fr; margin-top: 18px; }
  .location-card-map { min-height: 280px; height: 280px; }
  .location-card-content { padding: 24px 18px; gap: 20px; }
  .location-details-grid { grid-template-columns: 1fr; gap: 18px; }
  .location-group { gap: 16px; }
  .location-card-action { padding-top: 6px; border-top: 1px solid #f0eaf2; }
  .location-btn { min-height: 48px; width: 100%; }
  .faq-list summary { font-size: 14px; line-height: 1.25; }
  .footer-grid { grid-template-columns: 1fr; gap: 29px; padding: 54px 0 45px; }
  .footer-brand { text-align: center; }
  .footer-logo { margin-inline: auto; margin-bottom: 18px; }
  .footer-socials { justify-content: center; }
  .footer-grid > div:nth-child(2) ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 12px; }
  .footer-grid > div:nth-child(2) li { margin-bottom: 0; }
  .footer-bottom .container { align-items: flex-start; flex-direction: column; gap: 5px; }
  .simple-content { padding: 34px 24px; }
}

@media (max-width: 390px) {
  .brand { width: 185px; }
  .menu-toggle { width: 42px; padding-inline: 7px; }
  .button { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; translate: none !important; transform: none !important; }
  .button:hover, .segment-tiles li:hover, .portfolio-card:hover img, .text-link:hover::after, .capability-link:hover span, .footer-socials a:hover { transform: none; }
}
