/*
Theme Name: OBRAZUN
Theme URI: https://obrazun.com.br/
Author: Palmon Marketing Digital Ltda.
Description: Tema institucional da OBRAZUN para registro e acompanhamento profissional de obras.
Version: 1.4.0
Text Domain: obrazun
*/

:root {
  --ink: #2d2926;
  --acid: #97d700;
  --paper: #f0eee9;
  --paper-soft: rgba(240, 238, 233, 0.72);
  --line-light: rgba(240, 238, 233, 0.18);
  --line-dark: rgba(45, 41, 38, 0.18);
  --wrap: min(1280px, calc(100vw - 96px));
  --header-height: 88px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

html.nav-open,
body.nav-open {
  overflow: hidden;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
p,
li,
a {
  max-width: 100%;
}

h1,
h2,
h3,
.work-words span {
  overflow-wrap: anywhere;
}

.about-grid > *,
.colete-grid > *,
.services-heading > *,
.service-row > *,
.value-grid > *,
.value-item > *,
.partnership-heading > *,
.difference-item,
.formats-heading > *,
.format-panel > *,
.gallery-heading > *,
.footer-grid > * {
  min-width: 0;
}

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 12px 16px;
  background: var(--acid);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1500;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  inset: 3px 0 auto;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 48px;
  border-bottom: 1px solid transparent;
  transition:
    height 0.35s var(--ease),
    background 0.35s ease,
    border-color 0.35s ease,
    backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(45, 41, 38, 0.92);
  border-color: var(--line-light);
  backdrop-filter: blur(16px);
}

.brand {
  position: relative;
  z-index: 2;
  width: 174px;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
}

.site-nav a {
  position: relative;
  font-size: 0.69rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 11px 16px;
  border: 1px solid var(--acid);
  color: var(--acid);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.nav-contact:hover {
  background: var(--acid);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 1px;
  margin: 7px auto;
  background: currentColor;
  transition: transform 0.3s ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.hero-media,
.hero-shade,
.viewfinder {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background:
    url("assets/hero-construcao.webp") center 42% / cover no-repeat;
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(25, 23, 21, 0.9) 0%, rgba(45, 41, 38, 0.48) 55%, rgba(45, 41, 38, 0.2) 100%),
    linear-gradient(0deg, rgba(45, 41, 38, 0.68) 0%, transparent 45%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.2;
  pointer-events: none;
  background-image: linear-gradient(rgba(240, 238, 233, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 238, 233, 0.12) 1px, transparent 1px);
  background-size: 25vw 25vw;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

@keyframes hero-drift {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

.viewfinder {
  z-index: 1;
  margin: 118px 48px 48px;
  pointer-events: none;
}

.corner {
  position: absolute;
  width: 54px;
  height: 54px;
  opacity: 0.72;
}

.corner-tl {
  top: 0;
  left: 0;
  border-top: 1px solid var(--paper);
  border-left: 1px solid var(--paper);
}

.corner-tr {
  top: 0;
  right: 0;
  border-top: 1px solid var(--paper);
  border-right: 1px solid var(--paper);
}

.corner-bl {
  bottom: 0;
  left: 0;
  border-bottom: 1px solid var(--paper);
  border-left: 1px solid var(--paper);
}

.corner-br {
  right: 0;
  bottom: 0;
  border-right: 1px solid var(--paper);
  border-bottom: 1px solid var(--paper);
}

.recording,
.coordinates {
  position: absolute;
  top: 18px;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.13em;
}

.recording {
  left: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recording span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(151, 215, 0, 0.13);
  animation: record-pulse 1.8s ease-in-out infinite;
}

@keyframes record-pulse {
  50% {
    opacity: 0.35;
  }
}

.coordinates {
  right: 22px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 140px;
}

.eyebrow,
.section-kicker,
.format-label,
.contact-kicker {
  margin: 0;
  color: var(--acid);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--acid);
}

.hero h1 {
  max-width: 980px;
  margin: 26px 0 22px;
  font-size: clamp(3.25rem, 7.6vw, 8rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--acid);
}

.hero-copy {
  max-width: 660px;
  margin: 0;
  color: var(--paper-soft);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    transform 0.25s var(--ease),
    background 0.25s ease,
    color 0.25s ease;
}

.button span {
  font-size: 1rem;
}

.direction-icon {
  display: block;
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--acid);
  color: var(--ink);
}

.button-primary:hover {
  background: var(--paper);
}

.button-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.button-dark:hover {
  background: transparent;
  color: var(--ink);
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.text-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.text-link:hover::after {
  transform: scaleX(0.25);
}

.hero-mark {
  position: absolute;
  right: 7vw;
  bottom: 13vh;
  z-index: 1;
  width: min(36vw, 530px);
  opacity: 0.42;
}

.hero-footer {
  position: absolute;
  right: 0;
  bottom: 28px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: rgba(240, 238, 233, 0.64);
  font-size: 0.59rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section {
  padding: clamp(100px, 11vw, 168px) 0;
}

.section-intro {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  margin-bottom: 70px;
}

.section-index {
  color: rgba(45, 41, 38, 0.7);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.section-kicker {
  color: var(--ink);
}

.section-intro::after {
  content: "";
  grid-column: 2;
  display: block;
  height: 1px;
  margin-top: 12px;
  background: var(--line-dark);
}

.section-intro-dark .section-index {
  color: rgba(240, 238, 233, 0.5);
}

.section-intro-dark .section-kicker {
  color: var(--acid);
}

.section-intro-dark::after {
  background: var(--line-light);
}

.about {
  background: var(--paper);
  color: var(--ink);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(60px, 9vw, 140px);
  align-items: start;
}

.about-heading h2,
.services-heading h2,
.value-sticky h2,
.partnership-heading h2,
.formats-heading h2,
.gallery-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.8vw, 5.3rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.04;
  text-transform: uppercase;
}

.about-heading h2 span {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--acid);
  text-decoration-thickness: 0.16em;
  text-underline-offset: 0.1em;
  text-decoration-skip-ink: none;
}

.about-copy p {
  margin: 0 0 24px;
  color: rgba(45, 41, 38, 0.76);
  font-size: 0.96rem;
  line-height: 1.9;
}

.about-copy .about-signature {
  margin: 40px 0 0;
  padding: 22px 0 0 24px;
  border-top: 1px solid var(--ink);
  border-left: 5px solid var(--acid);
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 500;
}

.colete {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 10vw, 150px) 0;
  background: var(--acid);
  color: var(--ink);
}

.colete::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -12vw;
  width: 38vw;
  height: 38vw;
  border: 1px solid rgba(45, 41, 38, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 5vw rgba(45, 41, 38, 0.04),
    0 0 0 10vw rgba(45, 41, 38, 0.03);
}

.colete-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: 8vw;
}

.colete-label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  padding-left: 22px;
  border-left: 1px solid var(--ink);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.colete-label small {
  max-width: 190px;
  font-size: 0.64rem;
  font-weight: 400;
  line-height: 1.6;
}

.colete-message > p:first-child {
  margin: 0 0 12px;
  font-size: clamp(1.2rem, 2.3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.colete-message s {
  color: rgba(45, 41, 38, 0.52);
  text-decoration-thickness: 3px;
}

.colete-message h2 {
  margin: 0;
  font-size: clamp(3.4rem, 7.2vw, 7.2rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.9;
  text-transform: uppercase;
}

.colete-copy {
  max-width: 760px;
  margin: 46px 0 0;
  font-size: 0.98rem;
  line-height: 1.9;
}

.services {
  background: var(--ink);
}

.services .section-index {
  color: rgba(240, 238, 233, 0.45);
}

.services .section-kicker {
  color: var(--acid);
}

.services .section-intro::after {
  background: var(--line-light);
}

.services-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: end;
  margin-bottom: 90px;
}

.services-heading h2 {
  max-width: 900px;
}

.services-heading p,
.partnership-heading p,
.formats-heading p,
.gallery-heading p {
  margin: 0;
  color: var(--paper-soft);
  font-size: 0.9rem;
  line-height: 1.85;
}

.service-list {
  border-top: 1px solid var(--line-light);
}

.service-row {
  display: grid;
  grid-template-columns: 70px minmax(230px, 0.75fr) minmax(300px, 1.25fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: baseline;
  min-height: 138px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-light);
  transition:
    color 0.3s ease,
    padding 0.35s var(--ease),
    background 0.3s ease;
}

.service-row:hover {
  padding-inline: 24px;
  background: var(--acid);
  color: var(--ink);
}

.service-number {
  color: var(--acid);
  font-size: 0.63rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.service-row:hover .service-number {
  color: var(--ink);
}

.service-row h3 {
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.32rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.35;
  text-transform: uppercase;
}

.service-row p {
  max-width: 650px;
  margin: 0;
  color: rgba(240, 238, 233, 0.66);
  font-size: 0.84rem;
  line-height: 1.75;
  transition: color 0.3s ease;
}

.service-row:hover p {
  color: rgba(45, 41, 38, 0.76);
}

.value {
  background: var(--ink);
  border-top: 1px solid var(--line-light);
}

.value-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(440px, 1.25fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: start;
}

.value-sticky {
  position: sticky;
  top: 120px;
}

.value-sticky .section-intro {
  margin-bottom: 56px;
}

.value-sticky h2 {
  font-size: clamp(2.2rem, 4vw, 4.4rem);
}

.value-sticky > p {
  max-width: 520px;
  margin: 34px 0 0;
  color: var(--paper-soft);
  font-size: 0.93rem;
}

.value-list {
  border-top: 1px solid var(--line-light);
}

.value-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line-light);
}

.value-item > span {
  color: var(--acid);
  font-size: 0.64rem;
  font-weight: 500;
}

.value-item h3 {
  margin: 0 0 12px;
  font-size: clamp(1rem, 1.4vw, 1.24rem);
  font-weight: 500;
  text-transform: uppercase;
}

.value-item p {
  max-width: 580px;
  margin: 0;
  color: var(--paper-soft);
  font-size: 0.84rem;
}

.partnership {
  background: var(--paper);
  color: var(--ink);
}

.partnership-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: end;
  margin-bottom: 90px;
}

.partnership-heading h2 {
  color: var(--ink);
}

.partnership-heading p {
  color: rgba(45, 41, 38, 0.7);
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.difference-item {
  min-height: 290px;
  padding: 30px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.difference-item:hover {
  background: var(--ink);
  color: var(--paper);
}

.difference-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 64px;
  background: var(--acid);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 500;
}

.difference-item h3 {
  margin: 0 0 15px;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.difference-item p {
  margin: 0;
  color: rgba(45, 41, 38, 0.67);
  font-size: 0.78rem;
  line-height: 1.75;
  transition: color 0.3s ease;
}

.difference-item:hover p {
  color: rgba(240, 238, 233, 0.68);
}

.work-way {
  margin-top: 108px;
  padding-top: 30px;
  border-top: 1px solid var(--ink);
}

.work-way > p {
  margin: 0 0 40px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-words {
  display: flex;
  flex-wrap: wrap;
  column-gap: 22px;
  row-gap: 8px;
}

.work-words span {
  font-size: clamp(1.8rem, 4.2vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}

.work-words span:not(:last-child)::after {
  content: "/";
  margin-left: 22px;
  color: var(--acid);
}

.formats {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line-dark);
}

.formats-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: end;
  margin-bottom: 80px;
}

.formats-heading p {
  color: rgba(45, 41, 38, 0.68);
}

.format-experience {
  border: 1px solid var(--ink);
}

.format-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--ink);
}

.format-tab {
  min-height: 82px;
  padding: 0 28px;
  border: 0;
  border-right: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.format-tab:last-child {
  border-right: 0;
}

.format-tab span {
  margin-right: 26px;
  font-size: 0.6rem;
  font-weight: 400;
}

.format-tab:hover,
.format-tab.is-active {
  background: var(--acid);
}

.format-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.42fr minmax(300px, 0.93fr) minmax(300px, 0.65fr);
  min-height: 500px;
  overflow: hidden;
}

.format-panel[hidden] {
  display: none;
}

.format-code {
  display: flex;
  align-items: flex-end;
  padding: 24px 28px;
  overflow: hidden;
  border-right: 1px solid var(--ink);
  color: var(--acid);
  font-size: clamp(9rem, 19vw, 17rem);
  font-weight: 700;
  letter-spacing: -0.12em;
  line-height: 0.7;
}

.format-main,
.format-detail {
  padding: clamp(38px, 5vw, 68px);
}

.format-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.format-main h3 {
  margin: 24px 0 24px;
  font-size: clamp(1.65rem, 3.1vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.1;
  text-transform: uppercase;
}

.format-main .format-label {
  width: max-content;
  max-width: 100%;
  padding-bottom: 7px;
  border-bottom: 3px solid var(--acid);
  color: var(--ink);
}

.format-main > p:last-child {
  max-width: 600px;
  margin: 0;
  color: rgba(45, 41, 38, 0.68);
  font-size: 0.86rem;
  line-height: 1.8;
}

.format-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--ink);
  background: var(--acid);
}

.format-detail > p {
  margin: 0 0 22px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.format-detail ul {
  display: grid;
  gap: 12px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.format-detail li {
  position: relative;
  padding-left: 18px;
  font-size: 0.76rem;
  line-height: 1.5;
}

.format-detail li::before {
  content: "+";
  position: absolute;
  left: 0;
  font-weight: 600;
}

.format-detail .button {
  align-self: flex-start;
  width: 100%;
  padding-inline: 18px;
  gap: 14px;
  font-size: 0.59rem;
}

.gallery {
  overflow: hidden;
  background: var(--ink);
}

.gallery .section-index {
  color: rgba(240, 238, 233, 0.45);
}

.gallery .section-kicker {
  color: var(--acid);
}

.gallery .section-intro::after {
  background: var(--line-light);
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 58px;
}

.gallery-heading h2 {
  max-width: 900px;
  margin-bottom: 24px;
}

@media (max-width: 820px) {
  .gallery-title-break {
    display: none;
  }
}

.gallery-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.gallery-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 1.1rem;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.gallery-controls button:hover {
  background: var(--acid);
  color: var(--ink);
}

.gallery-viewport {
  width: 100%;
  padding-left: max(48px, calc((100vw - 1280px) / 2));
}

.gallery-track {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  overflow-x: auto;
  padding-right: max(48px, calc((100vw - 1280px) / 2));
  padding-bottom: 20px;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  display: grid;
  flex: 0 0 clamp(220px, 21vw, 300px);
  grid-template-rows: 180px auto;
  margin: 0;
  scroll-snap-align: start;
}

.gallery-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  cursor: zoom-in;
  filter: saturate(0.72) contrast(1.03);
  transition:
    filter 0.45s ease,
    transform 0.55s var(--ease);
}

.gallery-card img:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: -3px;
}

.gallery-card:hover img {
  filter: saturate(1) contrast(1.03);
  transform: scale(0.985);
}

.gallery-card figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  min-height: 56px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
  color: rgba(240, 238, 233, 0.72);
  font-size: 0.61rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gallery-card figcaption span {
  color: var(--acid);
}

.gallery-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.gallery-dots {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 8px;
}

.gallery-dot {
  width: auto;
  min-width: 8px;
  max-width: 42px;
  flex: 1 1 42px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(240, 238, 233, 0.18);
  cursor: pointer;
  transition: background 0.25s ease;
}

.gallery-dot.is-active {
  background: var(--acid);
}

.gallery-status p {
  margin: 0;
  color: rgba(240, 238, 233, 0.48);
  font-size: 0.64rem;
}

.gallery-status p span {
  color: var(--paper);
}

body.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(18, 16, 15, 0.96);
  color: var(--paper);
}

