/* ==========================================================================
   MORAES — Comércio e Serviços
   Site institucional · Estruturas metálicas e fachadas de ACM
   ========================================================================== */

/* Fontes ------------------------------------------------------------------ */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* Base -------------------------------------------------------------------- */
:root {
  --ink: #20242c;
  --ink-deep: #171a20;
  --ink-soft: #262b34;
  --gold: #ffc823;
  --gold-deep: #e9b213;
  --paper: #f4f1ea;
  --paper-soft: #fbfaf6;
  --white: #ffffff;
  --steel: #a7adb7;
  --muted: #61666f;
  --line: #d9d4c7;
  --line-dark: rgba(255, 255, 255, 0.12);
  --section: clamp(76px, 9vw, 122px);
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 86px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Archivo", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.section--dark :focus-visible,
.hero :focus-visible,
.cta :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible,
.mobile-menu :focus-visible {
  outline-color: var(--gold);
}

/* Utilidades -------------------------------------------------------------- */
.container {
  width: min(1240px, 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: none;
  vertical-align: middle;
}

.svg-sprite {
  position: absolute !important;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

.section {
  position: relative;
  padding: var(--section) 0;
}

.section--dark {
  background: var(--ink);
  color: var(--white);
}

.section--dark p {
  color: #abb1bb;
}

/* Tipografia de seção ----------------------------------------------------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #5f646d;
}

.kicker span {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section--dark .kicker {
  color: #9aa1ab;
}

.kicker--gold {
  color: var(--gold);
}

.kicker--gold span {
  color: var(--gold);
}

.section-title {
  max-width: 16ch;
  font-size: clamp(2rem, 3.8vw, 2.95rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  color: #3f444d;
}

.section--dark .lead {
  color: #d2d6dc;
}

.head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: 48px;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.head__text {
  padding-bottom: 5px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 44ch;
}

.section--dark .head__text {
  color: #a7adb7;
}

/* Botões ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease,
    color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}

.btn:hover .icon {
  transform: translateX(2px);
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #191c22;
}

.btn--gold:hover {
  background: #f3b90c;
  border-color: #f3b90c;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -16px rgba(0, 0, 0, 0.55);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.68);
}

.btn--outline {
  background: transparent;
  border-color: rgba(32, 36, 44, 0.34);
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--lg {
  min-height: 54px;
  padding: 0 26px;
}

.btn--full {
  width: 100%;
}

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(32, 36, 44, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: height 0.3s ease, box-shadow 0.3s ease;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: var(--header-h);
}

.site-header.is-scrolled {
  box-shadow: 0 14px 34px -22px rgba(0, 0, 0, 0.9);
}

.site-header.is-scrolled .header__inner {
  height: 72px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  text-decoration: none;
  line-height: 1;
}

.brand__word {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.015em;
  text-align: center;
}

.brand__sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 7px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.26em;
  white-space: nowrap;
}

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

.nav__link {
  position: relative;
  padding: 12px 13px;
  color: #d7dbe1;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 5px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--gold);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__link.is-active {
  color: var(--white);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c6cbd3;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.header__phone .icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.header__phone:hover {
  color: var(--white);
}

.header__cta {
  min-height: 42px;
  padding: 0 17px;
  font-size: 10.5px;
}

.header__cta .icon {
  width: 16px;
  height: 16px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  background: transparent;
  color: var(--white);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 20px;
  height: 16px;
  margin: auto;
}

.nav-toggle__bars span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

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

/* Menu mobile ------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  padding: 108px var(--gutter) 30px;
  background: var(--ink-deep);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  min-height: calc(100% - 20px);
  margin-inline: auto;
}

.mobile-menu__label {
  margin-bottom: 20px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 36px);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.3s var(--ease);
}

.mobile-menu__link span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.mobile-menu__link:hover {
  padding-left: 6px;
  color: var(--gold);
}

.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: auto;
  padding-top: 36px;
}

.mobile-menu__phone {
  color: var(--steel);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-decoration: none;
}

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink-deep);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: saturate(0.8) contrast(1.05) brightness(0.78);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #171a20 0%, rgba(23, 26, 32, 0.98) 38%, rgba(23, 26, 32, 0.9) 62%, rgba(23, 26, 32, 0.58) 84%, rgba(23, 26, 32, 0.44) 100%),
    linear-gradient(0deg, #171a20 0%, rgba(23, 26, 32, 0.18) 38%, transparent 64%);
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 108px 108px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.5) 52%, transparent 78%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.5) 52%, transparent 78%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: min(760px, calc(100svh - var(--header-h)));
  padding-top: clamp(70px, 9vw, 110px);
  padding-bottom: clamp(64px, 8vw, 100px);
}

.hero__content {
  max-width: 880px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 880px;
  font-size: clamp(2.55rem, 5.3vw, 4.55rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero__text {
  max-width: 590px;
  margin-top: 26px;
  color: #c7ccd4;
  font-size: clamp(1rem, 1.2vw, 1.13rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #969da8;
  font-size: 12px;
  letter-spacing: 0.015em;
}

.hero__note .icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

/* Faixa de compromissos --------------------------------------------------- */
.promise-bar {
  background: var(--gold);
  color: #191c22;
}

.promise-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.promise {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
}

.promise + .promise {
  border-left: 1px solid rgba(32, 36, 44, 0.22);
}

.promise__mark {
  width: 4px;
  height: 4px;
  flex: none;
  background: currentColor;
  transform: rotate(45deg);
}

/* Empresa ----------------------------------------------------------------- */
.about {
  background: var(--paper);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.about__figure {
  position: relative;
  margin: 0;
  isolation: isolate;
}

.about__figure::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  z-index: -1;
  border: 1px solid rgba(255, 200, 35, 0.62);
  pointer-events: none;
}

.about__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 32%;
  filter: saturate(0.88) contrast(1.03);
}

.about__figure figcaption,
.acm__figure figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 13px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(23, 26, 32, 0.94);
  color: #f1f2f4;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.015em;
}

.about__figure figcaption span,
.acm__figure figcaption span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.about__content > p {
  margin-top: 18px;
  color: #50555e;
}

.about__content .lead {
  max-width: 53ch;
  color: #3e434c;
}

.about__content > p:not(.lead):not(.kicker):not(.about__signature) {
  max-width: 60ch;
}

.features {
  margin-top: 32px;
  border-bottom: 1px solid var(--line);
}

.features li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.features__num {
  padding-top: 3px;
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.features h3 {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.005em;
}

.features p {
  color: #626770;
  font-size: 14.5px;
  line-height: 1.55;
}

.about__signature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: #50555e;
  font-size: 13.5px;
  line-height: 1.5;
}

.about__signature span {
  width: 30px;
  height: 1px;
  flex: none;
  background: var(--gold);
}

/* Serviços ---------------------------------------------------------------- */
.services {
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 380px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: linear-gradient(135deg, transparent 15%, #000 100%);
  mask-image: linear-gradient(135deg, transparent 15%, #000 100%);
  pointer-events: none;
}

.services .container {
  position: relative;
}

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

.service {
  display: flex;
  flex-direction: column;
  min-height: 332px;
  padding: 28px 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.018);
  transition: background-color 0.3s ease, border-color 0.3s ease,
    transform 0.35s var(--ease);
}

.service:hover {
  border-color: rgba(255, 200, 35, 0.45);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-3px);
}

.service__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.service__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--gold);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.service:hover .service__icon {
  border-color: rgba(255, 200, 35, 0.55);
  background: rgba(255, 200, 35, 0.05);
}

