/* MJH Construtora — folha de estilos.
   Fontes: Playfair Display e DM Sans (SIL OFL 1.1), hospedadas em assets/fonts/ (subconjunto latin, fontes variáveis).
   Nota: partes do hero e dos blocos @media móveis ainda estão em camadas de sobreposição herdadas do histórico do projeto;
   serão reescritas de forma consolidada na etapa de refinamento do hero. */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(assets/fonts/dm-sans-latin.woff2) format('woff2');
}

:root {
  --navy: #0A192F;
  --surface: #112240;
  --white: #F8F9FA;
  --muted: #A9B4C3;
  --gold: #D4AF37;
  --line: rgba(248,249,250,.15);
  --serif: 'Playfair Display',Georgia,serif;
  --sans: 'DM Sans',Arial,sans-serif;
  --gutter: clamp(24px,5.5vw,100px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
  color: inherit;
  border: 0;
  background: none;
}

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

video {
  display: block;
  width: 100%;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}

::selection {
  background: var(--gold);
  color: var(--navy);
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.045em;
}

h2 {
  font-size: clamp(43px,4.5vw,72px);
}

h3 {
  font-size: 30px;
}

h1 em,
h2 em {
  color: var(--gold);
  font-weight: 400;
}

p {
  color: var(--muted);
}

[hidden] {
  display: none!important;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  padding: 12px 20px;
  background: var(--white);
  color: var(--navy);
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

.section-shell {
  padding: 110px var(--gutter);
}

.eyebrow,
.tiny-label {
  font-size: 11px;
  letter-spacing: .2em;
  font-weight: 600;
  line-height: 1.6;
}

.eyebrow {
  color: var(--gold);
}

.tiny-label {
  color: var(--muted);
}

.section-kicker {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 34px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin: 16px 0 50px;
}

.section-heading>p {
  max-width: 340px;
}

.button {
  min-height: 53px;
  padding: 15px 25px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  transition: background .25s,transform .25s;
}

.button-gold {
  background: var(--gold);
  color: var(--navy);
}

.button-gold:hover {
  background: #e3c565;
  transform: translateY(-2px);
}

.button span {
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}

.text-button {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  transition: color .2s;
}

.arrow-link:hover,
.text-button:hover {
  color: var(--gold);
}

.arrow-link span {
  font-size: 21px;
}

.site-header {
  height: 108px;
  padding: 15px var(--gutter);
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10,25,47,.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: background-color .3s;
}

.site-header.is-solid {
  background: rgba(10,25,47,.97);
}

.brand {
  width: 111px;
  flex-shrink: 0;
  display: block;
}

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

.site-header nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 12px;
  letter-spacing: .045em;
}

.site-header nav a {
  transition: color .2s;
}

.site-header nav a:hover {
  color: var(--gold);
}

.nav-contact {
  border: 1px solid rgba(212,175,55,.5);
  padding: 11px 17px;
}

.nav-contact span {
  margin-left: 24px;
  color: var(--gold);
  font-size: 17px;
}

.menu-toggle {
  display: none;
}

.line {
  width: 35px;
  height: 1px;
  background: var(--gold);
}

h1 {
  font-size: clamp(72px,7.6vw,122px);
  letter-spacing: -.055em;
  margin: 25px 0 28px;
  line-height: 1.02;
}

.play-small {
  border: 1px solid var(--line);
  width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 11px;
  color: var(--gold);
}

.about {
  background: var(--navy);
  position: relative;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 10%;
  align-items: center;
  margin: 20px 0 75px;
}

.about-copy .lead {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.45;
  color: var(--white);
  margin: 30px 0 20px;
  letter-spacing: -.025em;
}

.about-copy>p:not(.lead) {
  max-width: 440px;
  font-size: 14px;
  margin-bottom: 15px;
}

.about-copy>.arrow-link {
  margin-top: 12px;
}

.about-image {
  position: relative;
  padding-top: 20px;
}

.about-image:before {
  content: '';
  position: absolute;
  inset: 0 20px 60px -20px;
  border: 1px solid rgba(212,175,55,.35);
  pointer-events: none;
}

.about-image img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  position: relative;
}

