/* MJM Construtora — site institucional + ONE Office Tower.
   Identity: ink, bone and greys from the MJM logo; bronze only as a hairline accent (ONE). Local fonts (Instrument Serif,
   Inter Tight — SIL OFL) reused from the ONE V3.8. */
:root {
  --ink: #0b0b0c; --ink-2: #141415; --ink-3: #1f1f21;
  --bone: #efece6; --bone-2: #e4e0d8; --paper: #f7f5f1;
  --stone: #625f5a; --stone-d: #8d8a85; --stone-l: #bdb9b2;
  --line: rgba(11, 11, 12, .13); --line-d: rgba(255, 255, 255, .16);
  --bronze: #a8845a; --bronze-l: #d6b78c;
  --serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --sans: 'Inter Tight', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --pad: clamp(20px, 4.2vw, 72px); --max: 1480px; --top: 68px;
  --ease: cubic-bezier(.22, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--top); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); letter-spacing: -.004em; -webkit-font-smoothing: antialiased; }
img, video, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
h1, h2, h3, h4, p, ol, ul, figure, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.dark :focus-visible, .site-head :focus-visible { outline-color: var(--bronze-l); }
[hidden] { display: none !important; }
body.is-locked { overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: #fff; color: var(--ink); border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.dark { background: var(--ink); color: #fff; }
.bone { background: var(--bone); }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
.dark .eyebrow { color: var(--stone-l); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--bronze); }
.display { font: 400 clamp(40px, 5.4vw, 88px)/.98 var(--serif); letter-spacing: -.02em; }
.display em, .title em { font-style: italic; color: var(--stone); }
.dark .display em, .dark .title em { color: var(--stone-l); }
.title { font: 400 clamp(30px, 3.4vw, 52px)/1.02 var(--serif); letter-spacing: -.015em; }
.lede { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: #3f3d3a; max-width: 38em; }
.dark .lede { color: rgba(255,255,255,.8); }
.fine { font-size: 12.5px; color: var(--stone); }
.dark .fine { color: var(--stone-l); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 99px; font-size: 15px; font-weight: 500; text-decoration: none; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2a2c; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bone); }
.btn--line { border: 1px solid var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn .i-wa { width: 18px; height: 18px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(127,127,127,.5); }
.link:hover { text-decoration-color: currentColor; }

/* Header */
.site-head { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--top); color: #fff; transition: background .35s, box-shadow .35s; }
.site-head.is-solid, .site-head--solid { background: rgba(11,11,12,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-d); }
.site-head__row { height: 100%; display: flex; align-items: center; gap: 28px; }
.site-head__brand img { width: 118px; height: auto; }
.site-head__nav { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; }
.site-head__nav a { text-decoration: none; opacity: .82; padding: 8px 0; }
.site-head__nav a:hover, .site-head__nav a[aria-current="page"] { opacity: 1; }
.site-head__nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--bronze-l); }
.site-head__cta { margin-left: 8px; }
.site-head__menu { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-d); }
.site-head__menu i, .site-head__menu i::before, .site-head__menu i::after { display: block; width: 18px; height: 1.5px; background: #fff; margin: auto; position: relative; content: ""; }
.site-head__menu i::before { position: absolute; top: -6px; } .site-head__menu i::after { position: absolute; top: 6px; }
.menu-sheet { position: fixed; inset: 0; z-index: 70; background: var(--ink); color: #fff; padding: 88px var(--pad) 32px; display: flex; flex-direction: column; gap: 6px; }
.menu-sheet a { font: 400 34px/1.25 var(--serif); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line-d); }
.menu-sheet .btn { margin-top: 18px; font: 500 16px var(--sans); border-bottom: 0; }
.menu-sheet__close { position: absolute; top: 14px; right: var(--pad); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-d); font-size: 18px; }

