/* ==========================================================================
   Intelio — main stylesheet
   Structure, typography and imagery follow intelio.com.br. The refinement
   is in rhythm: wider measures, lighter rules, calmer weights and a type
   scale that holds up at any width.
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  /* ink */
  --ink:          #1d1d1f;
  --ink-soft:     #4a4a4e;
  --body:         #6f6f73;
  --body-light:   #8c8c91;

  /* surfaces */
  --surface:      #ffffff;
  --band:         #f2f1ef;
  --panel:        #ebeae8;

  /* lines */
  --rule:         #e4e2df;
  --rule-soft:    #efedea;
  --rule-dark:    rgba(255, 255, 255, 0.11);

  /* ação — tons neutros, sem azul */
  --action:       #2a2a2d;
  --action-deep:  #000000;

  --header-bg:        rgba(24, 24, 26, 0.42);
  --header-bg-solid:  rgba(22, 22, 24, 0.94);

  /* type */
  --font: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --fs-micro:  0.69rem;
  --fs-small:  clamp(0.80rem, 0.78rem + 0.10vw, 0.86rem);
  --fs-body:   clamp(0.94rem, 0.90rem + 0.17vw, 1.02rem);
  --fs-lead:   clamp(1.02rem, 0.97rem + 0.26vw, 1.16rem);
  --fs-h4:     clamp(1.00rem, 0.95rem + 0.22vw, 1.14rem);
  --fs-h3:     clamp(1.30rem, 1.17rem + 0.62vw, 1.72rem);
  --fs-h2:     clamp(1.58rem, 1.33rem + 1.15vw, 2.35rem);
  --fs-h1:     clamp(1.80rem, 1.42rem + 1.60vw, 2.75rem);

  /* tracking — tight, but less brittle than the original -2px */
  --track-display: -0.018em;
  --track-label:    0.16em;

  /* rhythm */
  --container: 1180px;
  --container-tight: 980px;
  --gutter: clamp(1.5rem, 5vw, 3.5rem);
  --section: clamp(5.5rem, 9.5vw, 11rem);
  --header-h: 80px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--body);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.82;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: var(--track-display);
  line-height: 1.18;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------- layout -- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--tight { max-width: var(--container-tight); }

.section { padding-block: var(--section); }
.section--half { padding-block: calc(var(--section) * 0.58); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.85rem 1.3rem;
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-small);
}
.skip-link:focus { left: 1rem; top: 1rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* small uppercase label, used throughout */
.label {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--body-light);
  line-height: 1.6;
}

/* --------------------------------------------------------------- header -- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(1.3) blur(12px);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  transition: background 0.4s var(--ease);
}
.site-header.is-stuck { background: var(--header-bg-solid); }

/* páginas de fundo claro precisam do cabeçalho sólido desde o topo */
.site-header--solid { background: var(--header-bg-solid); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: var(--header-h);
}

.brand img {
  width: clamp(59px, 5.4vw, 71px);   /* 25% menor que o original */
  transition: opacity 0.3s var(--ease);
}
.brand:hover img { opacity: 0.75; }

/* nav */
.main-nav { display: flex; align-items: center; gap: clamp(1.6rem, 2.8vw, 2.9rem); }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0;
  font-family: var(--font);
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0.015em;
  color: rgba(255, 255, 255, 0.74);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.32s var(--ease);
}
.nav-link:hover,
.nav-link[aria-expanded="true"],
.nav-link.is-current { color: #fff; }

.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -1px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  transition: right 0.42s var(--ease);
}
.nav-link:hover::after,
.nav-link[aria-expanded="true"]::after,
.nav-link.is-current::after { right: 0; }

.nav-caret {
  width: 0.38rem; height: 0.38rem;
  border-right: 1.3px solid currentColor;
  border-bottom: 1.3px solid currentColor;
  rotate: 45deg;
  translate: 0 -2px;
  transition: rotate 0.3s var(--ease);
}
.nav-link[aria-expanded="true"] .nav-caret { rotate: 225deg; translate: 0 1px; }