.about-image figcaption {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  padding: 19px 0;
  color: var(--muted);
}

.about-image figcaption span:first-child {
  letter-spacing: .15em;
  color: var(--white);
}

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

.service {
  padding: 32px 32px 34px 0;
}

.service+.service {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.service-index {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .1em;
}

.service h3 {
  margin: 24px 0 20px;
  font-size: 28px;
}

.service p {
  font-size: 13px;
  max-width: 315px;
}

.service a {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 28px;
  gap: 20px;
}

.service a span {
  color: var(--gold);
  font-size: 18px;
}

.projects {
  background: var(--surface);
}

.project-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.project-tabs button {
  font-size: 12px;
  white-space: nowrap;
  padding: 15px 0 19px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
}

.project-tabs button[aria-selected=true] {
  color: var(--white);
  border-color: var(--gold);
}

.project-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 0 2px 5px;
  background: var(--gold);
  border-radius: 50%;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
}

.project-image {
  position: relative;
  padding: 0;
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--navy);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s;
}

.project-image img.is-entering {
  animation: project-enter .6s ease;
}

@keyframes project-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.project-image:hover img {
  transform: scale(1.035);
}

.project-main {
  height: 560px;
}

.project-side {
  display: flex;
  flex-direction: column;
}

.project-side>.project-image {
  height: 265px;
  flex-shrink: 0;
}

.image-expand {
  position: absolute;
  right: 17px;
  bottom: 17px;
  display: grid;
  place-items: center;
  background: var(--navy);
  width: 40px;
  height: 40px;
  color: var(--white);
  font-size: 22px;
}

.project-detail {
  padding: 29px 0 0;
}

.project-detail h3 {
  font-size: 39px;
  margin: 12px 0 14px;
}

.project-detail p {
  font-size: 13px;
  max-width: 340px;
}

.project-detail .arrow-link {
  margin-top: 9px;
}

.project-footnote {
  font-size: 12px;
  margin-top: 23px;
  max-width: 900px;
}

.process-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: center;
  margin-top: 60px;
}

.process-film {
  width: 100%;
}

.process-stage {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface);
}

.process-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.process-stage img.is-active {
  opacity: 1;
}

.process-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.process-steps-nav {
  display: flex;
  gap: 24px;
}

.process-steps-nav button,
.process-toggle {
  min-height: 44px;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color .2s;
}

.process-steps-nav button[aria-pressed=true] {
  color: var(--white);
  border-color: var(--gold);
}

.process-steps-nav button:hover,
.process-toggle:hover {
  color: var(--gold);
}

.media-notice {
  line-height: 1.6;
  margin: 15px 0 0;
  color: var(--muted);
}

.process-copy h3 {
  font-size: 46px;
  line-height: 1.1;
  margin: 25px 0;
}

.process-copy>p {
  font-size: 14px;
  max-width: 400px;
}

.process-steps {
  padding: 0;
  list-style: none;
  margin: 27px 0 20px;
}

.process-steps li {
  display: flex;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.process-steps li>span {
  color: var(--gold);
  font-size: 11px;
  padding-top: 5px;
}

.process-steps h4 {
  margin: 0 0 3px;
  font-size: 13px;
  font-weight: 500;
}

.process-steps p {
  font-size: 12px;
}

.film-section {
  height: 570px;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.film-section>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.film-section-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,25,47,.76);
}

.film-section-content {
  position: relative;
  padding: 40px 24px;
}

.film-section h2 {
  margin: 20px 0 30px;
  font-size: 64px;
}

.film-play {
  display: inline-grid;
  grid-template-columns: auto auto;
  column-gap: 15px;
  text-align: left;
  font-size: 13px;
  align-items: center;
}

.film-play>span {
  grid-row: span 2;
  border: 1px solid var(--gold);
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  color: var(--gold);
}

.film-play small {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
}

.film-section-content>p {
  font-size: 12px;
  margin-top: 30px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  margin-top: 30px;
}

.contact-copy h2 {
  font-size: clamp(43px,4vw,63px);
}

.contact-copy>p {
  font-size: 14px;
  margin-top: 30px;
}

