/* Vilaggio Marcenaria — estilos */
:root {
  /* Paleta da logo: café (#29211b) + degradê bronze/dourado (#4c361c a #ae8e53) */
  --ink: #29211b;
  --ink-2: #211a15;
  --paper: #fbfaf7;
  --soft: #f3efe8;
  --line: #e6dfd3;
  --muted: #6e655b;
  --wood: #79613f;
  --wood-h: #5f4a2e;
  --wood-l: #ae8e53;
  --gold: linear-gradient(120deg, #4c361c 0%, #79613f 35%, #ae8e53 70%, #c9ad78 100%);
  --on-dark: #f4efe7;
  --on-dark-2: #bfb5a7;
  --serif: "Montserrat", "Segoe UI", system-ui, sans-serif; /* títulos */
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 14px;
  /* Ripado: textura de ripas de madeira usada nos fundos escuros */
  --ripado: repeating-linear-gradient(90deg, rgba(174, 142, 83, .14) 0 2px, transparent 2px 22px);
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 40px);
  --sec: clamp(52px, 7vw, 84px);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-synthesis: none; scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.65 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.12; letter-spacing: -.015em; }
h1, h2, h3 { font-family: var(--serif); }
h1, h2 { font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.08rem; letter-spacing: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wood); margin-bottom: 14px; }
.center { text-align: center; }