/* dropdown */
.nav-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 1.25rem);
  left: 50%;
  translate: -50% -6px;
  min-width: 16rem;
  padding: 0.35rem;
  background: var(--surface);
  box-shadow: 0 20px 48px -18px rgba(0, 0, 0, 0.32);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), translate 0.28s var(--ease), visibility 0.28s;
}
.dropdown-menu::before {
  content: "";
  position: absolute;
  inset: -1.25rem 0 auto;
  height: 1.25rem;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.dropdown-menu.is-open { opacity: 1; visibility: visible; translate: -50% 0; }

.dropdown-item {
  display: block;
  padding: 0.9rem 1.05rem;
  transition: background 0.24s var(--ease);
}
.dropdown-item:hover { background: var(--band); }
.dropdown-item__name {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: var(--track-display);
  color: var(--ink);
}
.dropdown-item__desc {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--body);
}

/* mobile toggle */
.nav-toggle {
  display: none;
  position: relative;
  width: 2.5rem; height: 2.5rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.26);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 1rem; height: 1.3px;
  background: #fff;
  translate: -50% 0;
  transition: 0.28s var(--ease);
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { content: ""; translate: -50% -5px; }
.nav-toggle span::after  { content: ""; translate: -50% 5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { translate: -50% 0; rotate: 45deg; }
.nav-toggle[aria-expanded="true"] span::after  { translate: -50% 0; rotate: -45deg; }

/* ----------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(540px, 80vh, 820px);
  padding: calc(var(--header-h) + 5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background-size: cover;
  background-position: center;
  text-align: left;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(18, 18, 20, 0.66) 0%,
    rgba(26, 26, 28, 0.46) 48%,
    rgba(18, 18, 20, 0.62) 100%
  );
}

.hero__title { color: #fff; max-width: 20ch; }

.hero__divider {
  width: 34px; height: 1px;
  margin: clamp(1.8rem, 3vw, 2.5rem) 0;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-lead);
  font-weight: 400;
  max-width: 44ch;
}

/* inner page hero */
.page-hero { min-height: clamp(380px, 56vh, 540px); padding: calc(var(--header-h) + 3rem) 0 3rem; }
.page-hero .hero__eyebrow {
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}
.page-hero .hero__title { font-size: var(--fs-h2); max-width: 20ch; }

/* slim hero, used on the project pages */
.hero--slim {
  min-height: clamp(210px, 26vh, 290px);
  padding: calc(var(--header-h) + 1rem) 0 1rem;
}

/* ------------------------------------------------------------- features -- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
}
.feature { text-align: center; }

/* traço fino, quase sem peso: ganha tinta só no hover */
.feature__icon {
  margin: 0 auto clamp(1.6rem, 2.6vw, 2.15rem);
  fill: none;
  stroke: #c7c4bf;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.45s var(--ease);
}
.feature:hover .feature__icon { stroke: var(--ink); }

.feature__title { margin-bottom: 1.25rem; }
.feature__text { max-width: 34ch; margin-inline: auto; }

/* ---------------------------------------------------------------- bands -- */
.band { background: var(--band); }

/* faixa com forma vazada ao fundo: só textura, sem disputar leitura */
.band--figure { position: relative; overflow: hidden; }
.band--figure > .container { position: relative; z-index: 1; }

.band--figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.9) 1px, transparent 1.1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(128% 92% at 74% 50%, #000 0%, transparent 72%);
  mask-image: radial-gradient(128% 92% at 74% 50%, #000 0%, transparent 72%);
  opacity: 0.6;
  pointer-events: none;
}

.band__figure {
  position: absolute;
  top: 50%;
  right: -6%;
  width: min(780px, 66vw);
  aspect-ratio: 1;
  translate: 0 -50%;
  pointer-events: none;
}
.band__figure svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #fff;
  stroke-width: 0.26;
}

