
/* =====================================================
   FONTES — hospedadas no próprio site (WOFF2, subset latino)
   EB Garamond é variável (peso 400–800); Tenor Sans, regular.
===================================================== */
@font-face {
  font-family: 'EB Garamond';
  src: url('../fonts/eb-garamond.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Tenor Sans';
  src: url('../fonts/tenor-sans.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =====================================================
   DESIGN TOKENS
===================================================== */
:root {
  --ink:          #111010;
  --ink-soft:     #4A4642;
  --ink-muted:    #8C877F;
  --ink-ghost:    #B8B2A8;
  --surface:      #F8F6F2;
  --surface-warm: #F0EDE6;
  --border:       #E2DDD6;
  --border-light: #ECE8E2;
  --gold:         #9A8060;

  --font-display: 'EB Garamond', Georgia, serif;
  --font-body:    'Tenor Sans', system-ui, sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;

  --nav-h: 80px;
  --side:  72px;

  --ease: cubic-bezier(.22,.61,.36,1);   /* saída suave, sem freada brusca */
  --transition: .45s var(--ease);
}

/* =====================================================
   RESET & BASE
===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* =====================================================
   TYPOGRAPHY
===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  color: var(--ink);
}

h1 { font-size: clamp(3.2rem, 6vw, 5rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
h4 { font-size: 1.1rem; font-family: var(--font-body); }
h5 { font-size: 0.7rem; font-family: var(--font-body); font-weight: 300; letter-spacing: 0.22em; text-transform: uppercase; }

p { font-size: 1rem; line-height: 1.8; color: var(--ink-soft); }

strong { font-weight: 500; }
em { font-style: normal; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  display: block;
}

.label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-ghost);
}

/* =====================================================
   LAYOUT
===================================================== */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--side);
}

.container--narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--side);
}

/* =====================================================
   BUTTONS
===================================================== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--ink);
  color: var(--surface);
}
.btn--primary:hover { background: var(--ink-soft); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn--outline:hover { border-color: var(--ink); }

.btn--ghost {
  background: transparent;
  color: var(--ink-muted);
  padding: 0;
  letter-spacing: 0.18em;
  font-size: 0.6rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}
.btn--ghost:hover { color: var(--ink); border-color: var(--ink); }

/* =====================================================
   HEADER / NAV
===================================================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--side);
}

.site-logo {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.site-logo span { color: var(--ink); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 48px;
}

.primary-nav a {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-muted);
  transition: color var(--transition);
}
.primary-nav a:hover, .primary-nav a.current { color: var(--ink); }

.nav-cta {
  font-family: var(--font-body) !important;
  font-size: 0.6rem !important;
  font-weight: 300 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--ink) !important;
  text-decoration: none !important;
  padding-bottom: 1px !important;
  border-bottom: 1px solid var(--ink) !important;
  background: none !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: var(--transition);
}

/* =====================================================
   HERO — editorial grid
===================================================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
  border-bottom: 1px solid var(--border);
}

.hero-left {
  padding: 80px var(--side) 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--border);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  font-weight: 300;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 5.5vw, 5rem);
  font-weight: 400;
  line-height: 1.06;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.hero-desc {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  max-width: 240px;
  line-height: 1.9;
  font-weight: 300;
}

/* Hero right — image grid */
.hero-right {
  background: var(--surface-warm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.hero-cell {
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.hero-cell:nth-child(2), .hero-cell:nth-child(4) { border-right: none; }
.hero-cell:nth-child(3), .hero-cell:nth-child(4) { border-bottom: none; }

.hero-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-cell:hover img { transform: scale(1.03); }

.hero-cell-label {
  position: relative;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  background: var(--surface-warm);
  padding: 3px 8px;
}

.hero-cell-index {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--border);
}

/* =====================================================
   DISCIPLINE STRIP
===================================================== */
.discipline-strip {
  border-bottom: 1px solid var(--border);
  padding: 14px var(--side);
  display: flex;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.discipline-strip__word {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  font-weight: 300;
  white-space: nowrap;
  flex-shrink: 0;
}

.discipline-strip__sep {
  color: var(--border);
  font-size: 0.5rem;
  flex-shrink: 0;
}

/* =====================================================
   SECTIONS — shared
===================================================== */
.sec-head {
  padding: 64px var(--side) 44px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* =====================================================
   AWARDS
===================================================== */
.awards { border-bottom: 1px solid var(--border); }

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

.award-item {
  padding: 44px 52px;
  border-right: 1px solid var(--border);
}
.award-item:last-child { border-right: none; }

.award-year {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  font-weight: 300;
  display: block;
  margin-bottom: 18px;
}

.award-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 5px;
}

.award-org {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  font-weight: 300;
  margin-bottom: 14px;
}

.award-body {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.award-pill {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(154,128,96,0.35);
  padding: 3px 10px;
  font-weight: 300;
}

/* =====================================================
   NUMBERS
===================================================== */
.numbers-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}

.num-cell {
  padding: 56px var(--side);
  border-right: 1px solid var(--border);
}
.num-cell:last-child { border-right: none; }

.num-big {
  font-family: var(--font-display);
  font-size: clamp(4rem, 6vw, 5.5rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.num-label {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  font-weight: 300;
}

/* =====================================================
   PORTFOLIO GRID
===================================================== */
.portfolio-section { border-bottom: 1px solid var(--border); }

/* =====================================================
   SERVICES
===================================================== */
.services-section { border-bottom: 1px solid var(--border); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  padding: 48px 52px;
  border-right: 1px solid var(--border);
}
.service-card:last-child { border-right: none; }

.service-number {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--ink-ghost);
  display: block;
  margin-bottom: 26px;
  font-weight: 300;
  text-transform: uppercase;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.15;
}

.service-card p {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 22px;
}

.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  font-family: var(--font-body);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  font-weight: 300;
}

/* =====================================================
   ABOUT TEASER
===================================================== */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.about-visual {
  background: var(--surface-warm);
  border-right: 1px solid var(--border);
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  position: relative;
}

.about-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-monogram {
  font-family: var(--font-display);
  font-size: 7.5rem;
  font-weight: 400;
  color: var(--border);
  line-height: 1;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

.about-visual-label {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  font-weight: 300;
  position: relative;
  z-index: 1;
}

.about-content {
  padding: 72px var(--side);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.1;
}

.about-body {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.85;
}

.about-cta {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 300;
}
.about-cta .cta-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--ink);
  transition: width var(--transition);
}
.about-cta:hover .cta-line { width: 52px; }

/* Legacy .about-stats for sobre page */
.about-stats { display: flex; gap: 40px; margin-top: 8px; }

.stat-item { }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  font-weight: 300;
}

/* =====================================================
   ABOUT PAGE - editorial biography
===================================================== */
.about-page {
  border-bottom: 1px solid var(--border);
}

.about-page-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - var(--nav-h));
  border-bottom: 1px solid var(--border);
}