.service__icon svg {
  width: 25px;
  height: 25px;
}

.service__num {
  padding-top: 3px;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.service h3 {
  margin: 24px 0 9px;
  color: var(--white);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.service > p:not(.service__tags) {
  color: #a9afb9;
  font-size: 14.5px;
  line-height: 1.6;
}

.service__tags {
  margin-top: 16px;
  color: #7f8793;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.service__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  padding: 14px 0 4px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.service__link .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.service__link:hover .icon {
  transform: translateX(3px);
}

/* ACM --------------------------------------------------------------------- */
.acm {
  background: var(--paper);
  overflow: hidden;
}

.acm__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(44px, 6.5vw, 86px);
}

.acm__content > p {
  margin-top: 18px;
  color: #50555e;
}

.acm__content .lead {
  max-width: 52ch;
  color: #3e434c;
}

.checklist {
  display: grid;
  gap: 11px;
  margin-top: 28px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #474c55;
  font-size: 15.5px;
  line-height: 1.55;
}

.checklist__icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  border: 1px solid rgba(255, 200, 35, 0.65);
  color: var(--ink);
}

.checklist__icon .icon,
.checklist__icon svg {
  width: 12px;
  height: 12px;
}

.acm__note {
  margin-top: 26px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  background: #edeae1;
  color: #555a63;
  font-size: 13.5px;
  line-height: 1.55;
}