.contact-links {
  margin-top: 40px;
  display: grid;
  gap: 23px;
}

.contact-links>a {
  font-size: 19px;
  letter-spacing: -.015em;
}

.contact-links .eyebrow {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .18em;
  margin-bottom: 7px;
}

.contact-links>a>span:last-child {
  color: var(--gold);
  margin-left: 10px;
}

.contact-copy>.contact-region {
  font-size: 12px;
  line-height: 1.9;
  margin-top: 40px;
}

.contact-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.contact-card-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.contact-monogram {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -.08em;
  color: var(--gold);
  border: 1px solid rgba(212,175,55,.3);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-card-heading h3 {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0;
  font-weight: 500;
}

.contact-card-heading p {
  font-size: 12px;
}

.contact-tabs {
  display: flex;
  gap: 22px;
  margin: 0 0 25px;
  border-bottom: 1px solid var(--line);
}

.contact-tabs button {
  padding: 16px 0 12px;
  min-height: 44px;
  font-size: 12px;
  border-bottom: 1px solid transparent;
  color: var(--muted);
}

.contact-tabs button[aria-selected=true] {
  color: var(--white);
  border-color: var(--gold);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 17px;
}

.field label {
  font-weight: 500;
}

.field label span {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--white);
  min-height: 45px;
  padding: 11px 12px;
  font-size: 12px;
  resize: vertical;
  color-scheme: dark;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: .8;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 22px;
}

.consent input {
  margin: 2px 0 0;
  accent-color: var(--gold);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.contact-card .button {
  width: 100%;
}

.form-note {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 14px;
}

.contact-card [role=status] {
  font-size: 12px;
  margin-top: 12px;
}

.chat-notice {
  font-size: 12px;
  margin-bottom: 20px;
  letter-spacing: .025em;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 310px;
  overflow: auto;
  scrollbar-width: thin;
  padding: 3px;
}

.chat-bubble {
  font-size: 13px;
  background: none;
  padding: 2px 0 2px 14px;
  max-width: 100%;
  border-left: 1px solid var(--line);
  align-self: stretch;
  white-space: pre-line;
  color: var(--white);
}

.chat-bubble.user {
  border-left-color: var(--gold);
  color: var(--muted);
}

.chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.chat-options>button,
.chat-options>a:not(.button) {
  padding: 9px 13px;
  border: 1px solid rgba(212,175,55,.5);
  font-size: 11px;
  color: var(--gold);
}

.chat-reset {
  margin-top: 18px;
  font-size: 12px;
}

.site-footer {
  padding-top: 40px;
  padding-bottom: 35px;
  background: #071426;
}

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

.footer-top p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--white);
}

.footer-top .arrow-link {
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 35px;
  padding-top: 25px;
  font-size: 11px;
  letter-spacing: .05em;
}

.footer-bottom>span {
  white-space: nowrap;
  padding-top: 5px;
}

.footer-bottom>p {
  max-width: 540px;
  letter-spacing: 0;
  line-height: 1.7;
  font-size: 12px;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 22px;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--navy);
  border: 1px solid var(--gold);
  font-size: 12px;
  box-shadow: 0 4px 18px #0002;
  transition: opacity .3s, visibility .3s, transform .3s;
}

.whatsapp-float.is-away {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

.whatsapp-float svg {
  width: 23px;
  height: 23px;
  color: var(--gold);
}

dialog {
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--line);
  padding: 30px;
  max-height: 92svh;
  scrollbar-width: thin;
}

dialog::backdrop {
  background: rgba(3,10,21,.94);
  backdrop-filter: blur(8px);
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  font-size: 30px;
  background: var(--navy);
  line-height: 1;
}

.gallery-dialog {
  width: min(1100px,94vw);
}

.gallery-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin: 5px 45px 24px 0;
  align-items: center;
}

.gallery-top h2 {
  font-size: 30px;
}

.gallery-top p {
  font-size: 12px;
}

.gallery-stage {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 15px;
  align-items: center;
}

.gallery-stage>img {
  width: 100%;
  height: 65svh;
  object-fit: contain;
}

