:root {
  --ink: #17191d;
  --paper: #f3f5f6;
  --white: #fff;
  --blue: #169ddd;
  --deep: #173b66;
  --pink: #e72683;
  --yellow: #ffd617;
  --line: #cfd5d9;
  --max: 1240px;
  --display: "Barlow Condensed", sans-serif;
  --body: "Manrope", sans-serif;
}

/* Visualização ampliada das fotos da galeria */
.project-grid img[role="button"] {
  cursor: zoom-in;
}

.project-grid img[role="button"]:focus-visible {
  outline: 3px solid #48b8e9;
  outline-offset: -3px;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  width: min(94vw, 1200px);
  max-width: none;
  max-height: 94vh;
  margin: auto;
  padding: 0;
  overflow: visible;
  color: #fff;
  background: transparent;
  border: 0;
}

.lightbox::backdrop {
  background: rgba(3, 7, 10, 0.92);
  backdrop-filter: blur(5px);
}

.lightbox img {
  display: block;
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox p {
  margin: 12px 48px 0 0;
  color: #fff;
  font: 600 0.9rem/1.4 Manrope, sans-serif;
}

.lightbox-close {
  position: absolute;
  z-index: 1;
  top: 8px;
  right: 8px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: #fff;
  font: 300 2rem/1 Arial, sans-serif;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: #0d6695;
  outline: 2px solid #fff;
  outline-offset: 2px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 100;
  background: #fff;
  padding: 12px 18px;
}
.skip-link:focus {
  top: 12px;
}
.topbar {
  height: 88px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  gap: 38px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 25, 29, 0.96);
  border-bottom: 1px solid #35383d;
}
.brand {
  margin-right: auto;
  flex-shrink: 0;
}
.brand img {
  width: 200px;
  height: 70px;
  object-fit: contain;
}
.topbar nav {
  display: flex;
  gap: 32px;
  color: #dce0e2;
  font: normal 600 14px/1.5 var(--body);
  letter-spacing: 0.01em;
}
.topbar nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  transition: color .2s ease;
}
.topbar nav a:hover,
.topbar nav a:focus-visible {
  color: var(--yellow);
}
.header-cta {
  border-radius: 10px;
  background: var(--yellow);
  color: var(--ink);
  padding: 11px 18px;
  font: normal 600 14px/1.5 var(--body);
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color .2s ease;
}
.header-cta:hover {
  background: #ffe251;
}
.topbar nav a:focus-visible,
.header-cta:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}
.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  margin: 5px;
}
.hero {
  min-height: calc(100vh - 88px);
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 68px;
  padding: 72px 24px 98px;
  position: relative;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  font-weight: 800;
  color: var(--deep);
  margin: 0 0 20px;
}
.projects .section-head > .eyebrow {
  font-size: clamp(20px, 2vw, 28px);
}
.solutions .section-head > .eyebrow {
  font-size: 18px;
}
.hero h1,
.section h2 {
  font: 800 clamp(54px, 6.5vw, 94px)/0.88 var(--display);
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--deep);
}
.lead {
  font-size: 18px;
  max-width: 620px;
  color: #596168;
  margin: 30px 0;
}
.hero-copy {
  min-width: 0;
}
.hero-copy > .eyebrow {
  margin-bottom: clamp(24px, 2.5vw, 36px);
}
.hero h1 {
  font-size: clamp(64px, 7.2vw, 104px);
  line-height: 0.94;
  text-wrap: balance;
}
.hero .lead {
  font-size: clamp(18px, 1.65vw, 21px);
  line-height: 1.65;
  max-width: 42ch;
  margin: clamp(24px, 2.7vw, 38px) 0 0;
  text-wrap: pretty;
}
.hero-detail {
  max-width: 48ch;
  margin: 10px 0 0;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.7;
  text-wrap: pretty;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 16px 20px;
  font-weight: 800;
  font-size: 14px;
  transition:
    0.2s transform,
    0.2s background;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  border-radius: 10px;
  background: var(--deep);
  color: #fff;
}
.btn-primary span {
  color: var(--yellow);
}
.text-link {
  font-size: 13px;
  font-weight: 800;
  border-bottom: 1px solid var(--ink);
}
.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 570px;
  overflow: hidden;
  background: #d7dbde;
}
.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.site-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--yellow);
  width: 112px;
  height: 112px;
  display: grid;
  place-content: center;
  text-align: center;
}
.site-tag span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.site-tag strong {
  font: 800 42px/1 var(--display);
}
.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--ink);
  color: white;
  padding: 17px 23px;
}
.caption span {
  display: block;
  color: var(--yellow);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.caption strong {
  font-size: 13px;
}
.build-line {
  position: absolute;
  bottom: 42px;
  left: 24px;
  width: calc(50% - 58px);
  height: 4px;
  background: var(--line);
}
.build-line span {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--pink) 0 32%,
    var(--blue) 32% 66%,
    var(--yellow) 66%
  );
}
.promise {
  background: var(--deep);
  color: white;
  padding: 58px max(24px, calc((100vw - var(--max)) / 2));
  font: 600 clamp(25px, 3vw, 42px)/1.2 var(--display);
  text-transform: uppercase;
}
.promise p {
  max-width: 1000px;
  margin: 0;
}
.promise strong {
  color: var(--yellow);
}
.section {
  padding: 120px max(24px, calc((100vw - var(--max)) / 2));
}
.solutions.section,
.process.section,
.projects.section {
  padding-block: clamp(60px, 7vw, 90px);
}
.section-head {
  display: grid;
  grid-template-columns: 0.55fr 1.25fr 0.7fr;
  gap: 42px;
  align-items: end;
  margin-bottom: 70px;
}
.section h2 {
  font-size: clamp(48px, 5.4vw, 76px);
}
.section-head > p:last-child {
  color: #687078;
  margin: 0;
}
.solution-list {
  border-top: 1px solid var(--line);
}
.solution {
  display: grid;
  grid-template-columns: 0.5fr 1fr 1fr;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.phase {
  font: 700 15px var(--display);
  text-transform: uppercase;
  color: var(--deep);
}
.solution h3 {
  font: 700 30px/1 var(--display);
  text-transform: uppercase;
  margin: 0;
}
.solution p {
  margin: 0;
  color: #687078;
}
.process {
  background: var(--ink);
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
}
.process-image {
  position: relative;
  min-height: 660px;
}
.process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process-image span {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--yellow);
  color: var(--ink);
  padding: 13px 18px;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.process .eyebrow {
  color: var(--yellow);
}
.process-copy {
  align-self: center;
}
.process-copy h2 {
  font-size: clamp(47px, 5vw, 70px);
}
.process ol {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
}
.process li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid #3b3d42;
}
.process li > span {
  color: var(--yellow);
  font: 700 17px var(--display);
}
.process li strong {
  font: 700 24px var(--display);
  text-transform: uppercase;
}
.process li p {
  margin: 4px 0 0;
  color: #aeb4b8;
  font-size: 14px;
}
.project-grid > figure[hidden] {
  display: none;
}
.projects-more {
  display: flex;
  margin: 36px auto 0;
  border: 0;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s;
}
.projects-more:hover,
.projects-more:focus-visible {
  color: var(--yellow);
}
.projects {
  background: #fff;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: row dense;
  gap: 18px;
}
.project-wide {
  grid-column: span 2;
}
.project-main {
  margin: 0;
  background: var(--ink);
  color: #fff;
}
.project-main img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.project-wide img {
  object-position: center 38%;
}
.project-tall img {
  object-position: center 32%;
}
.project-main figcaption {
  padding: 18px 22px;
  font-weight: 600;
}
.project-main figcaption span {
  color: var(--yellow);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-right: 15px;
}
.contact.section {
  padding-block: clamp(40px, 5vw, 64px);
}
.contact {
  background: var(--blue);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: end;
}
.contact .eyebrow {
  color: #092c4c;
}
.contact h2 {
  color: #fff;
}
.contact-copy > p:last-child {
  max-width: 560px;
  color: #0b3455;
}
.contact-actions {
  display: grid;
  align-self: center;
  min-width: 0;
  gap: 0;
}
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #fff;
}
.contact-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}
.contact-actions .btn {
  display: grid;
  grid-template-columns: 1fr auto;
}
.contact-actions .contact-label {
  grid-column: 1/-1;
}
.contact-actions .contact-link {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 5px 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
  letter-spacing: 0;
  transition: color .2s ease, transform .2s ease;
}
.contact-link > span {
  overflow-wrap: anywhere;
  transition: color .2s ease;
}
.contact-actions .contact-link:hover,
.contact-actions .contact-link:focus-visible {
  color: var(--yellow);
}
.contact-link > i {
  width: 26px;
  font-size: 26px;
  text-align: center;
}
.contact-link:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}
footer {
  background: var(--ink);
  color: #939a9f;
  padding: 45px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  font-size: 12px;
}
footer img {
  width: 160px;
}
footer p:last-child {
  text-align: right;
}
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  background: #20c767;
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 800 13px var(--body);
  box-shadow: 0 12px 30px #0003;
}
.reveal {
  opacity: 1;
  transform: none;
}
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.js .reveal.visible {
  opacity: 1;
  transform: none;
}
:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}
@media (min-width: 901px) and (max-width: 1100px) {
  .topbar {
    gap: 18px;
  }
  .topbar nav {
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .topbar {
    padding: 0 20px;
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .topbar nav {
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--ink);
    padding: 24px;
    display: none;
    flex-direction: column;
    gap: 12px;
    max-height: calc(100dvh - 116px);
    overflow-y: auto;
  }
  .topbar nav.open {
    display: flex;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 55px;
  }
  .hero-visual {
    min-height: 470px;
  }
  .build-line {
    display: none;
  }
  .section-head {
    grid-template-columns: 1fr;
  }
  .solution {
    grid-template-columns: 0.45fr 1fr;
  }
  .solution p {
    grid-column: 2;
  }
  .process {
    grid-template-columns: 1fr;
  }
  .process-image {
    min-height: 480px;
  }
  .project-grid,
  .contact {
    grid-template-columns: 1fr;
  }
  .project-wide {
    grid-column: auto;
  }
  footer {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  footer p {
    margin: 0;
  }
  footer p:last-child {
    text-align: left;
  }
}
@media (max-width: 540px) {
  .brand img {
    width: 160px;
  }
  .hero {
    padding: 44px 18px 72px;
    gap: 40px;
  }
  .hero h1 {
    font-size: clamp(44px, 12vw, 64px);
  }
  .hero-detail {
    display: none;
  }
  .hero-visual {
    min-height: 390px;
  }
  .site-tag {
    width: 82px;
    height: 82px;
  }
  .section {
    padding: 82px 18px;
  }
  .promise {
    padding: 44px 18px;
  }
  .solution {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .solution p {
    grid-column: auto;
  }
  .process-image {
    min-height: 370px;
  }
  .project-main img {
    height: 290px;
  }
  .contact-actions .contact-link {
    font-size: 16px;
    gap: 10px;
    padding: 5px 0;
  }
  footer {
    padding: 40px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn {
    transition: none;
  }
}
