/* ===== Fröhlich — tokens ===== */
:root {
  --espresso: #15100c;
  --walnut: #221812;
  --walnut-2: #2e2119;
  --paper: #f8f3ea;
  --cream: #efe6d7;
  --ink: #241b15;
  --muted: #74655a;
  --muted-d: #b5a796;
  --brass: #c9a066;
  --brass-2: #e2c08a;
  --line-d: rgba(201, 160, 102, .28);
  --line-l: rgba(36, 27, 21, .14);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--brass); }
p { margin: 0; text-wrap: pretty; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: var(--espresso); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; position: relative; }

.eyebrow {
  font: 600 .74rem/1 var(--sans);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow .dot { display: none; }

/* ===== botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font: 600 .92rem/1 var(--sans); letter-spacing: .02em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--brass { background: var(--brass); color: var(--espresso); }
.btn--brass:hover { background: var(--brass-2); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; opacity: .9; }
.btn--ghost:hover { background: rgba(201,160,102,.12); }
.btn--sm { padding: 10px 18px; font-size: .82rem; }

/* ===== navegação ===== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--paper);
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}
.nav.is-solid { background: rgba(21,16,12,.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-d); }
.nav__in { width: min(1280px, 100% - 32px); margin-inline: auto; height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__badge { background: #fff; border-radius: 3px; padding: 4px 6px; display: grid; place-items: center; }
.brand__badge img { width: 44px; height: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__txt strong { font: 600 1.35rem/1 var(--serif); letter-spacing: .02em; }
.brand__txt small { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-d); margin-top: 4px; }
.menu { display: flex; gap: 26px; }
.menu a { font-size: .86rem; font-weight: 500; text-decoration: none; opacity: .82; position: relative; padding: 6px 0; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.menu a:hover { opacity: 1; }
.menu a:hover::after { transform: scaleX(1); }
.nav__cta { padding: 11px 20px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ===== hero ===== */
.hero {
  position: relative; min-height: 100svh;
  background: radial-gradient(120% 90% at 75% 40%, #2c1f16 0%, var(--espresso) 60%);
  color: var(--paper);
  display: flex; align-items: center;
  padding: 110px 0 70px; overflow: hidden;
}
.hero__grid, .sec__grid { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(201,160,102,.07); pointer-events: none; }
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); margin-bottom: 26px; }
.lead { font-size: clamp(1rem, 1.3vw, 1.14rem); color: #d9cdbd; max-width: 34em; margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 54px; }
.hero__facts { display: flex; gap: 0; margin: 0; border-top: 1px solid var(--line-d); padding-top: 26px; max-width: 520px; }
.hero__facts > div { flex: 1; padding-right: 18px; }
.hero__facts > div + div { padding-left: 22px; border-left: 1px solid var(--line-d); }
.hero__facts dt { font: 500 2.1rem/1 var(--serif); color: var(--brass-2); }
.hero__facts dd { margin: 6px 0 0; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-d); }

.hero__art { margin: 0; }
.hero__art figcaption { font-size: .8rem; color: var(--muted-d); margin-top: 14px; max-width: 30em; font-style: italic; font-family: var(--serif); font-size: 1rem; }
.blueprint { width: 100%; height: auto; max-height: 76svh; overflow: visible; }