.gallery-lightbox::backdrop {
  background: rgba(18, 16, 15, 0.78);
  backdrop-filter: blur(8px);
}

.gallery-lightbox[open] {
  display: grid;
  place-items: center;
}

.gallery-lightbox-shell {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  width: min(94vw, 1540px);
  height: min(92dvh, 980px);
  padding: 36px 22px 22px;
}

.gallery-lightbox figure {
  display: grid;
  min-width: 0;
  height: 100%;
  margin: 0;
  align-content: center;
  justify-items: center;
}

.gallery-lightbox figure img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(min(92dvh, 980px) - 116px);
  object-fit: contain;
}

.gallery-lightbox figcaption {
  display: flex;
  align-items: baseline;
  gap: 18px;
  min-height: 42px;
  padding-top: 16px;
  color: rgba(240, 238, 233, 0.78);
  font-size: 0.7rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.gallery-lightbox figcaption span:first-child {
  color: var(--acid);
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-light);
  background: rgba(45, 41, 38, 0.42);
  color: var(--paper);
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.gallery-lightbox-close {
  position: absolute;
  top: 0;
  right: 22px;
  z-index: 2;
  width: 48px;
  height: 48px;
}

.gallery-lightbox-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
}

.gallery-lightbox-nav {
  width: 48px;
  height: 72px;
}