/* Home hero: MJM first, the ONE as the featured project. */
.hero { position: relative; min-height: 100vh; min-height: 100svh; color: #fff; background: var(--ink); overflow: hidden; display: grid; }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media video { opacity: 0; transition: opacity 1.4s ease; }
.hero__media video.is-playing { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 46%, rgba(0,0,0,.1) 70%), linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 60%, rgba(0,0,0,.65) 100%); }
.hero__grid { position: relative; z-index: 1; align-self: end; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 40px; align-items: end; padding-block: calc(var(--top) + 40px) clamp(36px, 7vh, 72px); }
.hero__logo { width: clamp(140px, 13vw, 200px); height: auto; margin-bottom: 26px; }
.hero h1 { font: 400 clamp(48px, 6.6vw, 112px)/.95 var(--serif); letter-spacing: -.025em; max-width: 11em; }
.hero h1 em { font-style: italic; color: var(--bone-2); }
.hero__lead { margin-top: 22px; font-size: clamp(16px, 1.3vw, 19px); color: rgba(255,255,255,.86); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__feature { display: grid; gap: 10px; padding: 22px 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(11,11,12,.42); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); text-decoration: none; transition: border-color .3s, background .3s; }
.hero__feature:hover { border-color: rgba(255,255,255,.4); background: rgba(11,11,12,.6); }
.hero__feature small { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-l); }
.hero__feature strong { font: 400 34px/1 var(--serif); }
.hero__feature span { font-size: 14px; color: rgba(255,255,255,.8); }
.hero__feature i { font-style: normal; font-size: 14px; font-weight: 500; }
.motion-toggle { position: absolute; z-index: 3; right: var(--pad); bottom: 18px; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 99px; background: rgba(11,11,12,.45); border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.9); font-size: 12.5px; backdrop-filter: blur(8px); }
.motion-toggle__i { width: 10px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.motion-toggle[aria-pressed="true"] .motion-toggle__i { border: 0; border-left: 9px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; width: 0; height: 0; }

/* Proof strip */
.proof { border-bottom: 1px solid var(--line); background: var(--paper); }
.proof__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof__item { padding: 30px 24px 30px 0; border-right: 1px solid var(--line); }
.proof__item:last-child { border-right: 0; }
.proof__item + .proof__item { padding-left: 24px; }
.proof__item b { display: block; font: 400 clamp(36px, 3.6vw, 54px)/1 var(--serif); }
.proof__item span { font-size: 14px; color: var(--stone); }

section { position: relative; }
.sec { padding-block: clamp(80px, 9vw, 140px); }
.sec__head { display: grid; gap: 18px; margin-bottom: clamp(36px, 4vw, 60px); max-width: 920px; }
.sec__head--split { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; }

/* ONE feature (home) */
.feature-one { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.feature-one__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--ink-2); }
.feature-one__media img, .feature-one__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-one__media video { opacity: 0; transition: opacity 1.2s; }
.feature-one__media video.is-playing { opacity: 1; }
.feature-one__text { display: grid; gap: 22px; }
.feature-one__name { font: 400 clamp(64px, 8vw, 132px)/.8 var(--serif); letter-spacing: -.03em; }
.feature-one__name small { display: block; margin-top: 14px; font: 300 clamp(13px, 1.1vw, 17px)/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: inherit; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 1px; background: var(--bronze); }
.feature-one__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Squeeze row (behaviour from the 21st.dev Squeeze Carousel, reimplemented in V3.8 — reused). */
.squeeze { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pcard { position: relative; display: grid; align-content: end; min-height: 440px; overflow: hidden; border-radius: 4px; background: var(--ink-2); color: #fff; text-decoration: none; padding: 24px; isolation: isolate; }
.pcard__img { position: absolute; inset: 0; z-index: -2; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,12,0) 34%, rgba(11,11,12,.86) 100%); }
.pcard__meta { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-l); }
.pcard h3 { font: 400 clamp(26px, 2.2vw, 36px)/1.02 var(--serif); margin: 8px 0 8px; }
.pcard p { font-size: 14.5px; color: rgba(255,255,255,.84); max-width: 30em; }
.pcard__go { margin-top: 14px; font-size: 14px; font-weight: 500; }
@media (min-width: 1081px) {
  .squeeze[data-squeeze] { display: flex; gap: 12px; height: clamp(460px, 40vw, 600px); }
  .squeeze[data-squeeze] .pcard { flex: 1 1 0; min-width: 0; min-height: 0; transition: flex-grow .9s cubic-bezier(.65, 0, .25, 1); }
  .squeeze[data-squeeze] .pcard.is-open { flex-grow: 3.2; }
  .squeeze[data-squeeze] .pcard:not(.is-open) p, .squeeze[data-squeeze] .pcard:not(.is-open) .pcard__go { opacity: 0; transition: opacity .2s; }
  .squeeze[data-squeeze] .pcard.is-open p, .squeeze[data-squeeze] .pcard.is-open .pcard__go { opacity: 1; transition: opacity .5s ease .45s; }
  .squeeze[data-squeeze] .pcard:not(.is-open) h3 { font-size: clamp(20px, 1.5vw, 24px); }
  .squeeze[data-squeeze] .pcard:not(.is-open) .pcard__meta { opacity: 0; }
  .squeeze[data-squeeze] .pcard.is-open .pcard__meta { opacity: 1; transition: opacity .5s ease .45s; }
}

/* History list */
.history { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.history li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.history b { font: 400 21px/1.15 var(--serif); }
.history span { font-size: 13px; color: var(--stone); }

/* About MJM */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.about__text { display: grid; gap: 20px; }
.about__text p { color: #3f3d3a; font-size: 17px; }
.about__mvv { display: grid; gap: 18px; margin-top: 12px; padding-top: 26px; border-top: 1px solid var(--line); }
.about__mvv dt { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.about__mvv dd { font-size: 15.5px; }
.about__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.about__photos figure { overflow: hidden; border-radius: 4px; background: var(--bone-2); aspect-ratio: 4 / 3; }
.about__photos figure:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.about__photos img { width: 100%; height: 100%; object-fit: cover; }

/* Obras: real construction photos */
.obras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 21vw, 320px); grid-auto-flow: dense; gap: 12px; }
.obras figure { position: relative; overflow: hidden; border-radius: 4px; background: var(--ink-2); }
.obras figure.wide { grid-column: span 2; grid-row: span 2; }
.obras img { width: 100%; height: 100%; object-fit: cover; }
.obras figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; font-size: 13px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.7); }

/* Contact + map */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 72px); }
.contact__list { display: grid; gap: 18px; margin: 28px 0; }
.contact__list dt { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone-l); }
.contact__list dd { font-size: 17px; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.form { display: grid; gap: 14px; margin-top: 8px; }
.field { display: grid; gap: 6px; font-size: 13.5px; color: var(--stone-l); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: #fff; background: rgba(255,255,255,.06); border: 1px solid var(--line-d); border-radius: 10px; padding: 12px 14px; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--bronze-l); outline-offset: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.map { min-height: 420px; border-radius: 4px; overflow: hidden; background: var(--ink-3); border: 1px solid var(--line-d); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.85) contrast(1.05); }

/* Footer */
.site-foot { background: var(--ink); color: rgba(255,255,255,.78); padding: 64px 0 32px; font-size: 14px; border-top: 1px solid var(--line-d); }
.site-foot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.site-foot img { width: 128px; height: auto; margin-bottom: 18px; }
.site-foot h2 { font: 500 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--stone-l); margin-bottom: 14px; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot__legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--stone-d); }