.about-page-copy {
  padding: 92px var(--side) 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.about-page-copy h1 {
  max-width: 760px;
  margin-top: 28px;
  font-size: clamp(4.2rem, 8vw, 8.8rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.about-page-lead {
  max-width: 620px;
  margin-top: 42px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  line-height: 1.35;
  color: var(--ink-soft);
}

.about-page-visual {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  background: var(--surface-warm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-page-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.about-page-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(248,246,242,0.18), rgba(154,128,96,0.10));
  mix-blend-mode: multiply;
  opacity: 0.55;
  transition: opacity 0.6s ease;
  z-index: 1;
}

.about-page-visual:hover::after { opacity: 0; }

.about-page-visual figcaption {
  position: absolute;
  left: 34px;
  bottom: 28px;
  z-index: 3;
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--surface);
  text-shadow: 0 1px 14px rgba(0,0,0,0.18);
}

.about-page-monogram {
  font-family: var(--font-display);
  font-size: clamp(6rem, 11vw, 12rem);
  letter-spacing: 0.12em;
  color: var(--border);
}

.about-page-intro {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  border-bottom: 1px solid var(--border);
}

.about-page-statement, .about-page-text {
  padding: 72px var(--side);
}

.about-page-statement {
  border-right: 1px solid var(--border);
  background: rgba(240,237,230,0.42);
}

.about-page-statement h2 {
  margin-top: 28px;
  max-width: 620px;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: 0.98;
}

.about-page-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.about-page-text p {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.45vw, 1.35rem);
  line-height: 1.75;
  color: var(--ink-soft);
}

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

.about-card {
  padding: 56px var(--side) 62px;
  border-right: 1px solid var(--border);
  min-height: 300px;
  background: var(--surface);
  transition: background var(--transition);
}
.about-card:last-child { border-right: none; }
.about-card:hover { background: var(--surface-warm); }

.about-card span {
  display: block;
  margin-bottom: 38px;
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  color: var(--ink-ghost);
}

.about-card h3 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 2.5vw, 2.55rem);
}

.about-card p {
  max-width: 390px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-page-recognition {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 56px;
  padding: 76px var(--side);
  border-bottom: 1px solid var(--border);
}

.about-page-recognition h2 {
  max-width: 580px;
  margin-top: 28px;
}

.about-recognition-list {
  list-style: none;
  border-top: 1px solid var(--border);
}

.about-recognition-list li {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.about-recognition-list strong {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 400;
}

.about-recognition-list span {
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  text-align: right;
  padding-top: 9px;
}

.about-page-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 52px var(--side);
}

.about-page-cta p {
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  color: var(--ink);
}

/* =====================================================
   BLOG POSTS
===================================================== */
.blog-section { border-bottom: 1px solid var(--border); }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.post-card {
  padding: 44px 52px;
  border-right: 1px solid var(--border);
  text-decoration: none;
  display: block;
  transition: background var(--transition);
}
.post-card:last-child { border-right: none; }
.post-card:hover { background: var(--surface-warm); }

.post-date {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  font-weight: 300;
  display: block;
  margin-bottom: 16px;
}

.post-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 12px;
}

.post-excerpt {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* =====================================================
   CTA BAND
===================================================== */
.cta-band {
  background: var(--ink);
  padding: 96px var(--side);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  border-bottom: 1px solid #1e1c1a;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 400;
  color: var(--surface);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.cta-band .btn--primary {
  background: var(--surface);
  color: var(--ink);
  flex-shrink: 0;
}
.cta-band .btn--primary:hover { background: var(--surface-warm); }

/* =====================================================
   FOOTER
===================================================== */
#site-footer {
  border-top: 1px solid var(--border);
}

.footer-inner { }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 64px;
  padding: 56px var(--side);
}

.footer-brand .site-logo {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 300;
  margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a, .footer-links span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--ink); }

.social-links { display: flex; gap: 16px; }
.social-link {
  font-size: 1rem;
  color: var(--ink-ghost);
  text-decoration: none;
  transition: color var(--transition);
}
.social-link:hover { color: var(--ink); }

.footer-bottom {
  padding: 18px var(--side);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy, .footer-legal a {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  font-weight: 300;
  text-decoration: none;
}
.footer-legal { display: flex; gap: 24px; }

/* =====================================================
   SINGLE POST / PAGE
===================================================== */
.page-hero {
  padding: 80px var(--side) 64px;
  border-bottom: 1px solid var(--border);
  max-width: 860px;
}

.entry-content {
  padding: var(--space-lg) var(--side);
  max-width: 720px;
}
.entry-content p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
}
.entry-content h2, .entry-content h3 { margin: 2.5rem 0 1rem; }

/* =====================================================
   SINGLE PORTFOLIO
===================================================== */

/* =====================================================
   CONTACT PAGE
===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
  min-height: 70vh;
}

.contact-info {
  padding: 72px var(--side);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-form-wrap {
  padding: 72px var(--side);
}

.form-row { margin-bottom: 28px; }

.form-row label {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  display: block;
  margin-bottom: 8px;
  font-weight: 300;
}

.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color var(--transition);
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--ink); }
.form-row textarea { resize: none; min-height: 120px; }

/* =====================================================
   REVEAL ANIMATION
===================================================== */
.reveal { opacity: 1; transform: none; }
html.js .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(18px);
}
html.js .reveal {
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1100px) {
  :root { --side: 40px; }

  .awards-row { grid-template-columns: 1fr 1fr; }
  .award-item:nth-child(2) { border-right: none; }
  .award-item:nth-child(3) { border-top: 1px solid var(--border); }

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

@media (max-width: 860px) {
  :root { --side: 24px; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { border-right: none; border-bottom: 1px solid var(--border); padding: 48px var(--side); }
  .hero-right { min-height: 50vw; }

  .awards-row, .numbers-row, .services-grid, .posts-grid { grid-template-columns: 1fr; }

  .award-item, .service-card, .post-card { border-right: none; border-bottom: 1px solid var(--border); }

  .num-cell { border-right: none; border-bottom: 1px solid var(--border); }

  .about-section { grid-template-columns: 1fr; }
  .about-visual { min-height: 280px; border-right: none; border-bottom: 1px solid var(--border); }

  .about-page-hero, .about-page-intro, .about-page-recognition { grid-template-columns: 1fr; }

  .about-page-copy, .about-page-statement { border-right: none; border-bottom: 1px solid var(--border); }

  .about-page-copy, .about-page-statement, .about-page-text, .about-card, .about-page-recognition, .about-page-cta { padding-left: var(--side); padding-right: var(--side); }

  .about-page-visual { min-height: 70vw; }
  .about-page-grid { grid-template-columns: 1fr; }
  .about-card { border-right: none; border-bottom: 1px solid var(--border); min-height: auto; }
  .about-page-cta { flex-direction: column; align-items: flex-start; }
  .about-recognition-list li { flex-direction: column; gap: 8px; }
  .about-recognition-list span { text-align: left; padding-top: 0; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { border-right: none; border-bottom: 1px solid var(--border); }

  .cta-band { flex-direction: column; align-items: flex-start; gap: 32px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }

  .primary-nav { display: none; }
  .menu-toggle { display: flex; }

  .primary-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--surface);
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 200;
  }
  .primary-nav.open a {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
  }
}

/* =====================================================
   EDITORIAL IMAGE TREATMENT
   Só o hero da home e o retrato: PB quente que revela a cor no hover.
   Portfólio (cards, capa do projeto, galeria) é sempre em cor.
===================================================== */
.hero-cell::after, .about-visual::after, .about-page-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(248,246,242,0.18), rgba(154,128,96,0.10));
  mix-blend-mode: multiply;
  opacity: 0.55;
  transition: opacity 0.6s ease;
  z-index: 1;
}

.hero-cell:hover::after, .about-visual:hover::after, .about-page-visual:hover::after {
  opacity: 0;
}

.hero-cell-label, .hero-cell-index, .about-monogram, .about-visual-label, .about-page-visual figcaption {
  z-index: 3;
}

@media (prefers-reduced-motion: reduce) {
  .hero-cell img, .about-visual img, .hero-cell::after, .about-visual::after {
    transition: none;
  }
}