.preview-bar { background: var(--gold); color: #fff; font-size: .82rem; font-weight: 500; text-align: center; padding: 7px var(--pad); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border: 1.5px solid var(--wood); border-radius: 999px; background: linear-gradient(120deg, #6a5232, #86693f); color: #fff; font-weight: 700; font-size: .97rem; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--wood-h); border-color: var(--wood-h); transform: translateY(-1px); }
.btn-ghost, .btn-ghost:hover { background-image: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--soft); border-color: var(--soft); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-full { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--wood); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Topo */
.top { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled { border-color: var(--line); }
.top-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.top-in > .logo { justify-self: start; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo img { width: 196px; height: auto; }
.top .logo img { width: 54px; }
.menu { display: flex; align-items: center; gap: 28px; justify-self: center; }
.menu a:not(.btn) { font-size: .93rem; font-weight: 500; text-decoration: none; color: var(--ink); }
.menu a:not(.btn):hover { color: var(--wood); }
.burger { display: none; grid-column: 3; justify-self: end; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, top .25s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Placeholder com textura de madeira (aparece quando a foto não existe) */
.ph { position: absolute; inset: 0; background:
  repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(0,0,0,.16) calc(25% - 1px) 25%),
  repeating-linear-gradient(98deg, rgba(255,255,255,.07) 0 2px, transparent 2px 11px),
  repeating-linear-gradient(93deg, rgba(0,0,0,.05) 0 1px, transparent 1px 27px),
  linear-gradient(165deg, var(--c1), var(--c2)); }
.ph::after { content: ""; position: absolute; left: 0; right: 0; top: 58%; height: 5%; background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0)), var(--c3); box-shadow: 0 6px 10px rgba(0,0,0,.18); }
.ph-t1 { --c1: #dcc29b; --c2: #c49f72; --c3: #ece6dc; }
.ph-t2 { --c1: #8a6c45; --c2: #5c4428; --c3: #ddd5c8; }
.ph-t3 { --c1: #4a3f36; --c2: #2e2620; --c3: #ae8e53; }
.ph-t4 { --c1: #c69a69; --c2: #a07246; --c3: #3f3a35; }

/* Hero */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(calc(100svh - 72px), 880px); padding: 200px 0 clamp(40px, 5vw, 60px); overflow: hidden; background: var(--ink-2); color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: brightness(1.18) contrast(1.04) saturate(1.06); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(33, 26, 21, .93) 0%, rgba(33, 26, 21, .8) 30%, rgba(33, 26, 21, .42) 48%, rgba(33, 26, 21, .06) 62%, rgba(33, 26, 21, 0) 70%); }
.hero-copy { max-width: 800px; }
@media (min-width: 921px) {
  /* Laterais escurecem aos poucos até o fundo café, sem faixa marcada */
  .hero-bg { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .12) 3%, rgba(0, 0, 0, .38) 7%, rgba(0, 0, 0, .7) 11%, rgba(0, 0, 0, .92) 15%, #000 19%, #000 81%, rgba(0, 0, 0, .92) 85%, rgba(0, 0, 0, .7) 89%, rgba(0, 0, 0, .38) 93%, rgba(0, 0, 0, .12) 97%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .12) 3%, rgba(0, 0, 0, .38) 7%, rgba(0, 0, 0, .7) 11%, rgba(0, 0, 0, .92) 15%, #000 19%, #000 81%, rgba(0, 0, 0, .92) 85%, rgba(0, 0, 0, .7) 89%, rgba(0, 0, 0, .38) 93%, rgba(0, 0, 0, .12) 97%, transparent 100%); }
}
.hero h1 { font-size: clamp(2rem, 3.7vw, 2.9rem); color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero .lead { font-size: clamp(1rem, 1.35vw, 1.12rem); color: rgba(255, 255, 255, .84); max-width: 34em; margin-top: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .22); }
.hero-stats strong { display: block; font: 600 1.7rem/1 var(--serif); color: #fff; }
.hero-stats span { font-size: .82rem; color: rgba(255, 255, 255, .74); }
@media (min-width: 921px) {
  /* Texto termina no fim da porta da fachada, antes do número 182, e começa abaixo da placa */
  .hero { padding: max(218px, 16vw) 0 60px; }
  .hero-copy { max-width: min(470px, 41vw); }
  .hero h1 { font-size: clamp(2rem, 2.9vw, 2.45rem); text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 2px 18px rgba(0, 0, 0, .6); }
  .cta-row { margin-top: 18px; }
  .hero-stats { margin-top: 18px; padding-top: 14px; }
  .hero-stats strong { font-size: 1.4rem; }
  .hero::before { background: radial-gradient(74% 90% at 0% 100%, rgba(33, 26, 21, .84) 0%, rgba(33, 26, 21, .72) 52%, rgba(33, 26, 21, 0) 100%), linear-gradient(0deg, rgba(33, 26, 21, .93) 0%, rgba(33, 26, 21, .8) 30%, rgba(33, 26, 21, .42) 48%, rgba(33, 26, 21, .06) 62%, rgba(33, 26, 21, 0) 70%); }
}
@media (min-width: 921px) and (max-width: 1199px) {
  /* A foto escala pela altura nessa faixa e a placa desce: o texto precisa de mais folga */
  .hero { padding-top: 232px; }
}

/* Seções */
.sec { padding: var(--sec) 0; }
.sec-soft { background: var(--soft); }
.sec-dark { background: var(--ink); color: var(--on-dark); }
.sec-dark .eyebrow { color: var(--wood-l); }
.sec-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head > p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 1.05rem; }
.sec-dark .sec-head > p:not(.eyebrow) { color: var(--on-dark-2); }
.sec-head-wide { max-width: none; }
.h2-line { font-size: clamp(1rem, 5vw, 2.4rem); white-space: nowrap; }

/* Sobre */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 6vw, 80px); }
.about-copy p { font-size: 1.08rem; color: var(--muted); }
.about-copy p + p { margin-top: 16px; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(32px, 5vw, 52px); }
/* Ícone ao lado do título, com o texto abaixo de um fio */
.pillars li { display: grid; grid-template-columns: 46px 1fr; align-content: start; align-items: center; column-gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: 0 10px 24px -18px rgba(41, 33, 27, .35); }
.pillars .ic { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--soft); color: var(--wood-h); stroke-width: 1.8; }
.pillars h3 { font-size: 1.02rem; line-height: 1.25; letter-spacing: -.01em; }
.pillars p { grid-column: 1 / -1; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .94rem; color: var(--muted); }

/* Serviços: fundo café com ripado que some da esquerda para a direita */
#servicos { position: relative; isolation: isolate; }
#servicos::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ripado); -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%); mask-image: linear-gradient(90deg, #000, transparent 55%); opacity: .7; pointer-events: none; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(243, 236, 225, .14); }
.services li { padding: 34px 32px 38px 0; border-bottom: 1px solid rgba(243, 236, 225, .14); }
.services li:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid rgba(243, 236, 225, .14); }
.services h3 { font: 600 1.3rem/1.25 var(--serif); letter-spacing: -.01em; }
.services p { margin-top: 10px; color: var(--on-dark-2); font-size: .96rem; }