.gallery-lightbox-prev {
  justify-self: start;
}

.gallery-lightbox-next {
  justify-self: end;
}

@media (min-width: 821px) {
  .about-heading h2,
  .value-sticky h2 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}

.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 14vw, 210px) 0;
  background: var(--acid);
  color: var(--ink);
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact-kicker {
  color: var(--ink);
}

.contact h2 {
  max-width: 1100px;
  margin: 22px 0 28px;
  font-size: clamp(3.4rem, 8.4vw, 9.2rem);
  font-weight: 700;
  line-height: 1.03;
}

.contact-copy {
  max-width: 690px;
  margin: 0 0 56px;
  font-size: 0.95rem;
  line-height: 1.85;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 60px;
  padding: 16px 0;
  border-bottom: 2px solid var(--ink);
  font-size: clamp(1rem, 1.7vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  transition: gap 0.35s var(--ease);
}

.contact-link:hover {
  gap: 82px;
}

.contact-mark {
  position: absolute;
  right: -5vw;
  bottom: -4vw;
  width: min(52vw, 850px);
  opacity: 0.12;
}

.site-footer {
  padding: 68px 0;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  width: 180px;
}

.footer-brand-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.footer-certification {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 260px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  color: rgba(240, 238, 233, 0.72);
}

.footer-certification img {
  flex: 0 0 auto;
  width: 88px;
  height: auto;
}

.footer-certification span {
  font-size: 0.58rem;
  line-height: 1.55;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.footer-contact,
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.68rem;
  line-height: 1.5;
}

.footer-contact a {
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--acid);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
}