/* =====================================================
   BLOG + PORTFOLIO REFINEMENTS — v2.0.8
   Symmetric editorial grids
===================================================== */

.blog-editorial-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 300px;
  border-bottom: 1px solid var(--border);
}

.blog-editorial-hero__intro {
  padding: 72px var(--side) 64px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-editorial-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: .9;
  margin-top: 24px;
  color: var(--ink);
}

.blog-editorial-hero__text {
  padding: 72px var(--side) 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.blog-editorial-hero__text p {
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 2vw, 1.75rem);
  line-height: 1.42;
  color: var(--ink);
  max-width: 560px;
}

.blog-editorial-hero__text span {
  font-family: var(--font-body);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-ghost);
}

.blog-pagination {
  padding: 36px var(--side);
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.blog-pagination ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.blog-empty, .portfolio-empty {
  padding: 96px var(--side);
  text-align: center;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 980px) {
  .blog-editorial-hero {
    grid-template-columns: 1fr;
  }

  .blog-editorial-hero__intro {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  

  
  
}

@media (max-width: 640px) {
  .blog-editorial-hero__intro, .blog-editorial-hero__text {
    padding: 48px var(--side);
  }

  

  
}

/* =====================================================
   BLOG + PORTFOLIO — v2.1.0
   Blog sem capas + portfólio com mais silêncio visual
===================================================== */
.blog-editorial-page {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

/* =====================================================
   PORTFOLIO — v2.1.1
   More silence, narrower imagery, refined filters
===================================================== */

/* =====================================================
   SINGLE PORTFOLIO — v2.1.2
   Editorial book-project pages inspired by quiet mockups
===================================================== */

/* =====================================================
   SINGLE PROJECT — v2.1.3
   Editor content split: text replaces the Sobre block, images flow as project visuals
===================================================== */

/* =====================================================
   SINGLE PROJECT — v2.1.4
   Show full project image without cropping
===================================================== */

/* =====================================================
   HOME CONTRAST — v2.1.2
   Dark editorial bands for awards and services
===================================================== */
.awards > .sec-head, .services-section > .sec-head {
  background: var(--ink);
  border-bottom-color: rgba(248,246,242,.18);
}

.awards > .sec-head h2, .services-section > .sec-head h2 {
  color: var(--surface);
}

.awards > .sec-head .eyebrow, .services-section > .sec-head .eyebrow {
  color: rgba(248,246,242,.58);
}

.awards > .sec-head + .awards-row, .services-section > .sec-head + .services-grid {
  border-top: 0;
}

/* =====================================================
   HOME CONTRAST — v2.1.5 force override
   Header bands for Prêmios and Serviços
===================================================== */
body.home .awards > .sec-head, body.front-page .awards > .sec-head, .awards .sec-head, body.home .services-section > .sec-head, body.front-page .services-section > .sec-head, .services-section .sec-head {
  background: #111010 !important;
  border-color: rgba(248,246,242,.18) !important;
}

body.home .awards > .sec-head h2, body.front-page .awards > .sec-head h2, .awards .sec-head h2, body.home .services-section > .sec-head h2, body.front-page .services-section > .sec-head h2, .services-section .sec-head h2 {
  color: #F8F6F2 !important;
}

body.home .awards > .sec-head .eyebrow, body.front-page .awards > .sec-head .eyebrow, .awards .sec-head .eyebrow, body.home .services-section > .sec-head .eyebrow, body.front-page .services-section > .sec-head .eyebrow, .services-section .sec-head .eyebrow {
  color: rgba(248,246,242,.62) !important;
}

/* =====================================================
   AWARDS VERIFICATION LINKS — v2.1.6
===================================================== */
.award-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.award-actions .award-pill {
  margin-top: 0;
}

.award-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink) !important;
  font-family: var(--font-body);
  font-size: .55rem;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(17,16,16,.38);
  padding-bottom: 4px;
  transition: opacity .28s ease, border-color .28s ease;
}

.award-link:hover {
  opacity: .62;
  border-color: rgba(17,16,16,.85);
}

/* #####################################################
   EXTENSÕES DO SITE PHP (acrescentadas ao CSS do tema)
   -----------------------------------------------------
   1. Contraste dos títulos (Prêmios, Serviços)
   2. Tratamento editorial das imagens (hero, retrato)
   3. Paginação
   4. Página de contato + formulário
   5. Post do blog (cabeçalho, corpo, tags, navegação)
   6. Corpo do artigo (tipografia de texto longo, tabelas, callouts)
   7. Cluster (selo do guia, índice)
   8. Blog (categorias, busca)
   9. Artigo (resumo, sumário, CTA, autora)
  10. 404
  11. UX (toque, teclado, leitura)
  12. Portfólio v2 (grade, cards, filtros, página do projeto)
##################################################### */

/* =====================================================
   CONTRASTE DOS TÍTULOS — Prêmios e Serviços (home)
   (antes injetado via functions.php)
===================================================== */
.awards .sec-head, .services-section .sec-head {
  background: #111010;
  border-color: rgba(248,246,242,.18);
}
.awards .sec-head h2, .services-section .sec-head h2 { color: #F8F6F2; }
.awards .sec-head .eyebrow, .services-section .sec-head .eyebrow { color: rgba(248,246,242,.62); }

/* =====================================================
   TRATAMENTO EDITORIAL DAS IMAGENS
   (antes injetado via functions.php)
===================================================== */
.hero-cell img, .about-visual img, .about-page-visual img {
  filter: grayscale(100%) sepia(12%) saturate(45%) contrast(0.9) brightness(1.06);
  opacity: 0.84;
  transition: filter 0.6s ease, opacity 0.6s ease, transform 0.6s ease;
}
.hero-cell:hover img, .about-visual:hover img, .about-page-visual:hover img {
  filter: none;
  opacity: 1;
}

/* =====================================================
   PAGINAÇÃO
===================================================== */
.pagination { list-style:none; display:flex; gap:4px; justify-content:center; flex-wrap:wrap; }
.pagination__item { font-family:var(--font-body); font-size:.55rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-muted); text-decoration:none; padding:6px 10px; border:1px solid transparent; transition:.2s; display:inline-block; }
a.pagination__item:hover { color:var(--ink); border-color:var(--border); }
.pagination__item.is-current { color:var(--ink); border-color:var(--ink); }
.pagination__item--dots { border:none; }

/* =====================================================
   PÁGINA DE CONTATO
===================================================== */
.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  border-bottom: 1px solid var(--border);
  min-height: calc(100vh - var(--nav-h));
}
.contact-page__copy {
  padding: 80px var(--side) 64px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: space-between; gap: 72px;
}
.contact-page__copy .eyebrow { margin-bottom: 42px; }
.contact-page__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3rem, 5.8vw, 5.4rem); line-height: 1.02; letter-spacing: -0.018em;
  color: var(--ink); max-width: 760px;
}
.contact-page__lead {
  max-width: 640px; font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.75rem); line-height: 1.52; color: var(--ink-soft);
}
.contact-page__note {
  max-width: 520px; font-family: var(--font-body); font-size: .72rem; line-height: 1.9;
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink-muted);
  border-top: 1px solid var(--border); padding-top: 26px;
}
.contact-page__channels {
  padding: 80px var(--side) 64px;
  display: flex; flex-direction: column; justify-content: center;
}