/* traço técnico animado (compartilhado) */
.d { fill: none; stroke: var(--brass-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.d.thin { stroke-width: .9; opacity: .75; }
.d.dash { stroke-dasharray: .02 .02; }
.blueprint .d { animation: draw 1.4s var(--ease) var(--d, 0s) forwards; }
.blueprint text { fill: var(--brass-2); font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; opacity: 0; animation: fade .8s ease var(--d, 0s) forwards; }
.blueprint .stamp { font-size: 10px; opacity: 0; fill: var(--muted-d); animation-delay: 3.6s; }
.blueprint .fill { opacity: 0; animation: fade 1.4s ease 3.2s forwards; }
.blueprint .glow { opacity: 0; animation: fade 1.2s ease 4.2s forwards; }
.blueprint .leaf { transform-box: fill-box; transform-origin: left center; animation: swing 2.2s var(--ease) 4.3s forwards; }
.blueprint .leaf .shade { opacity: 0; animation: fade 2s ease 4.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes swing { to { transform: scaleX(.74); } }

.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 24px; height: 40px; border: 1px solid var(--line-d); border-radius: 12px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; background: var(--brass); margin-left: -1px; border-radius: 2px; animation: scrolly 1.8s ease-in-out infinite; }
@keyframes scrolly { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ===== faixa ===== */
.ticker { background: var(--brass); color: var(--espresso); overflow: hidden; padding: 16px 0; }
.ticker__track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker span { font: italic 500 1.35rem/1 var(--serif); padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.ticker span::after { content: "✦"; font-style: normal; font-size: .7rem; margin-left: 0; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ===== seções ===== */
.sec { position: relative; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.sec--paper { background: var(--paper); }
.sec--cream { background: var(--cream); }
.sec--dark { background: var(--walnut); color: var(--paper); }
.sec--dark p { color: #d7cbbb; }
.sec__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec__head h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); margin-bottom: 22px; }
.sec__head p { font-size: 1.06rem; color: var(--muted); max-width: 40em; }
.sec--dark .sec__head p { color: var(--muted-d); }
.sec__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sec__head--row h2 { margin-bottom: 0; }

/* revelação */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
.in .d, .d.in { animation: draw 1.6s var(--ease) var(--d, .15s) forwards; }

/* ===== produtos ===== */
.products { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.prod { grid-column: span 2; background: #fff; border: 1px solid var(--line-l); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.prod:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(36,27,21,.4); }
.prod img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform 1.2s var(--ease); }
.prod:hover img { transform: scale(1.04); }
.prod--xl { grid-column: span 4; grid-row: span 2; position: relative; min-height: 560px; justify-content: flex-end; border: 0; }
.prod--xl img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.prod--xl .prod__body { background: linear-gradient(transparent, rgba(15,10,7,.88) 45%); color: var(--paper); padding: 120px 36px 36px; }
.prod--xl p { color: #e2d6c6; max-width: 34em; }
.prod--line { background: var(--walnut); color: var(--paper); }
.prod--line p { color: var(--muted-d) !important; }
.prod--line .icon-draw { aspect-ratio: 4/3; padding: 30px; }
.prod__body { padding: 26px 26px 30px; position: relative; }
.prod__n { font: italic 500 1rem/1 var(--serif); color: var(--brass); display: block; margin-bottom: 10px; }
.prod h3 { font-size: 1.75rem; margin-bottom: 10px; }
.prod p { font-size: .94rem; color: var(--muted); }
.prod--xl h3 { font-size: 2.3rem; }

.icon-draw { width: 100%; height: auto; display: block; }
.icon-draw .d { stroke: var(--brass); }

/* ===== anatomia ===== */
.anat { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.anat h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); margin-bottom: 18px; }
.anat__copy > p { color: var(--muted-d); margin-bottom: 30px; }
.parts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-d); }
.parts li { display: flex; gap: 18px; padding: 16px 8px; border-bottom: 1px solid var(--line-d); cursor: pointer; transition: background .3s, padding .3s; }
.parts li b { font: italic 500 1rem/1.4 var(--serif); color: var(--brass); min-width: 22px; }
.parts li span { font-size: .9rem; color: var(--muted-d); }
.parts li strong { display: block; font: 500 1.3rem/1.2 var(--serif); color: var(--paper); margin-bottom: 2px; }
.parts li.on { background: rgba(201,160,102,.1); padding-left: 16px; }
.anat__art { margin: 0; text-align: center; }
.window { width: 100%; height: auto; overflow: visible; }
.window .wfill { opacity: 0; transition: opacity 1.4s ease 1.2s; }
.in .window .wfill { opacity: 1; }
.window .refl { stroke: #fff; stroke-width: 1.2; opacity: .18; fill: none; }
.window .hw { fill: #d9b06a; }
.window .slats { stroke: rgba(0,0,0,.38); stroke-width: 3; fill: none; }
.window [data-part] { transition: filter .35s, opacity .35s; }
.window.has-focus [data-part]:not(.on):not(.pins *) { opacity: .35; }
.window [data-part].on .d { stroke: #fff; }
.window [data-part].on { filter: drop-shadow(0 0 10px rgba(226,192,138,.6)); }
.shutter { transform-box: view-box; transition: transform 1.8s var(--ease); }
.shutter--l { transform-origin: 150px 50%; }
.shutter--r { transform-origin: 450px 50%; }
.in .window:not(.closed) .shutter { transition-delay: 2s; }
.in .window:not(.closed) .shutter--l, .in .window:not(.closed) .shutter--r { transform: scaleX(-1); }
.pins g { cursor: pointer; }
.pins circle { fill: var(--brass); stroke: var(--walnut); stroke-width: 3; transition: r .3s; }
.pins text { fill: var(--espresso); font: 700 11px/1 var(--sans); text-anchor: middle; pointer-events: none; }
.pins g.on circle { fill: #fff; }
.pins g { opacity: 0; transition: opacity .6s ease 3.6s; }
.in .pins g { opacity: 1; }
.window .dims text { fill: var(--brass-2); font: 500 11px var(--sans); letter-spacing: .14em; }
.toggle-shutters { margin-top: 18px; color: var(--brass-2); }

/* ===== processo ===== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-l); }
.step { padding: 36px 28px 10px 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line-l); }
.step .icon-draw { max-width: 190px; margin-bottom: 26px; }
.step__n { font: italic 500 1rem/1 var(--serif); color: var(--brass); }
.step h3 { font-size: 1.6rem; margin: 8px 0 12px; }
.step p { font-size: .93rem; color: var(--muted); }
.step:nth-child(2) .d { --d: .3s; } .step:nth-child(3) .d { --d: .45s; } .step:nth-child(4) .d { --d: .6s; }
.tenon { transform: translateX(40px); transition: transform 1.4s var(--ease) 1.6s; }
.in .tenon { transform: translateX(0); }
.step--joint:hover .tenon { transform: translateX(26px); transition-delay: 0s; }

/* ===== madeiras ===== */
.woods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wood { background: var(--paper); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-l); padding-bottom: 26px; position: relative; transition: transform .5s var(--ease); }
.wood:hover { transform: translateY(-5px); }
.wood svg { width: 100%; height: 150px; display: block; transition: transform 1.2s var(--ease); }
.wood:hover svg { transform: scale(1.08); }
.wood h3 { font-size: 1.7rem; margin: 22px 24px 6px; }
.wood p { font-size: .92rem; color: var(--muted); margin: 0 24px; }
.tag { position: absolute; top: 14px; left: 14px; background: rgba(21,16,12,.75); color: var(--brass-2); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(6px); }

/* ===== galeria ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 14px; }
.g { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.g:hover img { transform: scale(1.06); }
.g figcaption { position: absolute; inset: auto 0 0; padding: 40px 18px 16px; font: italic 500 1.1rem/1.2 var(--serif); color: var(--paper); background: linear-gradient(transparent, rgba(15,10,7,.8)); transform: translateY(8px); opacity: .9; transition: transform .5s var(--ease), opacity .5s; }
.g:hover figcaption { transform: none; opacity: 1; }

/* ===== sobre ===== */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--r); aspect-ratio: 4/3.3; object-fit: cover; width: 100%; }
.about__stamp { position: absolute; right: -22px; bottom: -28px; width: 150px; height: 150px; border-radius: 50%; background: var(--walnut); color: var(--brass-2); display: grid; place-content: center; text-align: center; box-shadow: 0 0 0 8px var(--paper); }
.about__stamp span { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; }
.about__stamp strong { font: 500 2.8rem/1 var(--serif); }
.about h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); margin-bottom: 24px; }
.about__copy > p { color: var(--muted); margin-bottom: 16px; }
.pillars { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line-l); }
.pillars li { padding: 16px 0; border-bottom: 1px solid var(--line-l); font-size: .92rem; color: var(--muted); display: grid; grid-template-columns: 210px 1fr; gap: 12px; }
.pillars strong { font: 500 1.25rem/1.2 var(--serif); color: var(--ink); }

/* ===== faq ===== */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq .sec__head { position: sticky; top: 110px; }
.faq__list details { border-bottom: 1px solid var(--line-l); }
.faq__list details:first-child { border-top: 1px solid var(--line-l); }
.faq__list summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font: 500 1.35rem/1.3 var(--serif); position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--brass), var(--brass)) center/100% 1.5px no-repeat, linear-gradient(var(--brass), var(--brass)) center/1.5px 100% no-repeat; transition: transform .4s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(135deg); }
.faq__list details p { padding: 0 40px 26px 0; color: var(--muted); }