.footer-socials a {
  color: var(--acid);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-meta {
  align-items: flex-end;
  color: rgba(240, 238, 233, 0.72);
  text-align: right;
}

.footer-meta span:first-child {
  color: inherit;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: block;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(45, 41, 38, 0.28);
  border-radius: 99px;
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  transition:
    width 0.4s var(--ease),
    transform 0.25s ease;
}

.whatsapp-float:hover {
  width: 170px;
  transform: translateY(-4px);
}

.whatsapp-float svg {
  position: absolute;
  top: 50%;
  right: 50%;
  width: 28px;
  height: 28px;
  padding: 0;
  fill: currentColor;
  transform: translate(50%, -50%);
  transition:
    right 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.whatsapp-float:hover svg {
  right: 14px;
  transform: translate(0, -50%);
}

.whatsapp-label {
  position: absolute;
  top: 50%;
  left: 20px;
  opacity: 0;
  white-space: nowrap;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translate(10px, -50%);
  transition:
    opacity 0.25s ease 0.08s,
    transform 0.25s ease 0.08s;
}

.whatsapp-float:hover .whatsapp-label {
  opacity: 1;
  transform: translate(0, -50%);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  :root {
    --wrap: min(100% - 64px, 960px);
  }

  .site-header {
    padding-inline: 32px;
  }

  .services-heading,
  .partnership-heading,
  .formats-heading {
    grid-template-columns: 1fr;
  }

  .services-heading p,
  .partnership-heading p,
  .formats-heading p {
    max-width: 620px;
  }

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

  .format-panel {
    grid-template-columns: 0.28fr 1fr;
  }

  .format-detail {
    grid-column: 1 / -1;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .format-code {
    min-height: 330px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 76px;
    --wrap: calc(100% - 40px);
  }

  .site-header,
  .site-header.is-scrolled {
    inset: 3px 0 auto;
    height: var(--header-height);
    padding-inline: 20px;
  }

  .site-header.is-scrolled {
    backdrop-filter: none;
  }

  .brand {
    width: 145px;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: block;
  }

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

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

  .site-header.is-menu-open,
  .site-header.is-scrolled.is-menu-open {
    background: transparent;
    border-color: transparent;
    backdrop-filter: none;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 100dvh;
    min-height: 100svh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 22px;
    padding: clamp(118px, 20vh, 168px) 28px max(50px, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--ink);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition:
      opacity 0.3s ease,
      transform 0.3s var(--ease),
      visibility 0s linear 0.3s;
  }

  .site-nav::before {
    content: "Navegação";
    margin-bottom: 12px;
    color: var(--acid);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .site-nav a {
    font-size: clamp(1.25rem, 6vw, 2.1rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .nav-contact {
    margin-top: 10px;
    padding: 10px 14px;
    color: var(--acid);
    font-size: 0.9rem !important;
    letter-spacing: 0.03em !important;
  }

  .viewfinder {
    margin: 98px 20px 24px;
  }

  .coordinates {
    display: none;
  }

  .hero-media {
    background-position: 60% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(25, 23, 21, 0.92), rgba(45, 41, 38, 0.28)),
      linear-gradient(0deg, rgba(45, 41, 38, 0.72), transparent 55%);
  }

  .hero-content {
    justify-content: flex-end;
    padding-top: 125px;
    padding-bottom: 136px;
  }

  .hero h1 {
    margin-top: 20px;
  }

  .hero-mark {
    top: auto;
    right: -5vw;
    bottom: 62px;
    width: min(70vw, 420px);
    opacity: 0.24;
  }

  .hero-footer {
    right: 40px;
    bottom: 42px;
    left: 40px;
    width: auto;
    margin-inline: 0;
    line-height: 1.4;
  }

  .hero-footer span:first-child {
    white-space: nowrap;
  }

  .hero-footer span:last-child {
    display: none;
  }

  .about-grid,
  .colete-grid,
  .services-heading,
  .value-grid,
  .partnership-heading,
  .formats-heading {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .colete-grid {
    gap: 56px;
  }

  .colete-label {
    min-height: auto;
    gap: 28px;
  }

  .service-row {
    grid-template-columns: 46px 1fr;
    gap: 14px 20px;
  }

  .service-row p {
    grid-column: 2;
  }

  .value-sticky {
    position: static;
  }

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

  .difference-item {
    min-height: 230px;
  }

  .difference-mark {
    margin-bottom: 42px;
  }

  .work-words {
    display: grid;
  }

  .work-words span:not(:last-child)::after {
    content: none;
  }

  .format-tabs {
    grid-template-columns: 1fr;
  }

  .format-tab {
    min-height: 64px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .format-tab:last-child {
    border-bottom: 0;
  }

  .format-panel {
    grid-template-columns: 1fr;
  }

  .format-code {
    display: none;
  }

  .format-detail {
    grid-column: auto;
  }

  .gallery-heading {
    align-items: flex-end;
  }

  .gallery-card {
    flex-basis: min(64vw, 280px);
    grid-template-rows: 168px auto;
  }

  .gallery-card img {
    height: 168px;
  }

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

  .footer-meta {
    grid-column: 1 / -1;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  :root {
    --wrap: calc(100% - 32px);
  }

  .section {
    padding-block: 84px;
  }

  .eyebrow {
    gap: 9px;
    font-size: 0.58rem;
    letter-spacing: 0.05em;
    line-height: 1.5;
  }

  .eyebrow::before {
    flex: 0 0 20px;
    width: 20px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .hero-mark {
    right: -8vw;
    bottom: 58px;
    width: min(68vw, 300px);
    opacity: 0.22;
  }

  .hero-footer {
    bottom: 40px;
    font-size: 0.59rem;
    letter-spacing: 0.06em;
  }

  .button-primary {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 4.2rem);
    letter-spacing: -0.06em;
  }

  .hero-copy {
    font-size: 0.9rem;
  }

  .section-intro {
    grid-template-columns: 44px 1fr;
    margin-bottom: 52px;
  }

  .section-intro::after {
    grid-column: 1 / -1;
  }

  .about-heading h2,
  .services-heading h2,
  .value-sticky h2,
  .partnership-heading h2,
  .formats-heading h2,
  .gallery-heading h2 {
    font-size: clamp(1.72rem, 8.7vw, 2.8rem);
    letter-spacing: -0.045em;
    line-height: 1.08;
  }

  .colete-message h2 {
    font-size: clamp(2.35rem, 12.5vw, 4.5rem);
    line-height: 0.98;
  }

  .colete-message > p:first-child {
    font-size: clamp(1rem, 5.5vw, 1.5rem);
  }

  .work-words span {
    font-size: clamp(1.25rem, 7vw, 2rem);
    letter-spacing: -0.04em;
  }

  .service-row {
    min-height: auto;
    padding-block: 28px;
  }

  .service-row:hover {
    padding-inline: 12px;
  }

  .difference-item {
    padding: 26px 22px;
  }

  .format-main,
  .format-detail {
    padding: 32px 22px;
  }

  .format-tab {
    padding-inline: 20px;
  }

  .format-main h3 {
    font-size: clamp(1.35rem, 7vw, 2.15rem);
  }

  .format-detail .button {
    min-height: 58px;
    padding-block: 12px;
    white-space: normal;
    line-height: 1.45;
  }

  .gallery-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .gallery-viewport {
    padding-left: 20px;
  }

  .gallery-track {
    padding-right: 20px;
  }

  .gallery-card {
    flex-basis: min(68vw, 250px);
    grid-template-rows: 154px auto;
  }

  .gallery-card img {
    height: 154px;
  }

  .gallery-dots {
    gap: 5px;
  }

  .gallery-dot {
    width: 28px;
  }

  .contact h2 {
    font-size: clamp(2.55rem, 13.5vw, 4.8rem);
    line-height: 1.06;
  }

  .gallery-lightbox-shell {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    width: 100%;
    height: 100dvh;
    padding: 64px 8px 18px;
  }

  .gallery-lightbox figure img {
    max-height: calc(100dvh - 154px);
  }

  .gallery-lightbox figcaption {
    gap: 12px;
    padding-top: 12px;
    font-size: 0.61rem;
    line-height: 1.5;
  }

  .gallery-lightbox-close {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
  }

  .gallery-lightbox-nav {
    width: 40px;
    height: 56px;
  }

  .contact-link {
    justify-content: space-between;
    width: 100%;
    gap: 16px;
  }

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

  .footer-meta {
    grid-column: auto;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float:hover {
    width: 58px;
  }

  .whatsapp-float:hover svg {
    right: 50%;
    transform: translate(50%, -50%);
  }

  .whatsapp-label {
    display: none;
  }
}

@media (max-width: 380px) {
  .site-header,
  .site-header.is-scrolled {
    padding-inline: 14px;
  }

  .brand {
    width: 132px;
  }

  .viewfinder {
    margin-right: 14px;
    margin-left: 14px;
  }

  .hero-footer {
    right: 34px;
    left: 34px;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 11.5vw, 2.65rem);
  }

  .hero-copy,
  .about-copy p,
  .colete-copy {
    font-size: 0.86rem;
  }

  .service-row {
    grid-template-columns: 34px 1fr;
    column-gap: 12px;
  }

  .service-row p {
    grid-column: 1 / -1;
  }

  .gallery-card {
    flex-basis: min(74vw, 230px);
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Ajustes para a barra administrativa do WordPress. */
.admin-bar .site-header {
  top: 35px;
}

@media (max-width: 782px) {
  .admin-bar .site-header,
  .admin-bar .site-header.is-scrolled {
    top: 49px;
  }

  .admin-bar .site-nav {
    top: 46px;
    height: calc(100dvh - 46px);
    min-height: calc(100svh - 46px);
  }
}


/* Privacy policy page */
.legal-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 20px 48px;
  background: rgba(45, 41, 38, 0.97);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(16px);
}

.legal-brand {
  width: 174px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--acid);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.legal-back:hover,
.footer-privacy-link:hover {
  opacity: 0.72;
}

.legal-back .direction-icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.privacy-main {
  background: var(--paper);
  color: var(--ink);
}

.privacy-hero {
  padding: clamp(72px, 9vw, 132px) 0 clamp(68px, 8vw, 112px);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.privacy-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
}

.privacy-eyebrow,
.privacy-aside span {
  margin: 0 0 24px;
  color: var(--acid);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3rem, 7.4vw, 7.6rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.055em;
  overflow-wrap: normal;
}

.privacy-reference {
  margin: 0 0 10px;
  padding-left: 22px;
  border-left: 2px solid var(--acid);
  color: var(--acid);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.privacy-reference span {
  color: var(--paper-soft);
  font-size: 0.58rem;
  font-weight: 300;
}

.privacy-body {
  padding: clamp(72px, 9vw, 128px) 0;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 860px);
  gap: clamp(48px, 8vw, 120px);
  justify-content: center;
  align-items: start;
}

.privacy-aside {
  position: sticky;
  top: 128px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 20px;
  border-left: 2px solid var(--acid);
}

.privacy-aside span {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
}

.privacy-aside a {
  font-size: 0.68rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--acid);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.privacy-content {
  min-width: 0;
}

.privacy-content > :first-child {
  margin-top: 0;
}

.privacy-content p,
.privacy-content li {
  font-size: 0.88rem;
  line-height: 1.95;
}

.privacy-content p {
  margin: 0 0 24px;
}

.privacy-content .privacy-updated {
  margin-bottom: 42px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(45, 41, 38, 0.7);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.privacy-content h2 {
  margin: 72px 0 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.025em;
  overflow-wrap: normal;
}

.privacy-content ul {
  display: grid;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.privacy-content li {
  position: relative;
  padding-left: 24px;
}

.privacy-content li::before {
  position: absolute;
  top: 0.86em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--acid);
  content: "";
  transform: translateY(-50%);
}

.privacy-content a {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--acid);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.footer-privacy-link {
  margin-top: 8px;
  color: var(--acid);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

@media (max-width: 820px) {
  .legal-header {
    min-height: 76px;
    padding: 16px 20px;
  }

  .legal-brand {
    width: 146px;
  }

  .privacy-hero-inner,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-hero-inner {
    gap: 32px;
  }

  .privacy-reference {
    justify-self: start;
  }

  .privacy-layout {
    gap: 48px;
  }

  .privacy-aside {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px 28px;
  }
}

@media (max-width: 560px) {
  .legal-header {
    gap: 20px;
  }

  .legal-brand {
    width: 128px;
  }

  .legal-back {
    font-size: 0.58rem;
  }

  .privacy-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .privacy-reference {
    white-space: normal;
  }

  .privacy-content p,
  .privacy-content li {
    font-size: 0.82rem;
    line-height: 1.9;
  }

  .privacy-content h2 {
    margin-top: 56px;
  }
}
