/* ==========================================================================
   Carvalho Arquitetura & Interiores — versão 2
   Fundo limpo · seções emolduradas · leitura fácil · 3D que explica
   ========================================================================== */

@view-transition { navigation: auto; }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --bg: #f6f2ec;
  --card: #fffdf9;
  --card-2: #f9f5ef;
  --ink: #2a1f16;
  --ink-2: #5a4a3c;
  --brown: #49301d;
  --gold: #b9842c;
  --gold-2: #cb9636;
  --gold-soft: #ead7b2;
  --line: rgb(73 48 29 / .12);
  --line-2: rgb(73 48 29 / .22);
  --wa: #1f8f4e;

  --f-display: 'Fraunces', Georgia, serif;
  --f-sans: 'Instrument Sans', system-ui, sans-serif;

  --gut: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --r: 28px;
  --r-sm: 18px;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --nav-h: 76px;
  color-scheme: light;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 70px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgb(203 150 54 / .09), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgb(73 48 29 / .04), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font: 400 clamp(17px, 1.15vw, 19px)/1.65 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--gold-soft); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: inherit; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tipografia ---------- */
.t-hero, .t-h2, .t-h3 { font-family: var(--f-display); font-variation-settings: 'opsz' 144, 'SOFT' 20; letter-spacing: -.02em; }
.t-hero { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1.02; font-weight: 360; }
.t-h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.06; font-weight: 370; }
.t-h3 { font-size: clamp(1.45rem, 2.2vw, 1.95rem); line-height: 1.15; font-weight: 400; letter-spacing: -.01em; }
.t-hero em, .t-h2 em, .t-h3 em { font-style: italic; color: var(--gold); font-variation-settings: 'opsz' 144, 'SOFT' 60; }
.label { display: inline-flex; align-items: center; gap: 10px; font: 600 .8rem/1.2 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.label::before { content: ''; width: 26px; height: 1.5px; background: currentColor; }
.lead { font-size: clamp(1.08rem, 1.35vw, 1.25rem); color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--ink-2); }

/* ---------- botões (todos do mesmo sistema) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid var(--brown);
  background: transparent; color: var(--brown);
  font: 600 1rem/1 var(--f-sans); letter-spacing: .01em;
  transition: background .35s var(--ease), color .35s, transform .35s var(--ease), box-shadow .35s;
}
.btn:hover { background: var(--brown); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgb(73 48 29 / .6); }
.btn--solid { background: var(--brown); color: #fff; }
.btn--solid:hover { background: #2f1e11; }
.btn--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn--wa:hover { background: #17733e; border-color: #17733e; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .92rem; }

/* ==========================================================================
   MOLDURA — o mesmo quadro em todas as seções
   ========================================================================== */
.frame {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow:
    inset 0 0 0 7px var(--card),
    inset 0 0 0 8px rgb(203 150 54 / .28),
    0 30px 60px -40px rgb(73 48 29 / .35);
}
.frame--soft { background: var(--card-2); box-shadow: inset 0 0 0 7px var(--card-2), inset 0 0 0 8px rgb(203 150 54 / .22); }
/* brilho girando na borda ao passar o mouse */
.frame--live::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 70%, var(--gold-2) 85%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .5s;
}
.frame--live:hover::after { opacity: 1; animation: spin-ang 2.6s linear infinite; }
@keyframes spin-ang { to { --ang: 360deg; } }

/* ==========================================================================
   CABEÇALHO + NAVEGAÇÃO SINCRONIZADA
   ========================================================================== */
