/* Work Sans, self-hosted */
@font-face { font-family: 'Work Sans'; font-style: normal; font-display: swap; font-weight: 300; src: url('fonts/work-sans-latin-ext-300-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-display: swap; font-weight: 300; src: url('fonts/work-sans-latin-300-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-display: swap; font-weight: 400; src: url('fonts/work-sans-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-display: swap; font-weight: 400; src: url('fonts/work-sans-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-display: swap; font-weight: 500; src: url('fonts/work-sans-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-display: swap; font-weight: 500; src: url('fonts/work-sans-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Liame Service Design — site styles
   Layout: one calm column on Cal paper, wide margins, thin Linho rules between sections;
   accents appear only as small dots that mark each offer. Deliberately single light theme. */
:root {
  --bg: #F7F3EE;          /* Cal */
  --surface: #FCFAF7;
  --line: #E5DDD2;        /* Linho */
  --line-strong: #CFC5B7;
  --fg: #2A2622;          /* Carvão */
  --fg-2: #4A4540;
  --muted: #5F5850;
  --musgo: #4A5A43;       /* Redesign + logo dot */
  --ardosia: #3E4C59;     /* Diagnosis */
  --ferrugem: #9A4F32;    /* Facilitation */
  --terracota: #D9927A;   /* Employee experience (dots) */
  --terracota-text: #B36F57; /* Employee experience (line art) */
  --font: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(2.5rem, 5.6vw, 4.5rem);
  --fs-h2: clamp(1.9rem, 3.4vw, 2.6rem);
  --fs-h3: 1.5rem;
  --fs-lead: clamp(1.2rem, 1.8vw, 1.45rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.8125rem;
  --gutter-l: max(clamp(16px, 5vw, 64px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 5vw, 64px), env(safe-area-inset-right, 0px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--musgo); }
:focus-visible { outline: 2px solid var(--musgo); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-weight: 300; margin: 0; text-wrap: balance; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; padding-block: 22px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.logo span { font-size: 1.6rem; font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.logo:hover { color: var(--fg); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: var(--fs-small); }
.nav a { text-decoration: none; color: var(--fg-2); padding-block: 4px; }
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); text-decoration: underline; text-decoration-color: var(--musgo); }
.lang { color: var(--muted); font-size: var(--fs-label); letter-spacing: 0.08em; }
.lang strong { color: var(--fg); font-weight: 500; }
.lang a, .nav .lang a { color: var(--muted); text-decoration: none; padding-block: 4px; }
.lang a:hover, .nav .lang a:hover { color: var(--fg); text-decoration: underline; text-decoration-color: var(--musgo); }

/* Shared type */
.label { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.display { font-size: var(--fs-display); letter-spacing: -0.035em; line-height: 1.04; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); letter-spacing: -0.015em; }
.lead { font-size: var(--fs-lead); font-weight: 300; line-height: 1.45; color: var(--fg); max-width: 34em; }
.body-text { max-width: 38em; color: var(--fg-2); }
.small { font-size: var(--fs-small); color: var(--fg-2); }
.text-link { font-size: var(--fs-small); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--fg); padding-bottom: 2px; }
.text-link:hover { border-color: var(--musgo); }

/* Sections */
main { display: flex; flex-direction: column; }
.section { padding-block: clamp(56px, 8vw, 112px); border-top: 1px solid var(--line); }
.section:first-child { border-top: 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split > * { min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }

/* Hero */
.hero { padding-block: clamp(56px, 9vw, 128px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-figure { justify-self: end; width: 100%; max-width: 420px; }
.hero-figure text { font-family: var(--font); font-size: 3.3px; font-weight: 400; fill: var(--muted); letter-spacing: 0.04em; text-anchor: middle; }

/* Offers */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.offer { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 1px solid var(--fg); min-width: 0; }
.offer-name { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 400; letter-spacing: -0.01em; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; background: var(--fg); }
.dot--diagnosis { background: var(--ardosia); }
.dot--redesign { background: var(--musgo); }
.dot--facilitation { background: var(--ferrugem); }
.dot--common { background: var(--fg); }
.dot--ex { background: var(--terracota); }
.offer .label { letter-spacing: 0.1em; }
.offer p { color: var(--fg-2); }

/* Steps (a real sequence) */
.steps { display: flex; flex-direction: column; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding-block: 22px; border-top: 1px solid var(--line); counter-increment: step; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.1em; color: var(--muted); padding-top: 6px; font-variant-numeric: tabular-nums; }
.steps strong { display: block; font-size: 1.25rem; font-weight: 400; letter-spacing: -0.01em; margin-bottom: 4px; }
.steps p { color: var(--fg-2); }

/* Clients */
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) clamp(16px, 2.5vw, 32px); align-items: center; }
.logos li { display: flex; align-items: center; justify-content: center; min-height: 56px; min-width: 0; }
.logos img { display: block; max-width: 100%; height: auto; opacity: 0.85; }
@media (max-width: 1000px) {
  .logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 24px; }
  .logos li { flex: 0 1 calc((100% - 3 * 24px) / 4); }
}
@media (max-width: 560px) { .logos li { flex-basis: calc((100% - 2 * 24px) / 3); } }

/* Case rows */
.case-rows { display: flex; flex-direction: column; }
.case-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 16px 40px; align-items: baseline; padding-block: 28px; border-top: 1px solid var(--line); text-decoration: none; }
.case-row:last-child { border-bottom: 1px solid var(--line); }
.case-row:hover { color: var(--fg); background: var(--surface); }
.case-row .h3 { font-size: 1.75rem; }
.case-row .arrow { font-size: 1.25rem; color: var(--muted); }

/* Contact band */
.contact-band .display { font-size: clamp(2.1rem, 4.6vw, 3.75rem); max-width: 16em; }
.contact-lines { display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: var(--fs-lead); font-weight: 300; }
.contact-lines .email { user-select: all; }

/* Page intro */
.page-intro { padding-block: clamp(56px, 8vw, 112px) clamp(40px, 5vw, 72px); }
.page-intro .stack { max-width: 52rem; }

/* Services detail */
.service { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); }
.service > * { min-width: 0; }
.service-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.service-cols > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.list-plain li { padding-block: 8px; border-top: 1px solid var(--line); color: var(--fg-2); font-size: var(--fs-small); }
.duration { font-size: var(--fs-small); color: var(--muted); }

/* Work detail */
.case { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); scroll-margin-top: 24px; }
.case > * { min-width: 0; }
.case-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.case-body > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.case-body .full { grid-column: 1 / -1; }
.todo { border: 1px dashed var(--line-strong); padding: 12px 16px; color: var(--muted); font-size: var(--fs-small); background: var(--surface); }

/* About */
.beliefs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.beliefs > div { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); min-width: 0; }
.beliefs strong { font-size: 1.25rem; font-weight: 400; letter-spacing: -0.01em; }
.beliefs p { color: var(--fg-2); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
th, td { text-align: left; padding: 14px 16px 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
th { font-weight: 500; font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-top: 0; }
td:first-child { color: var(--fg); }
td { color: var(--fg-2); }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.quotes figure { margin: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.quotes blockquote { margin: 0; font-size: var(--fs-lead); font-weight: 300; line-height: 1.4; letter-spacing: -0.01em; }
.quotes figcaption { font-size: var(--fs-small); color: var(--muted); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); }
.contact-grid > * { min-width: 0; }
.contact-card { display: flex; flex-direction: column; gap: 18px; padding: 24px; background: var(--surface); border: 1px solid var(--line); align-self: start; width: 100%; max-width: 420px; justify-self: end; }
.contact-card dd { margin: 4px 0 0; font-size: 1.2rem; font-weight: 300; }
.contact-card dl { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-card dt { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.email-row .email { user-select: all; overflow-wrap: anywhere; }
.copy-status { min-height: 1.2em; margin-top: 4px; color: var(--musgo); font-size: var(--fs-label); }
.copy-btn { align-self: flex-start; font: inherit; font-size: var(--fs-small); background: transparent; color: var(--fg); border: 1px solid var(--fg); border-radius: 999px; padding: 10px 20px; cursor: pointer; min-height: 44px; }
.copy-btn:hover { border-color: var(--musgo); color: var(--musgo); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 40px; font-size: var(--fs-small); color: var(--fg-2); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 32px; }
.footer-grid > * { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-cta { font-size: var(--fs-lead); font-weight: 300; color: var(--fg); letter-spacing: -0.01em; }
.footer-cta .email { user-select: all; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: var(--fs-label); letter-spacing: 0.04em; }

/* Visual touches (home) */
.ripple { fill: none; stroke: var(--musgo); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: ripple 4.5s ease-out infinite; opacity: 0; }
@keyframes ripple { 0% { transform: scale(1); opacity: 0.7; } 70% { opacity: 0; } 100% { transform: scale(9); opacity: 0; } }

.offer-art { width: 100%; max-width: 180px; height: auto; margin-bottom: 6px; }
.offer-art--diagnosis { color: var(--ardosia); }
.offer-art--redesign { color: var(--musgo); }
.offer-art--facilitation { color: var(--ferrugem); }
.offer-art--common { color: var(--fg); }
.offer-art--ex { color: var(--terracota-text); }
.offers--four { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(40px, 5vw, 64px); }
.offers--four .offer-name { white-space: nowrap; }
@media (max-width: 560px) { .offers--four .offer-name { white-space: normal; } }
.common-art { width: 100%; max-width: 280px; height: auto; justify-self: end; }
.beliefs--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.intro-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro-split .common-art { max-width: 280px; }
.intro-with-photo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.intro-with-photo > * { min-width: 0; }
@media (max-width: 900px) { .intro-with-photo { grid-template-columns: minmax(0, 1fr); } }
.intro-photo { margin: 0; justify-self: end; width: 100%; max-width: 290px; display: flex; flex-direction: column; gap: 8px; }
.intro-photo .photo { aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(0.9); }
.intro-photo figcaption { font-size: 0.75rem; line-height: 1.4; color: var(--muted); letter-spacing: 0.02em; }
@media (max-width: 900px) { .intro-photo { justify-self: start; max-width: 240px; } }
.steps.steps--plain { list-style: none; padding: 0; margin: 0; }
.steps.steps--plain li { grid-template-columns: minmax(0, 1fr); }
.steps.steps--plain li::before { content: none; }
@media (max-width: 900px) {
  .beliefs--three { grid-template-columns: minmax(0, 1fr); }
  .common-art { justify-self: start; max-width: 200px; }
  .intro-split { grid-template-columns: minmax(0, 1fr); }
}

.photo { display: block; width: 100%; height: auto; background: var(--line); }
.photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 400px; margin-top: 16px; }
.photo-pair figure { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.photo-pair .photo { aspect-ratio: 1 / 1; object-fit: cover; filter: saturate(0.85); }
.photo-pair .photo--workshop { object-position: 10% 50%; }
.photo-pair .photo--team { object-position: 64% 78%; }
.photo-pair figcaption { font-size: 0.75rem; line-height: 1.4; color: var(--muted); letter-spacing: 0.02em; }
.about-photo { max-width: 380px; justify-self: end; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 900px) { .about-photo { justify-self: start; } }
/* Intro photo that spans exactly from the label to the last line of text */
.intro-with-photo--fill { align-items: stretch; }
.photo-fill { position: relative; justify-self: end; width: 100%; max-width: 320px; min-height: 280px; }
.photo-fill .about-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; aspect-ratio: auto; object-position: 50% 30%; }
@media (max-width: 900px) { .photo-fill { justify-self: start; max-width: 300px; aspect-ratio: 4 / 5; min-height: 0; } }


.service { display: flex; flex-direction: column; gap: clamp(36px, 4.5vw, 64px); }
.service-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; }
.service-head > * { min-width: 0; }
.service-art { width: 100%; max-width: 300px; height: auto; justify-self: end; }
@media (max-width: 900px) {
  .service-head { grid-template-columns: minmax(0, 1fr); }
  .service-art { justify-self: start; max-width: 220px; }
}
.service-jump { display: flex; flex-wrap: wrap; gap: 12px; }
.service-jump a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-size: var(--fs-small); color: var(--fg); }
.service-jump a:hover { border-color: var(--fg); color: var(--fg); }
.section[id] { scroll-margin-top: 16px; }

/* Work: a grid of projects, two per row, newest first */
.type-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; font-size: var(--fs-small); color: var(--fg-2); }
.type-legend span { display: inline-flex; align-items: center; gap: 8px; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vw, 72px) clamp(32px, 5vw, 72px); }
.case-item { display: flex; flex-direction: column; gap: 20px; min-width: 0; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.case-meta, .case-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.case-main { gap: 14px; flex: 1; }
.case-meta-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.case-client { font-size: 1.75rem; font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; }
.case-project { font-size: var(--fs-small); color: var(--fg-2); }
.case-type { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.case-type .dot { width: 8px; height: 8px; }
.case-headline { font-size: clamp(1.15rem, 1.7vw, 1.35rem); font-weight: 300; line-height: 1.4; letter-spacing: -0.01em; text-wrap: pretty; }
.case-note { font-size: var(--fs-small); color: var(--fg-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; margin-top: auto; }
.chip { font-size: var(--fs-label); color: var(--fg-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 12px; }
@media (max-width: 760px) {
  .case-grid { grid-template-columns: minmax(0, 1fr); }
}

.path-art { width: 100%; max-width: 180px; height: auto; }

/* About: full testimonials */
.quotes--full { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); }
.quotes--full blockquote { font-size: 1.1rem; line-height: 1.6; font-weight: 300; }
.quote-mark { font-size: 3.5rem; line-height: 0.7; font-weight: 300; color: var(--musgo); height: 28px; }
@media (max-width: 760px) {
  .quotes--full { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) { .ripple { animation: none; } }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split, .service, .case, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-figure { justify-self: start; max-width: 300px; }
  .offers, .service-cols { grid-template-columns: minmax(0, 1fr); }
  .case-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .case-row .arrow { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-card { justify-self: start; }
}
@media (max-width: 640px) {
  .case-body, .beliefs, .quotes { grid-template-columns: minmax(0, 1fr); }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Partilhas / Sharing hub */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { font: inherit; font-size: var(--fs-label); color: var(--fg-2); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 14px; cursor: pointer; }
.filter-chip[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.share-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 48px); }
.share-card { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 1px solid var(--fg); min-width: 0; }
.share-card[hidden] { display: none; }
.share-title { font-size: 1.35rem; font-weight: 400; letter-spacing: -0.01em; line-height: 1.25; }
.share-card p { color: var(--fg-2); }
.share-aud { font-size: var(--fs-small); color: var(--muted) !important; }
.share-link { margin-top: auto; padding-top: 4px; }
.share-soon { font-size: var(--fs-small); color: var(--muted); }
.back-link { font-size: var(--fs-small); color: var(--fg-2); text-decoration: none; }
.back-link:hover { color: var(--fg); text-decoration: underline; }
.share-item { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.h3-like { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -0.015em; line-height: 1.25; }
.share-cover { aspect-ratio: 4 / 3; max-width: 100%; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 28px; color: var(--fg); }
.share-cover svg { width: 46%; height: auto; margin-bottom: auto; }
.share-cover-t { font-size: 1.6rem; font-weight: 300; letter-spacing: -0.02em; line-height: 1.15; }
.share-cover-s { font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.share-form { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line-strong); background: var(--surface); }
.share-form label { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.share-form input[type="text"], .share-form input[type="email"] { font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line-strong); padding: 10px 12px; width: 100%; }
.share-form input:focus-visible, .filter-chip:focus-visible { outline: 2px solid var(--musgo); outline-offset: 2px; }
.share-form .sf-consent { display: flex; gap: 10px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: var(--fs-small); color: var(--fg-2); line-height: 1.5; }
.sf-consent input { margin-top: 4px; accent-color: var(--musgo); flex: none; }
.sf-msg { font-size: var(--fs-small); color: var(--fg-2); }
.sf-msg:empty { display: none; }
.sf-btn { align-self: flex-start; font: inherit; font-size: var(--fs-small); font-weight: 500; background: var(--fg); color: var(--bg); border: 1px solid var(--fg); border-radius: 999px; padding: 10px 20px; cursor: pointer; margin-top: 4px; }
.sf-btn:hover { opacity: 0.88; }
@media (max-width: 900px) {
  .share-grid, .share-item { grid-template-columns: minmax(0, 1fr); }
}

/* Para quem / Who we work with */
.for-whom > div > p.for-link { margin-top: auto; padding-top: 4px; }
.for-whom > div > p.for-link .text-link { font-size: var(--fs-small); }

/* Work intro: photo spans from the label to the last line of text */
.intro-photo--fill { height: 100%; }
.intro-photo--fill .photo-box { position: relative; flex: 1 1 auto; min-height: 260px; }
.intro-photo--fill .photo-box .photo { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 900px) { .intro-photo--fill { height: auto; } .intro-photo--fill .photo-box { flex: none; aspect-ratio: 4 / 5; min-height: 0; } }

/* Em Comum intro: symbol beside the whole intro, as on the Home teaser */
.intro-with-art { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro-with-art > * { min-width: 0; }
@media (max-width: 900px) { .intro-with-art { grid-template-columns: minmax(0, 1fr); } }