.contact-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.contact-list__item {
  display: flex; justify-content: space-between; align-items: center; gap: 28px;
  padding: 28px 0; border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--ink); transition: background var(--transition);
}
.contact-list__item:hover { background: var(--surface-warm); }
.contact-list__value {
  font-family: var(--font-display); font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.1; text-align: right; word-break: break-word;
}
@media (max-width: 900px) {
  .contact-page { grid-template-columns: 1fr; }
  .contact-page__copy { border-right: none; border-bottom: 1px solid var(--border); }
}
@media (max-width: 640px) {
  .contact-page__copy, .contact-page__channels { padding: 56px var(--side); }
  .contact-list__item { flex-direction: column; align-items: flex-start; gap: 10px; }
  .contact-list__value { text-align: left; }
}

/* =====================================================
   POST DO BLOG
===================================================== */
.post-hero { border-bottom: 1px solid var(--border); }
.post-hero__copy {
  padding: 88px var(--side) 64px;
  display: flex; flex-direction: column; gap: 48px;
}
.post-hero__meta, .post-hero__byline { display: flex; align-items: center; gap: 16px; }
.post-hero__sep { color: var(--border); }
.post-hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.1; letter-spacing: -0.01em;
  color: var(--ink); max-width: 860px;
}
.post-hero__byline span {
  font-family: var(--font-body); font-size: .6rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-ghost);
}
.post-figure { margin: 0; border-bottom: 1px solid var(--border); background: var(--surface-warm); }
.post-figure img { display: block; width: 100%; max-height: 70vh; object-fit: cover; }

.post-body {
  display: grid; grid-template-columns: 1fr minmax(0, 560px) 1fr;
  border-bottom: 1px solid var(--border);
}
.post-body__inner {
  grid-column: 2; padding: 72px 56px;
  border-left: 1px solid var(--border); border-right: 1px solid var(--border);
}
.post-body .entry-content { padding: 0; }
.post-tags {
  list-style: none; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 6px;
}
.post-tags li {
  font-family: var(--font-body); font-size: .55rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-ghost); border: 1px solid var(--border-light); padding: 4px 10px;
}

.post-nav { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.post-nav__link { padding: 40px var(--side); text-decoration: none; display: block; transition: background var(--transition); }
.post-nav__link--prev { border-right: 1px solid var(--border); }
.post-nav__link--next { text-align: right; }
a.post-nav__link:hover { background: var(--surface-warm); }
.post-nav__link .eyebrow { margin-bottom: 12px; }
.post-nav__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; color: var(--ink); line-height: 1.3; display: block; }

@media (max-width: 900px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-hero__copy { padding: 56px var(--side) 40px; }
  .post-body { grid-template-columns: 1fr; }
  .post-body__inner { grid-column: 1; border-left: none; border-right: none; padding: 56px var(--side); }
  .post-nav__link--prev { border-right: none; border-bottom: 1px solid var(--border); }
}

/* =====================================================
   CORPO DO ARTIGO — elementos de texto longo
===================================================== */
.entry-content h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.25; letter-spacing: -0.01em;
  color: var(--ink); margin: 3rem 0 1rem;
}
.entry-content h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.2rem; line-height: 1.35; color: var(--ink); margin: 2.25rem 0 .75rem;
}
.entry-content h2:first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { margin: 0 0 1.5rem 1.25rem; }
.entry-content li {
  font-family: var(--font-display); font-size: 1.1rem; line-height: 1.7;
  color: var(--ink-soft); margin-bottom: .5rem;
}
.entry-content li p { margin-bottom: .25rem; }
.entry-content ul { list-style: none; margin-left: 0; }
.entry-content ul li { padding-left: 1.4rem; position: relative; }
.entry-content ul li::before {
  content: "—"; position: absolute; left: 0; color: var(--ink-ghost);
}
.entry-content a {
  color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px;
  text-decoration-color: var(--gold); text-underline-offset: 4px;
  transition: color var(--transition), text-decoration-color var(--transition);
}
.entry-content a:hover { color: var(--gold); text-decoration-color: var(--gold); }
.entry-content strong { font-weight: 500; color: var(--ink); }
.entry-content hr { border: 0; border-top: 1px solid var(--border); margin: 3rem 0; }
.entry-content img { max-width: 100%; height: auto; display: block; margin: 2rem 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-family: var(--font-display); font-size: .95rem; line-height: 1.5; }
.entry-content th, .entry-content td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border); }
.entry-content th { font-family: var(--font-body); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); font-weight: 400; border-bottom-color: var(--ink); }
.entry-content td { color: var(--ink-soft); }
.entry-content td:first-child { color: var(--ink); }
@media (max-width: 640px) { .entry-content table { display: block; overflow-x: auto; } }

/* caixa de resposta rápida (blockquote com pergunta em negrito) */
.entry-content blockquote {
  margin: 2.25rem 0; padding: 1.5rem 1.75rem;
  background: var(--surface-warm); border: 1px solid var(--border);
}
.entry-content blockquote p { font-size: 1rem; line-height: 1.7; margin-bottom: .75rem; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote p:first-child strong { display: block; font-weight: 500; color: var(--ink); }

/* =====================================================
   CLUSTER — badge do guia e índice
===================================================== */
.cluster-badge {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 22px; margin-bottom: 2.5rem;
  border: 1px solid var(--border); text-decoration: none; color: var(--ink);
  transition: background var(--transition), border-color var(--transition);
}
.cluster-badge:hover { background: var(--surface-warm); border-color: var(--ink-ghost); }
.cluster-badge__title { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.35; }

.cluster-index { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.cluster-index > h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: .5rem 0 2rem; color: var(--ink);
}
.cluster-index__group { margin-bottom: 2rem; }
.cluster-index__group h3 {
  font-family: var(--font-body); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: .75rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border-light);
}
.cluster-index ul { list-style: none; }
.cluster-index li { border-bottom: 1px solid var(--border-light); }
.cluster-index li a {
  display: block; padding: 12px 0; text-decoration: none;
  font-family: var(--font-display); font-size: 1.05rem; line-height: 1.4; color: var(--ink);
  transition: color var(--transition), padding-left var(--transition);
}
.cluster-index li a:hover { color: var(--gold); padding-left: 6px; }

/* =====================================================
   BLOG — navegação de categorias
===================================================== */
.blog-categories {
  display: flex; flex-wrap: wrap; gap: 0;
  border-bottom: 1px solid var(--border); padding: 0 var(--side);
}
.blog-categories a {
  font-family: var(--font-body); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-muted); text-decoration: none; padding: 18px 22px 18px 0; margin-right: 22px;
  border-bottom: 1px solid transparent; margin-bottom: -1px; transition: color var(--transition), border-color var(--transition);
}
.blog-categories a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.blog-categories sup { font-size: .5rem; color: var(--ink-ghost); margin-left: 4px; letter-spacing: 0; }
.eyebrow--link { text-decoration: none; transition: color var(--transition); }
.eyebrow--link:hover { color: var(--ink); }

/* =====================================================
   ARTIGO — resumo, sumário, CTA, autora
===================================================== */
.post-summary {
  font-family: var(--font-display); font-size: 1.15rem; line-height: 1.7; color: var(--ink);
  padding: 0 0 1.75rem; margin-bottom: 2rem; border-bottom: 1px solid var(--border);
}
.post-summary strong { font-weight: 500; }