.acm__note strong {
  color: var(--ink);
  font-weight: 650;
}

.acm .btn {
  margin-top: 28px;
}

.acm__figure {
  position: relative;
  margin: 0;
}

.acm__figure::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  z-index: 0;
  border: 1px solid rgba(255, 200, 35, 0.55);
  pointer-events: none;
}

.acm__figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: 50% 45%;
  filter: saturate(0.92) contrast(1.02);
}

.acm__figure figcaption {
  z-index: 2;
  left: auto;
  right: 18px;
}

/* Obras ------------------------------------------------------------------- */
.works {
  background: #171a20;
}

.works__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, 258px);
  gap: 16px;
}

.work-card {
  position: relative;
  margin: 0;
  background: #23272f;
  overflow: hidden;
}

.work-card--tall {
  grid-row: span 2;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  filter: saturate(0.82) contrast(1.04);
  transition: transform 0.9s var(--ease), filter 0.4s ease;
}

.work-card:hover img {
  transform: scale(1.035);
  filter: saturate(0.95) contrast(1.03);
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 15, 19, 0.92) 0%, rgba(13, 15, 19, 0.32) 40%, transparent 70%);
  pointer-events: none;
}

.work-card figcaption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 2;
}

.work-card small {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.work-card strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

/* Processo ---------------------------------------------------------------- */
.process {
  background: var(--paper);
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.step {
  position: relative;
  padding-top: 24px;
  border-top: 1px solid #d3cec1;
}

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 38px;
  height: 2px;
  background: var(--gold);
}

.step__num {
  display: block;
  margin-bottom: 22px;
  color: transparent;
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  -webkit-text-stroke: 1px #b9b3a4;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.step p {
  color: #5d626b;
  font-size: 14.5px;
  line-height: 1.6;
}

.process__note {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 680px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #6b7079;
  font-size: 12.5px;
  line-height: 1.5;
}

.process__note::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--gold);
  transform: rotate(45deg);
}

/* CTA --------------------------------------------------------------------- */
.cta {
  position: relative;
  background: var(--ink-deep);
  color: var(--white);
  overflow: hidden;
}

.cta__drawing {
  position: absolute;
  top: 50%;
  right: max(var(--gutter), calc((100vw - 1240px) / 2));
  width: min(36vw, 480px);
  color: var(--gold);
  opacity: 0.5;
  transform: translateY(-50%);
  pointer-events: none;
}