/* ===== contato ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact h2 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); margin-bottom: 20px; }
.contact__copy > p { margin-bottom: 36px; }
.nap { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 18px; }
.nap li { display: grid; gap: 3px; }
.nap span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.nap a, .nap address { font: 500 1.4rem/1.3 var(--serif); font-style: normal; text-decoration: none; color: var(--paper); }
.nap a:hover { color: var(--brass-2); }
.contact__social { display: flex; gap: 22px; flex-wrap: wrap; }
.contact__social a { font-size: .86rem; color: var(--muted-d); text-underline-offset: 4px; }
.contact__social a:hover { color: var(--brass-2); }

.quote { background: var(--paper); color: var(--ink); border-radius: var(--r); padding: clamp(26px, 4vw, 44px); display: grid; gap: 18px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.quote h3 { font-size: 2rem; margin-bottom: 4px; }
.quote label { display: grid; gap: 6px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.quote input:not([type=checkbox]), .quote textarea { font: 400 1rem/1.4 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line-l); padding: 10px 0; border-radius: 0; text-transform: none; letter-spacing: 0; resize: vertical; transition: border-color .3s; }
.quote input:focus, .quote textarea:focus { outline: none; border-color: var(--brass); }
.quote fieldset { border: 0; padding: 0; margin: 0; }
.quote legend { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: block; text-transform: none; letter-spacing: 0; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line-l); border-radius: 999px; font-size: .86rem; color: var(--ink); cursor: pointer; transition: all .25s; }
.chips input:checked + span { background: var(--walnut); color: var(--brass-2); border-color: var(--walnut); }
.chips input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.quote .btn { justify-self: start; margin-top: 6px; }
.quote__note { font-size: .78rem; color: var(--muted) !important; }
.quote .err { border-color: #b3261e !important; }

.map { margin-top: 70px; }
.map iframe { width: 100%; height: 360px; border: 0; border-radius: var(--r); filter: grayscale(.85) sepia(.25) contrast(.95); display: block; }

/* ===== rodapé ===== */
.foot { background: var(--espresso); color: var(--muted-d); padding: 60px 0 40px; font-size: .88rem; }
.foot__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px 60px; }
.foot__brand { display: flex; gap: 16px; align-items: flex-start; }
.foot__brand strong { color: var(--paper); font: 500 1.2rem var(--serif); }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: flex-end; align-content: start; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--brass-2); }
.foot__legal { grid-column: 1 / -1; border-top: 1px solid var(--line-d); padding-top: 24px; font-size: .78rem; }