.post-toc { margin: 0 0 2.75rem; padding: 1.5rem 1.75rem; border: 1px solid var(--border); }
.post-toc .eyebrow { margin-bottom: .9rem; }
.post-toc ol { list-style: none; counter-reset: toc; }
.post-toc li { counter-increment: toc; }
.post-toc a {
  display: flex; gap: 14px; padding: 7px 0; text-decoration: none;
  font-family: var(--font-display); font-size: 1rem; line-height: 1.4; color: var(--ink);
  transition: color var(--transition);
}
.post-toc a::before {
  content: counter(toc, decimal-leading-zero); font-family: var(--font-body); font-size: .55rem;
  letter-spacing: .1em; color: var(--ink-ghost); padding-top: .35em; flex: none;
}
.post-toc a:hover { color: var(--gold); }

.article-cta {
  margin: 3rem 0; padding: 2rem 2rem 2.25rem; background: var(--ink); color: var(--surface);
}
.entry-content .article-cta .eyebrow { color: #B8B2A8; margin-bottom: 1rem; display: block; }
.entry-content .article-cta__title { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.25; color: #F8F6F2; margin: 0 0 .75rem; }
.entry-content .article-cta__text { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.6; color: #D9D4CC; margin: 0 0 1.75rem; }
.entry-content .article-cta a.btn {
  display: inline-block; text-decoration: none; background: #F8F6F2; color: #111010; border: 1px solid #F8F6F2;
  padding: 14px 28px; font-family: var(--font-body); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}
.entry-content .article-cta a.btn:hover { background: transparent; color: #F8F6F2; }

.post-author {
  display: flex; gap: 24px; align-items: flex-start;
  margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--border);
}
.post-author__photo { width: 96px; height: 96px; object-fit: cover; flex: none; }
.post-author .eyebrow { margin-bottom: .5rem; }
.post-author__name { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); text-decoration: none; margin-bottom: .6rem; }
.post-author p { font-family: var(--font-display); font-size: 1rem; line-height: 1.65; color: var(--ink-soft); margin-bottom: 1rem; }
.post-tags li a { color: inherit; text-decoration: none; }
.post-tags li:hover { border-color: var(--ink); color: var(--ink); }

@media (max-width: 640px) {
  .post-author { flex-direction: column; }
  .blog-categories a { padding-right: 0; margin-right: 18px; }
}

/* =====================================================
   FORMULÁRIO DE CONTATO
===================================================== */
.contact-page__channels > .eyebrow {
  margin-bottom: 28px;
}
.contact-page__channels-inline .eyebrow { margin-bottom: 14px; }
.contact-list--compact .contact-list__item { padding: 16px 0; }
.contact-list--compact .contact-list__value { font-size: clamp(1.1rem, 1.6vw, 1.4rem); }
.contact-form { display: flex; flex-direction: column; gap: 22px; max-width: 520px; }
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-family: var(--font-body); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-display); font-size: 1.05rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--border); border-radius: 0;
  padding: 10px 0; outline: none; transition: border-color var(--transition); width: 100%;
}
.form-field textarea { resize: vertical; line-height: 1.6; }
.form-field select { cursor: pointer; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-bottom-color: var(--ink); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--ink-ghost); }
.form-error { font-family: var(--font-body); font-size: .62rem; letter-spacing: .06em; color: #8A3A2E; }
.form-hint { font-family: var(--font-body); font-size: .62rem; letter-spacing: .06em; color: var(--ink-ghost); }
.contact-form .btn { align-self: flex-start; margin-top: 6px; }
.form-notice { padding: 22px 26px; border: 1px solid var(--border); margin-bottom: 26px; font-family: var(--font-display); }
.form-notice--error { color: #8A3A2E; border-color: #D9B8B1; font-size: 1rem; }
.form-notice--ok { display: flex; flex-direction: column; gap: 12px; }
.form-notice--ok p { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; color: var(--ink); }

/* =====================================================
   404
===================================================== */
.not-found { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--border); min-height: calc(100vh - var(--nav-h)); }
.not-found__head { padding: 88px var(--side) 64px; border-right: 1px solid var(--border); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.not-found__code { font-family: var(--font-display); font-size: clamp(5rem, 12vw, 9rem); line-height: 1; color: var(--ink-ghost); font-weight: 300; }
.not-found__head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--ink); }
.not-found__head p { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.6; color: var(--ink-soft); max-width: 44ch; }
.not-found__links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 8px; }
.not-found__links a { font-family: var(--font-body); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.not-found__suggest { display: flex; flex-direction: column; }
.not-found__card { display: flex; flex-direction: column; gap: 8px; padding: 32px var(--side); border-bottom: 1px solid var(--border); text-decoration: none; color: var(--ink); transition: background var(--transition); }
.not-found__card:last-child { border-bottom: 0; }
.not-found__card:hover { background: var(--surface-warm); }
.not-found__card strong { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; line-height: 1.35; }
.not-found__card--pillar { background: var(--ink); color: var(--surface); }
.not-found__card--pillar .eyebrow { color: #B8B2A8; }
.not-found__card--pillar:hover { background: #2a2826; }
.not-found__card--pillar strong { font-size: 1.45rem; color: var(--surface); }
.not-found__excerpt { font-family: var(--font-display); font-size: .95rem; line-height: 1.55; color: #D9D4CC; }
@media (max-width: 900px) { .not-found { grid-template-columns: 1fr; } .not-found__head { border-right: 0; border-bottom: 1px solid var(--border); padding: 64px var(--side) 48px; } }

/* =====================================================
   PORTFÓLIO — selo de prêmio
===================================================== */

/* =====================================================
   UX — toque, teclado, leitura
===================================================== */

/* 1. Sem hover (celular/tablet): capas sempre em cor */
@media (hover: none) {
  .hero-cell img, .about-visual img, .about-page-visual img { filter: none; opacity: 1; }
  .about-visual::after, .about-page-visual::after { opacity: 0; }
}

/* 2. Movimento reduzido: nada anima */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal:not(.visible) { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 4. Foco visível por teclado e link "pular para o conteúdo" */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn:focus-visible, .nav-cta:focus-visible { outline-offset: 4px; }
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--ink); color: var(--surface); padding: 12px 18px;
  font-family: var(--font-body); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
[id^="secao-"] { scroll-margin-top: calc(var(--nav-h) + 24px); }

/* 5. Leitura: barra de progresso e voltar ao sumário */
.reading-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 999;
  background: transparent; pointer-events: none;
}
.reading-progress > span { display: block; height: 100%; width: 0; background: var(--ink); transition: width .1s linear; }
.back-to-toc {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: var(--surface); border: 1px solid var(--border);
  color: var(--ink); text-decoration: none;
  font-family: var(--font-body); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background var(--transition);
}
.back-to-toc.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-toc:hover { background: var(--surface-warm); }
@media (max-width: 640px) { .back-to-toc { right: 12px; bottom: 12px; padding: 12px 14px; } .back-to-toc span { display: none; } }

/* 3. Busca no blog */
.blog-search { padding: 22px var(--side); border-bottom: 1px solid var(--border); display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.blog-search label { font-family: var(--font-body); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); flex: none; }
.blog-search input {
  flex: 1; min-width: 220px; max-width: 520px;
  font-family: var(--font-display); font-size: 1.05rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; padding: 8px 0; outline: none;
}
.blog-search input:focus { border-bottom-color: var(--ink); }
.blog-search__count { font-family: var(--font-body); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-ghost); }
.blog-search-results { display: none; }
.blog-search-results.is-active { display: block; }
.blog-search-results.is-active ~ .blog-editorial-list, .blog-search-results.is-active ~ .blog-pagination, .blog-search-results.is-active ~ .blog-categories { display: none; }
.blog-search-results ul { list-style: none; }
.blog-search-results li { border-bottom: 1px solid var(--border); }
.blog-search-results a { display: block; padding: 24px var(--side); text-decoration: none; color: var(--ink); transition: background var(--transition); }
.blog-search-results a:hover { background: var(--surface-warm); }
.blog-search-results .eyebrow { margin-bottom: 8px; }
.blog-search-results h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.3; margin-bottom: 6px; }
.blog-search-results p { font-family: var(--font-display); font-size: 1rem; line-height: 1.55; color: var(--ink-soft); max-width: 72ch; }
.blog-search-results mark { background: transparent; color: var(--gold); font-style: normal; text-decoration: underline; text-underline-offset: 3px; }
.blog-search-empty { padding: 48px var(--side); font-family: var(--font-display); font-size: 1.1rem; color: var(--ink-muted); }

/* 6. Ícones sociais em SVG */
.social-link svg { width: 20px; height: 20px; display: block; }

/* =====================================================
   PORTFÓLIO v2 — grade cheia, capa dominante
   (substitui .portfolio-card / .work-item / .single-project-*)
===================================================== */
.portfolio-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--border);
}
.portfolio-head__intro { padding: 72px var(--side) 56px; border-right: 1px solid var(--border); }
.portfolio-head__intro .eyebrow { margin-bottom: 28px; }
.portfolio-head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 6vw, 5.4rem); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.portfolio-head__text { padding: 72px var(--side) 56px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.portfolio-head__text p { font-family: var(--font-display); font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.5; color: var(--ink-soft); max-width: 34ch; }
.portfolio-head__text span { font-family: var(--font-body); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-ghost); }

