/* ================= OMNIPLATZ · v2 (cobre) ================= */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.o-note { margin: 14px 0 0; font-size: 13px; color: var(--text-4); }

/* ---------- hero ---------- */
.o-hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.o-hero .atmos img { object-position: 70% 50%; animation: o-drift 24s ease-in-out infinite alternate; }
@keyframes o-drift { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.1) translateX(-2%); } }
.o-hero .frame { top: calc(var(--nav-h) + 4px); }
.o-hero-inner {
  display: flex; flex-direction: column; gap: clamp(14px, 2.6vh, 28px);
  padding-top: calc(var(--nav-h) + clamp(24px, 6vh, 64px)); padding-bottom: clamp(32px, 7vh, 80px);
}
.o-hero-sub { color: var(--text); max-width: 32ch; }
.o-hero .lede { max-width: 760px; }
.o-hero-facts {
  list-style: none; margin: clamp(6px, 2vh, 20px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: clamp(20px, 4vw, 56px);
}
.o-hero-facts li { display: grid; gap: 2px; border-left: 1px solid var(--line-2); padding-left: 14px; }
.o-hero-facts b { font-family: var(--f-serif); font-weight: 400; font-size: clamp(22px, 2vw, 30px); color: var(--accent); line-height: 1.1; }
.o-hero-facts span { font-size: 13px; color: var(--text-3); }

/* ---------- três correções ---------- */
.neg h3 s { text-decoration-color: var(--accent-2); text-decoration-thickness: 2px; color: var(--text-2); }

/* ---------- comparação ---------- */
.compare { position: relative; margin: 0; aspect-ratio: 16 / 9; max-height: 74vh; width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); user-select: none; touch-action: pan-y; --pos: 50%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--accent); box-shadow: 0 0 16px var(--accent); pointer-events: none; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(11,9,8,.75); border: 1px solid var(--accent); color: var(--accent); font-size: 18px; backdrop-filter: blur(8px); }
.cmp-tag { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(11,9,8,.7); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--text-2); pointer-events: none; }
.cmp-tag-a { left: 16px; } .cmp-tag-b { right: 16px; }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare:focus-within .cmp-handle span { outline: 1.5px solid var(--text); outline-offset: 3px; }

/* ---------- números ---------- */
.nums .big { display: block; font-family: var(--f-serif); font-weight: 400; font-size: clamp(36px, 3.6vw, 56px); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 12px; }
.num-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; color: var(--text-2); }
.num-list li { display: flex; gap: 10px; align-items: baseline; }
.num-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }

/* ---------- planta ---------- */
.uses { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.use-btn {
  border: 1px solid var(--line-2); background: rgba(255,236,210,.03); color: var(--text-2);
  border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 500; letter-spacing: .02em; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.use-btn:hover { border-color: var(--accent); color: var(--text); }
.use-btn[aria-pressed="true"] { background: var(--title-grad); color: #1B1510; border-color: transparent; box-shadow: 0 8px 30px -12px var(--accent-2); }

.plan-wrap { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: clamp(14px, 1.6vw, 22px); align-items: start; }
.plan-fig { margin: 0; padding: clamp(14px, 1.8vw, 26px); }
.plan-fig figcaption { margin-top: 10px; }
.plan { width: 100%; height: auto; max-height: 66vh; color: var(--accent); }
.plan .wall { fill: none; stroke: var(--accent); stroke-width: 4; }
.plan .level-low { fill: rgba(196, 133, 74, .07); stroke: none; }
.plan .armario { fill: url(#ripado); stroke: var(--accent-2); stroke-width: 2; }
.plan .mureta { fill: var(--accent-2); }
.plan .stair { fill: none; stroke: var(--accent-3); stroke-width: 2; }
.plan .perif rect { fill: rgba(255,236,210,.025); stroke: rgba(224,174,115,.3); stroke-width: 1.5; }
.plan .pl-label { font: 500 20px var(--f-sans); letter-spacing: .08em; text-transform: uppercase; fill: var(--text-3); }
.plan .pl-label.sm { font-size: 17px; letter-spacing: .04em; text-transform: none; }
.plan .pl-label.dim { fill: var(--text-4); }
.plan .stack-lbl { font: 600 18px var(--f-sans); fill: var(--accent); }
.plan .telao, .plan .lousa, .plan .tv { transition: opacity .6s, fill .6s; fill: var(--text-4); opacity: .35; }
.plan[data-wall="telao"] .telao, .plan[data-wall="lousa"] .lousa, .plan[data-wall="tv"] .tv { fill: var(--accent); opacity: 1; filter: drop-shadow(0 0 10px rgba(224,174,115,.8)); }
.plan[data-wall="telao"] .tv { fill: var(--accent); opacity: .8; }

.piece { transition: transform 1.1s var(--ease) var(--d, 0s), opacity .6s; }
.piece .s { fill: #F4EFE7; }
.piece .o { fill: rgba(244,239,231,.08); stroke: #F4EFE7; stroke-width: 2.5; }
.piece .b { fill: var(--accent-2); }
.piece.panel .s { fill: var(--accent); }
.piece.stored { opacity: .55; }
.piece.stored .s { fill: var(--text-4); }

.plan-info { position: sticky; top: calc(var(--nav-h) + 16px); display: grid; gap: 10px; }
.info-photo { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; margin: -6px -6px 6px; background: var(--bg); display: none; }
.info-photo.on { display: block; }
.info-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); }
.info-photo img.show { opacity: 1; }
.info-name { margin: 0; }
.info-desc { margin: 0 0 4px; color: var(--text-2); font-size: 15px; }
.info-stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.info-stats .wide { grid-column: 1 / -1; }
.info-stats dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-4); font-weight: 500; }
.info-stats dd:not(.info-num) { font-size: 14px; }
.info-stats dd { margin: 2px 0 0; color: var(--text-2); }
.info-num { font-family: var(--f-serif); font-size: clamp(30px, 2.6vw, 40px); line-height: 1.05; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--text-3); border-top: 1px solid var(--line); padding-top: 10px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { display: inline-block; width: 12px; height: 12px; }
.lg.chair { background: #F4EFE7; }
.lg.table { border: 2px solid #F4EFE7; width: 16px; height: 10px; }
.lg.panel { background: var(--accent); height: 4px; width: 16px; }
.lg.screen { background: var(--accent-2); height: 5px; width: 16px; }
.lg.high { border: 2px solid #F4EFE7; border-radius: 50%; }

/* ---------- tudo dobra ---------- */
.dobra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(56px, 9vh, 110px); }
.dobra-img { aspect-ratio: 4 / 5; max-height: 80vh; }
.dobra-copy { display: grid; gap: 18px; }
.dobra-copy .body-copy p:last-child { margin-bottom: 0; }
.stack-fig { margin: 6px 0 0; padding: 18px; }
#stack-svg { width: 100%; height: auto; }
#stack-svg rect { fill: #F4EFE7; transition: transform 1s var(--ease) var(--d, 0s); }
#stack-svg .floor { stroke: var(--accent-2); stroke-width: 2; }
.stack-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: 14px; color: var(--text-3); }
.stack-row .btn { padding: 10px 18px; font-size: 14px; }

/* ---------- evento ---------- */
.dur .bar { display: block; height: 4px; border-radius: 4px; background: rgba(224,174,115,.15); margin-bottom: 18px; position: relative; overflow: hidden; }
.dur .bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--title-grad); border-radius: 4px; }
.o-strong { font-family: var(--f-serif); font-style: italic; font-size: clamp(20px, 1.8vw, 26px); color: var(--accent); margin: 26px 0 0; }
.ev-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(40px, 6vh, 72px); }
.ev-split .eyebrow { display: block; margin-bottom: 14px; }
.ev-split h3.d-m { margin: 0 0 10px; }
.chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; font-size: 14px; color: var(--text-2); }
.chips.solid li { background: rgba(224,174,115,.12); border-color: transparent; color: var(--text); }
.studio-num { margin: 0 0 16px; color: var(--text-2); }
.studio-num b { font-family: var(--f-serif); font-weight: 400; font-size: clamp(30px, 2.8vw, 44px); margin-right: 6px; }
.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.studio-grid h4 { font-family: var(--f-serif); font-weight: 400; font-size: 20px; margin: 6px 0 4px; }
.studio-grid p { font-size: 15px; }
.studio-grid > div:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 14px; }
.studio-foot { margin-top: 16px !important; font-size: 13px; color: var(--text-4) !important; }

