/* Tokens compartilhados pelas três etapas. */
:root {
  color-scheme: dark;
  --color-bg: #050505;
  --color-surface: #0c0c0c;
  --color-surface-raised: #111111;
  --color-text: #f5f5f7;
  --color-muted: #a1a1a6;
  --color-accent: #8f56e5;
  --color-border: #363636;
  --font-sans: "Segoe UI", Arial, sans-serif;
  --content-width: 1400px;
  --page-gutter: clamp(24px, 5vw, 80px);
  --section-space: clamp(64px, 7vw, 108px);
  --header-height: 100px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--color-bg); color: var(--color-text); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 6px; }
::selection { color: var(--color-bg); background: var(--color-accent); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
h2 { font-size: clamp(32px, 3.7vw, 52px); line-height: 1.15; letter-spacing: -.035em; }
h3 { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.2; letter-spacing: -.025em; }
p { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.75; }
.container { width: min(100% - var(--page-gutter) * 2, var(--content-width)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 50; padding: 14px; background: var(--color-accent); color: #050505; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 20; background: var(--color-bg); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand { flex-shrink: 0; }
.brand img { width: 134px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.3vw, 36px); }
.main-nav > a { font-size: 13px; font-weight: 500; white-space: nowrap; }
.main-nav > a:not(.button) { color: #c5c5c9; padding-block: 15px; transition: color 180ms ease; }
.main-nav > a:not(.button):hover { color: var(--color-accent); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 15px 23px; border: 1px solid transparent; border-radius: 2px; font-size: 14px; font-weight: 600; line-height: 1.4; text-align: center; transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #050505; background: var(--color-accent); }
.button-primary:hover { background: #f4c328; }
.button-outline { border-color: var(--color-border); background: transparent; }
.button-outline:hover { background: var(--color-surface-raised); border-color: #777; }
.nav-budget { min-height: 44px; padding: 12px 19px; }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(36px, 5.6vw, 88px); align-items: center; padding-top: clamp(40px, 5vw, 80px); padding-bottom: 68px; min-height: min(780px, calc(100svh - var(--header-height))); }
.hero-copy { padding-block: 26px 72px; }
.hero h1 { font-size: clamp(52px, 4.65vw, 68px); line-height: 1.09; letter-spacing: -.047em; }
.hero-description { max-width: 380px; margin-top: 28px; color: var(--color-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 37px; }
.hero-figure { min-width: 0; }
.hero-image-frame { height: clamp(440px, 43vw, 660px); overflow: hidden; background: var(--color-surface); }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.055); }
.hero-figure figcaption { padding-top: 18px; color: var(--color-muted); font-size: 12px; line-height: 1.5; }
.section-notice { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 30; width: max-content; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 24px; padding: 18px 22px; background: var(--color-surface-raised); border: 1px solid var(--color-border); font-size: 14px; line-height: 1.5; }
.section-notice button { border: 0; background: none; color: var(--color-accent); padding: 10px 0; cursor: pointer; }
@media (max-width: 1050px) {
  :root { --header-height: 88px; }
  .header-inner { gap: 18px; }
  .main-nav { gap: 18px; }
  .main-nav > a { font-size: 12px; }
  .brand img { width: 110px; }
  .hero { gap: 32px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .button { min-width: 195px; }
}
/* A abertura desktop se organiza pelo conteúdo, sem altura mínima de tela. */
@media (min-width: 821px) {
  :root { --header-height: 84px; }
  .hero {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(32px, 3.5vw, 60px);
    align-items: start;
    min-height: 0;
    padding-top: 24px;
    padding-bottom: 48px;
  }
  .hero-copy { min-width: 0; padding: clamp(32px, 6vh, 58px) 0 0; }
  .hero h1 { font-size: clamp(48px, 4.2vw, 62px); line-height: 1.1; }
  .hero h1 br:last-child { display: none; }
  .hero-description { max-width: 400px; margin-top: 24px; }
  .hero-actions { flex-direction: row; align-items: stretch; margin-top: 28px; }
  .hero-actions .button { min-width: 0; padding-inline: 20px; }
  .hero-image-frame { height: clamp(360px, calc(100svh - 210px), 550px); }
  .hero-figure figcaption { padding-top: 12px; }
}
@media (max-width: 820px) {
  :root { --header-height: 84px; }
  .header-inner { flex-wrap: wrap; }
  .main-nav { flex-wrap: wrap; padding-bottom: 20px; }
  .js .menu-toggle { display: flex; align-items: center; gap: 13px; background: none; color: var(--color-text); border: 0; min-height: 44px; padding: 10px 0 10px 12px; cursor: pointer; font-size: 13px; }
  .menu-symbol { display: grid; width: 22px; gap: 6px; }
  .menu-symbol span { height: 1px; background: currentColor; transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] .menu-symbol span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-symbol span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 5px; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; padding: 18px var(--page-gutter) 32px; background: var(--color-surface); border-top: 1px solid var(--color-border); }
  .main-nav > a { font-size: 16px; }
  .main-nav .nav-budget { margin-top: 12px; min-height: 50px; }
  .hero { min-height: 0; grid-template-columns: .9fr 1.1fr; padding-top: 38px; }
  .hero h1 { font-size: 48px; }
  .hero-description { font-size: 16px; }
  .hero-image-frame { height: 495px; }
}
@media (max-width: 600px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 32px; padding-top: 31px; padding-bottom: 32px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(38px, 10vw, 48px); max-width: 350px; line-height: 1.08; }
  .hero h1 br:first-child { display: none; }
  .hero-description { margin-top: 20px; max-width: 340px; line-height: 1.65; }
  .hero-actions { flex-direction: row; align-items: stretch; margin-top: 25px; gap: 10px; }
  .hero-actions .button { min-width: 0; flex: 1 1 135px; padding-inline: 10px; font-size: 12px; }
  .hero-image-frame { height: clamp(260px, 78vw, 360px); }
  .hero-image { object-position: 50% 54%; transform: none; }
  .hero-figure figcaption { padding-top: 12px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero-image, .button:hover { transform: none; }
}

/* Etapa 2 — regras restritas aos ambientes, projetos e acabamentos. */
.editorial-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: end;
  gap: clamp(32px, 8vw, 120px);
  margin-bottom: clamp(56px, 7vw, 100px);
}
.editorial-heading h2 { max-width: 580px; }
.editorial-heading > p { max-width: 360px; color: var(--color-muted); }
.editorial-photo { min-width: 0; overflow: hidden; background: var(--color-surface-raised); }
.editorial-photo img { width: 100%; height: 100%; object-fit: cover; }
.environments { background: var(--color-surface); }
.environment {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
}
.environment + .environment { margin-top: clamp(64px, 7vw, 104px); }
.environment .editorial-photo { aspect-ratio: 1.5; max-height: 460px; }
.environment-copy { max-width: 370px; }
.environment-copy h3 { margin-bottom: 25px; }
.environment-copy p { color: var(--color-muted); font-size: 16px; }
.environment-copy .environment-lead { color: var(--color-text); font-size: clamp(18px, 1.7vw, 23px); line-height: 1.5; margin-bottom: 17px; }
.environment-living { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); }
.environment-living .editorial-photo, .environment-office .editorial-photo { grid-column: 2; grid-row: 1; }
.environment-living .environment-copy, .environment-office .environment-copy { grid-column: 1; grid-row: 1; }
.environment-living .editorial-photo { aspect-ratio: 1.6; }
.environment-bedroom { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 12vw, 180px); padding-inline: 5%; }
.environment-bedroom .editorial-photo { aspect-ratio: 1.05; max-height: 440px; }
.environment-office { grid-template-columns: minmax(0, .75fr) minmax(0, 1.65fr); align-items: end; }
.environment-office .editorial-photo { aspect-ratio: 1.75; }
.environment-office .environment-copy { padding-bottom: 12px; }
.featured-projects { background: var(--color-bg); }
.project + .project { margin-top: clamp(64px, 7vw, 104px); }
.project-wide .project-photo { aspect-ratio: 2.3; max-height: 520px; }
.project-wide .project-photo img { object-position: center 65%; }
.project-caption p { margin-top: 18px; color: var(--color-muted); font-size: 16px; max-width: 440px; }
.project-wide .project-caption { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 40px; align-items: start; padding-top: 34px; }
.project-caption .button { align-self: start; justify-self: start; }
.project-specs { margin: 0; display: grid; gap: 18px; }
.project-specs dt { font-size: 13px; color: var(--color-muted); margin-bottom: 6px; }
.project-specs dd { font-size: 16px; line-height: 1.5; margin: 0; }
.project-split { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.project-split .project-photo { aspect-ratio: 1.5; max-height: 460px; }
.project-split .project-specs { padding-top: 24px; margin-top: 25px; margin-bottom: 30px; border-top: 1px solid var(--color-border); }
.project-reversed { grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); }
.project-reversed .project-photo { grid-column: 2; grid-row: 1; aspect-ratio: 1.5; }
.project-reversed .project-caption { grid-column: 1; grid-row: 1; }
.project-disclaimer { margin-top: 52px; font-size: 13px; color: var(--color-muted); }
.finishes { background: var(--color-surface); }
.finish-materials { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(38px, 8vw, 120px); align-items: start; }
.finish-closeup, .craft-photo { min-width: 0; }
.finish-crop { position: relative; overflow: hidden; aspect-ratio: 1.3; max-height: 420px; background: var(--color-surface-raised); }
.finish-crop img { position: absolute; width: 310%; max-width: none; height: auto; left: -18%; bottom: 0; }
.finish-closeup figcaption, .craft-photo figcaption { margin-top: 15px; font-size: 12px; color: var(--color-muted); line-height: 1.5; }
.material-copy > p { color: var(--color-muted); font-size: 16px; margin-top: 20px; }
.material-options { margin: 30px 0 0; }
.material-options > div { padding-block: 19px; border-top: 1px solid var(--color-border); }
.material-options dt { font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.material-options dd { margin: 0; font-size: 15px; line-height: 1.65; color: var(--color-muted); }
.finish-craft { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(38px, 10vw, 145px); margin-top: clamp(85px, 10vw, 150px); }
.craft-copy p { color: var(--color-muted); font-size: 16px; margin-top: 22px; max-width: 375px; }
.craft-crop { position: relative; aspect-ratio: 1.8; overflow: hidden; }
.craft-crop img { position: absolute; width: 310%; max-width: none; height: auto; left: -54%; top: -191%; }
.finish-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 5vw, 76px); margin-top: clamp(70px, 8vw, 115px); border-top: 1px solid var(--color-border); padding-top: 35px; }
.finish-principles h3 { font-size: clamp(23px, 2vw, 28px); }
.finish-principles p { font-size: 16px; color: var(--color-muted); margin-top: 18px; }
@media (max-width: 1100px) {
  .project-wide .project-caption { grid-template-columns: 1fr 1fr; gap: 28px; }
  .project-wide .project-caption .button { grid-column: 1 / -1; }
  .environment-bedroom { padding-inline: 0; gap: 7vw; }
}
@media (max-width: 820px) {
  .editorial-heading { gap: 30px; }
  .environment { gap: 32px; }
  .project-split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; }
  .project-reversed { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .project-split .project-photo { aspect-ratio: .8; }
  .finish-materials { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
  .finish-crop { aspect-ratio: .7; }
  .finish-principles { gap: 25px; }
}
@media (max-width: 600px) {
  .editorial-heading { display: block; margin-bottom: 42px; }
  .editorial-heading h2 { max-width: 350px; }
  .editorial-heading > p { margin-top: 22px; font-size: 16px; }
  .environment, .environment-bedroom { display: flex; flex-direction: column; gap: 25px; align-items: stretch; padding: 0; }
  .environment + .environment { margin-top: 70px; }
  .environment .editorial-photo { width: 100%; aspect-ratio: 1.08; }
  .environment-living .editorial-photo { aspect-ratio: 1.3; }
  .environment-bedroom .editorial-photo { width: 88%; aspect-ratio: .88; }
  .environment-office .editorial-photo { aspect-ratio: 1.1; }
  .environment-copy { max-width: 100%; }
  .environment-copy h3 { margin-bottom: 14px; }
  .environment-copy .environment-lead { font-size: 20px; margin-bottom: 12px; }
  .environment-office .environment-copy { padding: 0; }
  .project-wide .project-photo { aspect-ratio: 1.05; }
  .project-wide .project-caption { display: block; padding-top: 25px; }
  .project-wide .project-specs { margin-block: 24px; }
  .project-split, .project-reversed { display: flex; flex-direction: column; align-items: stretch; gap: 25px; }
  .project-split .project-photo { aspect-ratio: 1.05; }
  .project-caption .button { width: 100%; min-height: 52px; }
  .project-specs { gap: 15px; }
  .project-disclaimer { margin-top: 35px; }
  .finish-materials, .finish-craft { display: flex; flex-direction: column; align-items: stretch; gap: 35px; }
  .finish-crop { aspect-ratio: 1.08; }
  .material-options { margin-top: 25px; }
  .finish-craft { margin-top: 65px; }
  .craft-crop { aspect-ratio: 1.8; }
  .finish-principles { display: block; margin-top: 50px; padding-top: 0; }
  .finish-principles article { padding-top: 25px; }
  .finish-principles article + article { margin-top: 26px; border-top: 1px solid var(--color-border); }
  .finish-principles p { margin-top: 12px; }
}

/* Etapa 3 — processo, atendimento e contato. */
.process-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 9vw, 130px); }
.process-intro h2 { max-width: 460px; }
.process-intro p { color: var(--color-muted); margin-top: 26px; max-width: 390px; }
.process-steps { list-style: none; margin: 0; padding: 0; }
.process-steps li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 22px; padding: 25px 0; border-top: 1px solid var(--color-border); }
.process-steps li:first-child { padding-top: 0; border-top: 0; }
.process-steps li > span { color: var(--color-accent); font-size: 15px; font-variant-numeric: tabular-nums; padding-top: 5px; }
.process-steps h3 { font-size: clamp(23px, 2vw, 28px); }
.process-steps p { color: var(--color-muted); font-size: 16px; margin-top: 12px; }
.service { background: #f5f5f7; color: #111; color-scheme: light; }
.service-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(35px, 10vw, 140px); align-items: end; }
.service-intro h2 { max-width: 580px; }
.service-intro p { color: #535359; font-size: 17px; }
.service-benefits { margin: 64px auto 0; max-width: 950px; }
.service-benefits > div { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 35px; padding-block: 24px; border-top: 1px solid #d0d0d4; }
.service-benefits dt { font-size: clamp(21px, 2vw, 27px); letter-spacing: -.025em; }
.service-benefits dd { margin: 0; color: #535359; font-size: 16px; line-height: 1.7; }
.final-cta { padding-block: clamp(80px, 10vw, 145px); background: #1c1c1c; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 8vw, 115px); align-items: center; }
.contact-layout h2 { max-width: 510px; }
.contact-copy p { color: var(--color-muted); max-width: 420px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
button.button { cursor: pointer; }
.site-footer { background: var(--color-surface); padding-block: 35px 25px; }
.footer-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.footer-brand img { width: 120px; height: auto; }
.footer-nav, .footer-social { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.footer-nav a, .footer-social button { color: #c5c5c9; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.footer-social button { border: 0; padding: 0; background: transparent; cursor: pointer; }
.footer-nav a:hover, .footer-social button:hover, .footer-bottom a:hover { color: var(--color-accent); }
.footer-bottom { border-top: 1px solid var(--color-border); display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; padding-top: 23px; margin-top: 25px; }
.footer-bottom p { font-size: 12px; line-height: 1.8; color: var(--color-muted); }
.footer-bottom a { color: var(--color-text); padding-block: 12px; }
.budget-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; color: var(--color-text); background: var(--color-surface-raised); border: 1px solid var(--color-border); padding: 32px; }
.budget-dialog::backdrop { background: rgb(0 0 0 / 80%); }
.dialog-close { display: block; margin-left: auto; margin-bottom: 22px; background: none; border: 0; padding: 12px 0 12px 15px; color: var(--color-muted); cursor: pointer; }
.budget-dialog h2 { font-size: 32px; }
.budget-dialog > p { color: var(--color-muted); font-size: 16px; margin-top: 14px; }
.budget-dialog form { margin-top: 25px; }
.budget-dialog label { display: block; font-size: 14px; margin: 18px 0 9px; }
.budget-dialog select, .budget-dialog textarea { display: block; width: 100%; min-width: 0; border: 1px solid #555; border-radius: 0; background: var(--color-bg); color: var(--color-text); font: inherit; font-size: 16px; padding: 13px; }
.budget-dialog textarea { resize: vertical; min-height: 120px; max-height: 320px; }
.budget-dialog form > .button { margin-top: 22px; width: 100%; }
.budget-status { font-size: 13px; line-height: 1.6; color: var(--color-muted); margin-top: 15px; }
body.dialog-open { overflow: hidden; }
.no-script { padding-block: 20px; font-size: 14px; color: var(--color-muted); }
@media (min-width: 601px) and (max-width: 1050px) {
  .project-split, .project-reversed { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .project-reversed { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .project-split .project-photo { aspect-ratio: 1.1; max-height: 410px; }
  .finish-crop { aspect-ratio: 1; }
  .finish-materials { align-items: center; }
}
@media (max-width: 820px) {
  .process-layout { gap: 35px; }
  .service-intro { gap: 35px; }
  .contact-layout { gap: 30px; }
  .contact-actions { flex-direction: column; align-items: flex-start; }
  .contact-actions .button { min-width: 200px; }
  .footer-main { justify-content: flex-start; }
  .footer-nav { flex: 1; }
  .footer-social { width: 100%; }
}
@media (max-width: 600px) {
  .environment + .environment { margin-top: 56px; }
  .environment .editorial-photo { max-height: 330px; }
  .environment-bedroom .editorial-photo { max-height: 350px; }
  .project-wide .project-photo, .project-split .project-photo { max-height: 360px; }
  .finish-crop { aspect-ratio: 1.25; max-height: 310px; }
  .process-layout, .service-intro, .contact-layout { display: block; }
  .process-intro p, .service-intro p { margin-top: 22px; font-size: 16px; }
  .process-steps { margin-top: 38px; }
  .process-steps li { grid-template-columns: 26px minmax(0, 1fr); gap: 15px; padding-block: 22px; }
  .process-steps h3 { font-size: 23px; }
  .service-benefits { margin-top: 38px; }
  .service-benefits > div { display: block; padding-block: 21px; }
  .service-benefits dd { margin-top: 10px; }
  .contact-copy p { margin-top: 23px; }
  .contact-actions { align-items: stretch; }
  .contact-actions .button { width: 100%; min-width: 0; min-height: 52px; }
  .footer-main { align-items: flex-start; gap: 22px; }
  .footer-nav { flex: 0 0 100%; gap: 5px 22px; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: 20px; }
  .budget-dialog { padding: 22px; }
  .budget-dialog h2 { font-size: 28px; }
}

/* Abertura: cabeçalho e hero ocupam juntos a primeira tela. */
.hero {
  min-height: calc(100svh - var(--header-height));
  height: calc(100svh - var(--header-height));
  padding-block: 24px 40px;
  align-items: center;
}
.hero-copy { padding-block: 0; }
.hero-figure { height: 100%; min-height: 0; display: flex; flex-direction: column; }
.hero-image-frame { height: auto; min-height: 0; flex: 1; }
.hero-figure figcaption { flex-shrink: 0; }

/* Controles sóbrios: ação principal sólida, secundárias em texto. */
.button {
  min-height: 48px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 22px;
  box-shadow: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.button:hover, .button:active { transform: none; }
.button-primary:hover { background: #d5a506; }
.button-outline { border-color: transparent; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.button-outline:hover { background: transparent; border-color: transparent; color: var(--color-accent); }
.nav-budget { border-color: #555; text-decoration: none; min-height: 44px; padding: 10px 17px; }
.nav-budget:hover { border-color: var(--color-accent); }
.project-caption .button-outline { padding-inline: 0; justify-content: flex-start; }
.hero-actions .button { flex: 0 0 auto; min-width: 0; }

@media (max-width: 820px) {
  .hero { padding-block: 20px 32px; }
}
@media (max-width: 600px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 22px;
    padding-block: 20px 20px;
  }
  .hero h1 { font-size: clamp(34px, 8.6vw, 40px); }
  .hero-description { margin-top: 16px; font-size: 16px; line-height: 1.55; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .button { padding-inline: 22px; font-size: 14px; }
  .hero-image-frame { height: auto; min-height: 0; }
  .hero-figure figcaption { padding-top: 10px; }
  .project-caption .button-outline { width: auto; }
}
/* Em telas muito baixas ou com texto ampliado, preservar acesso ao conteúdo. */
@media (max-height: 650px) {
  .hero { height: auto; }
  .hero-figure { min-height: 280px; }
}

/* Composicao exclusiva para celulares; desktop preservado. */
@media (max-width: 600px) {
  :root { --page-gutter: 20px; --section-space: 64px; }
  .header-inner { border-bottom: 1px solid #24221c; }
  .js .menu-toggle { padding: 11px 15px; border: 1px solid #363229; border-radius: 30px; background: #14130f; }
  .js .main-nav.is-open { left: 12px; right: 12px; border: 1px solid #363229; border-radius: 20px; box-shadow: 0 20px 45px #0009; }
  .main-nav > a:not(.button) { padding-inline: 12px; }
  .button { border-radius: 30px; min-height: 50px; }
  .hero { height: auto; min-height: 0; gap: 30px; padding-block: 34px 46px; }
  .hero-copy { position: relative; padding-top: 20px; }
  .hero-copy::before { content: ""; position: absolute; top: 0; left: 0; width: 42px; height: 3px; border-radius: 3px; background: var(--color-accent); }
  .hero h1 { max-width: 310px; font-size: clamp(40px, 11.5vw, 58px); line-height: 1.02; letter-spacing: -.055em; }
  .hero-description { max-width: 340px; margin-top: 20px; line-height: 1.7; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .button { padding-inline: 25px; box-shadow: 0 8px 30px #e9b40616; }
  .hero-figure { height: auto; min-height: 0; position: relative; padding-left: 10px; }
  .hero-image-frame { flex: none; height: clamp(270px, 85vw, 410px); border-radius: 64px 20px 20px 20px; }
  .hero-figure figcaption { margin-left: 12px; padding-top: 14px; max-width: 260px; line-height: 1.6; }
  .environments { border-radius: 32px 32px 0 0; background: linear-gradient(155deg, #191711, #0c0c0c 32%); }
  .editorial-heading { margin-bottom: 32px; }
  .editorial-heading h2, .process-intro h2, .contact-layout h2 { font-size: clamp(30px, 8.5vw, 39px); line-height: 1.12; letter-spacing: -.04em; }
  .editorial-heading > p { margin-top: 16px; line-height: 1.65; }
  .environment { gap: 0; }
  .environment + .environment { margin-top: 38px; }
  .environment .editorial-photo { width: 100%; aspect-ratio: 1.2; max-height: 350px; border-radius: 24px; }
  .environment:nth-of-type(even) .editorial-photo { width: calc(100% - 16px); align-self: flex-end; border-radius: 24px 56px 24px 24px; }
  .environment-bedroom .editorial-photo { width: calc(100% - 16px); aspect-ratio: 1.1; border-radius: 56px 24px 24px 24px; }
  .environment .environment-copy { position: relative; margin: -24px 14px 0 0; padding: 24px; border: 1px solid #302c23; border-radius: 20px; background: #171612; box-shadow: 0 12px 28px #0002; }
  .environment:nth-of-type(even) .environment-copy { margin-right: 0; margin-left: 14px; }
  .environment-copy h3 { font-size: 25px; margin-bottom: 12px; }
  .environment-copy .environment-lead { font-size: 18px; line-height: 1.5; }
  .environment-copy p { font-size: 15px; line-height: 1.7; }
  .project-split, .project-reversed { gap: 0; border: 1px solid #302c23; border-radius: 24px; overflow: hidden; background: #13120f; }
  .project + .project { margin-top: 26px; }
  .project-split .project-photo { aspect-ratio: 1.2; max-height: 340px; }
  .project-caption { padding: 25px 22px; }
  .project-caption h3 { font-size: 27px; }
  .project-caption p { margin-top: 14px; line-height: 1.65; }
  .project-split .project-specs { border-color: #363127; margin-block: 22px; padding-top: 20px; }
  .project-specs dd { font-size: 15px; }
  .project-caption .button-outline { width: 100%; padding-inline: 20px; justify-content: center; border-color: #645321; color: #f1cc50; text-decoration: none; }
  .project-disclaimer { font-size: 12px; line-height: 1.65; padding-left: 14px; border-left: 2px solid #645321; }
  .finishes { border-radius: 32px; background: #12110e; }
  .finish-crop { border-radius: 24px 60px 24px 24px; }
  .finish-closeup figcaption, .craft-photo figcaption { padding-inline: 8px; }
  .material-copy h3, .craft-copy h3 { font-size: 28px; }
  .material-options { display: grid; gap: 10px; }
  .material-options > div { padding: 18px 20px; border: 1px solid #343026; border-radius: 18px; background: #1b1914; }
  .material-options dt { color: #eedba3; }
  .finish-craft { margin-top: 44px; gap: 24px; }
  .craft-crop { border-radius: 24px; }
  .finish-principles { margin-top: 32px; border: 0; }
  .finish-principles article { padding: 22px 0 22px 20px; border-left: 2px solid #645321; }
  .finish-principles article + article { margin-top: 12px; border-top: 0; }
  .finish-principles h3 { font-size: 23px; }
  .finish-principles p { font-size: 15px; }
  .process-steps { margin-top: 30px; }
  .process-steps li, .process-steps li:first-child { position: relative; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding: 0 0 30px; border: 0; }
  .process-steps li:not(:last-child)::before { content: ""; position: absolute; top: 48px; bottom: 6px; left: 20px; width: 1px; background: #443b24; }
  .process-steps li > span { display: flex; align-items: center; justify-content: center; height: 42px; padding: 0; border: 1px solid #5c4a1e; border-radius: 50%; background: #201c10; font-size: 13px; }
  .process-steps h3 { padding-top: 7px; font-size: 22px; }
  .process-steps p { font-size: 15px; line-height: 1.7; }
  .process-steps li:last-child { padding-bottom: 0; }
  .final-cta { margin: 0 12px 28px; padding-block: 38px; border: 1px solid #514329; border-radius: 28px; background: radial-gradient(ellipse at top right, #3c3018, #191711 70%); }
  .final-cta .container { width: calc(100% - 40px); }
  .contact-copy p { margin-top: 18px; line-height: 1.65; color: #c1bcb0; }
  .contact-actions { gap: 10px; }
  .contact-actions .button-outline { border-color: #534b3a; text-decoration: none; }
  .site-footer { border-radius: 28px 28px 0 0; }
  .footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
  .footer-social { gap: 12px; }
  .footer-social button { border: 1px solid #363229; border-radius: 24px; padding-inline: 18px; }
  .budget-dialog { border-radius: 24px; }
  .budget-dialog select, .budget-dialog textarea { border-radius: 12px; }
  .section-notice { border-radius: 18px; }
}