.section-title { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.section-title__kicker { margin-bottom: 1rem; }

.client-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.client-logo img {
  width: 100%;
  max-width: 158px;
  margin-inline: auto;
  opacity: 0.84;
  transition: opacity 0.45s var(--ease), scale 0.45s var(--ease);
}
.client-logo:hover img { opacity: 1; scale: 1.05; }

.band__action { margin-top: clamp(3rem, 6vw, 4.25rem); }

/* --------------------------------------------------------------- button -- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.3rem;
  font-family: var(--font);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: color 0.32s var(--ease), background 0.32s var(--ease),
              border-color 0.32s var(--ease);
}
.btn:hover { color: #fff; background: var(--ink); border-color: var(--ink); }

.btn--primary { color: #fff; background: var(--action); border-color: var(--action); }
.btn--primary:hover { color: #fff; background: var(--action-deep); border-color: var(--action-deep); }

.btn--solid { color: #fff; background: var(--ink); border-color: var(--ink); }
.btn--solid:hover { background: var(--action-deep); border-color: var(--action-deep); }

.btn--light { color: rgba(255,255,255,0.88); border-color: rgba(255,255,255,0.34); }
.btn--light:hover { color: var(--ink); background: #fff; border-color: #fff; }

/* -------------------------------------------------------- parallax band -- */
.parallax {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(320px, 46vh, 480px);
  padding-block: clamp(4rem, 9vw, 7rem);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: left;
  isolation: isolate;
}
.parallax::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(20, 20, 22, 0.58);
}
.parallax__title { color: #fff; }
.parallax__subtitle { margin-top: 0.55rem; color: rgba(255, 255, 255, 0.78); }

@supports (-webkit-touch-callout: none) { .parallax { background-attachment: scroll; } }

/* ----------------------------------------------------------- breadcrumb -- */
.breadcrumb { margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--body-light);
}
/* separador em filete, no lugar do chevron */
.breadcrumb li + li::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--rule);
}
.breadcrumb a { color: var(--body-light); transition: color 0.3s var(--ease); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink-soft); }

/* ---------------------------------------------------------- work filters -- */
.work-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  margin-bottom: clamp(3rem, 5vw, 4rem);
}

.filter-btn {
  position: relative;
  padding: 0.35rem 0 1.15rem;
  font-family: var(--font);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--body-light);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}
.filter-btn::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--ink);
  transition: right 0.38s var(--ease);
}
.filter-btn:hover { color: var(--ink-soft); }
.filter-btn[aria-pressed="true"] { color: var(--ink); }
.filter-btn[aria-pressed="true"]::after { right: 0; }

/* ------------------------------------------------------------- work grid -- */
/* cartões soltos, legenda sobre o papel: mais ar e menos moldura */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(1.1rem, 2.4vw, 2rem);
  row-gap: clamp(2.75rem, 5vw, 4.25rem);
}

.work-item { position: relative; display: block; }
.work-item[hidden] { display: none; }

.work-item__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--panel);
}
.work-item__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.65s var(--ease), scale 0.9s var(--ease);
  backface-visibility: hidden;
}
/* véu que levanta no hover, no lugar da legenda invertida */
.work-item__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(29, 29, 31, 0.15);
  transition: opacity 0.55s var(--ease);
}
.work-item:hover .work-item__image { filter: grayscale(0%); scale: 1.035; }
.work-item:hover .work-item__media::after { opacity: 0; }

.work-item__info { padding-top: clamp(1rem, 1.7vw, 1.4rem); }

.work-item__terms {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--body-light);
}

.work-item__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.6rem;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--ink);
}
/* o filete cresce sob o nome, não sob o cartão inteiro */
.work-item__name {
  padding-bottom: 2px;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 0.45s var(--ease);
}
.work-item:hover .work-item__name { background-size: 100% 1px; }

.work-item__arrow {
  flex: none;
  color: var(--body-light);
  opacity: 0;
  translate: -6px 0;
  transition: opacity 0.4s var(--ease), translate 0.4s var(--ease);
}
.work-item:hover .work-item__arrow { opacity: 1; translate: 0 0; }

.work-item__tag {
  margin-top: 0.45rem;
  max-width: 32ch;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--body);
}

.work-count { margin-top: clamp(3rem, 5vw, 4rem); }

/* iniciativas próprias: a marca no lugar da miniatura */
.work-item__media--brand {
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--band);
}
.work-item__media--brand::after { display: none; }

.work-item__mark {
  width: 38%;
  max-width: 128px;
  transition: scale 0.6s var(--ease);
}
.work-item:hover .work-item__mark { scale: 1.06; }

/* sem marca própria, a assinatura é tipográfica */
.work-item__wordmark {
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: letter-spacing 0.6s var(--ease);
}
.work-item:hover .work-item__wordmark { letter-spacing: 0.12em; }

