.s1 {
  background-image:
    linear-gradient(0deg, rgba(3, 12, 27, 0.94), rgba(3, 12, 27, 0.05) 75%),
    url("https://images.unsplash.com/photo-1620626011761-996317b8d101?auto=format&fit=crop&w=1200&q=85");
}
.s2 {
  background-image:
    linear-gradient(0deg, rgba(3, 12, 27, 0.94), rgba(3, 12, 27, 0.05) 75%),
    url("https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1200&q=85");
}
.s3 {
  background-image:
    linear-gradient(0deg, rgba(3, 12, 27, 0.94), rgba(3, 12, 27, 0.05) 75%),
    url("https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=1200&q=85");
}

:root {
  --navy: #020a17;
  --blue: #0877ef;
  --white: #f8fbff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--navy);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
.nav {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  border-bottom: 1px solid #b9dcff2e;
  background: linear-gradient(
    90deg,
    rgba(31, 79, 130, 0.78) 0,
    rgba(9, 35, 67, 0.62) 30%,
    rgba(2, 10, 23, 0.2) 68%
  );
  backdrop-filter: blur(6px);
}
.brand img {
  width: 86px;
  height: 76px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  mix-blend-mode: screen;
}
.nav > .brand {
  position: relative;
  z-index: 1;
  width: 123px;
  height: 97px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #d9ecff42;
  border-radius: 14px;
  background: linear-gradient(145deg, #dceeff24, #64afff12);
  box-shadow: 0 14px 36px #01081580;
}
.nav > .brand img {
  width: 108px;
  height: 88px;
}
.nav nav {
  display: flex;
  gap: 32px;
  margin-left: 36px;
  font-size: 13px;
  color: #c7d4e3;
}
.nav nav a:hover {
  color: white;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  background: var(--blue);
  padding: 18px 22px;
  color: white;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.button span {
  font-size: 18px;
}
.button-small {
  padding: 13px 18px;
  gap: 16px;
}
.hero {
  min-height: 780px;
  position: relative;
  display: grid;
  grid-template-columns: 54% 46%;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 35%, #103669 0, transparent 33%),
    linear-gradient(135deg, #030b18 10%, #071b35 55%, #020816);
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#ffffff06 1px, transparent 1px),
    linear-gradient(90deg, #ffffff06 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 190px 4vw 80px 8vw;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #61abff;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 700;
}
.eyebrow span {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--blue);
}
h1,
h2 {
  margin: 24px 0;
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.05em;
}
h1 {
  font-size: clamp(56px, 6.3vw, 96px);
}
h1 em,
h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #89bcf8;
}
.lead {
  max-width: 650px;
  font-size: 18px;
  line-height: 1.7;
  color: #bac8d7;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 36px;
}
.text-link {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #ffffff44;
  padding: 12px 0;
}
.text-link span {
  margin-left: 12px;
  color: #5ba8ff;
}
.trust {
  display: flex;
  flex-direction: column;
  margin-top: 70px;
  padding-left: 18px;
  border-left: 2px solid var(--blue);
  font-size: 12px;
}
.trust span {
  color: #7e90a6;
  margin-top: 7px;
}
.hero-visual {
  position: relative;
  min-height: 780px;
}
.hero-image {
  position: absolute;
  inset: 106px 0 0;
  background:
    linear-gradient(90deg, #031025cc, transparent 44%),
    url("images/projeto-01.webp") 58% center/cover;
}
.hero-image:after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 100px #020a17;
}
.glass-card {
  position: absolute;
  z-index: 2;
  left: -40px;
  bottom: 80px;
  width: 310px;
  padding: 22px;
  display: flex;
  gap: 16px;
  background: #dcebfb17;
  border: 1px solid #b8d9ff55;
  backdrop-filter: blur(18px);
}
.glass-card > span {
  color: #6db4ff;
  font-size: 26px;
}
.glass-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #aebfd1;
}
.glass-card strong {
  color: white;
  font-size: 14px;
}
.vertical {
  position: absolute;
  right: 20px;
  top: 50%;
  z-index: 2;
  writing-mode: vertical-rl;
  letter-spacing: 0.35em;
  font-size: 9px;
  color: #ffffff99;
}
.services {
  padding: 120px 7vw;
  background: #f4f7fb;
  color: #061225;
}
.section-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12vw;
  align-items: end;
  margin-bottom: 52px;
}
.section-head h2 {
  font-size: clamp(46px, 5vw, 70px);
}
.section-head p:last-child {
  color: #627084;
  line-height: 1.8;
  font-size: 15px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  min-height: 470px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.service-card:before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #ffffff20;
}
.service-num {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: white;
}
.service-card > div {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  color: white;
}
.service-card h3 {
  font-size: 25px;
  margin: 0 0 10px;
}
.service-card p {
  max-width: 280px;
  color: #b9c7d8;
  line-height: 1.55;
  font-size: 13px;
}
.service-card a {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff55;
  color: #68afff;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
  color: #071427;
  min-height: 710px;
}
.about-image {
  min-height: 650px;
  position: relative;
  background:
    linear-gradient(90deg, transparent, #fff 110%),
    url("https://images.unsplash.com/photo-1600573472550-8090b5e0745e?auto=format&fit=crop&w=1300&q=85")
      center/cover;
}
.experience {
  position: absolute;
  right: -1px;
  bottom: 70px;
  padding: 24px 34px;
  background: #0877ef;
  color: white;
  display: flex;
  align-items: center;
  gap: 16px;
}
.experience strong {
  font-size: 42px;
}
.experience span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  line-height: 1.5;
}
.about-copy {
  padding: 110px 8vw 80px 7vw;
}
.about-copy h2,
.contact h2 {
  font-size: clamp(45px, 5vw, 68px);
}
.about-copy > p:not(.eyebrow) {
  color: #627084;
  line-height: 1.8;
}
.features {
  margin: 36px 0;
}
.features > div {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid #dce3eb;
}
.features b {
  font-size: 11px;
  color: #0877ef;
}
.features span {
  display: flex;
  flex-direction: column;
  color: #7a8696;
  font-size: 12px;
  gap: 6px;
}
.features strong {
  color: #0a1729;
  font-size: 14px;
}
.dark {
  color: #0b1829;
  border-color: #c5ced9;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  padding: 120px 8vw;
  background:
    radial-gradient(circle at 80% 30%, #0d376c, transparent 34%), #030c1a;
}
.contact-info > p:not(.eyebrow) {
  color: #91a3b8;
  line-height: 1.7;
  max-width: 570px;
}
.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 48px;
  gap: 28px;
}
.contacts a:last-child {
  grid-column: 1/-1;
}
.contacts a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid #ffffff22;
}
.contacts span {
  font-size: 10px;
  color: #6f86a1;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.contacts strong {
  font-size: 15px;
  line-height: 1.5;
}
.quote-form {
  background: #f7f9fc;
  color: #071427;
  padding: 40px;
}
.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 20px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid #d5dee8;
  background: white;
  padding: 14px;
  color: #132237;
  font: 14px Arial;
  outline: none;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: #0877ef;
}
.quote-form textarea {
  resize: vertical;
}
.submit {
  width: 100%;
  justify-content: space-between;
  cursor: pointer;
  border: 0;
}
.submit:disabled {
  opacity: 0.65;
}
.form-status {
  font-size: 11px;
  color: #6b7888;
  margin: 14px 0 0;
  line-height: 1.5;
}
.form-status.success {
  color: #087d56;
}
.form-status.error {
  color: #b72e37;
}
.trap {
  position: absolute !important;
  left: -10000px !important;
}
footer {
  padding: 35px 7vw;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 35px;
  align-items: center;
  background: #010713;
  border-top: 1px solid #ffffff18;
  color: #728299;
  font-size: 11px;
}
.footer-brand img {
  width: 64px;
  height: 54px;
}
.footer-brand {
  filter: grayscale(0.2);
}
footer div {
  display: flex;
  gap: 22px;
  color: #a9b6c5;
}
.whatsapp {
  position: fixed;
  z-index: 20;
  right: 24px;
  bottom: 24px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0877ef;
  color: white;
  font-size: 29px;
  box-shadow: 0 12px 32px #0008;
}
@media (max-width: 850px) {
  .nav {
    height: 90px;
    padding: 0 18px;
  }
  .nav nav {
    display: none;
  }
  .nav > .brand {
    width: 103px;
    height: 84px;
  }
  .nav > .brand img {
    width: 92px;
    height: 75px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 144px 24px 70px;
  }
  .hero-visual {
    min-height: 520px;
  }
  .hero-image {
    inset: 0;
  }
  .glass-card {
    left: 20px;
    bottom: 25px;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 420px;
  }
  .services {
    padding: 85px 22px;
  }
  .nav .button {
    font-size: 10px;
    padding: 12px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  h1 {
    font-size: 52px;
  }
  .about,
  .contact {
    grid-template-columns: 1fr;
  }
  .about-image {
    min-height: 480px;
  }
  .about-copy {
    padding: 75px 24px;
  }
  .contact {
    padding: 80px 24px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .quote-form {
    padding: 26px 20px;
  }
  .contacts {
    grid-template-columns: 1fr;
  }
  .contacts a:last-child {
    grid-column: auto;
  }
  footer {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  footer div {
    flex-wrap: wrap;
    justify-content: center;
  }
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 110px;
  margin-top: 80px;
}
.service-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) 1.6fr;
  gap: 70px;
  align-items: center;
}
.service-showcase.reverse {
  grid-template-columns: 1.6fr minmax(260px, 0.7fr);
}
.service-showcase.reverse .service-copy {
  order: 2;
}
.service-copy > span {
  font-size: 10px;
  color: #0877ef;
  letter-spacing: 0.2em;
  font-weight: 700;
}
.service-copy h3 {
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 18px 0;
}
.service-copy p {
  font-size: 14px;
  line-height: 1.8;
  color: #68768a;
}
.service-copy ul {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  border-top: 1px solid #dce3eb;
}
.service-copy li {
  padding: 12px 0;
  border-bottom: 1px solid #dce3eb;
  font-size: 12px;
  color: #435066;
}
.service-copy li:before {
  content: "✓";
  color: #0877ef;
  margin-right: 10px;
}
.service-copy a {
  display: inline-block;
  margin-top: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #0877ef;
  color: #071427;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 12px;
}
.project-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-grid.wide img:first-child,
.project-grid.feature img:first-child {
  grid-row: 1/3;
}
.project-grid.feature {
  grid-template-columns: 1.35fr 0.65fr;
}
.project-grid.feature img:last-child:nth-child(3) {
  grid-column: 2;
}
.project-grid.feature:has(img:nth-child(2):last-child) {
  grid-template-columns: 1fr 1fr;
}
.project-grid.feature:has(img:nth-child(2):last-child) img {
  grid-row: 1/3;
}
.project-grid img:hover {
  filter: brightness(1.06);
}
.header-contacts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  margin-left: auto;
}
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.header-phone span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9dcaff;
  white-space: nowrap;
}
.header-phone strong {
  font-size: 15px;
  margin-top: 4px;
}
.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 38px;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid #ffffff1c;
  max-width: 760px;
}
.hero-contact a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 185px;
}
.hero-contact small {
  color: #6f86a1;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 9px;
}
.hero-contact strong {
  font-size: 15px;
}
.contact-main {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 26px;
  margin-top: 40px;
  background: #0877ef;
  color: white;
}
.contact-main span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.75;
}
.contact-main strong {
  font-size: clamp(28px, 3vw, 42px);
  margin-top: 8px;
  letter-spacing: -0.03em;
}
.contact-main b {
  position: absolute;
  right: 24px;
  bottom: 26px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.social-contacts {
  margin-top: 28px;
}
.footer-contact {
  display: flex !important;
  flex-direction: column;
  gap: 3px !important;
}
.footer-contact strong {
  color: white;
  font-size: 14px;
}
.footer-contact strong:nth-of-type(2) {
  margin-top: 8px;
}
.footer-contact span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
@media (max-width: 850px) {
  .service-list {
    gap: 75px;
    margin-top: 55px;
  }
  .service-showcase,
  .service-showcase.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .service-showcase.reverse .service-copy {
    order: 0;
  }
  .project-grid,
  .project-grid.feature,
  .project-grid.feature:has(img:nth-child(2):last-child) {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 10px;
  }
  .project-grid img,
  .project-grid.wide img:first-child,
  .project-grid.feature img:first-child,
  .project-grid.feature:has(img:nth-child(2):last-child) img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    grid-column: auto;
    grid-row: auto;
  }
  .service-copy h3 {
    font-size: 34px;
  }
}
@media (max-width: 1100px) {
  .nav nav {
    display: none;
  }
}
@media (max-width: 850px) {
  .header-contacts {
    display: none;
  }
  .hero-contact {
    flex-direction: column;
    gap: 18px;
    margin-top: 40px;
  }
  .contact-main b {
    position: static;
    margin-top: 15px;
  }
  .contact-main strong {
    font-size: 28px;
  }
}
.project-grid img {
  object-position: center;
}
.service-showcase:nth-child(1) .project-grid img:nth-child(1) {
  object-position: 55% center;
}
.service-showcase:nth-child(1) .project-grid img:nth-child(2) {
  object-position: center 55%;
}
.service-showcase:nth-child(1) .project-grid img:nth-child(3) {
  object-position: center 55%;
}
.service-showcase:nth-child(1) .project-grid img:nth-child(4) {
  object-position: center 48%;
}
.service-showcase:nth-child(2) .project-grid img {
  object-position: center 52%;
}
.service-showcase:nth-child(3) .project-grid img:nth-child(1) {
  object-position: center top;
}
.service-showcase:nth-child(3) .project-grid img:nth-child(2) {
  object-position: center 44%;
}
.service-showcase:nth-child(4) .project-grid img:nth-child(1) {
  object-position: center 58%;
}
.service-showcase:nth-child(4) .project-grid img:nth-child(2) {
  object-position: center 58%;
}
.service-showcase:nth-child(5) .project-grid img:nth-child(1) {
  object-position: center 45%;
}
.service-showcase:nth-child(5) .project-grid img:nth-child(2) {
  object-position: center;
}
.service-showcase:nth-child(6) .project-grid img:first-child {
  object-position: center 55%;
}
.service-showcase:nth-child(6) .project-grid img:last-child {
  object-position: center 55%;
}

.admin-link {
  padding-left: 18px;
  border-left: 1px solid #ffffff24;
  color: #7f91a8;
}

.admin-link:hover {
  color: #ffffff;
}

.project-grid.dynamic-grid {
  display: block;
  columns: 3 205px;
  column-gap: 12px;
}

.project-grid.dynamic-grid img {
  width: 100%;
  height: auto;
  min-width: 0;
  margin: 0 0 12px;
  break-inside: avoid;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.project-grid.dynamic-grid img:hover {
  position: relative;
  z-index: 1;
  transform: scale(1.012);
}

.gallery-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 35px;
  color: #77869a;
  border: 1px dashed #bfccd9;
  background: #edf2f7;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 850px) {
  .project-grid.dynamic-grid {
    columns: 2 180px;
  }

  .project-grid.dynamic-grid img {
    width: 100%;
    height: auto;
  }

  .admin-link {
    width: 100%;
    margin-top: 4px;
    padding: 10px 0 0;
    border-top: 1px solid #ffffff20;
    border-left: 0;
  }
}

@media (max-width: 480px) {
  .project-grid.dynamic-grid {
    columns: 1;
  }
}