/* ---------- ecossistema ---------- */
.eco { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); position: relative; }
.eco .num { color: var(--accent); }
.eco h3 a { text-decoration: none; border-bottom: 1px solid var(--line-2); transition: border-color .3s; }
.eco h3 a:hover { border-color: var(--accent); }
.eco .now { border-color: var(--accent-2); background: linear-gradient(160deg, rgba(224,174,115,.14), rgba(224,174,115,.03)); }

/* ---------- chave na mão ---------- */
.kit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.kit .eyebrow { display: block; margin-bottom: 16px; }
.kit .lede { margin-top: 20px; }
.kit-card { display: grid; gap: 4px; }
.kit-card .label { margin-top: 10px; }
.kit-card .chips { margin: 8px 0 6px; }
.kit-foot { margin-top: 12px !important; font-size: 14px; }
.vs { margin-top: clamp(40px, 6vh, 72px); }
.vs .eyebrow { display: block; margin-bottom: 16px; }
.vs-scroll { overflow-x: auto; }
.vs table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 15px; }
.vs th, .vs td { text-align: left; padding: 13px 14px 13px 0; border-top: 1px solid var(--line); vertical-align: top; }
.vs thead th { border-top: 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-4); font-weight: 500; }
.vs tbody th { font-weight: 400; color: var(--text-3); width: 24%; }
.vs td { color: var(--text-3); }
.vs td:last-child { color: var(--text); }
.vs thead th:last-child { color: var(--accent); }

/* ---------- calendário ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--line-2)); }
.timeline li { position: relative; padding-top: 30px; display: grid; gap: 4px; }
.timeline i { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--accent); }
.timeline .now i { background: var(--accent); box-shadow: 0 0 0 0 rgba(224,174,115,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(224,174,115,0); } 100% { box-shadow: 0 0 0 0 rgba(224,174,115,0); } }
.timeline b { font-family: var(--f-serif); font-weight: 400; font-size: clamp(19px, 1.6vw, 24px); }

/* ---------- CTA ---------- */
.o-cta { position: relative; overflow: hidden; padding: clamp(96px, 16vh, 180px) 0; }
.o-cta .atmos::after { background: linear-gradient(90deg, var(--bg) 0%, rgba(11,9,8,.85) 45%, rgba(11,9,8,.35) 100%), linear-gradient(180deg, var(--bg) 0%, transparent 25%, transparent 75%, var(--bg) 100%); }
.o-cta .over { display: grid; gap: 20px; }
.o-cta .lede { max-width: 46ch; }
.cta-uses { list-style: none; margin: 4px 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 760px; }
.cta-uses button { border: 1px solid var(--line-2); background: rgba(11,9,8,.45); color: var(--text-2); border-radius: 999px; padding: 9px 16px; font-size: 14px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; backdrop-filter: blur(6px); }
.cta-uses button:hover { border-color: var(--accent); color: var(--text); }
.cta-uses button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .plan-wrap { grid-template-columns: 1fr; }
  .plan-info { position: static; grid-template-columns: 1fr; }
  .plan { max-height: none; }
}
@media (max-width: 900px) {
  .dobra, .kit, .ev-split { grid-template-columns: 1fr; }
  .dobra-img { aspect-ratio: 16 / 10; }
  .eco { grid-template-columns: 1fr; }
  .o-hero-facts { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 600px) {
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), var(--line-2)); }
  .timeline li { padding: 0 0 0 32px; }
  .studio-grid { grid-template-columns: 1fr; }
  .compare { aspect-ratio: 4 / 3; }
  .cmp-tag { font-size: 10px; top: 10px; }
  .use-btn { padding: 9px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .o-hero .atmos img { animation: none; }
}