/* ----------------------------------------------------- project (detail) -- */
.project { background: var(--band); }
.project--light { background: var(--surface); }

.project__layout {
  display: grid;
  grid-template-columns: 17.5rem 1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}

.project__aside { position: sticky; top: calc(var(--header-h) + 3rem); }

.project__title { font-size: var(--fs-h3); }
.project__description { margin-top: 0.75rem; color: var(--body); }

.spec-list { margin-top: clamp(2.25rem, 4vw, 3rem); }
.spec-list--flush { margin-top: 0; }

.spec {
  padding-block: 1rem;
  border-bottom: 1px solid var(--rule);
}
/* a primeira linha encosta no topo, para alinhar com a coluna ao lado */
.spec:first-child { padding-top: 0; }
.spec__value {
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: var(--track-display);
  color: var(--ink);
  line-height: 1.45;
}
.spec__label { margin-top: 0.2rem; }

.project__credit {
  margin-top: 1.5rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--rule);
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--body);
}

.project__action { margin-top: clamp(2rem, 3.5vw, 2.75rem); }

.project-nav {
  margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 0.9rem;
}
.project-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--body-light);
  transition: color 0.28s var(--ease);
}
.project-nav a:hover { color: var(--ink); }
.project-nav span { transition: translate 0.28s var(--ease); }
.project-nav a:hover .is-prev { translate: -3px 0; }
.project-nav a:hover .is-next { translate: 3px 0; }

.project__shots { display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); }
.project__shots img { width: 100%; }

/* ------------------------------------------------------- product (AutoW) -- */
.product-logo { width: clamp(140px, 15vw, 180px); margin-bottom: 1.9rem; }

.product-facts { margin-top: clamp(2rem, 3.5vw, 2.75rem); }
.product-facts li {
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.product-facts li:first-child { border-top: 1px solid var(--rule); }

/* --------------------------------------------------------------- contact -- */
.contact-lede { max-width: 48ch; margin-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.contact-lede__title { font-size: var(--fs-h2); max-width: 16ch; }
.contact-lede__text { margin-top: 1.4rem; }

/* O endereço entregue em peças, como desenho de montagem. Branco nas peças,
   cinza claro no fundo, cinza médio nas juntas e nas legendas. */
.address {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
  background: var(--band);
  text-align: center;
}
.address__kicker { color: var(--body-light); }

.address__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.35rem, 1.2vw, 0.9rem);
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
}

.piece { display: grid; justify-items: center; }

.piece__box {
  display: grid;
  place-items: center;
  min-height: 3.6rem;
  padding-inline: clamp(0.85rem, 2vw, 1.5rem);
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule);
}

/* as juntas não são peças: ficam soltas, sem caixa */
.piece--joint .piece__box {
  color: var(--body);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  background: none;
  border-color: transparent;
}

/* o filete liga a peça à sua legenda, como numa chamada de desenho */
.piece__label {
  position: relative;
  margin-top: 1.15rem;
  color: var(--body-light);
}
.piece__label::before {
  content: "";
  position: absolute;
  top: -0.85rem;
  left: 50%;
  width: 1px;
  height: 0.6rem;
  background: #cfccc7;
}

.address__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: clamp(2.75rem, 5vw, 4rem);
}
/* largura fixa, para o rótulo não pular quando vira "Copiado" */
.address__actions .btn { min-width: 13.5rem; justify-content: center; }