.gallery-arrow {
  height: 50px;
  border: 1px solid var(--line);
  font-size: 20px;
}

.gallery-dialog>p {
  text-align: center;
  font-size: 12px;
  margin-top: 20px;
}

.gallery-dialog>.media-notice {
  font-size: 12px;
  margin-top: 5px;
}

.film-dialog {
  /* A janela acompanha a proporção 16:9 do filme: sem barras pretas laterais em telas baixas. */
  width: min(1000px, 94vw, max(560px, calc((92svh - 190px) * 16 / 9 + 60px)));
}

.film-dialog h2 {
  font-size: 24px;
  margin: 8px 40px 24px 0;
}

.film-dialog video {
  aspect-ratio: 16 / 9;
  height: auto;
  background: #000;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s,transform .7s;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media(min-width:1600px) {
  .section-shell {
    padding-left: max(var(--gutter),calc((100vw - 1440px)/2));
    padding-right: max(var(--gutter),calc((100vw - 1440px)/2));
  }
}

@media(max-width:1100px) {
  .site-header nav {
    gap: 23px;
  }
  h1 {
    font-size: clamp(68px,8vw,100px);
  }
  .about-layout {
    gap: 7%;
  }
  .about-image img {
    height: 420px;
  }
  .project-main {
    height: 520px;
  }
  .contact-layout {
    gap: 5%;
  }
  .contact-card {
    padding: 24px;
  }
  .contact-links>a {
    font-size: 16px;
  }
  .service {
    padding-right: 20px;
  }
  .service+.service {
    padding-left: 22px;
  }
}