/* Projetos */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: .88rem; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
/* Fundo da seção: brilho bronze suave + ripado de madeira no canto */
.sec-proj { position: relative; isolation: isolate; overflow: hidden; background:
  radial-gradient(55% 45% at 0% 0%, rgba(174, 142, 83, .16), transparent 70%),
  radial-gradient(45% 40% at 100% 100%, rgba(121, 97, 63, .12), transparent 70%),
  linear-gradient(180deg, var(--paper) 0%, #f4eee4 100%); }
.sec-proj::before { content: ""; position: absolute; z-index: -1; top: 0; right: 0; width: min(46vw, 560px); height: 70%; background: repeating-linear-gradient(90deg, rgba(121, 97, 63, .13) 0 3px, transparent 3px 24px); -webkit-mask-image: linear-gradient(205deg, #000 0%, transparent 60%); mask-image: linear-gradient(205deg, #000 0%, transparent 60%); }
.sec-proj::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(174, 142, 83, .6), transparent); }

.feature { display: grid; grid-template-columns: 1.5fr 1fr; margin-bottom: clamp(32px, 4vw, 44px); border-radius: var(--r); overflow: hidden; background: var(--ink); color: var(--on-dark); box-shadow: 0 24px 44px -28px rgba(41, 33, 27, .7); }
.feature img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.feature-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(28px, 4vw, 48px); }
.feature-copy .eyebrow { color: var(--wood-l); }
.feature-copy h3 { font: 600 clamp(1.45rem, 2.2vw, 1.8rem)/1.2 var(--serif); letter-spacing: -.01em; }
.feature-copy p:not(.eyebrow) { margin: 14px 0 24px; color: var(--on-dark-2); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery li[hidden] { display: none; }
/* "Todos": duas fileiras com rolagem horizontal */
.gallery.is-all { grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5.3); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: none; }
.gallery.is-all::-webkit-scrollbar { display: none; }
.gallery.is-all li { scroll-snap-align: start; }
/* Barra de rolagem própria (sempre visível, inclusive no celular) */
.gallery-nav { display: none; align-items: center; gap: 20px; margin-top: 12px; }
.gallery-box:has(.is-all) .gallery-nav { display: flex; }
.gallery-hint { flex: none; color: var(--muted); font-size: .88rem; }
.g-track { position: relative; flex: 1; height: 8px; border-radius: 999px; background: var(--line); cursor: pointer; touch-action: none; }
.g-thumb { position: absolute; top: 0; left: 0; height: 100%; min-width: 40px; border-radius: 999px; background: var(--gold); cursor: grab; }
.g-track.is-drag .g-thumb { cursor: grabbing; }
.gallery-arrows { display: flex; gap: 8px; }
.g-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.g-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.g-arrow:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.g-arrow:disabled { opacity: .4; cursor: default; }
.proj { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; text-align: left; background: var(--soft); box-shadow: 0 14px 30px -20px rgba(41, 33, 27, .55); }
/* A textura só aparece se a foto faltar */
.proj:has(img) .ph { display: none; }
.proj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.proj:hover img { transform: scale(1.04); }
.proj-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 16px; color: #fff; background: linear-gradient(180deg, rgba(20, 16, 12, 0), rgba(20, 16, 12, .6) 40%, rgba(20, 16, 12, .88)); }
.proj-cap strong { display: block; font-size: .98rem; line-height: 1.3; }
.proj-cap small { display: block; margin-top: 4px; font-size: .8rem; opacity: .82; }
/* No "Todos" o card mostra só a foto; o título aparece dentro de cada filtro */
.is-all .proj-cap { display: none; }
@media (min-width: 641px) {
  .gallery:not(.is-all) .proj { aspect-ratio: 1; }
}
.gallery-more { margin-top: 32px; color: var(--muted); text-align: center; }
.gallery-more a { color: var(--wood); font-weight: 700; }

/* Processo */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
/* Cards escuros com fita de LED no topo: --led é o interruptor (0 apagado, 1 aceso) */
.steps li { --led: 0; position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 20px; padding: 26px 20px 22px; border: 1px solid rgba(255, 204, 120, calc(.16 + .3 * var(--led))); border-radius: var(--r); background: var(--ink); color: var(--on-dark); box-shadow: 0 14px 28px -18px rgba(41, 33, 27, .7), 0 0 44px -12px rgba(255, 190, 90, calc(.5 * var(--led))); overflow: hidden; }
.steps li:hover { --led: 1; }
.steps li > * { position: relative; z-index: 1; }
.js .steps li.reveal { transition: opacity .45s ease, transform .45s ease, box-shadow .35s ease, border-color .35s ease; }
.steps li::before { content: ""; position: absolute; inset: 0 14px auto; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, #ffd98f, #fff1cf 50%, #ffd98f); box-shadow: 0 0 10px 1px rgba(255, 205, 120, .9), 0 2px 22px 4px rgba(255, 190, 90, .55); opacity: calc(.14 + .86 * var(--led)); transition: opacity .35s ease; }
.steps li::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(130% 62% at 50% 0%, rgba(255, 198, 100, .28), rgba(255, 198, 100, .07) 48%, transparent 76%), repeating-linear-gradient(90deg, rgba(255, 220, 160, .1) 0 2px, transparent 2px 22px); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 90%); mask-image: linear-gradient(180deg, #000 30%, transparent 90%); opacity: var(--led); transition: opacity .35s ease; }
.steps li > div { display: flex; flex: 1; flex-direction: column; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--wood-l); border-radius: 50%; background: rgba(174, 142, 83, .16); color: #fff3dc; font: 600 1.05rem/1 var(--serif); box-shadow: 0 0 0 5px rgba(174, 142, 83, .12), 0 0 20px rgba(255, 200, 110, calc(.5 * var(--led))); text-shadow: 0 0 12px rgba(255, 210, 130, calc(.9 * var(--led))); transition: box-shadow .35s ease, text-shadow .35s ease; }
.steps h3 { font-size: .84rem; letter-spacing: -.01em; white-space: nowrap; }
.steps p { margin: 8px 0 18px; font-size: .9rem; line-height: 1.6; color: var(--on-dark-2); }
.step-t { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: auto; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(243, 236, 225, .09); color: var(--on-dark); font-size: .78rem; font-weight: 700; white-space: nowrap; }
.step-t .ic { width: 14px; height: 14px; color: var(--wood-l); stroke-width: 2; }
.deadline { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 24px 28px; border: 1.5px dashed var(--wood-l); border-radius: var(--r); }
.deadline .ic { width: 32px; height: 32px; color: var(--wood); }
.deadline p { color: var(--muted); }
.deadline strong { color: var(--ink); }

/* Orçamento */
#orcamento { padding: clamp(40px, 5vw, 60px) 0; }
.quote-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.quote-intro { position: sticky; top: 104px; }
.quote-intro > p:not(.eyebrow) { margin-top: 14px; color: var(--on-dark-2); font-size: 1.05rem; }
.checks { margin-top: 22px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--wood-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1b16' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.quote { display: grid; gap: 11px; padding: clamp(18px, 2.4vw, 24px); border-radius: 20px; background: var(--paper); color: var(--ink); }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { padding: 0; font-size: .84rem; font-weight: 700; }
.field legend { margin-bottom: 5px; }
.opt-l { font-weight: 400; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 18px; }
.field input[type="text"], .field select, .field textarea { width: 100%; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: .92rem; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6258' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.field textarea { resize: vertical; min-height: 54px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wood); box-shadow: 0 0 0 3px rgba(121, 97, 63, .16); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: inline-block; padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .88rem; font-weight: 500; transition: background .15s, color .15s, border-color .15s; }
.opt:hover span { border-color: var(--ink); }
.opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.opt input:focus-visible + span { outline: 2px solid var(--wood); outline-offset: 2px; }
.form-err { color: #b3261e; font-size: .9rem; font-weight: 500; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 6vw, 80px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 40px 22px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--sans); color: var(--wood); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); }

/* Contato */
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contacts li { display: flex; flex-direction: column; gap: 16px; padding: 26px 22px; border-radius: var(--r); background: #fff; }
.contacts .ic { width: 28px; height: 28px; color: var(--wood); }
.contacts h3 { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contacts a, .contacts p { font-weight: 500; font-size: .96rem; text-decoration: none; overflow-wrap: anywhere; }
.contacts a:hover { color: var(--wood); text-decoration: underline; text-underline-offset: 3px; }
.hours { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: .96rem; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 500; }
.contacts .contact-cta { justify-content: space-between; background: var(--ink); color: var(--on-dark); }
.contacts .contact-cta h3 { color: var(--wood-l); }
.contacts .contact-cta p { color: var(--on-dark-2); font-weight: 400; }
.contacts .contact-cta .btn { align-self: flex-start; color: #fff; text-decoration: none; }
.contacts .contact-cta .btn:hover { color: #fff; }

/* Rodapé */
.foot { position: relative; background: var(--paper); color: var(--muted); padding: 48px 0 96px; }
.foot::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.foot-nav a { text-decoration: none; font-size: .92rem; }
.foot-nav a:hover { color: var(--wood); }
.foot-legal { width: 100%; padding-top: 24px; border-top: 1px solid var(--line); font-size: .84rem; }
.foot-legal a { color: var(--ink); }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 18px; border-radius: 999px; background: #1b8447; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 28px rgba(16, 70, 40, .35); transition: transform .2s, background .2s; }
.wa-float:hover { background: #18773f; transform: translateY(-2px); }
.wa-float .ic { width: 26px; height: 26px; stroke-width: 1.8; }

/* Lightbox */
.lightbox { width: min(980px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 20px; background: var(--paper); color: var(--ink); overflow: hidden; }
.lightbox::backdrop { background: rgba(33, 26, 21, .8); }
.lightbox[open] { display: grid; grid-template-columns: 1.4fr 1fr; }
.lb-media { position: relative; aspect-ratio: 4 / 5; max-height: calc(100vh - 32px); background: var(--soft); }
.lb-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lb-cap { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 36px 32px; }
.lb-cap h3 { font: 600 1.5rem/1.2 var(--serif); }
.lb-cap p { color: var(--muted); margin-bottom: 14px; }
.lb-cap .btn { align-self: flex-start; }
.lb-close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(251, 250, 247, .92); cursor: pointer; }

/* Animação de entrada */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 1180px) {
  .steps li { padding-inline: 16px; }
  .steps h3 { font-size: .76rem; }
}
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding-inline: 20px; }
  .steps h3 { font-size: .9rem; }
  .contacts { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery.is-all { grid-auto-columns: calc((100% - 3 * 16px) / 3.8); }
}
@media (max-width: 1100px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .logo img { width: 164px; }
  .top .logo img { width: 48px; }
  .menu { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(31, 27, 22, .08); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .menu-cta { margin-top: 18px; }
  .burger { display: block; }
  .about-grid, .quote-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero { display: block; min-height: 0; padding: 0 0 48px; }
  .hero-bg { position: relative; z-index: auto; height: auto; aspect-ratio: 16 / 10; object-position: 30% 30%; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent); mask-image: linear-gradient(180deg, #000 62%, transparent); }
  .hero::before { display: none; }
  .hero-copy { position: relative; margin-top: -28px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .services li, .services li:not(:nth-child(3n + 1)) { padding: 30px 24px 32px 0; border-left: 0; }
  .services li:nth-child(2n) { padding-left: 24px; border-left: 1px solid rgba(243, 236, 225, .14); }
  .lightbox[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .lb-media { aspect-ratio: 4 / 3; }
  .feature { grid-template-columns: 1fr; }
  .feature img { height: auto; min-height: 0; aspect-ratio: 1168 / 912; }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery.is-all { grid-auto-columns: calc((100% - 10px) / 2.3); }
  .gallery-arrows { display: none; }
  .gallery-nav { flex-direction: column-reverse; align-items: stretch; gap: 10px; }
  .g-track { flex: none; }
  .gallery-hint { font-size: .82rem; text-align: center; }
  .proj-cap { padding: 36px 12px 12px; }
  .proj-cap strong { font-size: .86rem; }
  .steps, .contacts, .pillars, .services, .field-row { grid-template-columns: 1fr; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 12px 40px; }
  .hero-stats strong { font-size: 1.7rem; }
  .hero-stats span { font-size: .8rem; }
  .quote-intro { position: static; }
  .services li:nth-child(2n) { padding-left: 0; border-left: 0; }
  .cta-row .btn { flex: 1 1 100%; }
  .wa-float { right: 14px; bottom: 14px; width: 58px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
  .deadline { flex-direction: column; align-items: flex-start; }
}
/* Sem mouse: o LED acende quando o card entra na tela */
@media (hover: none) {
  .steps li.is-in { --led: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