.wa { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; z-index: 60; box-shadow: 0 12px 30px -8px rgba(0,0,0,.45); transition: transform .3s var(--ease); }
.wa:hover { transform: scale(1.08); }
.wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* ===== responsivo ===== */
@media (max-width: 1080px) {
  .menu { display: none; }
  .burger { display: block; }
  .nav.is-open .menu { display: flex; position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0; background: var(--espresso); padding: 10px 16px 24px; border-bottom: 1px solid var(--line-d); }
  .nav.is-open .menu a { padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line-d); }
  .nav.is-open { background: var(--espresso); }
  .hero__in, .anat, .about, .contact, .faq { grid-template-columns: 1fr; }
  .hero__art { max-width: 520px; margin-inline: auto; width: 100%; }
  .faq .sec__head { position: static; }
  .anat__art { order: -1; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .prod, .prod--xl { grid-column: span 1; grid-row: auto; }
  .prod--xl { grid-column: span 2; }
  .prod--xl { min-height: 480px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .woods { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .about__stamp { right: 12px; }
}
@media (max-width: 640px) {
  .nav__cta { display: none; }
  .nav__in { height: 66px; }
  .nav.is-open .menu { inset: 66px 0 auto; }
  .brand__txt small { display: none; }
  .hero { padding-top: 96px; }
  .hero__facts dt { font-size: 1.7rem; }
  .hero__facts > div + div { padding-left: 14px; }
  .products, .woods, .steps { grid-template-columns: 1fr; }
  .prod--xl { grid-column: span 1; }
  .step, .step + .step { padding: 30px 0 10px; border-left: 0; border-top: 1px solid var(--line-l); }
  .steps { border-top: 0; }
  .gallery { grid-auto-rows: 170px; gap: 10px; }
  .pillars li { grid-template-columns: 1fr; gap: 2px; }
  .about__stamp { width: 110px; height: 110px; bottom: -20px; }
  .about__stamp strong { font-size: 2rem; }
  .foot__in { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; }
  .nap a, .nap address { font-size: 1.2rem; word-break: break-word; }
  .ticker span { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .d { stroke-dashoffset: 0; }
  .ticker__track { animation: none; }
}

/* grade de produtos: últimos dois dividem a linha */
@media (min-width: 1081px) {
  .products .prod:nth-child(4), .products .prod:nth-child(5) { grid-column: span 3; }
  .products .prod:nth-child(4) .icon-draw, .products .prod:nth-child(5) img { aspect-ratio: 16/8; }
}

/* ===== links dos produtos (home) ===== */
.prod__link { display: inline-block; margin-top: 14px; font-size: .84rem; font-weight: 600; color: var(--brass); text-decoration: none; letter-spacing: .02em; }
.prod__link:hover { color: var(--ink); }
.prod--xl .prod__link:hover, .prod--line .prod__link:hover { color: var(--paper); }
.prod__links { display: flex; flex-wrap: wrap; gap: 0 22px; }

/* ===== páginas de produto ===== */
.phero { position: relative; background: radial-gradient(120% 90% at 75% 40%, #2c1f16 0%, var(--espresso) 60%); color: var(--paper); padding: 130px 0 80px; overflow: hidden; }
.phero__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.phero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); margin-bottom: 24px; }
.phero .hero__ctas { margin-bottom: 0; }
.crumbs { display: flex; gap: 10px; font-size: .8rem; color: var(--muted-d); margin-bottom: 28px; }
.crumbs a { text-decoration: none; color: var(--brass-2); }
.crumbs a:hover { text-decoration: underline; }

.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.intro__h { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.intro__txt p { font-size: 1.06rem; color: var(--muted); }
.intro__txt p + p { margin-top: 18px; }
.intro__txt p:first-child { font: 500 1.45rem/1.45 var(--serif); color: var(--ink); }

.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.type { background: var(--paper); border: 1px solid var(--line-l); border-radius: var(--r); padding: 30px 28px 32px; transition: transform .5s var(--ease), box-shadow .5s; }
.type:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -34px rgba(36,27,21,.45); }
.type h3 { font-size: 1.6rem; margin-bottom: 10px; }
.type h3 a { text-decoration: none; color: inherit; }
.type h3 a:hover { color: var(--brass); }
.type p { font-size: .94rem; color: var(--muted); }

.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feat { border-top: 1px solid var(--brass); padding-top: 22px; }
.feat h3 { font-size: 1.45rem; margin-bottom: 10px; color: var(--paper); }
.feat p { font-size: .93rem; }

.woods--4 { grid-template-columns: repeat(4, 1fr); }

.pgallery { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 380px; }
.pgallery--1 { grid-template-columns: minmax(0, 560px); grid-auto-rows: 560px; }
.pgallery--2 { grid-template-columns: 1.4fr 1fr; }

.cta { text-align: center; }
.cta__in { max-width: 820px; }
.cta h2 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); margin-bottom: 20px; }
.cta__in > p { margin: 0 auto 34px; max-width: 36em; }
.cta .hero__ctas { justify-content: center; margin-bottom: 50px; }
.related { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; align-items: center; }
.related span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-right: 6px; width: 100%; margin-bottom: 6px; }
.related a { border: 1px solid var(--line-d); border-radius: 999px; padding: 9px 16px; font-size: .86rem; text-decoration: none; color: var(--paper); transition: background .3s, border-color .3s; }
.related a:hover { background: rgba(201,160,102,.14); border-color: var(--brass); }