.cta__drawing svg {
  display: block;
  width: 100%;
  height: auto;
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta__content {
  max-width: 620px;
  padding: clamp(62px, 8vw, 96px) 0;
}

.cta .section-title {
  max-width: 14ch;
}

.cta__content > p:not(.kicker):not(.cta__note) {
  max-width: 46ch;
  margin-top: 20px;
  color: #b9bfc8;
  font-size: 15.5px;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.cta__note {
  margin-top: 18px;
  color: #868d98;
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

/* FAQ --------------------------------------------------------------------- */
.faq {
  background: var(--paper);
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(44px, 6.5vw, 84px);
}

.faq__aside {
  position: sticky;
  top: 110px;
}

.faq__aside > p {
  max-width: 36ch;
  margin-top: 20px;
  color: #5a5f68;
  font-size: 15.5px;
}

.faq__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(32, 36, 44, 0.35);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.faq__link .icon {
  width: 14px;
  height: 14px;
  color: var(--gold-deep);
}

.faq__link:hover {
  color: #8a6700;
  border-color: #8a6700;
}

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

.faq__item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 19px 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.005em;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary:hover {
  color: #8a6700;
}

.faq__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after {
  background: var(--gold-deep);
}

.faq__answer {
  padding: 0 46px 20px 0;
}

.faq__answer p {
  max-width: 66ch;
  color: #5a5f68;
  font-size: 15px;
  line-height: 1.65;
}

/* Contato ----------------------------------------------------------------- */
.contact {
  background: var(--ink);
  overflow: hidden;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(44px, 6.5vw, 80px);
}

.contact__content > p {
  max-width: 40ch;
  margin-top: 20px;
  color: #aab0ba;
  font-size: 15.5px;
}

.contact__list {
  display: grid;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 72px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--white);
  text-decoration: none;
}

.contact-link__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--gold);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.contact-link__icon svg {
  width: 18px;
  height: 18px;
}

.contact-link__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-link__text small {
  color: #8d94a0;
  font-family: var(--font-display);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.contact-link__text strong {
  overflow-wrap: anywhere;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.contact-link__arrow {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: var(--gold);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.contact-link:hover .contact-link__icon {
  border-color: rgba(255, 200, 35, 0.55);
  background: rgba(255, 200, 35, 0.05);
}

.contact-link:hover .contact-link__arrow {
  opacity: 1;
  transform: none;
}

.contact-link--static {
  cursor: default;
}

.contact__note {
  max-width: 38ch;
  margin-top: 28px;
  padding-left: 15px;
  border-left: 2px solid var(--gold);
  color: #a7adb7;
  font-size: 13.5px;
  line-height: 1.6;
}

/* Formulário -------------------------------------------------------------- */
.quote-form {
  padding: clamp(26px, 3.6vw, 38px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 70px -38px rgba(0, 0, 0, 0.65);
}

.quote-form__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.quote-form__sub {
  margin-top: 6px;
  margin-bottom: 24px;
  color: #626770;
  font-size: 13.5px;
  line-height: 1.5;
}

.field {
  margin-bottom: 15px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: #464b54;
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.field label span {
  color: #9a6a00;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  border: 1px solid #d4cfc1;
  border-radius: 2px;
  background-color: var(--paper-soft);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 104px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9297a0;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #c79600;
  box-shadow: 0 0 0 3px rgba(255, 200, 35, 0.28);
}

.field select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2320242C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  cursor: pointer;
  appearance: none;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field__error {
  margin-top: 5px;
  color: #9c2f20;
  font-size: 12px;
  line-height: 1.4;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #b33a2b;
  box-shadow: 0 0 0 3px rgba(179, 58, 43, 0.09);
}

.quote-form .btn {
  margin-top: 6px;
}

.quote-form__privacy {
  margin-top: 11px;
  color: #7b8089;
  font-size: 11px;
  line-height: 1.5;
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
  background: #13161b;
  color: #a8aeb8;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.55fr 0.8fr 1fr 1.05fr;
  gap: 40px;
  padding: 70px 0 54px;
}

.brand--footer .brand__word {
  font-size: 31px;
}

.brand--footer {
  display: inline-flex;
}

.footer__desc {
  max-width: 31ch;
  margin-top: 16px;
  color: #8f96a1;
  font-size: 13.5px;
  line-height: 1.65;
}

.footer__social {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.footer__social .icon {
  width: 16px;
  height: 16px;
}

.footer__social:hover {
  border-color: var(--gold);
  background: rgba(255, 200, 35, 0.06);
  color: var(--gold);
}

.footer__title {
  margin: 4px 0 16px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer__links {
  display: grid;
  gap: 8px;
}

.footer__links a,
.footer__contact a,
.footer__contact li {
  color: #a8aeb8;
  font-size: 13.5px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--white);
}

.footer__contact {
  display: grid;
  gap: 9px;
}

.footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 200, 35, 0.45);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer__cta .icon {
  width: 12px;
  height: 12px;
}

.footer__cta:hover {
  border-color: var(--gold);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #7b828d;
  font-size: 11.5px;
  line-height: 1.5;
}

.footer__bottom a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #a8aeb8;
  text-decoration: none;
}

.footer__bottom a:hover {
  color: var(--gold);
}

.footer__bottom .icon {
  width: 12px;
  height: 12px;
}

/* WhatsApp flutuante ------------------------------------------------------ */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--gold);
  color: #191c22;
  box-shadow: 0 16px 38px -14px rgba(0, 0, 0, 0.6);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease),
    visibility 0.3s ease, background-color 0.25s ease;
}

.wa-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.wa-float:hover {
  background: #f3b90c;
}

.wa-float .icon {
  width: 24px;
  height: 24px;
}

.wa-float__label {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  color: #191c22;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: max-width 0.35s var(--ease), margin-left 0.35s var(--ease),
    opacity 0.2s ease;
}

.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label {
  max-width: 160px;
  margin-left: 9px;
  opacity: 1;
}

/* Revelação ao rolar ------------------------------------------------------ */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease) var(--d, 0s),
    transform 0.7s var(--ease) var(--d, 0s);
}