/* sobre o cinza claro, o botão vazado precisa de corpo branco */
.address .btn { background: var(--surface); border-color: #d9d6d1; }
.address .btn:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.address .btn--solid { background: var(--ink); border-color: var(--ink); }
.address .btn--solid:hover { background: var(--action-deep); border-color: var(--action-deep); }

.address__note {
  max-width: 50ch;
  margin: clamp(1.75rem, 3vw, 2.5rem) auto 0;
  font-size: var(--fs-small);
  color: var(--body-light);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
}
.contact-detail__label { margin-bottom: 0.6rem; }
.contact-detail__value { color: var(--ink); font-size: 0.98rem; line-height: 1.75; }
.contact-detail__value a {
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.28s var(--ease);
}
.contact-detail__value a:hover { border-color: var(--ink); }

/* ---------------------------------------------------------------- footer -- */
.site-footer {
  background: var(--surface);
  color: var(--body);
  border-top: 1px solid var(--rule-soft);
  padding-top: clamp(4rem, 7vw, 6.5rem);
}

/* a marca em claro: o PNG é branco, então vira tinta */
.site-footer__brand img {
  width: clamp(59px, 5.4vw, 71px);   /* mesmo tamanho do cabeçalho */
  filter: brightness(0);
  opacity: 0.88;
}

.site-footer__lead {
  margin-top: 1.4rem;
  max-width: 28ch;
  font-size: var(--fs-small);
  line-height: 1.9;
}

/* frase que muda a cada carregamento */
.footer-note {
  max-width: 34ch;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--ink-soft);
}
.footer-note__mark {
  display: block;
  width: 24px;
  height: 1px;
  margin-bottom: 1.4rem;
  background: var(--ink);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.footer-col__title { margin-bottom: 1.4rem; }

.footer-col ul { display: grid; gap: 0.8rem; }
.footer-col a {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  transition: color 0.26s var(--ease);
}
.footer-col a:hover { color: var(--ink); }

.site-footer__bottom {
  padding-block: 1.9rem;
  border-top: 1px solid var(--rule-soft);
}
.site-footer__bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}
.site-footer__copy,
.site-footer__place {
  font-size: var(--fs-micro);
  letter-spacing: 0.05em;
  color: var(--body-light);
}

/* ----------------------------------------------------------- statement -- */
.statement {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}
.statement__title { font-size: var(--fs-h2); max-width: 15ch; }
.statement__body { display: grid; gap: 1.5rem; max-width: 52ch; }
.statement__body p { font-size: var(--fs-lead); line-height: 1.75; color: var(--ink-soft); }

/* lista numerada de princípios */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
}
.principle__index {
  margin-bottom: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--rule);
}
.principle__title { margin-bottom: 0.75rem; font-size: var(--fs-h4); }
.principle__text { font-size: 0.95rem; }

/* ---------------------------------------------------------------- about -- */
.prose { max-width: 62ch; }
.prose p { margin-bottom: 1.5rem; }
.prose p:last-child { margin-bottom: 0; }
.prose p:first-child {
  font-size: var(--fs-lead);
  line-height: 1.75;
  color: var(--ink-soft);
}

.about-layout {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}
.about-layout__aside { position: sticky; top: calc(var(--header-h) + 3rem); }

/* ------------------------------------------------------------ responsive -- */
@media (max-width: 1040px) {
  .project__layout { grid-template-columns: 15rem 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__brand-col { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .project__layout,
  .statement,
  .about-layout { grid-template-columns: 1fr; }
  .contact-details { grid-template-columns: 1fr; }
  .project__aside,
  .about-layout__aside { position: static; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .features,
  .principles { grid-template-columns: 1fr; gap: 3.25rem; }
  .client-logos { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .statement__title { max-width: 22ch; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.75rem;
    background: var(--header-bg-solid);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .main-nav.is-open { display: flex; }

  .nav-link {
    justify-content: space-between;
    width: 100%;
    padding-block: 1.05rem;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }
  .nav-link::after { display: none; }

  .nav-dropdown { position: static; }
  .dropdown-menu {
    position: static;
    display: none;
    translate: 0;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    padding: 0.35rem 0 0.75rem;
    background: transparent;
    box-shadow: none;
  }
  .nav-dropdown:hover .dropdown-menu { display: none; }
  .dropdown-menu.is-open { display: block; translate: 0; }
  .dropdown-item { background: rgba(255, 255, 255, 0.05); }
  .dropdown-item:hover { background: rgba(255, 255, 255, 0.1); }
  .dropdown-item__name { color: #fff; }
  .dropdown-item__desc { color: rgba(255, 255, 255, 0.55); }

  .work-filters { gap: 1.35rem; }
}

@media (max-width: 680px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .work-item__mark { max-width: 104px; }
  .work-grid,
  .site-footer__grid { grid-template-columns: 1fr; }
  .parallax { background-attachment: scroll; }
  .address__actions .btn { width: 100%; justify-content: center; }
}
