/* Pisobrás — site institucional. Sem dependências externas. */

@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #111412; --bg-2: #0c0f0d; --panel: #1a1f1c; --panel-2: #222824;
  --ink: #ecefeb; --ink-2: #cdd3ce; --muted: #a4aca6; --line: #323a35;
  --mint: #00cc84; --mint-hi: #5ff0b5; --mint-soft: #8fe3bf; --on-mint: #00240c;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: max(16px, 4vw);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img, video, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--mint); }
a:hover { color: var(--mint-hi); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--mint); color: var(--on-mint); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { left: 16px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.sec { padding-block: clamp(56px, 8vw, 112px); }
.sec-dark { background: var(--bg-2); }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.kicker { font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); }
.h1 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5.6vw, 78px); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; max-width: 14ch; }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(27px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.lead { color: var(--ink-2); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; max-width: 46ch; }
.muted { color: var(--muted); }
.head { display: grid; gap: 14px; max-width: 760px; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; }
.head-row > p { max-width: 44ch; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--mint); color: var(--on-mint); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--mint-hi); color: var(--on-mint); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Logo com contorno verde-claro */
.logo-outline { filter: drop-shadow(1.5px 0 0 var(--mint-soft)) drop-shadow(-1.5px 0 0 var(--mint-soft)) drop-shadow(0 1.5px 0 var(--mint-soft)) drop-shadow(0 -1.5px 0 var(--mint-soft)); }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(17, 20, 18, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.site-header::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--bg); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; padding-block: 12px; }
.brand { line-height: 0; flex: none; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; gap: 4px 28px; font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: .02em; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav a:hover { color: var(--mint); border-bottom-color: var(--mint); }
.header-cta { min-height: 44px; padding: 0 18px; font-size: 14px; }
@media (max-width: 900px) {
  .header-in { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; overflow-x: auto; gap: 20px; scrollbar-width: none; padding-bottom: 2px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .brand img { height: 40px; }
}

/* Topo com vídeo */
.hero { position: relative; overflow: hidden; background: var(--bg-2) url("../video/hero-poster.webp") center / cover no-repeat; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,15,13,.94) 0%, rgba(12,15,13,.74) 48%, rgba(12,15,13,.3) 100%); }
.hero-in { position: relative; padding-block: clamp(72px, 11vw, 160px); display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.yt { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; text-decoration: none; }
.yt:hover { color: var(--mint); }
.yt svg { width: 20px; height: 20px; }
@media (max-width: 700px) { .hero-shade { background: linear-gradient(180deg, rgba(12,15,13,.6) 0%, rgba(12,15,13,.92) 70%); } }

/* Como fazemos */
.process { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.cut { flex: 1.2 1 440px; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: clamp(18px, 3vw, 28px); display: flex; flex-direction: column; gap: 18px; }
.layers { display: flex; flex-direction: column; gap: 3px; }
.layer { display: flex; align-items: center; padding: 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #111; border-radius: 2px; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .25s, outline-color .25s; }
.layer.off { opacity: .18; }
.layer.on { outline-color: var(--mint); }
.l-resina { height: 14px; background: linear-gradient(90deg, rgba(255,255,255,.75), rgba(200,240,225,.55)); }
.l-polido { height: 26px; background: #e7e3da; }
.l-massa { height: 70px; background-color: #d8d2c4; background-image: radial-gradient(circle at 20% 30%, #3a3a3a 0 2.5px, transparent 3px), radial-gradient(circle at 70% 60%, #8d7a5c 0 3.5px, transparent 4px), radial-gradient(circle at 45% 80%, #fff 0 2px, transparent 2.5px), radial-gradient(circle at 85% 20%, #5b6b62 0 2px, transparent 2.5px); background-size: 23px 19px, 31px 29px, 17px 21px, 27px 23px; }
.l-massa span { background: rgba(255,255,255,.85); padding: 2px 8px; }
.l-juntas { height: 18px; background: repeating-linear-gradient(90deg, #c9c5bb 0 70px, #2a2a2a 70px 74px); }
.l-contra { height: 54px; background: #8f938f; color: #fff; }
.l-laje { height: 40px; background: repeating-linear-gradient(45deg, #4a504c 0 8px, #424844 8px 16px); color: #fff; opacity: .6; }
.cut-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.steps-col { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.steps { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.step { width: 100%; text-align: left; display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 14px 16px; min-height: 56px; background: transparent; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font: inherit; cursor: pointer; }
.step b { font-family: var(--display); font-weight: 600; font-size: 18px; }
.step[aria-pressed="true"] { background: var(--panel-2); border-color: var(--mint); color: var(--ink); }
.step[aria-pressed="true"] b { color: var(--mint); }
.detail { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 24px; display: grid; gap: 10px; }
.detail h3 { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.3; }
.detail p { color: var(--muted); }
.no-js .cut-nav, .no-js .steps { display: none; }
.js .detail:not(.active) { display: none; }
.no-js .detail + .detail { margin-top: 0; }

/* Antes e depois */
.ba { position: relative; overflow: hidden; aspect-ratio: 1600 / 931; border-radius: 4px; background: var(--panel); --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after { clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--mint); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--mint); color: var(--on-mint); display: grid; place-items: center; pointer-events: none; font-weight: 800; }
.ba-tag { position: absolute; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(17,20,18,.85); font-family: var(--display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.ba-tag.left { left: 16px; } .ba-tag.right { right: 16px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba input:focus-visible ~ .ba-knob { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (min-width: 900px) { .ba { aspect-ratio: 21 / 9; } }

/* Galeria */
.gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 6px; margin: 0; padding: 0; list-style: none; }
.gal li { min-width: 0; }
.gal img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 3px; }
.gal .big { grid-column: span 2; grid-row: span 2; }
.gal .wide { grid-column: span 2; }
.gal .tall { grid-row: span 2; }
@media (max-width: 700px) { .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; } }

/* Serviços */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 12px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.card h3 { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.3; }
.card ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; color: var(--muted); }
.card p { color: var(--muted); }

/* Loja */
.loja-fotos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 6px; }
.loja-fotos img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: 3px; }

/* FAQ */
.faq-wrap { display: flex; flex-wrap: wrap; gap: 40px; }
.faq-wrap > .head { flex: 1 1 300px; align-content: start; }
.faq { flex: 2 1 480px; min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; font-family: var(--display); font-weight: 500; font-size: 17px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--mint); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding-bottom: 18px; color: var(--muted); max-width: 64ch; }

/* Instagram */
.insta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px; margin: 0; padding: 0; list-style: none; }
.insta-grid a, .insta-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.insta-grid a { overflow: hidden; border-radius: 2px; }
.insta-grid a img { transition: transform .3s; }
.insta-grid a:hover img { transform: scale(1.04); }

/* Contato */
.contact { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.contact-main { flex: 1.2 1 420px; min-width: 0; display: grid; gap: 18px; }
.contact-side { flex: 1 1 380px; min-width: 0; display: grid; gap: 10px; color: var(--muted); }
.contact-side strong { color: var(--ink); font-weight: 600; }
.map-box { position: relative; border-radius: 6px; overflow: hidden; background: var(--panel); }
.map-box svg { display: block; width: 100%; height: auto; }
.map-box iframe { display: block; width: 100%; aspect-ratio: 800 / 470; border: 0; }
.map-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.linklike { background: none; border: 0; padding: 10px 0; color: var(--mint); font: inherit; cursor: pointer; text-decoration: underline; }
.linklike:hover { color: var(--mint-hi); }

/* Faixa de marca e rodapé */
.brandbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-block: 28px; border-top: 1px solid var(--line); }
.brandbar .logo-full { height: 52px; width: auto; }
.social { display: flex; gap: 8px; align-items: center; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); border: 1px solid var(--line); }
.social a:hover { color: var(--mint); border-color: var(--mint); }
.social svg { width: 20px; height: 20px; }
.social .logo-symbol { height: 52px; width: auto; margin-left: 12px; }
.site-footer { padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); }

/* Botão flutuante */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; box-shadow: 0 8px 24px rgba(0,0,0,.45); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .layer, .btn, .insta-grid a img { transition: none; }
  .hero video { display: none; }
}