.reveal-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Responsivo -------------------------------------------------------------- */
@media (max-width: 1200px) {
  .header__phone {
    display: none;
  }

  .nav__link {
    padding-inline: 10px;
  }

  .nav__link::after {
    left: 10px;
    right: 10px;
  }

  .cta__drawing {
    display: none;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 76px;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header__inner {
    gap: 18px;
  }

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

  .service {
    min-height: 310px;
  }
}

@media (max-width: 980px) {
  .hero__inner {
    min-height: min(680px, calc(100svh - var(--header-h)));
    padding-top: 64px;
    padding-bottom: 58px;
  }

  .hero__content {
    max-width: 760px;
  }

  .head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 38px;
  }

  .head__text {
    max-width: 55ch;
  }

  .about__grid,
  .acm__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .about__grid {
    gap: 48px;
  }

  .about__figure {
    max-width: 620px;
  }

  .about__figure img {
    aspect-ratio: 1 / 1;
  }

  .acm__grid {
    gap: 48px;
  }

  .acm__figure {
    max-width: 640px;
  }

  .acm__figure img {
    aspect-ratio: 4 / 3;
  }

  .faq__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq__aside {
    position: static;
    max-width: 620px;
  }

  .process__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 28px;
  }

  .cta__content {
    max-width: 720px;
    padding: 62px 0 56px;
  }

  .cta .section-title {
    max-width: 17ch;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 34px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__desc {
    max-width: 46ch;
  }
}

@media (max-width: 800px) {
  .works__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .work-card,
  .work-card--tall {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .work-card--tall {
    aspect-ratio: 4 / 4.4;
  }

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

  .promise {
    min-height: 48px;
    padding: 9px 12px;
  }

  .promise:nth-child(odd) {
    border-left: 0;
  }

  .promise:nth-child(n + 3) {
    border-top: 1px solid rgba(32, 36, 44, 0.22);
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

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

  .service {
    min-height: 0;
    padding: 26px 24px;
  }

  .service__link {
    margin-top: 10px;
  }

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

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .quote-form {
    padding: 26px 20px;
  }

  .hero__inner {
    padding-top: 52px;
    padding-bottom: 46px;
  }

  .hero__eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.18em;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8.6vw, 3.05rem);
  }

  .hero__text {
    margin-top: 20px;
  }

  .hero__actions {
    margin-top: 28px;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 72px;
  }

  .site-header.is-scrolled .header__inner {
    height: 66px;
  }

  .brand__word {
    font-size: 26px;
  }

  .brand__sub {
    font-size: 6px;
    letter-spacing: 0.22em;
  }

  .header__cta {
    width: 44px;
    padding: 0;
    gap: 0;
    font-size: 0;
  }

  .header__cta .icon {
    width: 20px;
    height: 20px;
  }

  .header__actions {
    gap: 10px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__note {
    align-items: flex-start;
    font-size: 11px;
  }

  .promise {
    font-size: 8.5px;
    letter-spacing: 0.1em;
  }

  .section-title {
    font-size: clamp(1.85rem, 7.5vw, 2.4rem);
  }

  .about__figure::after {
    inset: 10px -10px -10px 10px;
  }

  .acm__figure::before {
    inset: -10px 10px 10px -10px;
  }

  .about__content .lead,
  .acm__content .lead {
    font-size: 17px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 56px 0 40px;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .faq__answer {
    padding-right: 20px;
  }

  .wa-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
    padding: 0;
    justify-content: center;
  }

  .wa-float__label {
    display: none;
  }
}

@media (max-width: 400px) {
  .brand__word {
    font-size: 23px;
  }

  .brand__sub {
    font-size: 5.5px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .header__cta {
    width: 40px;
    height: 40px;
    min-height: 40px;
  }
}

/* Movimento reduzido ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Impressão --------------------------------------------------------------- */
@media print {
  .site-header,
  .mobile-menu,
  .wa-float,
  .cta__drawing,
  .site-footer,
  .hero__bg,
  .hero__grid {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .hero,
  .section--dark,
  .cta {
    background: #fff !important;
    color: #000 !important;
  }

  .section {
    padding: 24pt 0;
  }

  .hero h1,
  .section-title,
  .service h3 {
    color: #000 !important;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
  }
}