/* Catalogue + project pages */
.page-hero { position: relative; min-height: min(84vh, 820px); display: grid; align-items: end; color: #fff; background: var(--ink); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.78) 100%); }
.page-hero .wrap { position: relative; z-index: 1; padding-block: calc(var(--top) + 32px) clamp(36px, 6vh, 64px); display: grid; gap: 16px; }
.page-hero h1 { font: 400 clamp(48px, 6.4vw, 104px)/.95 var(--serif); letter-spacing: -.025em; }
.page-hero p { font-size: clamp(16px, 1.3vw, 19px); color: rgba(255,255,255,.88); max-width: 36em; }
.page-head { padding: calc(var(--top) + clamp(48px, 7vw, 96px)) 0 clamp(36px, 4vw, 56px); }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--stone); margin-bottom: 18px; }
.page-hero .crumbs { color: rgba(255,255,255,.75); margin: 0; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.catalog .pcard { min-height: 480px; }
.catalog .pcard--wide { grid-column: span 2; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { padding: 22px 20px 22px 0; }
.facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts dt { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.facts dd { font: 400 clamp(22px, 2vw, 30px)/1.1 var(--serif); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery button { position: relative; overflow: hidden; border-radius: 4px; background: var(--bone-2); aspect-ratio: 3 / 2; }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.gallery .tag { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 99px; background: rgba(11,11,12,.7); color: #fff; font-size: 11.5px; letter-spacing: .08em; }
.tipos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tipos button { display: grid; gap: 10px; text-align: left; }
.tipos img { width: 100%; aspect-ratio: 12 / 6.5; object-fit: contain; background: #1b1b1c; border-radius: 4px; }
.cta-band { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; padding-block: clamp(56px, 7vw, 96px); }
.cta-band h2 { font: 400 clamp(34px, 4vw, 60px)/1 var(--serif); max-width: 14em; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Dialogs: lightbox + video (V3.8 zoom viewer reused) */
.lightbox, .vmodal { position: fixed; inset: 0; z-index: 90; background: rgba(8,8,9,.96); color: #fff; display: grid; }
.close { position: absolute; top: 16px; right: 16px; z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 18px; background: rgba(11,11,12,.5); }
.close:hover { background: rgba(255,255,255,.12); }
.zoom { position: relative; overflow: hidden; touch-action: none; user-select: none; cursor: grab; }
.zoom.is-dragging { cursor: grabbing; }
.zoom__img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; transform-origin: 0 0; }
.zoom.is-loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px; border: 2px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.zoom__ctrl { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; background: #fff; color: var(--ink); border-radius: 99px; z-index: 3; }
.zoom__ctrl button { min-width: 44px; height: 40px; padding: 0 10px; border-radius: 99px; font-size: 18px; }
.zoom__ctrl button:hover { background: var(--bone); }
.zoom__ctrl [data-zoom-reset] { font-size: 13px; }
.lightbox .zoom { position: absolute; inset: 64px 16px 72px; }
.lightbox__cap { position: absolute; left: 20px; right: 80px; top: 22px; font-size: 14px; color: rgba(255,255,255,.82); }
.lightbox__nav { position: absolute; top: 50%; z-index: 4; width: 50px; height: 50px; margin-top: -25px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 20px; background: rgba(11,11,12,.5); }
.lightbox__nav--prev { left: 16px; } .lightbox__nav--next { right: 16px; }
.vmodal__frame { margin: auto; width: min(94vw, calc(84vh * var(--r, 1.78))); aspect-ratio: var(--ar, 16 / 9); background: #000; border-radius: 6px; overflow: hidden; }
.vmodal__frame video { width: 100%; height: 100%; }
.vmodal__title { position: absolute; left: 20px; top: 24px; font-size: 14px; color: rgba(255,255,255,.8); }

/* Reveal on scroll (opacity/transform only) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1180px) {
  .site-head__nav { gap: 18px; }
  .history { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .obras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .squeeze { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog .pcard--wide { grid-column: span 2; }
}
@media (max-width: 900px) {
  :root { --top: 60px; }
  .site-head__nav, .site-head__cta { display: none; }
  .site-head__menu { display: block; }
  .site-head__brand img { width: 104px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--top) + 32vh); }
  .hero__shade { background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,.2) 45%, rgba(0,0,0,.86) 78%, rgba(0,0,0,.92) 100%); }
  .hero__logo { display: none; }
  .proof__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof__item:nth-child(2) { border-right: 0; }
  .proof__item:nth-child(3) { padding-left: 0; }
  .proof__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sec__head--split, .feature-one, .about, .contact, .split { grid-template-columns: minmax(0, 1fr); }
  .feature-one__media { aspect-ratio: 4 / 4.4; }
  .squeeze, .catalog { grid-template-columns: minmax(0, 1fr); }
  .catalog .pcard--wide { grid-column: auto; }
  .pcard { min-height: 380px; }
  .history { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tipos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .map, .map iframe { min-height: 320px; }
}
@media (max-width: 520px) {
  .hero__ctas .btn, .feature-one__ctas .btn, .cta-band__btns .btn { flex: 1 1 100%; }
  .history { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery button:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 2; }
  .site-foot__grid { grid-template-columns: minmax(0, 1fr); }
  .obras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .obras figure.wide { grid-column: span 2; grid-row: span 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; }
}
/* V2: sharp official render as hero, with a slow camera drift (paused by the motion control; off with reduced motion). */
.hero__media picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; animation: hero-drift 24s cubic-bezier(.2, .6, .2, 1) both; transform-origin: 50% 70%; }
@keyframes hero-drift { from { transform: scale(1.08); } to { transform: none; } }
.is-motion-paused .hero__media picture img { animation-play-state: paused; }
@media (max-aspect-ratio: 4/5) { .hero__media picture img { object-position: 50% 0%; } }

/* ---------- V2B editorial hero: a copy column and the official facade, whole and uncovered ----------
   No shade, no filter, nothing over the tower. Desktop: the frontal render fills the media column at full height
   (crown to street, x-cropped only). ≤900 px: the official vertical crop at its own 3:4 frame, then the copy. */
.hx { display: grid; grid-template-columns: calc(max(0px, (100vw - var(--max)) / 2) + clamp(380px, 40vw, 600px)) minmax(0, 1fr); min-height: 100vh; min-height: 100svh; padding-top: var(--top); }
.hx__copy { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(28px, 6vh, 72px) clamp(28px, 3.2vw, 60px) clamp(24px, 4vh, 44px) calc(max(0px, (100vw - var(--max)) / 2) + var(--pad)); }
.hx h1 { font: 400 clamp(44px, 4.4vw, 84px)/.98 var(--serif); letter-spacing: -.025em; }
.hx h1 em { font-style: italic; color: var(--bone-2); }
.hx__lead { font-size: clamp(16px, 1.15vw, 18px); color: rgba(255,255,255,.8); max-width: 30em; }
.hx__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hx__one { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; margin-top: clamp(8px, 3vh, 36px); padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); text-decoration: none; }
.hx__one-tag { grid-column: 1 / -1; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-l); }
.hx__one strong { grid-column: 1; font: 400 clamp(26px, 2.2vw, 36px)/1.05 var(--serif); }
.hx__one-txt { grid-column: 1; font-size: 14px; color: rgba(255,255,255,.72); }
.hx__one-go { grid-column: 2; grid-row: 2 / span 2; align-self: center; font-size: 14px; font-weight: 500; white-space: nowrap; }
.hx__one-go i { font-style: normal; display: inline-block; transition: transform .3s var(--ease); }
.hx__one:hover .hx__one-go i, .hx__one:focus-visible .hx__one-go i { transform: translateX(4px); }
.hx__credit { font-size: 12px; color: rgba(255,255,255,.5); }
.hx__media { position: relative; margin: 0; overflow: hidden; background: var(--ink-2); min-height: calc(100svh - var(--top)); }
.hx__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; animation: hx-in 1.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes hx-in { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hx__media img { animation: none; } }
.feature-one__cap { position: absolute; left: 14px; bottom: 12px; z-index: 1; font-size: 12px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
@media (max-width: 900px) {
  .hx { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hx__media { order: -1; min-height: 0; aspect-ratio: 3 / 4; max-height: 82svh; }
  .hx__media img { object-position: 50% 0%; }
  .hx__copy { padding: 28px var(--pad) 44px; gap: 18px; }
  .hx h1 { font-size: clamp(40px, 11vw, 64px); }
  .hx__ctas .btn { flex: 1 1 100%; }
  .hx__one-go { grid-column: 1; grid-row: auto; margin-top: 6px; }
}

/* =====================================================================================================
   V2D — four rebuilt sections
   ===================================================================================================== */
/* ---------- Squeeze Carousel (port of 21st.dev carousel-squeeze) ---------- */
.sq-sec { padding-block: clamp(64px, 9vw, 128px); }
.sq { container-type: inline-size; --sq-h: clamp(300px, 40cqi, 600px); --sq-gap: 14px; --sq-slat: 12px; --sq-slat-gap: 8px; --sq-radius: 6px; --sq-ms: 1000ms; --sq-ease: cubic-bezier(0.16, 1, 0.3, 1); --sq-hero: calc(var(--sq-h) * 16 / 9); --sq-room: calc(100cqi - var(--sq-hero) - var(--sq-slats, 2) * var(--sq-slat-gap) - 3 * var(--sq-gap) - var(--sq-slats, 2) * var(--sq-slat)); }
.sq__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.sq__count { margin: 0; font: 400 15px/1 var(--sans); letter-spacing: .12em; color: rgba(255,255,255,.55); }
.sq__count b { font: 400 34px/1 var(--serif); letter-spacing: 0; color: #fff; }
.sq__arrows { display: flex; gap: 8px; }
.sq__arrow { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); transition: opacity .2s, transform .2s; }
.sq__arrow:hover { opacity: .85; } .sq__arrow:active { transform: scale(.94); }
.sq__row { width: 100%; height: var(--sq-h); overflow: hidden; }
.sq__strip { display: flex; height: 100%; width: max-content; }
.sq__card { position: relative; isolation: isolate; flex: 0 0 auto; height: 100%; padding: 0; overflow: hidden; background: var(--ink-3); cursor: pointer; }
.sq__card:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* One 16:9 block, centred: the card only changes how much of the picture shows (no rescale mid-slide). */
.sq__card img { position: absolute; top: 0; bottom: 0; left: 50%; height: 100%; width: var(--sq-hero); min-width: 100%; max-width: none; transform: translateX(-50%); object-fit: cover; transition: filter var(--sq-ms) var(--sq-ease); }
.sq__card:not(.is-front) img { filter: brightness(.72) saturate(.9); }
.sq__card:not(.is-front):hover img { filter: none; }
.sq__ov { position: absolute; inset: auto 0 0 0; display: grid; gap: 6px; padding: 72px 26px 22px; text-align: left; color: #fff; font: 400 clamp(26px, 3cqi, 44px)/1 var(--serif); background: linear-gradient(to top, rgba(0,0,0,.55), transparent); opacity: 0; transition: opacity var(--sq-ms) var(--sq-ease); pointer-events: none; }
.sq__ov small { font: 500 11px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.sq__card.is-front .sq__ov { opacity: 1; }
.sq__panel { display: grid; margin-top: 26px; }
.sq__copy { grid-area: 1 / 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; opacity: 0; visibility: hidden; transition: opacity var(--sq-ms) var(--sq-ease), visibility var(--sq-ms); }
.sq__copy.is-on { opacity: 1; visibility: visible; }
.sq__kind { margin: 0 0 8px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-l); }
.sq__text { margin: 0; max-width: 46rem; font-size: 17px; line-height: 1.6; text-wrap: balance; }
.sq__title { color: #fff; font-weight: 500; } .sq__desc { color: rgba(255,255,255,.62); }
.sq__action { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 6px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; transition: opacity .2s; }
.sq__action:hover { opacity: .86; } .sq__action:hover svg { transform: translateX(2px); } .sq__action svg { transition: transform .2s; }
/* Before JS and on narrow containers: large swipe cards (readable, not slats). */
.sq__list { display: flex; gap: 14px; margin: 0; padding: 0 0 6px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sq__list::-webkit-scrollbar { display: none; }
.sq__list li { flex: 0 0 min(84%, 420px); scroll-snap-align: start; }
.sq__list a { display: grid; gap: 6px; text-decoration: none; color: #fff; }
.sq__li-img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--ink-3); }
.sq__li-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sq__li-kind { margin-top: 8px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-l); }
.sq__li-title { font: 400 28px/1.05 var(--serif); }
.sq__li-go { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.8); }
.sq:not(.is-ready) .sq__top, .sq:not(.is-ready) .sq__row, .sq:not(.is-ready) .sq__panel { display: none; }
@container (min-width: 700px) { .sq.is-ready .sq__list { display: none; } }
@container (max-width: 699px) { .sq__top, .sq__row, .sq__panel { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .sq { --sq-ms: 0ms; } }

/* ---------- A MJM por dentro: Image Stream corridor (port of 21st.dev image-stream-hero) ---------- */
.mjmin { padding-block: clamp(64px, 9vw, 120px); overflow: hidden; }
.mjmin__head { margin-bottom: clamp(18px, 3vw, 36px); }
.mjmin__head .title { margin-top: 18px; }
.mjmin__stage { position: relative; }
.stream__view { position: relative; height: clamp(380px, 46vw, 720px); container-type: inline-size; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.stream__world { position: absolute; inset: 0; transform-style: preserve-3d; }
.ish-c { position: absolute; left: 50%; overflow: hidden; backface-visibility: hidden; background: var(--ink-3); will-change: transform; }
.ish-c img { width: 100%; height: 100%; object-fit: cover; }
.mjmin.is-paused .ish-c { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .ish-c { animation-play-state: paused !important; } }
.mjmin__ctl { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.mjmin__btn { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 18px; border-radius: 99px; border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 13.5px; }
.mjmin__btn:hover { border-color: #fff; }
.mjmin__btn .motion-toggle__i { display: block; box-sizing: content-box; width: 3px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.mjmin__btn[aria-pressed="true"] .motion-toggle__i { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.stream__strip { display: none; gap: 12px; margin: 0; padding: 0 var(--pad) 4px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.stream__strip li { flex: 0 0 78%; scroll-snap-align: center; }
.stream__strip button { display: block; width: 100%; padding: 0; border-radius: 6px; overflow: hidden; }
.stream__strip img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mjmin__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(36px, 6vw, 80px); color: rgba(255,255,255,.82); }
.mjmin__body .about__mvv { margin-top: 0; padding-top: 0; border-top: 0; }
.mjmin .about__mvv dt { color: var(--bronze-l); } .mjmin .about__mvv dd { color: rgba(255,255,255,.86); }
@media (max-width: 700px) { .stream__view, .mjmin__ctl [data-stream-pause] { display: none; } .stream__strip { display: flex; } .mjmin__body { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Do projeto ao canteiro: storytelling track (GSAP ScrollTrigger on wide screens) ---------- */
.obras2 { --ob-h: min(64vh, 640px); background: var(--paper); }
.obras2__pin { position: relative; padding-block: clamp(56px, 8vw, 96px) 28px; overflow: hidden; }
.obras2__track { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); padding-inline: var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.obras2__track::-webkit-scrollbar { display: none; }
.obras2.is-pinned .obras2__pin { height: 100vh; height: 100svh; display: grid; align-content: center; padding-block: calc(var(--top) + 12px) 24px; }
.obras2.is-pinned .obras2__track { overflow: visible; width: max-content; scroll-snap-type: none; will-change: transform; }
.obras2__intro { flex: 0 0 min(30rem, 78vw); scroll-snap-align: start; }
.obras2__intro .lede { margin-top: 18px; }
.obras2__hint { margin-top: 26px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.obras2__hint i { font-style: normal; display: inline-block; animation: ob-nudge 1.6s ease-in-out infinite; }
@keyframes ob-nudge { 50% { transform: translateX(6px); } }
.obras2__item { flex: 0 0 auto; margin: 0; scroll-snap-align: center; }
.obras2__open { display: block; padding: 0; cursor: zoom-in; }
.obras2__mask { display: block; position: relative; height: var(--ob-h); width: calc(var(--ob-h) * var(--ar)); overflow: hidden; border-radius: 4px; background: var(--bone-2); }
.obras2__mask img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.obras2 figcaption { display: flex; gap: 12px; align-items: baseline; margin-top: 14px; font-size: 14px; color: var(--stone); }
.obras2 figcaption b { font: 400 22px/1.1 var(--serif); color: var(--ink); }
.obras2__end { flex: 0 0 min(26rem, 78vw); display: grid; gap: 22px; justify-items: start; scroll-snap-align: end; padding-right: var(--pad); }
.obras2__end-t { margin: 0; font: 400 clamp(32px, 3.4vw, 52px)/1.04 var(--serif); }
.obras2__foot { display: flex; align-items: center; gap: 18px; padding: 22px var(--pad) 0; max-width: var(--max); margin-inline: auto; }
.obras2__count { margin: 0; font-size: 13px; letter-spacing: .12em; color: var(--stone); } .obras2__count b { font: 400 24px/1 var(--serif); color: var(--ink); }
.obras2__bar { flex: 1 1 auto; height: 2px; background: var(--line); overflow: hidden; } .obras2__bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
.obras2__note { margin: 0; font-size: 13px; color: var(--stone); }
.obras2:not(.is-pinned) .obras2__bar, .obras2:not(.is-pinned) .obras2__count { display: none; }
@media (max-width: 900px) { .obras2 { --ob-h: min(58vh, 520px); } }
@media (prefers-reduced-motion: reduce) { .obras2__hint i { animation: none; } }

/* ---------- O ONE em detalhes: ambient accordion ---------- */
.amb { padding-block: clamp(64px, 9vw, 120px); }
.acc { display: flex; gap: 6px; height: clamp(440px, 64vh, 720px); }
.acc__p { position: relative; flex: 1 1 0; min-width: 44px; overflow: hidden; border-radius: 6px; background: var(--ink-3); transition: flex-grow .8s cubic-bezier(0.16, 1, 0.3, 1); }
.acc__p.is-on { flex-grow: 22; }
.acc__media { position: absolute; inset: 0; container-type: size; }
.acc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter .6s, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.acc__p:not(.is-on) .acc__img { filter: brightness(.55) saturate(.85); transform: scale(1.04); }
.acc__p:not(.is-on):hover .acc__img { filter: brightness(.8); }
/* The clip lies over its own render as a 16:9 band (the official clips are the renders cropped to 16:9). */
.acc__vid { position: absolute; left: 50%; top: 50%; width: max(100cqw, 150cqh); aspect-ratio: 16 / 9; transform: translate(-50%, -50%); object-fit: cover; opacity: 0; transition: opacity .7s; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.acc__vid.is-on { opacity: 1; }
.acc__tab { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 18px 0; color: #fff; text-align: center; background: transparent; }
.acc__tab:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: 6px; }
.acc__n { font-size: 11px; letter-spacing: .12em; opacity: .7; }
.acc__label { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 14px; font-weight: 500; letter-spacing: .06em; white-space: nowrap; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.acc__p.is-on .acc__tab { inset: auto auto 16px 18px; flex-direction: row; gap: 12px; padding: 8px 14px; border-radius: 99px; background: rgba(11,11,12,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: default; }
.acc__p.is-on .acc__label { writing-mode: horizontal-tb; transform: none; }
.acc__below { position: relative; margin-top: 24px; min-height: 120px; }
.acc__info { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; animation: acc-in .6s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes acc-in { from { opacity: 0; transform: translateY(8px); } }
.acc__place { margin: 0 0 8px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-l); }
.acc__title { margin: 0; font: 400 clamp(26px, 2.6vw, 40px)/1.05 var(--serif); }
.acc__text { margin: 10px 0 0; max-width: 40rem; color: rgba(255,255,255,.7); }
.acc__acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; flex: 0 0 auto; }
.acc__btn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 99px; border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 13.5px; text-decoration: none; }
.acc__btn:hover { border-color: #fff; } .acc__btn--go { background: #fff; color: var(--ink); border-color: #fff; }
.acc__seg { display: inline-flex; padding: 3px; border-radius: 99px; border: 1px solid rgba(255,255,255,.3); }
.acc__seg button { min-height: 34px; padding: 0 14px; border-radius: 99px; font-size: 13px; color: rgba(255,255,255,.8); }
.acc__seg button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.acc__legal { margin: 14px 0 0; font-size: 12px; color: rgba(255,255,255,.6); }
@media (max-width: 760px) {
  .acc { flex-direction: column; height: auto; gap: 5px; }
  .acc__p { flex: 0 0 52px; min-width: 0; transition: flex-basis .7s cubic-bezier(0.16, 1, 0.3, 1); }
  .acc__p.is-on { flex: 0 0 min(62vh, 520px); }
  .acc__tab { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 0 16px; }
  .acc__label { writing-mode: horizontal-tb; transform: none; }
  .acc__info { flex-direction: column; gap: 16px; } .acc__acts { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .acc__p, .acc__img, .acc__info { transition: none; animation: none; } }

/* V2D fixes: clips with their own framing play full-frame (dissolve), not as a band over a different render. */
.acc__vid.is-cover, .show__vid.is-cover { left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; transform: none; -webkit-mask-image: none; mask-image: none; }
.obras2__track { scroll-padding-inline: var(--pad); }
.stream__view { height: clamp(320px, 32vw, 540px); }

/* =====================================================================================================
   V2E — A MJM por dentro (depth stage) · Trajetória (poster rows)
   ===================================================================================================== */
.sede { padding-block: clamp(72px, 9vw, 128px); overflow: hidden; }
.sede__grid { display: grid; grid-template-columns: minmax(280px, .62fr) minmax(0, 1.38fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
.sede__copy .title { margin-top: 18px; }
.sede__lead { margin: 22px 0 0; color: rgba(255,255,255,.74); max-width: 34em; }
.sede__list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 2px; counter-reset: none; }
.sede__item { display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 9px 0; text-align: left; font: 400 clamp(18px, 1.5vw, 22px)/1.2 var(--serif); color: rgba(255,255,255,.42); border-bottom: 1px solid rgba(255,255,255,.08); transition: color .4s, padding .4s var(--ease); }
.sede__item span { font: 500 11px/1 var(--sans); letter-spacing: .14em; color: rgba(255,255,255,.35); }
.sede__item:hover, .sede__item[aria-current="true"] { color: #fff; }
.sede__item[aria-current="true"] { padding-left: 8px; }
.sede__item[aria-current="true"] span { color: var(--bronze-l); }
.sede__ctl { display: flex; align-items: center; gap: 8px; margin-top: 24px; }
.sede__btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 22px; line-height: 1; }
.sede__btn--txt { width: auto; padding: 0 16px; border-radius: 99px; display: inline-flex; gap: 8px; font-size: 13px; }
.sede__btn:hover { border-color: #fff; }
.sede__btn .motion-toggle__i { display: block; box-sizing: content-box; width: 3px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.sede__btn[aria-pressed="true"] .motion-toggle__i { width: 0; height: 0; border: 0; border-left: 9px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.sede__bar { flex: 1 1 auto; height: 2px; margin-left: 10px; background: rgba(255,255,255,.14); overflow: hidden; }
.sede__bar i { display: block; height: 100%; background: var(--bronze-l); transform: scaleX(0); transform-origin: 0 50%; }
.sede__all { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.8); text-decoration: underline; text-underline-offset: 4px; }
/* The stage: the front photo large; the next ones stacked behind in perspective, peeking to the right. */
.sede__stage { position: relative; width: 84%; aspect-ratio: 3 / 2; perspective: 1800px; perspective-origin: 30% 50%; outline: none; }
.sede__stage:focus-visible { outline: 2px solid var(--bronze-l); outline-offset: 8px; }
.sede__card { position: absolute; inset: 0; margin: 0; border-radius: 6px; overflow: hidden; background: var(--ink-3); transform-origin: 100% 50%; transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.1s ease, filter 1.1s ease; box-shadow: 0 40px 90px rgba(0,0,0,.5); }
.sede__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sede__card[data-pos="p0"] { z-index: 6; transform: none; }
.sede__card[data-pos="p0"] img { animation: sede-kb 7s ease-out both; }
@keyframes sede-kb { from { transform: scale(1.07); } to { transform: none; } }
.sede__card[data-pos="p1"] { z-index: 5; transform: translate3d(10%, 0, -140px) rotateY(-9deg); filter: brightness(.55); }
.sede__card[data-pos="p2"] { z-index: 4; transform: translate3d(18%, 0, -280px) rotateY(-13deg); filter: brightness(.4); }
.sede__card[data-pos="p3"] { z-index: 3; transform: translate3d(25%, 0, -420px) rotateY(-16deg); filter: brightness(.3); opacity: .85; }
.sede__card[data-pos="pout"] { z-index: 7; transform: translate3d(-22%, 0, 60px) rotateY(9deg); opacity: 0; pointer-events: none; }
.sede__card[data-pos="phide"] { z-index: 1; transform: translate3d(30%, 0, -560px) rotateY(-18deg); opacity: 0; }
.sede__card figcaption { position: absolute; left: 18px; bottom: 16px; display: flex; gap: 10px; align-items: baseline; padding: 8px 14px; border-radius: 99px; background: rgba(11,11,12,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 14px; opacity: 0; transition: opacity .6s .3s; }
.sede__card figcaption span { font-size: 11px; letter-spacing: .14em; color: var(--bronze-l); }
.sede__card[data-pos="p0"] figcaption { opacity: 1; }
.sede__mvv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(48px, 6vw, 88px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.8); font-size: 15px; }
.sede__mvv p { margin: 0; }
.sede__k { margin-bottom: 10px !important; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-l); }
@media (max-width: 900px) {
  .sede__grid { grid-template-columns: minmax(0, 1fr); }
  .sede__stage { order: -1; width: 86%; }
  .sede__list { display: flex; gap: 8px; overflow-x: auto; margin-top: 22px; scrollbar-width: none; }
  .sede__list::-webkit-scrollbar { display: none; }
  .sede__item { flex: 0 0 auto; width: auto; padding: 8px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; font: 400 14px/1 var(--sans); }
  .sede__item[aria-current="true"] { padding-left: 14px; background: #fff; color: var(--ink); }
  .sede__mvv { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .sede__card, .sede__card figcaption { transition: none; } .sede__card[data-pos="p0"] img { animation: none; } }

.traj { padding-block: clamp(72px, 9vw, 128px); overflow: hidden; }
.traj__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.traj__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.traj__chip { min-height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.82); font-size: 13px; }
.traj__chip b { margin-left: 6px; font-weight: 500; color: var(--bronze-l); }
.traj__chip[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.traj__row { overflow: hidden; padding-block: 7px; }
.traj__track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.traj__card { position: relative; flex: 0 0 auto; width: clamp(240px, 22vw, 340px); height: clamp(300px, 27vw, 420px); padding: 26px 26px 24px; border-radius: 6px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1), opacity .5s; }
.traj__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.10), transparent 60%), repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 22px); }
.traj__card.t1 { background: #18181a; } .traj__card.t2 { background: #2a2a2c; /* T11: neutral graphite (was warm brown #2a241d) */ } .traj__card.t3 { background: #e9e5dd; color: var(--ink); }
.traj__card:hover { transform: translateY(-6px); }
.traj__n { position: absolute; top: 18px; left: 24px; font: 400 clamp(64px, 7vw, 108px)/1 var(--serif); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px currentColor; opacity: .38; }
.traj__name { margin: 0; font: 400 clamp(26px, 2.3vw, 38px)/1.02 var(--serif); letter-spacing: -.015em; }
.traj__type { margin: 10px 0 0; font-size: 14px; opacity: .72; }
.traj__cat { margin-top: 18px; padding-top: 14px; border-top: 1px solid currentColor; border-top-color: rgba(127,127,127,.35); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-l); }
.traj__card.t3 .traj__cat { color: #5c5852; /* T11: neutral (was bronze #8a6a42); 5.6:1 on #e9e5dd */ }
.traj.is-filtered .traj__card:not(.is-match) { opacity: .18; }
.traj.is-filtered .traj__card.is-match { transform: translateY(-6px); }
.traj__foot { margin-top: 36px; }
/* Touch screens / reduced motion / no JS: a native swipe row (the copy of each row is not needed then). */
.traj:not(.is-moving) .traj__row { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-inline: var(--pad); }
.traj:not(.is-moving) .traj__row::-webkit-scrollbar { display: none; }
.traj:not(.is-moving) .traj__card { scroll-snap-align: start; }
.traj:not(.is-moving) .traj__card[aria-hidden="true"] { display: none; }
@media (max-width: 900px) { .traj__card { width: 74vw; height: 92vw; max-height: 420px; } }

/* V2E fixes after the first browser check */
.traj__n { font-size: clamp(84px, 9vw, 150px); -webkit-text-stroke: 1px rgba(255,255,255,.55); opacity: 1; }
.traj__card.t3 .traj__n { -webkit-text-stroke-color: rgba(11,11,12,.45); }
.traj:not(.is-moving) .traj__row { scroll-padding-inline: var(--pad); }
.sede__stage { width: 78%; }
.sede__card[data-pos="p1"] { transform: translate3d(13%, 0, -150px) rotateY(-10deg); filter: brightness(.62); }
.sede__card[data-pos="p2"] { transform: translate3d(23%, 0, -300px) rotateY(-14deg); filter: brightness(.45); }
.sede__card[data-pos="p3"] { transform: translate3d(31%, 0, -450px) rotateY(-17deg); filter: brightness(.32); }
@media (max-width: 900px) { .sede__stage { width: 80%; } }

/* V2E: larger front photo (≤ 1200 px source at 1×). */
.sede__grid { grid-template-columns: minmax(260px, .52fr) minmax(0, 1.48fr); }
.sede__stage { width: 86%; }
@media (max-width: 900px) { .sede__grid { grid-template-columns: minmax(0, 1fr); } .sede__stage { width: 82%; } }

/* Contrast (WCAG AA) of the inactive rooms list. */
.sede__item { color: rgba(255,255,255,.66); }
.sede__item span { color: rgba(255,255,255,.6); }
@media (max-width: 900px) { .sede__item[aria-current="true"] span { color: #5c5852; /* T11: neutral (was #7a5b35) */ } }

/* V2F — pauses that stop everything; Trajetória pause control */
.sede.is-paused .sede__card img { animation-play-state: paused !important; }
/* T10: "Pausar" / "Pausar movimento" also stop the photo changes (as with reduced motion); removing the transition ends a running one. */
.sede.is-still .sede__card, .sede.is-still .sede__card figcaption, .sede.is-still .sede__item { transition: none !important; }
.traj__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: flex-end; }
.traj__pause { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 13px; }
.traj__pause:hover { border-color: #fff; }
.traj__pause .motion-toggle__i { display: block; box-sizing: content-box; width: 3px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.traj__pause[aria-pressed="true"] .motion-toggle__i { width: 0; height: 0; border: 0; border-left: 9px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.traj__pause[hidden] { display: none; }

/* =====================================================================================================
   V2F — design system (design/design.md): "the work is the colour". The MJM institutional sections are achromatic
   (ink / paper / warm greys from the proposal); the bronze accent belongs to the ONE (its official gold), so it stays
   on the ONE page and is neutralised elsewhere. One accent per screen, never as a decorative fill.
   ===================================================================================================== */
:root { --neutral-acc: #c9c4bc; --neutral-acc-d: #6f6a63; }
.hx, .sq-sec, .sede, .traj, .obras2, .page-head { --bronze-l: var(--neutral-acc); --bronze: var(--neutral-acc-d); }
.obras2 .eyebrow::before, .page-head .eyebrow::before { background: currentColor; }
/* Measure: running text ~640 px (proposal: body 16–18 px, 1.5–1.65). */
.lede, .hx__lead, .sede__lead { max-width: 40rem; }
/* Tight tracking on large display type. */
.hx h1, .title, .display { letter-spacing: -.02em; }

/* V2F (design.md: front photo ≥ 35 % of the useful area): phones get a full-bleed 4:3 stage. */
@media (max-width: 900px) { .sede__stage { width: auto; margin-inline: calc(var(--pad) * -1); aspect-ratio: 4 / 3; perspective: none; } .sede__card { border-radius: 0; box-shadow: none; } .sede__card:not([data-pos="p0"]) { opacity: 0; } }

/* V2F: on wide screens the HQ stage uses the screen (design.md ≥ 35 % / ≤ 40 % void), still ≤ the 1200 px sources. */
@media (min-width: 1600px) { .sede .sede__grid { max-width: none; } }
