:root {
  --ink: #171313;
  --muted: #6f6261;
  --paper: #f8f6f4;
  --line: #e6dfdc;
  --red: #c62828;
  --red-soft: #f2d9d6;
  --red-pale: #fbefed;
  --display: "Manrope", sans-serif;
  --body: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}

.hero .container {
  width: 100%;
  max-width: none;
}

.hero-copy {
  align-self: center;
  padding: 90px 60px 90px 90px;
  position: relative;
  z-index: 1;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: 150px;
  height: auto;
}

.footer-brand .brand-logo {
  width: 165px;
  filter: brightness(0) invert(1);
}

.brand span {
  font: 800 24px/1 var(--display);
  letter-spacing: -1.5px;
  color: var(--red);
}

.brand small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  max-width: 70px;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.main-nav a {
  padding: 29px 0 25px;
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  border-color: var(--red);
  color: var(--red);
}

.nav-cta {
  margin-left: 8px;
  text-decoration: none;
  background: var(--ink);
  color: #fff;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 700;
}

.nav-cta span,
.button span,
.text-link span {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
}

.hero {
  background: #151111;
  color: #fff;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 44%;
  min-height: 590px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.hero .eyebrow,
.services-strip .eyebrow {
  color: #f49890;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -1.8px;
}

h1 {
  font-size: clamp(43px, 5vw, 72px);
  max-width: 700px;
  margin-bottom: 25px;
}

h2 {
  font-size: clamp(31px, 3.8vw, 51px);
  margin-bottom: 24px;
}

.hero-text {
  max-width: 540px;
  color: #dbd1cf;
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 33px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-block;
  border: 0;
  padding: 15px 18px;
  font: 700 14px var(--body);
  text-decoration: none;
  cursor: pointer;
}

.button-red {
  background: var(--red);
  color: #fff;
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-dark:hover {
  background: var(--ink);
  color: var(--red);
  background-color: #fff;
  transition: 0.6s;
}

.text-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.text-link.light {
  color: #fff;
}

.hero .text-link {
  color: #fff;
}

.hero-visual {
  position: relative;
  min-height: 370px;
  background: linear-gradient(120deg, #581717, #ba332d);
  overflow: hidden;
}

.hero-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 35px,
    rgba(255, 255, 255, 0.05) 36px 37px
  );
  mix-blend-mode: screen;
}

.vertical-word {
  position: absolute;
  right: 23px;
  top: 45px;
  writing-mode: vertical-rl;
  font: 700 10px var(--display);
  letter-spacing: 2px;
  color: #fff8;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
}

.orbit-a {
  width: 520px;
  height: 520px;
  right: -245px;
  bottom: -180px;
}

.orbit-b {
  width: 370px;
  height: 370px;
  right: -155px;
  bottom: -105px;
}

.industrial-mark {
  position: absolute;
  bottom: 0;
  left: 12%;
  width: 290px;
  height: 270px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.industrial-mark span {
  display: block;
  width: 35px;
  background: #181313;
  position: relative;
}

.industrial-mark span:after {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  border-left: 17.5px solid transparent;
  border-right: 17.5px solid transparent;
  border-bottom: 16px solid #181313;
}

.industrial-mark span:nth-child(1) {
  height: 160px;
}

.industrial-mark span:nth-child(2) {
  height: 218px;
}

.industrial-mark span:nth-child(3) {
  height: 114px;
}

.industrial-mark span:nth-child(4) {
  height: 188px;
}

.visual-caption {
  position: absolute;
  left: 12%;
  top: 55px;
  border-left: 2px solid #fff;
  padding-left: 13px;
  line-height: 1.15;
}

.visual-caption b {
  display: block;
  font: 700 21px var(--display);
  letter-spacing: -1px;
}

.visual-caption small {
  font-size: 12px;
}

.section {
  padding: 115px 0;
}

.two-col {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 30px;
}

.two-col > div {
  max-width: 710px;
}

.two-col p:not(.eyebrow) {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
}

.services-strip {
  padding: 84px 0 105px;
  background: var(--ink);
  color: #fff;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 35px;
}

.service-list {
  border-top: 1px solid #5d5150;
}

.service-list a {
  display: grid;
  grid-template-columns: 90px 1fr 30px;
  align-items: center;
  gap: 20px;
  color: #fff;
  text-decoration: none;
  padding: 28px 0;
  border-bottom: 1px solid #5d5150;
}

.service-list a:hover {
  color: #f49890;
}

.service-list span {
  font-size: 12px;
  color: #e68d86;
}

.service-list h3 {
  margin: 0;
  font-size: 30px;
}

.service-list i {
  font-style: normal;
  font-size: 24px;
}

.sectors {
  background: var(--red-pale);
}

.sectors-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
}

.sectors-top p {
  max-width: 360px;
  color: var(--muted);
}

.sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.sector-tags span {
  padding: 10px 16px;
  border: 1px solid #d5b5b2;
  font-weight: 600;
  color: #fff;
  font-size: 14px;
}
.sector-tags span:hover {
  padding: 10px 16px;
  border: 0px solid #d5b5b2;
  font-weight: 600;
  color: #000000;
  font-size: 14px;
  background-color: var(--red);
}

.contact-band {
  padding: 58px 0;
  background: var(--red-soft);
}

.contact-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.contact-band .eyebrow {
  margin-bottom: 9px;
}

.contact-band h2 {
  margin: 0;
  font-size: 33px;
}

.footer {
  background: #111;
  color: #e8dfdc;
  padding-top: 67px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 55px;
  padding-bottom: 57px;
}

.footer-brand {
  color: #fff;
}

.footer-brand small {
  color: #c8bbb7;
}

.footer p {
  color: #ac9e9b;
  max-width: 290px;
  font-size: 14px;
  margin-top: 20px;
}

.footer h3 {
  font-size: 13px;
  letter-spacing: 0;
  margin: 0 0 18px;
  color: #fff;
}

.footer-grid > div > a:not(.brand) {
  display: block;
  color: #c8bbb7;
  text-decoration: none;
  font-size: 14px;
  margin: 6px 0;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid #665958;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.socials a:hover {
  background-color: var(--red);
  color: #fff;
}


.socials.dark a {
  border-color: #bba8a5;
  color: var(--ink);
}

.footer-bottom {
  border-top: 1px solid #393131;
  padding: 19px 0;
  color: #918381;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}

.page-hero {
  padding: 118px 0 90px;
  background: var(--red-pale);
  border-bottom: 1px solid var(--line);
}

.page-hero p:not(.eyebrow) {
  font-size: 18px;
  color: var(--muted);
  max-width: 530px;
}

.page-hero.compact {
  padding-bottom: 75px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 45%;
  gap: 85px;
  align-items: stretch;
}

.story-art {
  min-height: 0;
}

.story-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-art span {
  font: 800 clamp(70px, 9vw, 130px) var(--display);
  letter-spacing: -9px;
  color: var(--red);
}

.story-art i {
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid #7b3936;
  border-radius: 50%;
  left: -120px;
  top: -90px;
}

.story-grid p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.values {
  padding: 95px 0;
  background: var(--ink);
  color: #fff;
}

.values-grid,
.client-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.values-grid div {
  border-top: 1px solid #5d5150;
  padding: 20px 10px 10px 20px;
}

.values-grid div:hover {
  color: #fff;
  background-color: var(--red);
}

.values-grid b,
.client-principles span {
  color: #e68d86;
  font-size: 12px;
}

.values-grid h3,
.client-principles h3 {
  font-size: 24px;
  margin: 20px 0 10px;
}

.values-grid p {
  margin: 0;
  color: #c9bbb8;
}

.service-details {
  background: var(--paper);
}

.service-details article {
  display: grid;
  grid-template-columns: 15% 1fr;
  gap: 28px;
  padding: 74px 0;
  border-bottom: 1px solid var(--line);
}

.service-details article > span {
  font: 700 14px var(--display);
  color: var(--red);
}

.service-details h2 {
  max-width: 640px;
  font-size: 36px;
}

.service-details p:not(.eyebrow) {
  max-width: 600px;
  color: var(--muted);
  font-size: 17px;
}

.service-details ul {
  padding-left: 17px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}

.service-details li {
  padding: 3px 0;
}

.client-notice {
  margin: 80px 0;
  background: var(--ink);
  color: #fff;
  padding: 44px;
  display: flex;
  align-items: center;
  gap: 35px;
}

.notice-mark {
  width: 90px;
  height: 90px;
  border: 1px solid #c26965;
  display: grid;
  place-items: center;
  color: var(--red);
  font: 800 48px var(--display);
}

.client-notice h3 {
  font-size: 28px;
  margin-bottom: 7px;
}

.client-notice p {
  color: #d0c4c1;
  margin: 0;
}

.client-principles {
  border-top: 1px solid var(--line);
}

.client-principles > div {
  padding-top: 20px;
}

.client-principles p {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 90px;
}

.contact-data h2 {
  font-size: 42px;
}

.contact-data > a {
  display: block;
  color: var(--ink);
  font: 600 17px var(--body);
  text-decoration: none;
  margin: 12px 0;
}

.contact-data > p:not(.eyebrow) {
  color: var(--muted);
  margin: 25px 0;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label {
  font-size: 13px;
  font-weight: 700;
}

.contact-form label:nth-child(4) {
  grid-column: 1/-1;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #cbbfbc;
  border-radius: 0;
  font: 16px var(--body);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
}

.contact-form button {
  justify-self: start;
  margin-top: 12px;
}

.form-status {
  grid-column: 1/-1;
  margin: 0;
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #161212;
  }

  .site-header {
    background: #161212;
    border-color: #3c3231;
  }

  .brand,
  .main-nav a {
    color: #f2e8e5;
  }

  .nav-cta {
    background: #e9dedb;
    color: #151111;
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: #ef8b83;
  }

  .intro {
    background: #1d1818;
  }

  .two-col p:not(.eyebrow),
  .page-hero p:not(.eyebrow),
  .story-grid p:not(.eyebrow),
  .sectors-top p,
  .service-details p:not(.eyebrow),
  .client-principles p {
    color: #cdbfbc;
  }

  .intro h2,
  .two-col h2,
  .sectors h2,
  .page-hero h1,
  .page-hero h2,
  .story-grid h2,
  .service-details h2,
  .client-principles h3,
  .contact-data h2,
  .contact-data > a {
    color: #f4e9e6;
  }

  .sectors,
  .page-hero {
    background: #261c1b;
  }

  .service-details {
    background: #1a1515;
  }

  .service-details article {
    border-color: #3f3433;
  }

  .contact-band {
    background: #b73731;
  }

  .contact-page {
    background: #1a1515;
  }

  .contact-form label {
    color: #eee;
  }

  .contact-form input,
  .contact-form textarea {
    color: #fff;
  }

  .text-link {
    color: #f2e8e5;
  }

  .socials.dark a {
    border-color: #8d7774;
    color: #f3e9e6;
  }
}

@media (max-width: 800px) {
  .nav-wrap {
    min-height: 68px;
  }

  .nav-toggle {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 0;
    background: none;
    padding: 10px;
  }

  .nav-toggle i {
    width: 23px;
    height: 2px;
    background: currentColor;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 24px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav a {
    display: block;
    padding: 11px 0;
    border: 0;
  }

  .nav-cta {
    display: none;
  }

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

  .hero-copy {
    padding: 75px 90px 60px 0;
  }

  .hero-visual {
    min-height: 310px;
    margin: 0 calc((100vw - min(100vw - 48px, 1160px)) / -2);
  }

  .two-col,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .story-grid {
    gap: 40px;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }

  .contact-grid {
    gap: 45px;
  }

  .section {
    padding: 75px 0;
  }

  .page-hero {
    padding: 80px 0 62px;
  }

  .service-details article {
    grid-template-columns: 1fr;
    padding: 54px 0;
    gap: 13px;
  }

  .service-details h2 {
    font-size: 31px;
  }

  .client-notice {
    margin: 55px 0;
    padding: 30px;
    align-items: flex-start;
  }

  .values-grid,
  .client-principles {
    gap: 15px;
  }

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

  .contact-band h2 {
    font-size: 29px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 36px, 1160px);
  }

  h1 {
    font-size: 43px;
  }

  .hero-actions,
  .sectors-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading {
    gap: 15px;
    flex-direction: column;
  }

  .service-list a {
    grid-template-columns: 42px 1fr 20px;
  }

  .service-list h3 {
    font-size: 23px;
  }

  .footer-grid,
  .values-grid,
  .client-principles,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    gap: 6px;
    flex-direction: column;
  }

  .story-art {
    min-height: 280px;
  }

  .client-notice {
    gap: 20px;
    flex-direction: column;
  }

  .contact-form label:nth-child(4) {
    grid-column: auto;
  }

  .hero-visual {
    margin: 0 -18px;
  }

  .industrial-mark {
    left: 18%;
    transform: scale(0.85);
    transform-origin: bottom left;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.service-cards-section {
  padding: 100px 0;
  background: #f8f6f4;
}

.service-cards-section h2 {
  margin-bottom: 42px;
}

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

.service-card {
  background: #ffffff;
  border: 1px solid #e6dfdc;
  box-shadow: 0 8px 20px rgba(23, 19, 19, 0.08);
}

.service-card-image {
  position: relative;
  height: 235px;
  overflow: hidden;
  background: #2b2020;
}

.service-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(23, 19, 19, 0.25);
}

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

.service-icon {
  position: absolute;
  z-index: 1;
  bottom: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  background: #c62828;
  color: #ffffff;
  font-size: 21px;
}

.service-card-content {
  padding: 30px 34px 34px;
}

.service-card-content h3 {
  margin-bottom: 18px;
  font-size: 23px;
}

.service-card-content p {
  min-height: 78px;
  color: #6f6261;
  font-size: 16px;
}

.service-card-content a {
  display: inline-block;
  margin-top: 14px;
  color: #c62828;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
}

.service-card-content a span {
  margin-left: 10px;
  font-size: 20px;
}

.service-card:hover {
  transform: translateY(-5px);
  transition: transform 0.25s ease;
}

@media (max-width: 800px) {
  .service-cards {
    grid-template-columns: 1fr;
  }

  .service-card-image {
    height: 260px;
  }
}

/* ---------- Carrossel de logotipos de clientes ---------- */
.client-logos {
  padding: 62px 0 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.client-logos .eyebrow {
  margin-bottom: 30px;
}

.logo-carousel {
  width: 100%;
  height: 100px;
  max-height: 100px;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
}

.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  will-change: transform;
}

.logo-track img {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: auto;
  max-height: 52px;
  max-width: 150px;
  margin: 0 38px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.logo-track img:hover {
  filter: grayscale(0);
  opacity: 1;
}

@media (prefers-color-scheme: dark) {
  .client-logos {
    background: #161212;
    border-color: #3c3231;
  }

  .logo-carousel {
    background: #1d1818;
    border-color: #3c3231;
  }

  .logo-track img {
    filter: grayscale(1) invert(1);
    opacity: 0.5;
  }

  .logo-track img:hover {
    filter: none;
    opacity: 1;
  }
}

@media (max-width: 520px) {
  .client-logos {
    padding-top: 48px;
  }

  .logo-carousel {
    height: 88px;
    max-height: 88px;
  }

  .logo-track img {
    max-height: 42px;
    margin: 0 24px;
  }
}