@media(max-width:760px) {
  html {
    scroll-padding-top: 25px;
  }
  .section-shell {
    padding: 75px 24px;
  }
  .site-header {
    height: 91px;
    padding: 13px 24px;
  }
  .brand {
    width: 90px;
  }
  .site-header .brand {
    width: 90px;
  }
  .menu-toggle {
    display: flex;
    gap: 13px;
    align-items: center;
    font-size: 12px;
  }
  .menu-toggle span {
    color: var(--gold);
    font-size: 23px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    padding: 25px;
    background: var(--navy);
    border-bottom: 1px solid var(--line);
    align-items: stretch;
    font-size: 13px;
    gap: 0;
  }
  .site-header nav.is-open {
    display: flex;
    flex-direction: column;
  }
  .site-header nav>a {
    padding: 15px 10px;
  }
  .site-header nav .nav-contact {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
  }
  h1 {
    font-size: clamp(58px,10.9vw,83px);
    margin: 27px 0 25px;
    line-height: 1.04;
  }
  .section-kicker {
    padding-top: 17px;
    padding-bottom: 28px;
    gap: 20px;
  }
  .section-kicker .eyebrow {
    font-size: 11px;
  }
  .tiny-label {
    font-size: 11px;
    max-width: 130px;
    text-align: right;
  }
  h2 {
    font-size: 45px;
  }
  .about-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 45px;
    margin-top: 8px;
    margin-bottom: 45px;
  }
  .about-copy .lead {
    font-size: 22px;
    margin-top: 25px;
  }
  .about-copy>p:not(.lead) {
    font-size: 13px;
  }
  .about-image {
    margin-left: 12px;
  }
  .about-image:before {
    left: -12px;
  }
  .about-image img {
    height: 340px;
  }
  .about-image figcaption {
    font-size: 12px;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .service,
  .service+.service {
    padding: 27px 0;
    border-left: 0;
  }
  .service+.service {
    border-top: 1px solid var(--line);
  }
  .service h3 {
    margin: 10px 0 14px;
  }
  .service p {
    max-width: none;
  }
  .service a {
    margin-top: 20px;
  }
  .section-heading {
    display: block;
    margin: 5px 0 32px;
  }
  .section-heading>p {
    margin-top: 24px;
    font-size: 13px;
    max-width: 360px;
  }
  .project-tabs {
    gap: 23px;
    margin-right: -24px;
    padding-right: 24px;
  }
  .project-tabs button {
    font-size: 12px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .project-main {
    height: 360px;
  }
  .project-side {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
  }
  .project-side>.project-image {
    height: 220px;
  }
  .project-detail {
    padding: 4px 0;
  }
  .project-detail>.eyebrow {
    font-size: 11px;
  }
  .project-detail h3 {
    font-size: 29px;
    margin: 10px 0;
  }
  .project-detail p {
    font-size: 12px;
    line-height: 1.65;
  }
  .project-detail .arrow-link {
    font-size: 12px;
    gap: 12px;
    margin: 5px 0 0;
    padding: 8px 0;
  }
  .project-footnote {
    font-size: 12px;
  }
  .process-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 35px;
  }
  .process-copy h3 {
    font-size: 39px;
    margin: 18px 0;
  }
  .process-copy>p {
    font-size: 13px;
  }
  .film-section {
    height: 470px;
  }
  .film-section h2 {
    font-size: 49px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 10px;
  }
  .contact-copy h2 {
    font-size: 43px;
  }
  .contact-copy>p {
    margin-top: 23px;
  }
  .contact-links {
    margin-top: 30px;
    gap: 20px;
  }
  .contact-links>a {
    font-size: 18px;
  }
  .contact-copy>.contact-region {
    margin-top: 26px;
  }
  .contact-card {
    padding: 22px;
  }
  .contact-card-heading {
    gap: 12px;
  }
  .contact-card-heading h3 {
    font-size: 12px;
  }
  .contact-tabs {
    gap: 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-card .button {
    font-size: 11px;
    padding: 14px 16px;
  }
  .site-footer {
    padding-top: 40px;
    padding-bottom: 95px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 25px;
  }
  .footer-top .brand {
    width: 90px;
  }
  .footer-top p {
    font-size: 23px;
    max-width: 180px;
    text-align: right;
  }
  .footer-top>.arrow-link {
    margin-left: auto;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-bottom>p {
    order: 3;
    max-width: 100%;
  }
  .whatsapp-float {
    right: 17px;
    bottom: 17px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
  .gallery-dialog {
    padding: 20px 12px;
  }
  .gallery-top {
    margin-left: 10px;
  }
  .gallery-stage {
    grid-template-columns: 30px 1fr 30px;
    gap: 5px;
  }
  .gallery-stage>img {
    height: 57svh;
  }
  .gallery-arrow {
    font-size: 16px;
  }
  .film-dialog {
    padding: 20px 15px;
  }
  .film-dialog h2 {
    font-size: 20px;
  }
}

@media(max-width:380px) {
  h1 {
    font-size: 53px;
  }
  .project-side {
    grid-template-columns: 1fr;
  }
  .project-side>.project-image {
    height: 210px;
  }
  .contact-links>a {
    font-size: 15px;
  }
  .contact-card {
    padding: 18px;
  }
}

.project-interiors {
  border-top: 1px solid var(--line);
  margin-top: 45px;
  padding-top: 38px;
}

.interiors-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.interiors-heading h3 {
  font-size: 35px;
  margin-top: 15px;
}

.interiors-heading h3 em {
  color: var(--gold);
}

.interiors-heading .arrow-link {
  white-space: nowrap;
}

.interiors-intro {
  font-size: 13px;
  max-width: 690px;
  margin: 22px 0 27px;
}

.interiors-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.interiors-grid .project-image {
  aspect-ratio: 4/3;
}

.interiors-grid figcaption {
  font-size: 12px;
  margin-top: 12px;
  color: var(--white);
}

.project-interiors>.media-notice {
  max-width: 800px;
  margin-top: 25px;
}

@media(max-width:760px) {
  .interiors-heading {
    display: block;
  }
  .interiors-heading h3 {
    font-size: 31px;
    max-width: 310px;
  }
  .interiors-heading .arrow-link {
    margin-top: 15px;
  }
  .interiors-grid {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .interiors-intro {
    font-size: 12px;
  }
  .gallery-top h2 {
    font-size: 22px;
  }
  .gallery-top>p {
    flex-shrink: 0;
  }
}

.whatsapp-float>span {
  display: none;
}

.whatsapp-float {
  padding: 13px;
}

.field label {
  font-size: 12px;
}

.form-note,
.consent {
  font-size: 12px;
}

.media-notice {
  font-size: 12px;
}

@media(max-width:760px) {
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
  .field label {
    font-size: 12px;
  }
  .form-note,
  .consent {
    font-size: 12px;
  }
  .contact-tabs button {
    font-size: 12px;
  }
}

.footer-information {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr .9fr .9fr;
  gap: 40px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.footer-information>* {
  min-width: 0;
}

.footer-information h2 {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .015em;
  font-weight: 500;
  margin: 0 0 16px;
}

.footer-information h3 {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  line-height: 1.6;
  color: var(--gold);
  margin: 25px 0 9px;
}

.footer-information p,
.footer-information address,
.footer-information a {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  font-style: normal;
}

.footer-information a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
  transition: color .2s;
}

.footer-information a:hover {
  color: var(--white);
}

.footer-information .footer-whatsapp {
  color: var(--white);
  font-size: 12px;
  margin-top: 14px;
}

.footer-information .footer-cnpj {
  font-size: 12px;
}

@media(max-width:1100px) {
  .footer-information {
    grid-template-columns: 1fr 1fr;
    gap: 35px 45px;
  }
}

@media(max-width:520px) {
  .footer-information {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
    padding: 32px 0;
  }
  .footer-information>section:first-child,
  .footer-information>section:nth-child(2) {
    grid-column: 1/-1;
  }
  .footer-information h2 {
    font-size: 13px;
    margin-bottom: 12px;
  }
  .footer-information p,
  .footer-information address,
  .footer-information a {
    font-size: 13px;
  }
  .footer-information h3 {
    margin-top: 18px;
  }
  .footer-information .footer-cnpj,
  .footer-information .footer-whatsapp {
    font-size: 12px;
  }
}

.footer-credit {
  margin: 22px 0 0;
  text-align: right;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .025em;
  color: var(--muted);
}

.footer-credit a {
  display: inline-block;
  padding: 5px 0;
  transition: color .2s;
}

.footer-credit span {
  font-weight: 500;
}

.footer-credit a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none!important;
    transition: none!important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Original vertical New Ville composition, without synthetic side panels. */

/* ==========================================================================
   SEÇÕES CLARAS — "A construtora" e "O processo" sobre off-white #F8F9FA (aprovado em 14/10/2026).
   Dourado escurecido #8A6A12 para texto sobre claro (contraste 4,8:1); corpo #44546A (7,4:1).
   ========================================================================== */

.about,
.process {
  background: #F8F9FA;
  color: #0A192F;
}

.about h2,
.about h3,
.process h2,
.process h3,
.process h4 {
  color: #0A192F;
}

.about h2 em,
.process h2 em {
  color: #8A6A12;
}

.about p,
.process p {
  color: #44546A;
}

.about .lead {
  color: #0A192F;
}

.about .eyebrow,
.process .eyebrow,
.service-index,
.process-steps li > span,
.service a span {
  color: #8A6A12;
}

.about .tiny-label,
.process .tiny-label {
  color: #5A6B82;
}

.about .section-kicker,
.process .section-kicker {
  border-top-color: rgba(10,25,47,.18);
}

.about .services {
  border-color: rgba(10,25,47,.15);
}

.about .service + .service {
  border-left-color: rgba(10,25,47,.15);
}

.about .service a,
.process .arrow-link,
.about .arrow-link {
  color: #0A192F;
}

.about .arrow-link,
.process .arrow-link {
  border-bottom-color: rgba(10,25,47,.25);
}

.about .arrow-link:hover,
.process .arrow-link:hover {
  color: #8A6A12;
}

.about-image:before {
  border-color: rgba(138,106,18,.35);
}

.about-image figcaption {
  color: #44546A;
}

.about-image figcaption span:first-child {
  color: #0A192F;
}

.process-steps li {
  border-top-color: rgba(10,25,47,.15);
}

.process-steps h4 {
  color: #0A192F;
}

.process-stage {
  background: #E7EAEE;
}

.process-controls {
  border-bottom-color: rgba(10,25,47,.15);
}

.process-steps-nav button,
.process-toggle {
  color: #44546A;
}

.process-steps-nav button[aria-pressed=true] {
  color: #0A192F;
  border-color: #8A6A12;
}

.media-notice {
  color: #44546A;
}

/* ==========================================================================
   HERO — regras do hero reunidas em uma única seção (ordem relativa preservada).
   Contém a composição vertical do vídeo New Ville e as variações responsivas.
   ========================================================================== */

.hero-scroll {
  height: 190vh;
  min-height: 1100px;
}

.hero-scene {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 700px;
  overflow: hidden;
  background: var(--navy);
}

.hero-visual {
  position: absolute;
  overflow: hidden;
}

.visual-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(10,25,47,.72),rgba(10,25,47,.06) 55%),linear-gradient(0deg,rgba(10,25,47,.8),transparent 35%);
}

.visual-caption {
  position: absolute;
  letter-spacing: .13em;
  color: var(--white);
  background: rgba(10,25,47,.75);
  padding: 6px 9px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(175px,24vh,280px) 0 125px var(--gutter);
  pointer-events: none;
}

.hero-content a,
.hero-content button {
  pointer-events: auto;
}

.hero-content .eyebrow {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 11px;
}

.hero-description {
  font-size: 15px;
  line-height: 1.9;
}

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

.hero-location {
  letter-spacing: .19em;
  margin-top: 39px;
}

.hero-bottom {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  border-top: 1px solid var(--line);
}

.scroll-cue {
  font-size: 11px;
  letter-spacing: .18em;
  display: flex;
  align-items: center;
  gap: 16px;
}

.scroll-cue>span {
  font-size: 22px;
  color: var(--gold);
}

.scroll-timeline {
  width: 37%;
  margin-left: auto;
}

.timeline-track {
  height: 1px;
  background: rgba(248,249,250,.35);
}

.timeline-track span {
  display: block;
  height: 2px;
  width: 0;
  background: var(--gold);
}

.timeline-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}

.motion-toggle {
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  padding: 7px 0;
}

.hero-scroll.motion-off {
  height: auto;
  min-height: 0;
}

.hero-scroll.motion-off .hero-scene {
  position: relative;
}

@media(min-width:1600px) {
  .hero-scene {
    max-height: 1200px;
  }
}

@media(max-width:1100px) {
  .hero-actions {
    gap: 20px;
  }
}

@media(max-width:760px) {
  .hero-visual {
    left: 0;
  }
  .visual-shade {
    background: linear-gradient(90deg,rgba(10,25,47,.9),rgba(10,25,47,.45)),linear-gradient(0deg,var(--navy),transparent 45%);
  }
  .hero-content .eyebrow {
    font-size: 11px;
    letter-spacing: .16em;
  }
  .hero-description {
    font-size: 13px;
    color: #e0e4eb;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
  }
  .hero-actions>.button {
    font-size: 11px;
    min-height: 49px;
    padding: 13px 20px;
  }
  .hero-location {
    margin-top: 26px;
    letter-spacing: .1em;
  }
  .hero-bottom {
    left: 24px;
    right: 24px;
    gap: 20px;
    align-items: center;
  }
  .scroll-cue {
    line-height: 1.8;
    gap: 10px;
  }
  .scroll-timeline {
    width: auto;
    flex: 1;
  }
  .motion-toggle {
    font-size: 12px;
  }
  .visual-caption {
    letter-spacing: .07em;
  }
}

@media(max-width:380px) {
  .hero-bottom {
    gap: 13px;
  }
}

.hero-location {
  font-size: 11px;
}

@media(max-width:760px) {
  .hero-bottom {
    padding-right: 58px;
  }
  .hero-location {
    font-size: 11px;
    max-width: 290px;
  }
  .visual-caption {
    max-width: 290px;
    line-height: 1.6;
  }
  .timeline-labels {
    font-size: 11px;
    gap: 12px;
  }
  .scroll-cue {
    max-width: 86px;
    font-size: 11px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .hero-scroll {
    height: auto;
    min-height: 0;
  }
  .hero-scene {
    position: relative;
  }
}

.hero-visual {
  top: 125px;
  bottom: 120px;
  right: var(--gutter);
  width: 42%;
  display: flex;
  justify-content: center;
  background: var(--navy);
}

.hero-visual video {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-visual .visual-shade {
  display: none;
}

.hero-content {
  width: 56%;
  padding-top: clamp(175px,24vh,280px);
}

.hero-content h1 {
  font-size: clamp(58px,6.2vw,100px);
}

.visual-caption {
  bottom: 0;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px;
}

@media(max-width:760px) {
  .hero-scroll {
    height: auto;
    min-height: 0;
  }
  .hero-scene {
    height: auto;
    min-height: 0;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }
  .hero-content {
    order: 0;
    width: 100%;
    padding: 140px 24px 36px;
  }
  .hero-content h1 {
    font-size: clamp(54px,10.9vw,83px);
  }
  .hero-visual {
    order: 1;
    position: relative;
    inset: auto;
    width: calc(100% - 48px);
    max-width: 390px;
    margin: 0 auto 45px;
  }
  .hero-visual video {
    width: 100%;
  }
  .visual-caption {
    bottom: 0;
    left: 50%;
    padding: 6px;
    background: rgba(10,25,47,.85);
    font-size: 11px;
  }
  .hero-bottom {
    order: 2;
    position: relative;
    inset: auto;
    margin: 0 24px;
    height: 90px;
  }
}

.hero-visual {
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-visual video {
  height: calc(100% - 28px);
  min-height: 0;
  pointer-events: auto;
}

.hero-visual .visual-caption {
  position: static;
  transform: none;
  display: block;
  flex-shrink: 0;
  max-width: 100%;
  padding: 0;
  background: transparent;
  text-align: center;
  white-space: normal;
  line-height: 18px;
  pointer-events: none;
}

@media(max-width:760px) {
  .hero-visual {
    display: flex;
    aspect-ratio: auto;
  }
  .hero-visual video {
    height: auto;
    aspect-ratio: 608/1080;
  }
}

/* Controles sobre o vídeo do hero: visíveis, com alvo de toque de 44 px; clicar no vídeo também alterna. */
.hero-visual video {
  cursor: pointer;
}

.video-controls {
  position: absolute;
  left: 50%;
  bottom: 52px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.video-button {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  /* O texto continua no botão como nome acessível; visualmente só o ícone aparece. */
  font-size: 0;
  line-height: 0;
  background: rgba(10,25,47,.82);
  border: 1px solid rgba(248,249,250,.35);
  border-radius: 50%;
  color: var(--white);
  backdrop-filter: blur(6px);
  transition: border-color .2s, background-color .2s;
}

.video-button:hover {
  border-color: var(--gold);
  background: rgba(10,25,47,.95);
}

.video-button::before {
  content: '';
  width: 22px;
  height: 22px;
  background: center / contain no-repeat;
}

#motion-toggle[aria-pressed=true]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23D4AF37' d='M6 5h4v14H6zM14 5h4v14h-4z'/%3E%3C/svg%3E");
}

#motion-toggle[aria-pressed=false]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23D4AF37' d='M8 5v14l11-7z'/%3E%3C/svg%3E");
}

#sound-toggle[data-muted=true]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23D4AF37' d='M3 9v6h4l5 4V5L7 9z'/%3E%3Cpath fill='none' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' d='M16 9l5 6M21 9l-5 6'/%3E%3C/svg%3E");
}

#sound-toggle[data-muted=false]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23D4AF37' d='M3 9v6h4l5 4V5L7 9z'/%3E%3Cpath fill='none' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' d='M15.5 8.5a5 5 0 010 7M18.5 5.5a9 9 0 010 13'/%3E%3C/svg%3E");
}

.video-badge {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  display: none;
  place-items: center;
  border-radius: 50%;
  background: rgba(10,25,47,.7);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 24px;
  padding-left: 4px;
  pointer-events: none;
}

.hero-visual.is-paused .video-badge {
  display: grid;
}

@media(max-width:760px) {
  .video-controls {
    bottom: 56px;
    width: calc(100% - 24px);
    justify-content: center;
  }
}