/* ---------- estúdio · Piso 2 ---------- */
.st-grid { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.st-plan { margin: 0; padding: clamp(14px, 1.6vw, 22px); }
.st-plan svg { width: 100%; height: auto; max-height: 78vh; display: block; margin: 0 auto; }
.st-walls rect { fill: rgba(255, 236, 210, .02); stroke: var(--accent-2); stroke-width: 3; }
.st-walls rect.soft { stroke-dasharray: 6 5; stroke-width: 2; }
.st-window { stroke: var(--ice); stroke-width: 6; }
.st-door { stroke: var(--accent); stroke-width: 6; }
.st-biombo { stroke: var(--accent); stroke-width: 5; stroke-dasharray: 3 4; }
.st-plan text { font: 500 11px var(--f-sans); fill: var(--text-3); letter-spacing: .04em; }
.st-plan text.sm { font-size: 9px; fill: var(--text-4); text-transform: uppercase; letter-spacing: .12em; }
.st-plan text.zl { font-family: var(--f-serif); font-size: 15px; fill: var(--text); letter-spacing: 0; }
.st-zone { cursor: pointer; outline: none; }
.st-zone .hit { fill: transparent; stroke: transparent; transition: fill .4s, stroke .4s; }
.st-zone:hover .hit, .st-zone:focus-visible .hit { fill: rgba(224, 174, 115, .06); }
.st-zone.on .hit { fill: rgba(224, 174, 115, .12); stroke: var(--accent); stroke-width: 1.5; }
.st-zone rect, .st-zone circle, .st-zone .seats rect { fill: var(--text-2); }
.st-zone .table { fill: rgba(196, 133, 74, .35); stroke: var(--accent); stroke-width: 1.5; }
.st-zone .tv { fill: var(--accent); }
.st-zone .dash { fill: none; stroke: var(--text-4); stroke-dasharray: 4 4; }
.st-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.st-tabs button { background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 18px; cursor: pointer; font-size: 14px; color: var(--text-3); transition: background .3s, color .3s; }
.st-tabs button:hover { color: var(--text); border-color: var(--accent); }
.st-tabs button[aria-selected="true"] { background: var(--title-grad); color: #1B1510; border-color: transparent; font-weight: 500; }
.st-photo { position: relative; aspect-ratio: 16 / 9; }
.st-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); }
.st-photo img.show { opacity: 1; }
.st-info { position: relative; margin-top: 16px; min-height: 96px; }
.st-info > div { display: none; }
.st-info > div.show { display: block; animation: st-in .6s var(--ease-out); }
.st-info h3 { font-size: clamp(22px, 1.9vw, 28px); margin: 6px 0 6px; }
.st-info p { margin: 0; color: var(--text-3); max-width: 60ch; }
.st-kitchen { margin-top: 18px; }
.st-kitchen h3 { margin: 6px 0; }
.caption-note { margin-top: 18px; font-size: 13px; color: var(--text-4); }
@keyframes st-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .st-grid { grid-template-columns: 1fr; }
  .st-plan svg { max-height: 60vh; }
}

/* vista do telão */
.stage-view { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 44px); align-items: center; margin-top: clamp(28px, 5vh, 56px); }
.stage-view figure { margin: 0; aspect-ratio: 16 / 9; }
.stage-view .eyebrow { display: block; margin-bottom: 12px; }
.stage-view h3 { margin-bottom: 12px; }
.stage-view p { color: var(--text-3); margin: 0; }
@media (max-width: 900px) { .stage-view { grid-template-columns: 1fr; } }