/* movimentos específicos dos desenhos */
.blueprint .sh-l, .blueprint .sh-r { transform-box: view-box; animation: shOpen 1.8s var(--ease) 3.4s forwards; }
.blueprint .slats { stroke: rgba(0,0,0,.4); stroke-width: 3; fill: none; }
.blueprint .refl { stroke: #fff; stroke-width: 1.2; opacity: .16; fill: none; }
@keyframes shOpen { to { transform: scaleX(-1); } }
.blueprint .axis { stroke: var(--brass-2); stroke-width: 1; stroke-dasharray: 8 6; fill: none; opacity: 0; animation: fade .8s ease 1.9s forwards; }
.blueprint .axis-dot { fill: var(--brass-2); opacity: 0; animation: fade .8s ease 2s forwards; }
.blueprint .wall { stroke: var(--brass-2); stroke-width: 8; fill: none; opacity: .55; }
.blueprint .plan .dashed-arc { stroke-width: .9; }
.blueprint .pv { transform-box: view-box; transform-origin: 240px 560px; animation: pivot 6s ease-in-out 3.4s infinite; }
@keyframes pivot { 0%, 12% { transform: rotate(0); } 45%, 70% { transform: rotate(-55deg); } 100% { transform: rotate(0); } }
.blueprint .tread { opacity: 0; transform-box: fill-box; animation: dropIn .7s var(--ease) calc(1.2s + var(--i) * .16s) forwards; }
.blueprint .rafter { opacity: 0; transform-box: fill-box; animation: dropIn .7s var(--ease) calc(1.8s + var(--i) * .07s) forwards; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
.blueprint .shadows { fill: rgba(0,0,0,.32); opacity: 0; animation: fade 1s ease 3.2s forwards, drift 9s ease-in-out 3.2s infinite alternate; }
@keyframes drift { from { transform: translateX(-10px); } to { transform: translateX(16px); } }

@media (max-width: 1080px) {
  .phero__in, .intro { grid-template-columns: 1fr; }
  .phero .hero__art { max-width: 520px; margin-inline: auto; width: 100%; }
  .types { grid-template-columns: repeat(2, 1fr); }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .woods--4 { grid-template-columns: repeat(2, 1fr); }
  .pgallery, .pgallery--2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 300px; }
}
@media (max-width: 640px) {
  .phero { padding: 100px 0 60px; }
  .intro { gap: 28px; }
  .types, .feats, .woods--4, .pgallery, .pgallery--2 { grid-template-columns: 1fr; }
  .pgallery, .pgallery--1 { grid-auto-rows: 320px; }
}