/* filtros */
.pfilters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px;
  padding: 18px var(--side); border-bottom: 1px solid var(--border);
}
.pfilters__group { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pfilters__label { font-family: var(--font-body); font-size: .55rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-ghost); margin-right: 10px; }
.pfilters__btn {
  appearance: none; background: none; border: 1px solid transparent; cursor: pointer;
  font-family: var(--font-body); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-muted); padding: 8px 12px; transition: color var(--transition), border-color var(--transition);
}
.pfilters__btn:hover { color: var(--ink); }
.pfilters__btn.is-active { color: var(--ink); border-color: var(--ink); }
.pfilters__count { margin-left: auto; font-family: var(--font-body); font-size: .55rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-ghost); }

/* grade */
.pgrid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--border); border-bottom: 1px solid var(--border);
}
.pgrid--home { border-top: 1px solid var(--border); }
.pcard { background: var(--surface); min-width: 0; }
.pcard.is-hidden { display: none; }
.pcard__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); transition: background var(--transition); }
.pcard__link:hover { background: var(--surface-warm); }
.pcard__cover {
  position: relative; aspect-ratio: 4 / 5;
  padding: clamp(26px, 3.4vw, 48px); background: var(--surface-warm);
  display: flex; align-items: center; justify-content: center;
}
/* a capa aparece inteira: nunca é cortada, só ajustada à caixa */
/* a <img> encolhe até o tamanho real da capa (sem faixas), então box-shadow serve — e é barato */
.pcard__cover img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block;
  box-shadow: 0 14px 28px -12px rgba(17,16,16,.35), 0 2px 4px rgba(17,16,16,.08);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.pcard__link:hover .pcard__cover img { transform: translateY(-4px); box-shadow: 0 24px 36px -14px rgba(17,16,16,.4), 0 2px 4px rgba(17,16,16,.08); }
.pcard__placeholder { font-family: var(--font-display); font-size: 3rem; color: var(--border); }
.pcard__info { padding: 18px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.pcard__title { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; line-height: 1.3; color: var(--ink); }
.pcard__meta { font-family: var(--font-body); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); line-height: 1.6; }
.pcard__award { font-family: var(--font-body); font-size: .55rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.pgrid__empty { padding: 56px var(--side); font-family: var(--font-display); font-size: 1.1rem; color: var(--ink-muted); border-bottom: 1px solid var(--border); }

/* página do projeto */
.project-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); border-bottom: 1px solid var(--border); }
.project-hero__cover {
  display: flex; align-items: center; justify-content: center;
  padding: clamp(40px, 6vw, 96px) var(--side); background: var(--surface-warm); border-right: 1px solid var(--border);
}
.project-hero__cover img {
  max-width: 100%; max-height: min(78vh, 900px); width: auto; height: auto; object-fit: contain; display: block;
  box-shadow: 0 40px 80px -30px rgba(17,16,16,.45), 0 2px 8px rgba(17,16,16,.08);
}
.project-hero__info { padding: clamp(56px, 7vw, 96px) var(--side); display: flex; flex-direction: column; gap: 28px; }
.project-hero__info h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 4.4vw, 4rem); line-height: 1.05; letter-spacing: -.02em; color: var(--ink); }
.project-hero__excerpt { font-family: var(--font-display); font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.5; color: var(--ink-soft); }
.project-ficha { display: flex; flex-direction: column; border-top: 1px solid var(--border); margin-top: 8px; }
.project-ficha > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border-light); }
.project-ficha dt { font-family: var(--font-body); font-size: .55rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-ghost); padding-top: .35em; }
.project-ficha dd { font-family: var(--font-display); font-size: 1.02rem; line-height: 1.4; color: var(--ink); }
.project-hero__actions { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 8px; }
.project-link { font-family: var(--font-body); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.project-link--muted { color: var(--ink-muted); border-bottom-color: transparent; }
.project-link--muted:hover { color: var(--ink); }

.project-about { padding: clamp(56px, 7vw, 96px) var(--side); border-bottom: 1px solid var(--border); }
.project-about .eyebrow { margin-bottom: 28px; }
.project-about .entry-content { padding: 0; max-width: 68ch; }

.project-gallery {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--border); border-bottom: 1px solid var(--border);
}
.project-gallery__item { margin: 0; background: var(--surface-warm); padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.project-gallery__item--wide { grid-column: 1 / -1; }
.project-gallery__item img { max-width: 100%; height: auto; display: block; box-shadow: 0 24px 48px -24px rgba(17,16,16,.35); }
.project-gallery__item figcaption { font-family: var(--font-body); font-size: .55rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-ghost); }

.project-related__head { padding: 56px var(--side) 32px; }
.project-related__head .eyebrow { margin-bottom: 14px; }
.project-related__head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--ink); }