.top {
  position: sticky; top: 0; z-index: 50;
  padding: 12px var(--gut);
  background: rgb(246 242 236 / .78);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, box-shadow .4s;
}
html[data-scrolled] .top { border-color: var(--line); box-shadow: 0 10px 30px -24px rgb(73 48 29 / .5); }
.top__row { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 20px; min-height: 52px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand svg { width: 46px; height: 36px; }
.brand b { display: block; font: 400 1.1rem/1 var(--f-display); letter-spacing: .3em; }
.brand small { display: block; font: 600 .58rem/1 var(--f-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }

/* trilho de seções: um único controle, sempre mostrando onde você está */
.rail {
  position: relative; display: flex; gap: 2px; padding: 5px;
  background: rgb(255 253 249 / .9); border: 1px solid var(--line); border-radius: 999px;
}
.rail a { position: relative; z-index: 1; padding: 10px 16px; border-radius: 999px; font: 500 .95rem/1 var(--f-sans); color: var(--ink-2); white-space: nowrap; transition: color .35s; }
.rail a.on { color: #fff; }
.rail__pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--brown); transition: left .5s var(--ease), width .5s var(--ease); }
.top__wa { flex: none; }

@media (max-width: 1100px) {
  :root { --nav-h: 124px; }
  .top { padding-bottom: 8px; }
  .top__row { flex-wrap: wrap; row-gap: 10px; }
  .rail { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .rail::-webkit-scrollbar { display: none; }
  .rail a { scroll-snap-align: center; font-size: .92rem; padding: 10px 14px; }
}
@media (max-width: 520px) {
  .brand b { font-size: .95rem; }
  .brand small { font-size: .5rem; }
  .top__wa span { display: none; }
  .top__wa { width: 50px; padding: 0; }
}

/* ==========================================================================
   SEÇÕES
   ========================================================================== */
.sec { padding-block: clamp(36px, 6vw, 72px); }
.sec__head { display: grid; gap: 16px; margin-bottom: clamp(26px, 4vw, 44px); }
.sec__head--row { grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 760px) { .sec__head--row { grid-template-columns: 1fr; } }

/* surgimento em 3D */
.rise { opacity: 0; transform: perspective(1200px) translateY(40px) rotateX(10deg); transform-origin: 50% 100%; transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.rise.in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { padding-top: clamp(20px, 3vw, 40px); }
.hero__frame { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4.5vw, 64px); align-items: center; overflow: hidden; }
.hero__copy { display: grid; gap: 24px; align-content: center; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: .95rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); }
.hero__visual { position: relative; perspective: 1400px; }
.hero__photo { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4/3.3; transform: rotateY(var(--ry, -6deg)) rotateX(var(--rx, 3deg)); transform-style: preserve-3d; transition: transform .6s var(--ease); box-shadow: 0 50px 80px -40px rgb(42 31 22 / .55); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__house { position: absolute; z-index: -1; right: -6%; top: -14%; width: 64%; opacity: .55; }
.hero__house path { fill: none; stroke: var(--brown); stroke-width: 6; stroke-dasharray: 3000; stroke-dashoffset: 3000; animation: draw 2.4s var(--ease) .2s forwards; }
.hero__house .g { stroke: var(--gold-2); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chip3d { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: rgb(255 253 249 / .92); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 40px -24px rgb(42 31 22 / .5); transform: translateZ(60px); animation: float 6s ease-in-out infinite; }
.chip3d b { display: block; font: 400 1.5rem/1 var(--f-display); }
.chip3d small { display: block; font: 600 .72rem/1.2 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.chip3d i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--brown); font-style: normal; font-weight: 700; }
.chip3d--a { left: -5%; bottom: 10%; }
.chip3d--b { right: -3%; top: 8%; animation-delay: -3s; }
@keyframes float { 50% { translate: 0 -8px; } }
.hero__caption { margin-top: 14px; display: flex; justify-content: space-between; font-size: .85rem; color: var(--ink-2); }
@media (max-width: 900px) {
  .hero__frame { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .chip3d--a { left: 8px; bottom: 8px; }
  .chip3d--b { right: 8px; top: 8px; }
  .chip3d { padding: 8px 12px 8px 8px; }
  .chip3d b { font-size: 1.15rem; }
  .chip3d i { width: 34px; height: 34px; }
}

/* números de confiança */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.stat { padding: 22px 24px; display: flex; align-items: center; gap: 16px; }
.stat i { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); }
.stat i svg { width: 24px; height: 24px; }
.stat b { display: block; font: 400 1.6rem/1.05 var(--f-display); }
.stat span { display: block; font-size: .88rem; color: var(--ink-2); line-height: 1.3; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stat { padding: 16px; gap: 12px; } .stat b { font-size: 1.3rem; } .stat i { width: 40px; height: 40px; } }

/* ---------- 3 DIVISÕES (hub) ---------- */
.hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hub__card { padding: 30px; display: grid; gap: 16px; align-content: start; transition: transform .5s var(--ease); }
.hub__card:hover { transform: translateY(-6px); }
.hub__n { font: 400 1rem/1 var(--f-display); color: var(--gold); letter-spacing: .1em; }
.hub__mini { height: 150px; display: grid; place-items: center; background: var(--card-2); border-radius: 18px; border: 1px solid var(--line); overflow: hidden; }
.hub__mini svg { width: 82%; height: 100%; }
.hub__card p { color: var(--ink-2); }
.hub__card .btn { justify-self: start; margin-top: 4px; }
@media (max-width: 900px) { .hub { grid-template-columns: 1fr; } }

/* ==========================================================================
   SERVIÇO — cena 3D que se monta com a rolagem, com explicação em cada passo
   ========================================================================== */
.svc { position: relative; }
.svc__frame { padding: clamp(24px, 4vw, 52px); }
.svc__head { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 28px; align-items: center; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.svc__num { width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; background: var(--brown); color: #fff; font: 400 1.6rem/1 var(--f-display); }
.svc__head p { color: var(--ink-2); margin-top: 6px; }
@media (max-width: 760px) { .svc__head { grid-template-columns: auto 1fr; } .svc__head .btn { grid-column: 1 / -1; justify-self: start; } .svc__num { width: 58px; height: 58px; border-radius: 16px; font-size: 1.25rem; } }

.svc__track { position: relative; height: calc(var(--steps) * 62vh + 40vh); }
.svc__stage { position: sticky; top: calc(var(--nav-h) + 24px); height: calc(100vh - var(--nav-h) - 48px); height: calc(100svh - var(--nav-h) - 48px); max-height: 720px; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(20px, 3vw, 44px); align-items: center; padding-block: 18px; }

.steps { display: grid; gap: 10px; }
.steps__count { font: 600 .82rem/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 6px 14px; text-align: left; padding: 14px 16px; border-radius: 18px; border: 1px solid transparent; background: none; transition: background .45s var(--ease), border-color .45s; }
.step__n { grid-row: span 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); font: 400 1.05rem/1 var(--f-display); color: var(--ink-2); transition: background .45s, color .45s, border-color .45s; }
.step__t { font: 500 1.15rem/1.3 var(--f-sans); align-self: center; color: var(--ink-2); transition: color .4s; }
.step__d { color: var(--ink-2); font-size: 1rem; line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .5s; }
.step.on { background: var(--card-2); border-color: var(--line); }
.step.on .step__n { background: var(--gold-2); border-color: var(--gold-2); color: #fff; }
.step.on .step__t { color: var(--ink); font-weight: 600; }
.step.on .step__d { max-height: 7em; opacity: 1; }
.step.done .step__n { border-color: var(--gold-2); color: var(--gold); }
.steps__bar { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 8px; }
.steps__bar i { display: block; height: 100%; background: var(--gold-2); width: calc(var(--p, 0) * 100%); transition: width .2s linear; }

.scene { position: relative; height: 100%; max-height: 640px; border-radius: 22px; background: linear-gradient(180deg, #fbf8f3, #f3ece2); border: 1px solid var(--line); overflow: hidden; }
.scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene__tag { position: absolute; left: 16px; top: 16px; z-index: 3; padding: 8px 14px; border-radius: 999px; background: rgb(255 253 249 / .9); border: 1px solid var(--line); font: 600 .78rem/1 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
/* elementos da cena: surgem caindo no lugar */
.iso-el { opacity: 0; transform: translateY(-34px); transition: opacity .7s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.iso-el.on { opacity: 1; transform: none; }
.iso-el.gone { opacity: 0; transform: translateY(10px); transition-delay: 0ms; }
.iso-glow { mix-blend-mode: multiply; }
/* etiquetas explicativas sobre a cena (texto HTML, sempre legível) */
.callout { position: absolute; z-index: 2; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); translate: -50% -100%; display: grid; justify-items: center; gap: 0; pointer-events: none; opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.callout.on { opacity: 1; transform: none; }
.callout span { padding: 8px 14px; border-radius: 999px; background: var(--brown); color: #fff; font: 600 .9rem/1.1 var(--f-sans); white-space: nowrap; box-shadow: 0 10px 24px -12px rgb(42 31 22 / .6); }
.callout i { width: 1.5px; height: 22px; background: var(--brown); }
.callout b { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 5px rgb(203 150 54 / .25); }
.scene__photo { position: absolute; z-index: 3; right: 14px; bottom: 14px; width: 27%; border-radius: 14px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 20px 40px -20px rgb(42 31 22 / .6); opacity: 0; transform: translateY(20px) rotate(3deg); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.scene__photo.on { opacity: 1; transform: rotate(2deg); }
.scene__photo small { position: absolute; left: 8px; bottom: 8px; padding: 4px 8px; border-radius: 999px; background: rgb(42 31 22 / .7); color: #fff; font: 600 .66rem/1 var(--f-sans); letter-spacing: .08em; text-transform: uppercase; }

/* o que você recebe + exemplos */
.svc__foot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); padding-top: 28px; border-top: 1px solid var(--line); }
.checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; }
.checks li::before { content: ''; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3L17 9' fill='none' stroke='%2349301d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.svc__format { margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); color: var(--ink-2); font-size: .98rem; }
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.examples button { padding: 0; border: 0; background: none; text-align: left; display: grid; gap: 8px; }
.examples img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; transition: transform .5s var(--ease); }
.examples button:hover img { transform: scale(1.03); }
.examples span { font-size: .9rem; line-height: 1.3; font-weight: 500; }
.svc__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.online { display: grid; gap: 14px; margin-top: 14px; }
.online div { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); }
.online i { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--gold); font-style: normal; }
.online i svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .svc__track { height: calc(var(--steps) * 70vh + 30vh); }
  .svc__stage { grid-template-columns: 1fr; grid-template-rows: 1fr auto; align-content: stretch; gap: 12px; max-height: none; padding-block: 8px; top: calc(var(--nav-h) + 8px); height: calc(100svh - var(--nav-h) - 20px); }
  .svc__stage { grid-template-rows: auto auto; align-content: center; }
  .scene { order: -1; height: auto; aspect-ratio: 640 / 540; max-height: 52svh; width: 100%; justify-self: center; }
  .steps { gap: 0; }
  .step { display: none; padding: 10px 4px; }
  .step.on { display: grid; background: none; border-color: transparent; }
  .step__d { font-size: .98rem; }
  .callout span { font-size: .8rem; padding: 6px 10px; }
  .svc__foot { grid-template-columns: 1fr; }
  .scene__photo { width: 40%; }
}

/* ==========================================================================
   SOBRE
   ========================================================================== */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 60px); padding: clamp(24px, 4vw, 56px); align-items: center; }
.about__photo { position: relative; border-radius: 999px 999px 22px 22px; overflow: hidden; aspect-ratio: 4/5; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.about__txt { display: grid; gap: 20px; }
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.creds div { padding: 16px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); }
.creds b { display: block; font: 400 1.25rem/1.15 var(--f-display); }
.creds span { font-size: .85rem; color: var(--ink-2); }
.values { display: flex; flex-wrap: wrap; gap: 8px; }
.values span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .9rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__photo { max-width: 340px; } .creds { grid-template-columns: 1fr; } }

/* ==========================================================================
   PORTFÓLIO
   ========================================================================== */
.loop { overflow: hidden; margin-bottom: 28px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.loop__track { display: flex; gap: 14px; width: max-content; animation: loop 60s linear infinite; }
.loop:hover .loop__track { animation-play-state: paused; }
@keyframes loop { to { transform: translateX(-50%); } }
.loop__item { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); white-space: nowrap; font-weight: 500; }
.loop__item img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card); font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.filters button[aria-pressed='true'] { background: var(--brown); border-color: var(--brown); color: #fff; }
.filters button sup { font-size: .72rem; opacity: .7; margin-left: 4px; }

.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pcard { padding: 12px; display: grid; gap: 12px; text-align: left; border: 1px solid var(--line); cursor: pointer; transition: transform .5s var(--ease); }
.pcard:hover { transform: translateY(-5px); }
.pcard__img { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3.4; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__tag { position: absolute; left: 10px; top: 10px; padding: 6px 12px; border-radius: 999px; background: rgb(255 253 249 / .92); font: 600 .74rem/1 var(--f-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--brown); }
.pcard__tag--live { background: var(--gold-2); color: #fff; }
.pcard__body { padding: 4px 8px 8px; display: grid; gap: 4px; }
.pcard__body h3 { font: 400 1.35rem/1.15 var(--f-display); }
.pcard__body p { font-size: .95rem; color: var(--ink-2); }
.pcard__meta { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
@media (max-width: 1000px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pgrid { grid-template-columns: 1fr; } }

/* janela do projeto */
dialog { border: 0; padding: 0; color: inherit; max-width: none; max-height: none; }
dialog::backdrop { background: rgb(42 31 22 / .55); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s, overlay .35s allow-discrete, display .35s allow-discrete; }
dialog[open]::backdrop { opacity: 1; }
@starting-style { dialog[open]::backdrop { opacity: 0; } }
.pmodal { width: min(1080px, 100% - 24px); max-height: calc(100dvh - 24px); border-radius: var(--r); background: var(--card); overflow: auto; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .4s var(--ease), transform .5s var(--ease), overlay .4s allow-discrete, display .4s allow-discrete; }
.pmodal[open] { opacity: 1; transform: none; }
@starting-style { .pmodal[open] { opacity: 0; transform: translateY(24px) scale(.98); } }
.pmodal__grid { display: grid; grid-template-columns: 1.35fr 1fr; }
.pmodal__media { position: relative; background: #1d1611; min-height: 420px; }
.pmodal__media img { width: 100%; height: 100%; max-height: 82dvh; object-fit: contain; }
.pmodal__nav { position: absolute; inset: auto 12px 12px; display: flex; justify-content: space-between; align-items: center; }
.pmodal__nav button { width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgb(255 253 249 / .92); font-size: 1.2rem; }
.pmodal__nav span { padding: 8px 14px; border-radius: 999px; background: rgb(42 31 22 / .6); color: #fff; font-size: .85rem; }
.pmodal__info { padding: clamp(22px, 3vw, 40px); display: grid; gap: 16px; align-content: start; }
.pmodal__x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font-size: 1.2rem; }
.pmodal dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; padding: 16px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); font-size: .95rem; }
.pmodal dt { color: var(--ink-2); }
.pmodal dd { margin: 0; font-weight: 500; }
@media (max-width: 800px) { .pmodal__grid { grid-template-columns: 1fr; } .pmodal__media { min-height: 0; aspect-ratio: 4/3.4; } .pmodal__media img { position: absolute; inset: 0; max-height: none; } }

/* ==========================================================================
   DEPOIMENTOS
   ========================================================================== */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { padding: 30px; display: grid; gap: 18px; align-content: space-between; }
.quote p { font: 400 1.18rem/1.5 var(--f-display); font-variation-settings: 'opsz' 30; }
.quote p::before { content: '“'; display: block; font-size: 3rem; line-height: .7; color: var(--gold-2); margin-bottom: 4px; }
.quote footer { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.quote footer span { color: var(--gold-2); letter-spacing: .15em; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ==========================================================================
   CONTATO
   ========================================================================== */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.contact__main { padding: clamp(24px, 4vw, 48px); display: grid; gap: 22px; align-content: start; }
.contact__side { display: grid; gap: 18px; grid-template-rows: auto 1fr; }
.info { padding: 26px; display: grid; gap: 14px; }
.info a, .info div { display: flex; gap: 14px; align-items: center; }
.info i { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--line); color: var(--gold); font-style: normal; }
.info i svg { width: 22px; height: 22px; }
.info small { display: block; font-size: .8rem; color: var(--ink-2); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.map { overflow: hidden; padding: 8px; min-height: 240px; }
.map iframe { width: 100%; height: 100%; min-height: 240px; border: 0; border-radius: 20px; filter: sepia(.25) saturate(.85); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* briefing rápido (3 passos) */
.quick { display: grid; gap: 16px; padding: 22px; border-radius: 20px; background: var(--card-2); border: 1px solid var(--line); }
.quick__top { display: flex; justify-content: space-between; align-items: center; font: 600 .82rem/1 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.quick__dots { display: flex; gap: 6px; }
.quick__dots i { width: 28px; height: 4px; border-radius: 4px; background: var(--line-2); transition: background .3s; }
.quick__dots i.on { background: var(--gold-2); }
.quick__pane { display: none; gap: 14px; }
.quick__pane.on { display: grid; animation: pane .5s var(--ease); }
@keyframes pane { from { opacity: 0; transform: translateX(14px); } }
.quick__q { font: 400 1.4rem/1.2 var(--f-display); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { position: relative; }
.opts input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.opts span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 500; transition: background .25s, color .25s, border-color .25s; }
.opts input:checked + span { background: var(--brown); border-color: var(--brown); color: #fff; }
.opts input:focus-visible + span { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.field input { min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; font: inherit; }
.field input:focus { outline: none; border-color: var(--gold-2); }
.quick__nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.quick__back { background: none; border: 0; font-weight: 600; color: var(--ink-2); min-height: 48px; padding: 0 6px; }
.quick__back[hidden] { visibility: hidden; display: block; }

/* ==========================================================================
   RODAPÉ + botão flutuante
   ========================================================================== */
.foot { margin-top: 30px; padding: 48px 0 110px; border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot h4 { margin: 0 0 12px; font: 600 .8rem/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--ink-2); font-size: .95rem; }
.foot__legal { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; color: var(--ink-2); }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .3s, color .3s; }
.socials a:hover { background: var(--brown); color: #fff; }
.socials svg { width: 20px; height: 20px; }
@media (max-width: 800px) { .foot__grid { grid-template-columns: 1fr; } }

.float-wa { position: fixed; right: var(--gut); bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 600; box-shadow: 0 18px 40px -16px rgb(31 143 78 / .7); transition: transform .35s var(--ease); }
.float-wa:hover { transform: translateY(-3px); }
.float-wa svg { width: 24px; height: 24px; }
.float-wa__dot { width: 9px; height: 9px; border-radius: 50%; background: #9df0bd; box-shadow: 0 0 0 0 rgb(157 240 189 / .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgb(157 240 189 / 0); } 100% { box-shadow: 0 0 0 0 rgb(157 240 189 / 0); } }
@media (max-width: 520px) { .float-wa { right: 12px; bottom: 12px; min-height: 56px; width: 56px; padding: 0; justify-content: center; } .float-wa span { display: none; } .float-wa .float-wa__dot { display: block; position: absolute; top: 4px; right: 4px; } .float-wa .float-wa__dot[hidden] { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rise { opacity: 1; transform: none; }
  .loop__track { animation: none; }
}

/* ==========================================================================
   DEPARTAMENTOS (cada item do topo abre uma tela própria)
   ========================================================================== */
.view[hidden] { display: none; }
::view-transition-old(root) { animation: vt-out .32s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

/* barra de voltar no topo do departamento */
.deptbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: clamp(18px, 3vw, 30px); }
.back { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px 0 16px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line-2); font-weight: 600; color: var(--brown); box-shadow: 0 10px 24px -18px rgb(73 48 29 / .5); transition: background .3s, color .3s, transform .3s var(--ease); }
.back span { font-size: 1.2rem; transition: transform .3s var(--ease); }
.back:hover { background: var(--brown); color: #fff; }
.back:hover span { transform: translateX(-4px); }
.deptbar__where { font-size: .95rem; color: var(--ink-2); }
.deptbar__where i { font-style: normal; margin: 0 6px; opacity: .5; }
.deptbar__where b { color: var(--ink); font-weight: 600; }

/* navegação no fim de cada departamento */
.deptfoot { padding-bottom: 20px; }
.deptfoot__in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px; }
@media (max-width: 560px) { .deptfoot__in .btn { width: 100%; } }

/* cartões dos 3 caminhos com foto real */
.hub__card { color: inherit; }
.hub__photo { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; }
.hub__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.hub__card:hover .hub__photo img { transform: scale(1.05); }
.hub__photo .hub__n { position: absolute; left: 12px; top: 12px; padding: 8px 12px; border-radius: 999px; background: rgb(255 253 249 / .92); color: var(--brown); font: 400 1rem/1 var(--f-display); letter-spacing: .08em; }
.hub__card .btn { pointer-events: none; }
.hub__card:hover .btn { background: var(--brown); color: #fff; }

/* chamada do portfólio na página inicial */
.teaser { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: clamp(22px, 3.5vw, 40px); }

/* ==========================================================================
   FEED DE PROJETOS (página inicial) — no estilo do Instagram
   ========================================================================== */
.feedbox { padding: clamp(20px, 3.5vw, 40px); display: grid; gap: clamp(18px, 3vw, 30px); }
.feedbox__head { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.feedbox__who { display: flex; align-items: center; gap: 18px; }
.feedbox__avatar { flex: none; width: 74px; height: 74px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, var(--gold-2), #e7c98f, var(--brown), var(--gold-2)); }
.feedbox__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 60% 25%; border: 3px solid var(--card); }
.feedbox__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(4px, .8vw, 12px); }
.feed__item { position: relative; padding: 0; border: 0; aspect-ratio: 1; overflow: hidden; border-radius: clamp(4px, 1vw, 16px); background: var(--card-2); cursor: pointer; }
.feed__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feed__item:hover img { transform: scale(1.06); }
.feed__multi { position: absolute; right: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; background: rgb(42 31 22 / .6); color: #fff; font: 600 .75rem/1 var(--f-sans); }
.feed__over { position: absolute; inset: 0; display: grid; align-content: end; gap: 4px; padding: clamp(12px, 2vw, 22px); text-align: left; color: #fff; background: linear-gradient(0deg, rgb(42 31 22 / .78), rgb(42 31 22 / 0) 60%); opacity: 0; transition: opacity .45s var(--ease); }
.feed__over b { font: 400 clamp(1.1rem, 1.6vw, 1.45rem)/1.15 var(--f-display); }
.feed__over small { font-size: .85rem; opacity: .85; }
.feed__over em { font-style: normal; font-weight: 600; font-size: .9rem; color: var(--gold-soft); margin-top: 4px; }
.feed__item:hover .feed__over, .feed__item:focus-visible .feed__over { opacity: 1; }
@media (hover: none) { .feed__over, .feed__multi { display: none; } }
@media (max-width: 700px) { .feedbox__ctas { width: 100%; } .feedbox__ctas .btn { flex: 1; } .feedbox__avatar { width: 58px; height: 58px; } }

/* ==========================================================================
   HERÓI — a foto como obra assinada (arco, passe-partout dourado e selo)
   ========================================================================== */
.hero__visual { display: grid; justify-items: center; padding: 26px 10px 0; }
.art { position: relative; margin: 0; width: min(100%, 440px); transform: perspective(1400px) rotateY(var(--ry, -4deg)) rotateX(var(--rx, 2deg)); transform-style: preserve-3d; transition: transform .7s var(--ease); }
/* brilho dourado suave por trás */
.art::before { content: ''; position: absolute; inset: -12% -16% 6%; z-index: -2; background: radial-gradient(50% 50% at 50% 45%, rgb(203 150 54 / .22), transparent 70%); filter: blur(10px); }
/* passe-partout: filete dourado acompanhando o arco */
.art::after { content: ''; position: absolute; inset: -14px -14px auto; height: calc(100% - 72px); z-index: -1; border: 1px solid rgb(185 132 44 / .55); border-radius: 999px 999px 30px 30px; }
.art__frame { position: relative; aspect-ratio: 4 / 4.9; border-radius: 999px 999px 22px 22px; overflow: hidden; padding: 8px; background: linear-gradient(160deg, #fffdf9, #efe3cf); box-shadow: 0 50px 90px -45px rgb(42 31 22 / .6), 0 0 0 1px rgb(185 132 44 / .25); }
.art__frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 16px 16px; animation: art-in 1.6s var(--ease) both; }
@keyframes art-in { from { clip-path: inset(100% 0 0 0 round 999px 999px 16px 16px); transform: scale(1.08); } to { clip-path: inset(0 0 0 0 round 999px 999px 16px 16px); transform: none; } }
/* selo autoral girando */
.art__seal { position: absolute; left: -34px; top: 22%; width: 118px; height: 118px; border-radius: 50%; background: var(--card); box-shadow: 0 18px 36px -20px rgb(42 31 22 / .55), inset 0 0 0 1px rgb(185 132 44 / .35); transform: translateZ(50px); display: grid; place-items: center; }
.art__seal > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 28s linear infinite; }
.art__seal text { font: 600 9.2px var(--f-sans); letter-spacing: .26em; fill: var(--gold); }
.art__mark { width: 46px; height: 36px; }
@keyframes spin { to { rotate: 360deg; } }
.art .chip3d--a { left: auto; right: -26px; bottom: 120px; }
/* etiqueta de galeria */
.art__label { margin-top: 18px; display: grid; justify-items: center; gap: 2px; text-align: center; }
.art__label b { font: 400 1.15rem/1.2 var(--f-display); }
.art__label span { font-size: .9rem; color: var(--ink-2); }
.art__label em { font-family: var(--f-display); font-style: italic; color: var(--gold); font-size: 1.05rem; }
@media (max-width: 900px) {
  .hero__visual { padding: 14px 18px 0; }
  .art { width: min(100%, 360px); }
  .art__seal { width: 92px; height: 92px; left: -16px; }
  .art__seal text { font-size: 8.6px; }
  .art__mark { width: 36px; height: 28px; }
  .art .chip3d--a { right: -10px; bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .art__frame img { animation: none; } }

/* ajustes finos de celular: nada de quebra torta */
@media (max-width: 700px) {
  .stat { padding: 14px; gap: 10px; }
  .stat i { display: none; }
  .stat b { font-size: 1.2rem; white-space: nowrap; }
  .stat span { font-size: .82rem; }
  .feedbox__ctas { flex-direction: column; }
  .feedbox__ctas .btn { width: 100%; white-space: nowrap; }
  .feedbox__who { align-items: flex-start; }
}

/* ==========================================================================
   FUNDO ACETINADO — papel bege brilhoso, com reflexo de luz
   (para voltar ao fundo liso, basta apagar este bloco)
   ========================================================================== */
body { background: #f3eadd; }
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(760px 480px at var(--mx, 78%) var(--my, 8%), rgb(255 253 248 / .7), transparent 62%),
    linear-gradient(128deg, #ede1cf 0%, #f8f1e6 20%, #eadbc5 40%, #faf5ec 56%, #e8d8c1 76%, #f5ede1 100%);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 40%, rgb(255 251 242 / .45) 46%, rgb(255 255 255 / .8) 50%, rgb(255 251 242 / .45) 54%, transparent 60%),
    linear-gradient(115deg, transparent 62%, rgb(255 250 240 / .35) 66%, transparent 70%);
  background-size: 320% 320%;
  background-position: var(--bpx, 30%) var(--bpy, 30%);
}
/* o cabeçalho e as molduras continuam opacos: o brilho nunca passa por trás do texto */
.top { background: rgb(246 239 229 / .82); }
@media (prefers-reduced-motion: reduce) { body::after { background-position: 30% 30%; } }

/* ==========================================================================
   CELULAR — composição orquestrada (≤ 760px)
   ========================================================================== */
.menu-btn { display: none; }
.msheet { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; padding: 18px var(--gut) 28px; background: var(--bg); border: 0; opacity: 0; transform: translateY(-14px); transition: opacity .35s var(--ease), transform .45s var(--ease), overlay .35s allow-discrete, display .35s allow-discrete; }
.msheet[open] { display: flex; flex-direction: column; gap: 18px; opacity: 1; transform: none; }
@starting-style { .msheet[open] { opacity: 0; transform: translateY(-14px); } }
.msheet__top { display: flex; justify-content: space-between; align-items: center; min-height: 52px; }
.msheet__x { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--card); font-size: 1.2rem; }
.msheet__list { display: grid; gap: 10px; }
.msheet__list a { display: flex; justify-content: space-between; align-items: center; min-height: 62px; padding: 0 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font: 400 1.35rem/1.1 var(--f-display); }
.msheet__list a i { font-style: normal; color: var(--gold); font-family: var(--f-sans); }
.msheet__list a[aria-current] { background: var(--brown); color: #fff; border-color: var(--brown); }
.msheet__list a[aria-current] i { color: var(--gold-soft); }
.msheet__wa { margin-top: auto; width: 100%; }

@media (max-width: 760px) {
  :root { --nav-h: 76px; }
  /* cabeçalho: logo + botão Menu (sem itens cortados na borda) */
  .top { padding-bottom: 12px; }
  .top__row { flex-wrap: nowrap; }
  .rail, .top__wa { display: none; }
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 999px; border: 1.5px solid var(--brown); background: var(--card); color: var(--brown); font-weight: 600; font-size: 1rem; }
  .menu-btn__icon { display: grid; gap: 5px; width: 18px; }
  .menu-btn__icon i { display: block; height: 1.8px; border-radius: 2px; background: currentColor; }
  .svc__stage { top: calc(var(--nav-h) + 8px); }

  /* herói: título → foto → botões, numa sequência curta */
  .hero { padding-top: 14px; }
  .hero__frame { display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding: 24px 20px 26px; }
  .hero__copy { display: contents; }
  .hero__label { order: 1; }
  .hero__label-loc { display: none; }
  .t-hero { order: 2; font-size: clamp(2.3rem, 10.5vw, 2.9rem); line-height: 1.04; }
  .hero__copy .lead { order: 3; font-size: 1.02rem; }
  .hero__visual { order: 4; padding: 18px 0 0; }
  .hero__ctas { order: 5; display: grid; gap: 10px; }
  .hero__ctas .btn { width: 100%; }
  .hero__trust { display: none; }
  .art { width: min(74%, 290px); }
  .art__frame { aspect-ratio: 4 / 4.4; }
  .art__seal { width: 78px; height: 78px; left: -26px; top: 16%; }
  .art__seal text { font-size: 8.2px; }
  .art__mark { width: 30px; height: 24px; }
  .art .chip3d--a { right: -22px; bottom: 26px; padding: 7px 12px 7px 7px; gap: 8px; }
  .art .chip3d--a i { width: 30px; height: 30px; border-radius: 9px; }
  .art .chip3d--a b { font-size: 1.05rem; }
  .art .chip3d--a small { font-size: .6rem; }
  .art__label { display: none; }

  /* números: quatro caixas iguais, texto centralizado */
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
  .stat { min-height: 92px; padding: 12px 10px; justify-content: center; text-align: center; }
  .stat > div { display: grid; gap: 4px; }
  .stat b { font-size: 1.2rem; }
  .stat span { font-size: .8rem; line-height: 1.3; }

  /* títulos das seções e cartões mais compactos */
  .sec { padding-block: 34px; }
  .sec__head { gap: 10px; margin-bottom: 22px; }
  .t-h2 { font-size: clamp(1.85rem, 8.4vw, 2.3rem); }
  .hub { gap: 14px; }
  .hub__card { padding: 16px; gap: 12px; }
  .hub__photo { aspect-ratio: 16 / 10; }
  .hub__card .t-h3 { font-size: 1.45rem; }
  .hub__card p { font-size: .98rem; }
  .hub__card .btn { width: 100%; }

  /* botão flutuante do WhatsApp com o nome, sem cobrir nada */
  .float-wa { right: 14px; bottom: 14px; }
}

.float-wa { transition: transform .35s var(--ease), opacity .35s; }
.float-wa.is-hidden { opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; }
.msheet { background: #f6f0e6; }
.msheet::backdrop { background: #f6f0e6; }
@media (max-width: 760px) {
  .svc__head .btn { width: 100%; justify-content: center; font-size: .95rem; padding: 0 16px; }
  .svc__stage { align-content: start; padding-top: 6px; }
  .svc__frame { padding: 18px 16px; }
  .deptbar { padding-top: 14px; }
}
@media (max-width: 760px) {
  .svc__stage { align-content: center; padding-top: 0; height: calc(100svh - var(--nav-h) - 24px); max-height: 660px; }
}
@media (max-width: 900px) {
  .steps { gap: 6px; }
  .step { display: grid; padding: 8px 10px; grid-template-columns: 38px 1fr; gap: 2px 12px; }
  .step__n { width: 38px; height: 38px; font-size: .95rem; }
  .step__t { font-size: 1.02rem; }
  .step.on { background: var(--card-2); border-color: var(--line); }
  .step.on .step__d { max-height: 5em; }
  .steps__count { margin-bottom: 2px; font-size: .74rem; }
}
@media (max-width: 400px) {
  .brand { gap: 9px; }
  .brand svg { width: 38px; height: 30px; }
  .brand b { font-size: .92rem; letter-spacing: .26em; }
  .brand small { font-size: .46rem; letter-spacing: .16em; white-space: nowrap; }
  .menu-btn { padding: 0 14px 0 12px; }
}

/* rótulo do ambiente no cartão e na janela do projeto */
.pcard__room { position: absolute; left: 10px; bottom: 10px; padding: 7px 12px; border-radius: 999px; background: rgb(42 31 22 / .72); color: #fff; font: 600 .78rem/1 var(--f-sans); letter-spacing: .04em; backdrop-filter: blur(6px); }
.pmodal__room { font-size: .95rem; color: var(--ink-2); }
.pmodal__room b { color: var(--gold); font-weight: 600; }
.link-all { background: none; border: 0; padding: 0; color: var(--brown); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   AJUSTES 07/10
   ========================================================================== */
/* mesma fonte em todo o título: a ênfase fica só na cor dourada */
.t-hero em, .t-h2 em, .t-h3 em, .art__label em {
  font-style: normal;
  font-family: inherit;
  font-variation-settings: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

/* quatro caminhos */
.hub { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1200px) { .hub { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .hub { grid-template-columns: 1fr; } }
.hub__tipo, .svc__tipo { font: 600 .8rem/1.3 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.hub__card .hub__tipo { margin-top: -6px; color: var(--gold); }
.svc__tipo { margin-top: 8px; }

/* foto do departamento de engenharia */
.svc__photo { margin: 14px 0 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; }
.svc__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

/* categoria do portfólio ainda sem projetos */
.pempty { grid-column: 1 / -1; display: grid; justify-items: start; gap: 14px; padding: clamp(24px, 4vw, 44px); }

/* trilho com 8 itens: mais compacto no computador */
@media (min-width: 1101px) and (max-width: 1360px) {
  .rail a { padding: 10px 12px; font-size: .9rem; }
  .top__row { gap: 14px; }
  .brand small { letter-spacing: .2em; }
}
