/* Menefilms — tokens do manual de marca (Ego Red, Ego Black, Black Beauty, Wind Chime, Bright White) */
:root {
  --red: #DD0001;
  --red-deep: #A80001;
  --black: #0A0A0A;
  --beauty: #121211;
  --chime: #CFCAC3;
  --white: #FFFFFF;

  --bg: #FFFFFF;
  --bg-2: #F3F1EE;
  --fg: #0A0A0A;
  --muted: #5F5F5B;
  --line: rgba(10, 10, 10, .14);
  --card: #FFFFFF;

  --sans: "Sora", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1440px;
}
:root[data-theme="dark"] {
  --bg: #0A0A0A;
  --bg-2: #121211;
  --fg: #FFFFFF;
  --muted: #A0A09B;
  --line: rgba(255, 255, 255, .14);
  --card: #121211;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A0A0A; --bg-2: #121211; --fg: #FFFFFF; --muted: #A0A09B; --line: rgba(255,255,255,.14); --card: #121211;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background .5s ease, color .5s ease;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.sans { font-family: var(--sans); font-weight: 800; letter-spacing: -.045em; }
::selection { background: var(--red); color: #fff; }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: 42px; padding: 0 26px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.pill:hover { transform: translateY(-2px); }
.pill--lg { height: 52px; padding: 0 40px; font-size: 13px; }
.pill--red { background: var(--red); color: #fff; }
.pill--red:hover { background: var(--red-deep); }
.pill--white { background: #fff; color: var(--black); }
.pill--ghost { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.pill--ghost:hover { background: #fff; color: var(--black); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px var(--gutter);
  transition: background .3s ease, padding .3s ease;
}
.nav.is-stuck { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); padding-block: 14px; }
.brand { font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand span { color: var(--red); }
.mode {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 18px;
  border: 1.5px solid var(--red); border-radius: 999px; color: var(--red);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.mode svg { width: 12px; height: 12px; }
.mode:hover { background: var(--red); color: #fff; }
.burger { justify-self: end; width: 40px; height: 24px; position: relative; z-index: 60; }
.burger i { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--fg); transition: transform .35s ease, top .35s ease; }
.burger i:first-child { top: 7px; } .burger i:last-child { top: 16px; }
.menu-open .burger i { background: #fff; }
.menu-open .burger i:first-child { top: 11px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 11px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--red); color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 0 var(--gutter);
  clip-path: circle(0 at calc(100% - 60px) 34px); transition: clip-path .7s cubic-bezier(.7,0,.2,1);
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 60px) 34px); }
.menu ol { list-style: none; }
.menu a:not(.pill) { display: flex; align-items: baseline; gap: 18px; font-weight: 800; font-size: clamp(40px, 8vw, 96px); letter-spacing: -.05em; line-height: 1.05; }
.menu a:not(.pill):hover { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.menu small { font-size: 13px; font-weight: 500; letter-spacing: .1em; opacity: .7; }
.menu .pill { align-self: flex-start; background: #fff; color: var(--black); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(100svh, 640px); display: flex; flex-direction: column; padding: 96px var(--gutter) 0; overflow: hidden; }
.hero__stage { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding-bottom: 14vh; }
.hero__l1 {
  position: relative; z-index: 3;
  display: flex; justify-content: space-between; width: min(100%, 980px);
  font-size: clamp(60px, 9vw, 150px); line-height: .95;
}
.hero__l1 .serif:last-child { transform: translateX(6%); }
.hero__l2 {
  position: relative; z-index: 1;
  font-weight: 800; color: var(--red); letter-spacing: -.055em; line-height: .86;
  font-size: clamp(50px, 11.6vw, 200px);
}
.hero__mark {
  position: absolute; z-index: 2; left: 50%; bottom: -2px;
  height: min(78%, 740px, 44vw); aspect-ratio: 995 / 1060;
  transform: translateX(-50%);
  -webkit-mask: url("../assets/img/symbol.svg") center bottom / contain no-repeat;
  mask: url("../assets/img/symbol.svg") center bottom / contain no-repeat;
  background: #2a2a28;
}
.hero__mark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(221,0,1,.18), rgba(221,0,1,0) 55%); }
.hero__video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(1.05); transform: scale(1.25); }

.hero__foot {
  position: relative; z-index: 4;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 32px;
  padding: 28px 0 40px;
}
.hero__left { max-width: min(280px, 27vw); font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; line-height: 1.6; }
.rule { display: block; width: 44px; height: 1.5px; background: var(--fg); margin-bottom: 16px; }
.hero__right { justify-self: end; max-width: min(290px, 27vw); font-size: 13px; color: var(--muted); }
.hero__right b { color: var(--fg); font-weight: 600; }

/* ---------- serviços (faixa vermelha) ---------- */
.band { position: relative; background: var(--red); color: #fff; padding: 110px var(--gutter) 0; overflow: hidden; }
.band__head { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; max-width: var(--max); margin: 0 auto; }
.display { display: flex; flex-direction: column; line-height: .9; }
.display .sans { font-size: clamp(52px, 8.6vw, 132px); }
.display .serif { font-size: clamp(58px, 9.4vw, 146px); margin-top: -.08em; line-height: 1; }
.band__side { position: relative; z-index: 2; max-width: 300px; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; padding-top: 18px; font-size: 13px; }
.pills { position: relative; height: clamp(360px, 40vw, 520px); max-width: var(--max); margin: 30px auto 0; user-select: none; }
.tag {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center;
  height: clamp(58px, 6.4vw, 92px); padding: 0 clamp(26px, 3.4vw, 54px); border-radius: 999px;
  background: #fff; color: var(--black);
  font-family: var(--serif); font-size: clamp(22px, 2.5vw, 38px); line-height: 1;
  cursor: grab; will-change: transform;
}
.tag:active { cursor: grabbing; }
.tag:nth-child(3n+2) { background: var(--black); color: #fff; }
.pills.is-static { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-end; height: auto; padding-bottom: 60px; }
.pills.is-static .tag { position: static; }

/* ---------- seções escuras ---------- */
.stats, .ia { background: var(--black); color: #fff; }
.stats { padding: 0 var(--gutter); }
.stats__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid rgba(255,255,255,.14); }
.stat { padding: 64px 24px 56px 0; border-right: 1px solid rgba(255,255,255,.14); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(48px, 6vw, 88px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.stat b em { font-style: normal; color: var(--red); }
.stat span { display: block; margin-top: 12px; font-size: 13px; color: #A0A09B; max-width: 220px; }

.ia { padding: 120px var(--gutter) 130px; }
.sec-head { max-width: var(--max); margin: 0 auto 64px; }
.sec-head .display { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: clamp(14px, 2vw, 30px); }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { color: var(--red); }
.eyebrow::after { content: ""; width: 40px; height: 1.5px; background: var(--red); }
.lede { margin-top: 28px; max-width: 560px; font-size: 17px; color: #A0A09B; }
.ia .display .serif { color: var(--red); }

.flow { max-width: var(--max); margin: 0 auto 72px; list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid rgba(255,255,255,.14); counter-reset: f; }
.flow li { position: relative; padding: 26px 18px 0 0; }
.flow li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); }
.flow small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.flow strong { display: block; margin: 6px 0 4px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.flow span { font-size: 12.5px; color: #A0A09B; line-height: 1.45; display: block; }

.tools { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.tool { background: var(--black); padding: 34px 30px 36px; transition: background .3s ease; }
.tool:hover { background: var(--beauty); }
.tool h3 { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tool h3 i { font-style: normal; color: var(--red); font-weight: 500; }
.tool p { margin: 14px 0 22px; font-size: 14px; color: #A0A09B; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-size: 12px; font-weight: 500; }
.chip--hot { background: var(--red); border-color: var(--red); }

/* ---------- projetos ---------- */
.work { padding: 130px var(--gutter) 120px; }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.work .display .sans { color: var(--red); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  height: 38px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: 12px; font-weight: 600; letter-spacing: .04em; transition: all .25s ease;
}
.filters button:hover { border-color: var(--fg); }
.filters button[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.filters sup { font-size: 9px; margin-left: 3px; opacity: .7; }

.grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: 34px 24px; }
.card { grid-column: span 4; cursor: pointer; display: flex; flex-direction: column; gap: 14px; }
.card--wide { grid-column: span 8; }
.card--half { grid-column: span 6; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; background: var(--bg-2); }
.card--wide .card__media { aspect-ratio: auto; height: 100%; min-height: 360px; }
.card__media img, .card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .4s ease; }
.card__media video { opacity: 0; }
.card:hover .card__media img { transform: scale(1.05); }
.card:hover .card__media video { opacity: 1; }
.card__cat { position: absolute; left: 14px; top: 14px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.card__cat span { padding: 5px 11px; border-radius: 999px; background: rgba(10,10,10,.72); color: #fff; backdrop-filter: blur(6px); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.card__go { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .35s cubic-bezier(.3,1.4,.5,1); }
.card:hover .card__go { transform: scale(1); }
.card__meta { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.card h3 { font-size: 21px; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.card h3 em { font-family: var(--serif); font-weight: 400; font-size: 1.15em; letter-spacing: 0; }
.card__client { font-size: 12.5px; color: var(--muted); text-align: right; flex-shrink: 0; max-width: 45%; }
.card__sum { font-size: 14px; color: var(--muted); max-width: 560px; }
.card__ai { display: flex; flex-wrap: wrap; gap: 6px; }
.card__ai span { font-size: 11px; font-weight: 600; color: var(--red); border: 1px solid color-mix(in srgb, var(--red) 40%, transparent); padding: 3px 10px; border-radius: 999px; }

/* ---------- processo ---------- */
.process { background: var(--bg-2); padding: 120px var(--gutter); }
.process .display .serif { color: var(--red); }
.steps { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps article { background: var(--card); border-radius: 22px; padding: 36px 34px 42px; border: 1px solid var(--line); transition: transform .35s ease, background .35s ease, color .35s ease; }
.steps article:hover { transform: translateY(-6px); background: var(--red); color: #fff; }
.steps article:hover p, .steps article:hover .step__n { color: #fff; }
.step__n { font-size: 13px; font-weight: 700; color: var(--red); letter-spacing: .1em; }
.steps h3 { margin: 60px 0 14px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 64px; line-height: 1; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- CTA + footer ---------- */
.cta { background: var(--red); color: #fff; padding: 130px var(--gutter) 120px; text-align: center; }
.cta .display { align-items: center; }
.cta .display .sans { font-size: clamp(64px, 13vw, 210px); }
.cta .display .serif { font-size: clamp(64px, 12vw, 200px); }
.cta__row { margin-top: 56px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.foot { background: var(--black); color: #fff; padding: 72px var(--gutter) 34px; }
.foot__top { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.foot__top p { font-size: 13px; color: #A0A09B; text-align: right; }
.foot__line { max-width: var(--max); margin: 60px auto 30px; display: flex; align-items: center; gap: 18px; font-size: 12px; letter-spacing: .3em; }
.foot__line i { flex: 1; height: 1px; background: rgba(255,255,255,.25); }
.foot__bot { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; font-size: 12px; color: #A0A09B; letter-spacing: .06em; text-transform: uppercase; }
.foot__bot b { color: var(--red); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.modal__scrim { position: absolute; inset: 0; background: rgba(10,10,10,.6); opacity: 0; transition: opacity .4s ease; }
.modal__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(980px, 100%);
  background: var(--bg); color: var(--fg); overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .6s cubic-bezier(.7,0,.2,1);
}
.modal.is-open { pointer-events: auto; }
.modal.is-open .modal__scrim { opacity: 1; }
.modal.is-open .modal__panel { transform: none; }
.modal__close { position: sticky; top: 18px; float: right; margin: 18px 18px 0 0; z-index: 3; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; font-size: 28px; line-height: 1; }
.modal__body { padding: 56px clamp(20px, 5vw, 64px) 80px; }
.m-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.m-title { margin: 14px 0 8px; font-size: clamp(40px, 6vw, 76px); font-weight: 800; letter-spacing: -.05em; line-height: .95; }
.m-client { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--muted); }
.m-hero { margin: 36px 0; border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.m-hero img, .m-hero video { width: 100%; max-height: 72vh; object-fit: cover; }
.m-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; }
.m-desc { font-size: 16.5px; line-height: 1.65; }
.m-side h4 { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.m-side ul { list-style: none; margin-bottom: 26px; }
.m-side li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.m-side .chips { margin-bottom: 26px; }
.m-side .chip { border-color: var(--line); }
.m-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: start; gap: 16px; margin-top: 8px; }
.m-videos figure { border-radius: 16px; overflow: hidden; background: #000; }
.m-videos video { width: 100%; max-height: 70vh; object-fit: contain; background: #000; }
.m-videos figcaption, .m-cmp figcaption { padding: 10px 2px 0; font-size: 12.5px; color: var(--muted); background: var(--bg); }
.m-cmp { margin-top: 44px; display: grid; gap: 28px; }
.cmp { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-2); --p: 50%; touch-action: pan-y; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp .cmp__b { clip-path: inset(0 0 0 var(--p)); }
.cmp__bar { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; background: #fff; transform: translateX(-1px); }
.cmp__bar::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 700; }
.cmp__tag { position: absolute; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(10,10,10,.7); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.cmp__tag--a { left: 12px; } .cmp__tag--b { right: 12px; background: var(--red); }
.m-gallery { margin-top: 44px; columns: 2; column-gap: 16px; }
.m-gallery img { width: 100%; margin-bottom: 16px; border-radius: 14px; break-inside: avoid; }
.m-link { margin-top: 30px; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .flow { grid-template-columns: repeat(4, 1fr); row-gap: 34px; }
  .tools { grid-template-columns: repeat(2, 1fr); }
  .card, .card--half { grid-column: span 6; }
  .card--wide { grid-column: span 12; }
  .card--wide .card__media { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
}
@media (max-width: 760px) {
  .mode span { display: none; }
  .mode { padding: 0 11px; }
  .hero { padding-top: 84px; }
  .hero__stage { min-height: 0; padding-top: 9vh; }
  .hero__l1 { width: 100%; font-size: 17vw; }
  .hero__l2 { font-size: 13.2vw; }
  .hero__mark { position: relative; left: auto; bottom: auto; transform: none; height: auto; width: 74vw; margin: -18vw auto 0; }
  .hero__stage { flex: 0; padding-bottom: 0; }
  .hero__left, .hero__right { max-width: none; }
  .pills { height: 600px; }
  .tag { height: 50px; padding: 0 22px; font-size: 21px; }
  .hero__foot { grid-template-columns: 1fr; justify-items: start; gap: 22px; }
  .hero__right { justify-self: start; }
  .hero__foot .pill { order: 3; width: 100%; }
  .band { padding-top: 80px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 40px 14px 36px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .tools { grid-template-columns: 1fr; }
  .card, .card--half, .card--wide { grid-column: span 12; }
  .card__meta { flex-direction: column; gap: 4px; }
  .card__client { text-align: left; max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .steps h3 { margin-top: 36px; }
  .m-cols { grid-template-columns: 1fr; }
  .m-gallery { columns: 1; }
  .foot__top p { text-align: left; }
  .foot__bot { flex-direction: column; gap: 8px; }
  .foot__line { gap: 8px; letter-spacing: .16em; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- cards tipográficos, "ver mais", vídeos verticais ---------- */
.card__text, .m-hero--text { position: absolute; inset: 0; background: var(--black); color: #fff; display: flex; align-items: flex-end; padding: 26px; overflow: hidden; }
.card__text img, .m-hero--text img { position: absolute; right: -14%; top: -12%; width: 70%; opacity: .9; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__text img { transform: rotate(18deg) scale(1.05); }
.card__text span, .m-hero--text span { position: relative; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 2.8vw, 42px); line-height: 1; max-width: 80%; }
.m-hero--text { position: relative; aspect-ratio: 21 / 9; padding: 40px; }
.m-hero--text img { width: 40%; right: -4%; top: -20%; }
.m-hero--text span { font-size: clamp(36px, 5vw, 64px); }
.more { grid-column: 1 / -1; display: flex; justify-content: center; padding-top: 20px; }
.m-videos figure.is-vertical { max-width: 380px; }
.m-videos figure.is-vertical video { aspect-ratio: 9 / 16; }
.pill--lower { text-transform: none; letter-spacing: .02em; }

/* ---------- case study ---------- */
.card h3 small { display: inline-block; margin-right: 10px; font-size: 12px; font-weight: 700; color: var(--red); letter-spacing: .08em; vertical-align: 3px; }
.m-hero video { width: 100%; max-height: 72vh; object-fit: cover; }
.m-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 56px; }
.m-facts div { padding: 18px 16px 18px 0; }
.m-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.m-facts dt { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.m-facts dd { font-size: 14px; font-weight: 500; line-height: 1.35; }
.m-facts a { color: var(--red); display: inline-flex; gap: 4px; align-items: center; word-break: break-all; }
.m-block { margin-bottom: 56px; }
.m-h { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(34px, 4vw, 48px); line-height: 1; }
.m-h small { font-family: var(--sans); font-style: normal; font-size: 12px; font-weight: 700; color: var(--red); letter-spacing: .1em; }
.m-h--media { margin-top: 8px; }
.m-lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; max-width: 760px; }
.m-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2px; margin: -16px 0 56px; background: var(--red); border-radius: 18px; overflow: hidden; }
.m-results div { background: var(--red); color: #fff; padding: 26px 22px 24px; }
.m-results b { display: block; font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.m-results span { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.4; opacity: .9; }
.m-steps { list-style: none; counter-reset: s; display: grid; gap: 0; }
.m-steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; padding: 18px 0; border-top: 1px solid var(--line); }
.m-steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-size: 13px; font-weight: 700; color: var(--red); padding-top: 3px; }
.m-steps strong { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.m-steps p { margin-top: 4px; font-size: 15px; color: var(--muted); line-height: 1.6; }
.m-ai { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.m-ai div { background: var(--black); color: #fff; border-radius: 16px; padding: 22px 22px 24px; }
.m-ai b { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.m-ai p { margin-top: 12px; font-size: 14px; color: #CFCAC3; line-height: 1.55; }
.m-deliv { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; }
.m-deliv ul { list-style: none; columns: 2; column-gap: 24px; }
.m-deliv li { break-inside: avoid; padding: 9px 0 9px 18px; border-bottom: 1px solid var(--line); font-size: 14px; position: relative; }
.m-deliv li::before { content: ""; position: absolute; left: 0; top: 16px; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }
.m-deliv h4 { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.m-deliv .chip { border-color: var(--line); }
.m-next { margin-top: 70px; width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; text-align: left; padding: 30px 32px; border-radius: 22px; background: var(--black); color: #fff; transition: background .3s ease; }
.m-next span { grid-column: 1; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--chime); }
.m-next strong { grid-column: 1; font-size: clamp(28px, 4vw, 48px); font-weight: 800; letter-spacing: -.05em; line-height: 1.05; }
.m-next svg { grid-column: 2; grid-row: 1 / span 2; width: 34px; height: 34px; }
.m-next:hover { background: var(--red); }
@media (max-width: 760px) {
  .m-facts { grid-template-columns: 1fr 1fr; }
  .m-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .m-facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .m-deliv { grid-template-columns: 1fr; }
  .m-deliv ul { columns: 1; }
  .m-steps li { grid-template-columns: 40px 1fr; }
}
.work__lede { margin-top: 22px; max-width: 520px; font-size: 16px; color: var(--muted); }
.sec-head--sub { margin-top: 110px; margin-bottom: 48px; }
.subhead { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; line-height: 1; }
.subhead .sans { font-size: clamp(30px, 3.6vw, 54px); }
.subhead .serif { font-size: clamp(34px, 4vw, 60px); color: var(--red); }

/* ---------- cases completos (home) ---------- */
.cases { max-width: var(--max); margin: 0 auto; display: grid; gap: clamp(64px, 9vw, 130px); }
.case { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; cursor: pointer; }
.case:nth-child(even) .case__media { order: 2; }
.case__media { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: var(--bg-2); }
.case__media img, .case__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.case:hover .case__media img, .case:hover .case__media video { transform: scale(1.04); }
.case__kicker { display: flex; align-items: center; gap: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case__kicker b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font-size: 12px; letter-spacing: 0; }
.case__title { margin-top: 20px; font-size: clamp(40px, 5vw, 76px); font-weight: 800; letter-spacing: -.055em; line-height: .92; }
.case__client { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); color: var(--red); }
.case__sum { margin-top: 18px; font-size: 16px; color: var(--muted); line-height: 1.6; max-width: 480px; }
.case__res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 28px 0 30px; border-top: 1px solid var(--line); }
.case__res div { padding: 16px 12px 0 0; }
.case__res div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.case__res b { display: block; white-space: nowrap; font-size: clamp(20px, 2vw, 30px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.case__res span { display: block; margin-top: 6px; font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.case__cta { align-self: flex-start; }
.case:hover .case__cta { background: var(--red-deep); }
.more-link { display: flex; width: max-content; align-items: center; gap: 10px; margin: clamp(70px, 8vw, 110px) auto 0; padding-bottom: 6px; border-bottom: 1.5px solid currentColor; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--muted); transition: color .25s ease; }
.more-link:hover { color: var(--red); }
@media (max-width: 860px) {
  .case { grid-template-columns: 1fr; }
  .case:nth-child(even) .case__media { order: 0; }
  .case__res { grid-template-columns: 1fr 1fr 1fr; }
}
.work--page { padding-top: 150px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin: 0 auto 36px; font-size: 13px; font-weight: 600; color: var(--muted); }
.back-link:hover { color: var(--red); }
.work--page .back-link { display: flex; max-width: var(--max); }