@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .portfolio-head, .project-hero { grid-template-columns: 1fr; }
  .portfolio-head__intro, .project-hero__cover { border-right: 0; border-bottom: 1px solid var(--border); }
  .portfolio-head__intro, .portfolio-head__text, .project-hero__info { padding: 48px var(--side) 40px; }
  .project-hero__cover { padding: 40px var(--side); }
  .project-hero__cover img { max-height: 70vh; }
}
@media (max-width: 640px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard__info { padding: 14px 14px 18px; }
  .pcard__title { font-size: 1rem; }
  .pfilters { gap: 8px 24px; }
  .pfilters__count { margin-left: 0; width: 100%; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-ficha > div { grid-template-columns: 90px 1fr; }
}

/* =====================================================
   BLOG v2 — grade com filetes, cards de texto, destaque do guia
===================================================== */
.guide-feature {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  border-bottom: 1px solid var(--border); text-decoration: none; color: var(--ink);
  background: var(--ink); color: var(--surface); transition: background var(--transition);
}
.guide-feature:hover { background: #1c1a19; }
.guide-feature__copy { padding: clamp(40px, 5vw, 72px) var(--side); display: flex; flex-direction: column; gap: 18px; }
.guide-feature__copy .eyebrow { color: #B8B2A8; }
.guide-feature__copy h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.1; letter-spacing: -.015em; color: var(--surface); max-width: 22ch; }
.guide-feature__copy p { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.6; color: #D9D4CC; max-width: 60ch; }
.guide-feature__copy .about-cta { color: var(--surface); margin-top: 6px; }
.guide-feature__copy .cta-line { background: var(--surface); }
.guide-feature__sections {
  display: flex; flex-wrap: wrap; align-content: center; gap: 8px;
  padding: clamp(40px, 5vw, 72px) var(--side); border-left: 1px solid rgba(248,246,242,.14);
}
.guide-feature__sections span {
  font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.7rem); color: rgba(248,246,242,.45);
  padding: 6px 14px; border: 1px solid rgba(248,246,242,.18);
}

.bgrid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--border); border-bottom: 1px solid var(--border);
}
.bcard { background: var(--surface); min-width: 0; }
.bcard__link { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 32px var(--side-sm, 28px) 28px; text-decoration: none; color: var(--ink); transition: background var(--transition); }
.bcard__link:hover { background: var(--surface-warm); }
.bcard__meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-body); font-size: .55rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
.bcard__time { color: var(--ink-ghost); }
.bcard__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
.bcard__excerpt { font-family: var(--font-display); font-size: .98rem; line-height: 1.6; color: var(--ink-soft); flex: 1; }
.bcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; }
.bcard__section { font-family: var(--font-body); font-size: .52rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-ghost); border: 1px solid var(--border); padding: 4px 8px; }
.bcard__read { font-family: var(--font-body); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-left: auto; }
.blog-pagination { padding: 32px var(--side); display: flex; justify-content: center; border-bottom: 1px solid var(--border); }

@media (max-width: 1100px) { .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .guide-feature { grid-template-columns: 1fr; }
  .guide-feature__sections { border-left: 0; border-top: 1px solid rgba(248,246,242,.14); padding-top: 28px; }
}
@media (max-width: 640px) {
  .bgrid { grid-template-columns: 1fr; }
  .bcard__link { padding: 26px var(--side) 24px; }
  .guide-feature__sections span { font-size: 1rem; }
}

/* filtros: amostra de cor e estilo do card */
.pfilters__btn { display: inline-flex; align-items: center; gap: 8px; }
.pfilters__group--colors { gap: 2px; }
.pfilters__btn--color { padding: 6px; border-radius: 50%; }
.pfilters__btn--color .pfilters__swatch { width: 18px; height: 18px; }
.pfilters__btn--color.is-active { border-color: transparent; box-shadow: inset 0 0 0 1px var(--ink); }
.pfilters__btn--color:hover .pfilters__swatch { transform: scale(1.12); }
.pfilters__swatch {
  width: 11px; height: 11px; border-radius: 50%; flex: none;
  border: 1px solid rgba(17,16,16,.18); transition: transform var(--transition);
}
.pcard__style { font-family: var(--font-body); font-size: .52rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-ghost); }
.project-hero__cover img { max-height: min(80vh, 1000px); }


/* =====================================================
   ACABAMENTO — os detalhes que não se veem, mas se sentem
   1. movimento: uma curva única, mais lenta e suave (var(--ease))
   2. tipografia: kerning, ligaturas e algarismos antigos no texto corrido
   3. filetes finos de verdade em telas de alta densidade
   4. grão de papel sobre o fundo
   5. cabeçalho que se recolhe e ganha um filete ao rolar
   6. revelação em cascata (stagger) nas grades
   7. imagens que surgem quando terminam de carregar
   8. sublinhado que se desenha sob os links
   9. botões que respiram no hover (tracking abre um fio)
  10. seleção de texto, barra de rolagem e hairlines na paleta
===================================================== */

/* 2. tipografia fina */
body { font-feature-settings: "kern" 1, "liga" 1, "calt" 1; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.entry-content p, .entry-content li, .post-summary, .project-about .entry-content, .about-page-text p, .contact-page__lead,
.pcard__meta, .bcard__excerpt, .project-ficha dd, .post-hero__byline, .footer-brand p { font-feature-settings: "kern" 1, "liga" 1, "onum" 1; }
h1, h2, h3, .hero-title, .post-hero__title, .project-hero__info h1, .portfolio-head h1 { font-feature-settings: "kern" 1, "liga" 1, "dlig" 1; text-wrap: balance; hanging-punctuation: first; }
.entry-content p { text-wrap: pretty; }

/* 3. filetes de 0,5 px onde a tela permite */
@media (min-resolution: 2dppx) {
  .pgrid, .bgrid, .project-gallery { gap: .5px; }
  .portfolio-head, .project-hero, .post-hero, .blog-editorial-hero, .contact-page, .project-about, .project-gallery, .pfilters, .blog-categories,
  .about-page-hero, .about-page-intro, .cta-band, #site-header, .sec-head, .numbers-row, .num-cell, .awards-row, .award-item, .services-grid, .service-card,
  .footer-top, .footer-bottom, .post-nav, .post-nav__link--prev, .contact-page__copy, .portfolio-head__intro, .project-hero__cover, .blog-editorial-hero__intro,
  .project-ficha, .project-ficha > div, .contact-list, .contact-list__item, .cluster-index li, .cluster-index__group h3, .post-toc, .cluster-badge,
  .post-tags, .post-author, .post-body__inner, .project-related, .blog-pagination { border-width: .5px; }
}

/* 4. grão de papel — um véu quase invisível sobre todo o site */
/* grão estático: uma textura pequena repetida, sem blend nem animação (custa quase nada) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 9990; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.07 0 0 0 0 0.06 0 0 0 0 0.06 0 0 0 .8 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* 5. cabeçalho: começa aberto, recolhe ao rolar */
#site-header { transition: box-shadow .6s var(--ease); background-color: rgba(248,246,242,.96); }
#site-header .header-inner { transition: height .6s var(--ease), padding .6s var(--ease); }
html.is-scrolled #site-header { box-shadow: 0 1px 0 var(--border); }
html.is-scrolled #site-header .header-inner { height: calc(var(--nav-h) - 16px); }

/* 6. revelação em cascata */
html.js .reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal:not(.visible) { transform: translateY(14px); }
.pgrid .pcard, .bgrid .bcard, .services-grid .service-card, .awards-row .award-item { transition-delay: calc(var(--i, 0) * 45ms); }

/* 7. imagens surgem ao carregar */
html.js img[loading="lazy"] { opacity: 0; transition: opacity .6s var(--ease); }
html.js img[loading="lazy"].is-loaded, html.no-js img { opacity: 1; }
.pcard__cover img { transition: opacity .8s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }

/* 8. sublinhado desenhado */
.entry-content a, .footer-links a, .project-link, .post-author__name {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .5s var(--ease), color var(--transition);
}
.entry-content a { background-image: linear-gradient(var(--gold), var(--gold)); }
.entry-content a:hover, .footer-links a:hover, .project-link:hover, .post-author__name:hover { background-size: 0% 1px; background-position: 100% 100%; }
.footer-links a { background-size: 0% 1px; }
.footer-links a:hover { background-size: 100% 1px; background-position: 0 100%; }
.project-link { border-bottom: 0; padding-bottom: 3px; }
.project-link--muted { background-size: 0% 1px; }
.project-link--muted:hover { background-size: 100% 1px; background-position: 0 100%; }

/* 9. botões que respiram */
.btn, .nav-cta, .pfilters__btn, .blog-categories a { transition: letter-spacing .5s var(--ease), background var(--transition), color var(--transition), border-color var(--transition); }
.btn:hover { letter-spacing: .2em; }
.about-cta .cta-line { transition: width .6s var(--ease); }
.primary-nav a { position: relative; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--ink); transition: right .5s var(--ease); }
.primary-nav a:hover::after, .primary-nav a.current::after { right: 0; }

/* 10. seleção, rolagem, foco */
::selection { background: var(--ink); color: var(--surface); }
html { scrollbar-width: thin; scrollbar-color: var(--ink-ghost) transparent; }
::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-thumb { background: var(--ink-ghost); border-radius: 8px; border: 2px solid var(--surface); } ::-webkit-scrollbar-track { background: transparent; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

/* respiro extra em telas largas */
@media (min-width: 1500px) {
  :root { --side: 96px; }
  .entry-content p, .entry-content li { font-size: 1.15rem; }
}

/* entrada da página: um fade curto no primeiro carregamento */
html.js body { animation: page-in .4s var(--ease) both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html.js body { animation: none; } body::before { animation: none; } }

/* =====================================================
   IMPRESSÃO — o artigo vira uma página de papel de verdade
===================================================== */
@media print {
  @page { margin: 22mm 20mm; }
  body::before, #site-header, #site-footer, .skip-link, .reading-progress, .back-to-toc, .cluster-badge, .post-toc,
  .article-cta, .cluster-index, .post-nav, .cta-band, .post-author .about-cta, .blog-search, .pfilters, .guide-feature,
  .project-hero__actions, .project-related, .contact-page__channels, .primary-nav, .menu-toggle { display: none !important; }
  html.js .reveal:not(.visible) { opacity: 1; transform: none; }
  html.js img[loading="lazy"] { opacity: 1; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .post-hero__copy, .post-body__inner, .project-about, .project-hero__info { padding: 0 !important; border: 0 !important; }
  .post-body { grid-template-columns: 1fr; }
  .post-hero__title, .project-hero__info h1 { font-size: 24pt; }
  .entry-content p, .entry-content li { font-size: 11pt; line-height: 1.5; color: #000; }
  .entry-content h2 { page-break-after: avoid; font-size: 15pt; } .entry-content h3 { page-break-after: avoid; }
  .entry-content blockquote { break-inside: avoid; border: 1px solid #999; background: none; }
  .entry-content a { color: #000; background: none; text-decoration: underline; }
  .entry-content a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .post-author { border-top: 1px solid #999; }
  .project-hero { grid-template-columns: 1fr; } .project-hero__cover { background: none; border: 0; padding: 0; }
  .project-hero__cover img { max-height: 120mm; box-shadow: none; }
  .project-gallery { display: block; } .project-gallery__item { padding: 0; margin: 8mm 0; background: none; break-inside: avoid; }
  .project-gallery__item img { box-shadow: none; }
}

/* seletor de idioma */
.lang-switch { display: inline-flex; gap: 2px; margin-left: 28px; padding-left: 22px; border-left: 1px solid var(--border); }
.lang-switch a { font-family: var(--font-body); font-size: .55rem; letter-spacing: .16em; color: var(--ink-ghost); text-decoration: none; padding: 4px 6px; transition: color var(--transition); }
.lang-switch a:hover, .lang-switch a.is-active { color: var(--ink); }
.lang-switch a::after { display: none; }
@media (max-width: 900px) { .lang-switch { margin: 18px 0 0; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--border); } }

/* =====================================================
   AVISO DE IDIOMA (v8.5) — faixa discreta no pé da tela, criada pelo main.js
===================================================== */
.langbar {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  z-index: 60; display: flex; align-items: center; gap: 18px;
  max-width: calc(100vw - 2 * var(--side)); padding: 12px 14px 12px 22px;
  background: var(--ink); color: var(--surface);
  font-family: var(--font-body); font-size: .78rem; letter-spacing: .04em; line-height: 1.4;
  box-shadow: 0 10px 30px rgba(17, 16, 16, .18);
  animation: langbar-in .6s var(--ease) both .8s;
}
.langbar__text { color: var(--ink-ghost); }
.langbar__go { color: var(--surface); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 1px; white-space: nowrap; }
.langbar__go:hover { color: var(--gold); }
.langbar__close { background: none; border: 0; color: var(--ink-ghost); font-size: 1.15rem; line-height: 1; padding: 4px 8px; cursor: pointer; }
.langbar__close:hover { color: var(--surface); }
.langbar__go:focus-visible, .langbar__close:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
@keyframes langbar-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 560px) {
  .langbar { left: var(--side); right: var(--side); transform: none; bottom: 14px; gap: 12px; justify-content: space-between; animation-name: langbar-in-m; }
  .langbar__text { display: none; }
  @keyframes langbar-in-m { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .langbar { animation: none; } }
@media print { .langbar { display: none; } }

/* =====================================================
   WHATSAPP + FAQ DO CONTATO (v8.6)
===================================================== */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 880;
  display: inline-flex; align-items: center; gap: 0;
  height: 52px; min-width: 52px; padding: 0 14px; border-radius: 26px;
  background: var(--ink); color: var(--surface); text-decoration: none;
  box-shadow: 0 8px 24px rgba(17, 16, 16, .18);
  transition: background var(--transition), box-shadow var(--transition);
}
.wa-fab svg { width: 24px; height: 24px; flex: none; }
.wa-fab__label {
  max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0;
  font-family: var(--font-body); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  transition: max-width .5s var(--ease), opacity .4s var(--ease), margin .5s var(--ease);
}
.wa-fab:hover, .wa-fab:focus-visible { background: #1F5F46; box-shadow: 0 10px 30px rgba(17, 16, 16, .24); }
.wa-fab:hover .wa-fab__label, .wa-fab:focus-visible .wa-fab__label { max-width: 220px; opacity: 1; margin: 0 6px 0 10px; }
.wa-fab:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
/* nos artigos, o "↑ Sumário" sobe para dar lugar */
body:has(.wa-fab) .back-to-toc { bottom: 84px; }
@media (max-width: 640px) {
  .wa-fab { right: 12px; bottom: 12px; }
  body:has(.wa-fab) .back-to-toc { bottom: 76px; }
}
@media (max-width: 560px) {
  body.has-langbar .wa-fab { bottom: 76px; }
  body.has-langbar .back-to-toc { bottom: 140px; }
}
@media (hover: none) { .wa-fab__label { display: none; } }
@media print { .wa-fab { display: none; } }

.entry-content .article-cta a.article-cta__wa {
  display: block; width: fit-content; margin: 1.5rem 0 0; color: #D9D4CC; text-decoration: none;
  font-family: var(--font-body); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid rgba(248, 246, 242, .3); padding-bottom: 2px;
}
.entry-content .article-cta a.article-cta__wa:hover { color: #F8F6F2; border-bottom-color: var(--gold); }

.contact-faq {
  display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); gap: var(--space-lg);
  padding: var(--space-xl) var(--side); border-bottom: 1px solid var(--border);
}
.contact-faq__head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.1; margin-top: 1rem; color: var(--ink); }
.contact-faq__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-lg); }
.contact-faq__item { padding: 1.75rem 0; border-top: 1px solid var(--border); }
.contact-faq__item h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1.3; color: var(--ink); margin: 0 0 .75rem; }
.contact-faq__item p { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.65; color: var(--ink-soft); margin: 0; }
@media (max-width: 1000px) { .contact-faq { grid-template-columns: 1fr; gap: var(--space-md); padding: var(--space-lg) var(--side); } }
@media (max-width: 640px)  { .contact-faq__list { grid-template-columns: 1fr; } }

