/* Marmoraria Granimar — estilos do site (base do kit CDW Tech + tema no fim) */
:root {
  /* cores — branco de pedra, grafite, o vermelho (#eb353d) e o azul (#18308a) do logo */
  --bg: #f6f5f1; --bg-2: #ecebe5; --bg-3: #ffffff; --white: #ffffff;
  --ink: #15171c; --ink-2: #353841; --muted: #5a5d66; --line: #dcd9d0;
  --accent: #c42630; --accent-hi: #eb353d; --accent-ink: #b0212a; --accent-rgb: 196 38 48; --on-accent: #ffffff;
  --accent-2: #18308a; --accent-2-ink: #18308a; --accent-2-rgb: 24 48 138; --dark: #0e1424; --dark-2: #172036; --gray: #8a8d96;
  --wa: #25d366; --wa-ink: #0a5a2b; --wa-hi: #0e7d3c; --err: #b3261e;
  --radius: 16px; --shadow: 0 24px 50px -30px rgba(14, 20, 36, .45); --ease: cubic-bezier(.2, .8, .2, 1);
  --font: 'Titillium Web', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Titillium Web', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-2: 'Titillium Web', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; background: var(--bg); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; margin: 0; text-wrap: balance; font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--accent-ink); }
p { margin: 0 0 1em; }
button { font: inherit; }
main { overflow-x: clip; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only, .defs { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; transition: top .2s; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-fill { fill: currentColor; stroke: none; }

/* ---------- Botões ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 10px; font-family: var(--font); font-weight: 700; font-size: 16px; letter-spacing: .01em; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s; }
.btn .i { width: 20px; height: 20px; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 14px 30px -16px rgb(var(--accent-rgb) / .8); }
.btn-primary:hover { background: color-mix(in oklab, var(--accent) 82%, black); transform: translateY(-2px); }
.btn-primary::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: 60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .3), transparent); transform: translate3d(-140%, 0, 0) skewX(-18deg); transition: transform .8s var(--ease); }
.btn-primary:hover::after { transform: translate3d(260%, 0, 0) skewX(-18deg); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg-3); transform: translateY(-2px); }
.btn-light { border-color: rgba(255, 255, 255, .4); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-light:hover { background: #fff; color: var(--dark); transform: translateY(-2px); }
.btn .i:last-child:not(:first-child) { transition: transform .3s var(--ease); }
.btn:hover .i:last-child:not(:first-child) { transform: translateX(4px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Cabeçalho flutuante ---------- */
.site-header { position: fixed; z-index: 50; left: 0; right: 0; top: max(14px, env(safe-area-inset-top, 0px)); pointer-events: none; transition: transform .45s var(--ease); }
.hdr-oculto .site-header { transform: translateY(-140%); }
.site-header .wrap { pointer-events: none; }
.pill { pointer-events: auto; display: flex; align-items: center; gap: 14px; height: 74px; padding: 0 10px 0 20px; border-radius: 16px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 18px 40px -26px rgba(14, 20, 36, .55), inset 0 0 0 1px rgba(14, 20, 36, .07); transition: height .35s var(--ease); }
.is-scrolled .pill { height: 66px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 48px; width: auto; display: block; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; display: block; padding: 10px 12px; border-radius: 9px; text-decoration: none; font-weight: 600; font-size: 16px; color: var(--ink-2); transition: background .25s, color .25s; }
.nav a:hover { background: var(--bg-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--accent); border-radius: 2px; }
.head-lista { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--ink); background: var(--bg-2); transition: background .25s; }
.head-lista:hover { background: var(--line); }
.head-lista .i { width: 20px; height: 20px; color: var(--accent-2); }
.qcount { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--accent); color: var(--on-accent); font-size: 12.5px; font-weight: 700; line-height: 22px; text-align: center; }
.head-cta { min-height: 48px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 10px; border: 0; place-items: center; cursor: pointer; flex: none; background: var(--dark); color: #fff; }
.menu-btn .i:last-child { display: none; }
.menu-open .menu-btn .i:first-child { display: none; }
.menu-open .menu-btn .i:last-child { display: block; }

.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--dark); color: #fff; padding: calc(108px + env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) 32px max(24px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 26px; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; overflow-y: auto; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-family: var(--font-display); font-size: 26px; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mobile-menu li a[aria-current="page"] { color: color-mix(in oklab, var(--accent-hi) 70%, white); }
.mobile-menu .mm-info { font-size: 15px; color: #c4c9d4; display: grid; gap: 6px; overflow-wrap: anywhere; }
.menu-open { overflow: hidden; }

/* ---------- Seções ---------- */
.sec { padding-block: clamp(64px, 8vw, 112px); position: relative; }
.sec.is-alt { background: var(--bg-2); }
.sec-head { max-width: 820px; margin-bottom: clamp(30px, 4vw, 48px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--font-2); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) 50%, var(--accent-2) 50%); flex: none; }
.kicker a { color: inherit; text-decoration: none; }
.sec-title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.3rem); line-height: 1.04; margin: 0 0 18px; }
.sec-title em { background: linear-gradient(rgb(var(--accent-rgb) / .14), rgb(var(--accent-rgb) / .14)) 0 92% / 100% 26% no-repeat; }
.sec-sub { font-size: 1.08rem; color: var(--muted); max-width: 46em; }
.sec-head.center .sec-sub { margin-inline: auto; }
.sec-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 40px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-aside { position: sticky; top: 120px; }
.faq-aside .btn { margin-top: 10px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; position: relative; padding: 22px 56px 22px 0; font-weight: 700; font-size: 1.1rem; line-height: 1.4; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 9px; background: var(--dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .35s var(--ease), background-color .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--accent); }
.faq-list summary:hover { color: var(--accent-ink); }
.faq-a { padding: 0 56px 22px 0; color: var(--ink-2); }
.faq-a p { margin: 0 0 .6em; }
.faq-a a { color: var(--accent-ink); font-weight: 700; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-list details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
  .faq-list details[open]::details-content { block-size: auto; }
}

/* ---------- Contato e formulário ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 22px; align-items: stretch; }
.c-card { position: relative; overflow: hidden; border-radius: 22px; background: var(--dark); color: #d7dbe4; padding: clamp(28px, 3.4vw, 44px); isolation: isolate; }
.c-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--accent-hi) 50%, var(--accent-2) 50%); }
.c-card h3 { font-size: 1.7rem; margin-bottom: 12px; color: #fff; }
.c-texto { color: #c4c9d4; }
.c-list { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 16px; }
.c-list li { display: flex; gap: 14px; align-items: flex-start; }
.c-list .c-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: rgba(255, 255, 255, .08); color: color-mix(in oklab, var(--accent-hi) 60%, white); flex: none; }
.c-list .c-ico .i { width: 20px; height: 20px; }
.c-list small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #aab0bd; margin-bottom: 2px; }
.c-list a, .c-list span { color: #fff; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.c-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.c-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.c-btns .btn-ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.c-btns .btn-ghost:hover { background: #fff; color: var(--dark); }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: rgba(255, 255, 255, .09); color: #fff; transition: background .25s, transform .25s var(--ease); }
.social a:hover { background: var(--accent); transform: translateY(-2px); }
.social .i { width: 20px; height: 20px; }

.q-card { border-radius: 22px; background: var(--bg-3); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(24px, 3.2vw, 40px); }
.q-card h3 { font-size: 1.7rem; margin-bottom: 6px; }
.q-card > p { color: var(--muted); margin-bottom: 22px; }
.q-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field .lbl { font-weight: 700; font-size: 15px; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 10px; border: 1.5px solid #c9c6bc; background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field input::placeholder, .field textarea::placeholder { color: #767880; }
.field textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315171c' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); background: var(--bg-3); box-shadow: 0 0 0 4px rgb(var(--accent-2-rgb) / .18); }
.err { display: none; font-size: 14px; font-weight: 600; color: var(--err); }
.field.invalid input, .field.invalid select { border-color: var(--err); }
.field.invalid .err { display: block; }
.btn-send { grid-column: 1 / -1; width: 100%; min-height: 58px; font-size: 17px; margin-top: 4px; padding: 0 16px; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.form-note .i { width: 16px; height: 16px; color: var(--accent-2); }
.form-ok { grid-column: 1 / -1; display: none; margin: 0; padding: 14px 16px; border-radius: 10px; background: #e6f4ea; color: var(--wa-ink); font-weight: 600; font-size: 15px; }
.form-ok.show { display: block; }
.qlist { display: flex; flex-wrap: wrap; gap: 8px; min-height: 52px; padding: 10px; border-radius: 10px; background: var(--bg); border: 1.5px dashed #c9c6bc; }
.ql-item { display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 12px; border-radius: 8px; background: var(--dark); color: #fff; font-weight: 600; font-size: 15px; }
.ql-x { width: 32px; height: 32px; border: 0; border-radius: 6px; background: transparent; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.ql-x:hover { background: var(--accent); }
.ql-empty { margin: 0; color: var(--muted); font-size: 15px; align-self: center; }
.map { margin-top: 22px; height: 400px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.6) contrast(1.05); }
.map-link { margin: 14px 0 0; }
.map-link a { display: inline-flex; gap: 8px; align-items: center; color: var(--ink-2); font-weight: 700; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--dark); color: #b9bfcc; padding-block: 0 26px; font-size: 15.5px; }
.f-linha { height: 5px; background: linear-gradient(90deg, var(--accent-hi) 0 50%, var(--accent-2) 50% 100%); }
.site-footer .f-grid { padding-top: 72px; }
.f-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.f-brand img { height: 56px; width: auto; display: block; margin-bottom: 18px; }
.f-brand p { max-width: 30em; }
.f-slogan { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.15; color: #fff; margin: 4px 0 14px; }
.f-slogan em { font-style: normal; color: color-mix(in oklab, var(--accent-hi) 60%, white); }
.f-title { font-family: var(--font-2); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 4px 0 16px; }
.f-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.f-col li { overflow-wrap: anywhere; }
.f-col a { color: #d7dbe4; text-decoration: none; }
.f-col a:hover { color: #fff; text-decoration: underline; }
.f-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #aab0bd; }
.f-bottom a { color: #d7dbe4; }
.dev-sign { display: inline-flex; opacity: .85; transition: opacity .25s; }
.dev-sign:hover { opacity: 1; }
.dev-sign img { height: 26px; width: auto; display: block; }

/* ---------- WhatsApp flutuante + balão ---------- */
.wa-float { position: fixed; z-index: 40; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); display: flex; text-decoration: none; }
.wa-ball { position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .75); animation: waPulse 2.2s ease-in-out infinite; }
.wa-ball::before, .wa-ball::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: waRing 2.4s ease-out infinite; }
.wa-ball::after { animation-delay: 1.2s; }
.wa-ball .i { width: 32px; height: 32px; }
.wa-float:hover .wa-ball { animation-play-state: paused; transform: scale(1.08) rotate(-6deg); }
@keyframes waRing { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
@keyframes waPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.wa-bubble { position: fixed; z-index: 41; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(max(18px, env(safe-area-inset-bottom, 0px)) + 80px); width: min(300px, calc(100vw - 36px)); padding: 18px 18px 16px; border-radius: 18px 18px 6px 18px; background: var(--bg-3); color: var(--ink); box-shadow: 0 24px 60px -18px rgba(14, 20, 36, .5), inset 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.94); transform-origin: bottom right; transition: opacity .4s var(--ease), transform .5s var(--ease), visibility .4s; }
.wa-bubble.show { opacity: 1; visibility: visible; transform: none; }
.wa-bubble::after { content: ""; position: absolute; right: 24px; bottom: -7px; width: 16px; height: 16px; background: var(--bg-3); transform: rotate(45deg); border-radius: 0 0 4px 0; }
.wa-bubble strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.1; margin: 0 30px 6px 0; }
.wa-bubble p { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.wa-go { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; background: var(--wa-ink); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; transition: background .25s; }
.wa-go:hover { background: var(--wa-hi); }
.wa-go .i { width: 18px; height: 18px; }
.wa-bubble-x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: 0; border-radius: 8px; background: var(--bg-2); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.wa-bubble-x .i { width: 16px; height: 16px; }
body.menu-open .wa-bubble { display: none; }
.to-top { position: fixed; z-index: 39; right: max(29px, env(safe-area-inset-right, 0px)); bottom: calc(max(18px, env(safe-area-inset-bottom, 0px)) + 82px); width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--dark); color: #fff; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, background .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }
.to-top .i { width: 18px; height: 18px; }
body:has(.wa-bubble.show) .to-top { opacity: 0; visibility: hidden; }

/* ---------- Migalhas, texto corrido ---------- */
.crumbs { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gray); }
.crumbs a { color: var(--ink-2); }
.prose { max-width: 780px; color: var(--ink-2); }
.prose-pag { padding-block: 40px 96px; }
.prose h2 { font-size: 1.75rem; margin: 36px 0 12px; color: var(--ink); }
.prose h3 { font-size: 1.3rem; margin: 28px 0 10px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose a:not(.btn) { color: var(--accent-ink); }

/* ---------- Animação de entrada ao rolar ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal], .is-agent [data-reveal] { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(8, 11, 20, .95); display: grid; place-items: center; padding: 64px 16px; }
.lb-fig { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: grid; gap: 10px; justify-items: center; }
.lb-img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto; border-radius: 10px; }
.lb-cap { color: #d7dbe4; font-size: 15px; text-align: center; }
.lb-count { position: absolute; top: 20px; left: 24px; margin: 0; color: #c4c9d4; font-size: 14px; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 12px; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.lb-btn:hover { background: var(--accent); }
.lb-x { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; margin-top: -25px; }
.lb-next { right: 14px; top: 50%; margin-top: -25px; }
.lb-single .lb-prev, .lb-single .lb-next { display: none; }
.lb-open { overflow: hidden; }

/* ===== tema ===== */
/* ===== Granimar — "pedra e desenho técnico": branco de pedra, grafite e azul-noite, o vermelho e o azul do logo
   (a faixa bicolor do "GM" vira o traço das chamadas e do rodapé), Titillium Web (a fonte do site antigo).
   Detalhe do segmento: o corte técnico dos dez perfis de borda (hachura de pedra, cotas e linhas de eixo), a foto do
   topo marcada como uma chapa na mesa de corte (miras nos cantos, cotas e a linha de corte que percorre a peça).
   Movimento: só transform/opacity nos laços infinitos; nada no topo começa invisível; robôs e
   prefers-reduced-motion veem tudo parado. ===== */

/* topo da home: fundo azul-noite com grade de prancheta e a chapa na mesa de corte */
.hero { position: relative; isolation: isolate; min-height: min(100svh, 900px); display: flex; flex-direction: column; justify-content: center; padding: 150px 0 72px; background: var(--dark); color: #fff; overflow: hidden; }
.hero-fx { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-grade { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px); background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px; -webkit-mask-image: radial-gradient(80% 80% at 70% 40%, #000 30%, transparent 100%); mask-image: radial-gradient(80% 80% at 70% 40%, #000 30%, transparent 100%); }
.hero-veio { position: absolute; right: -10%; top: -20%; width: 70%; height: 140%; background: radial-gradient(closest-side, rgb(var(--accent-2-rgb) / .55), transparent 70%); opacity: .7; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero .kicker { color: color-mix(in oklab, var(--accent-hi) 50%, white); }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 3.9vw, 4.4rem); line-height: 1.02; margin: 0 0 22px; }
.hero h1 em { color: #fff; background: linear-gradient(90deg, var(--accent-hi), var(--accent-hi)) 0 94% / 100% 6px no-repeat; }
.hero-sub { font-size: clamp(1.06rem, .95rem + .35vw, 1.25rem); color: #d1d6e0; max-width: 34em; margin-bottom: 30px; }
.hero-txt > * { animation: subir .95s var(--ease) both; }
.hero-sub { animation-delay: .15s; }
.hero .cta-row { animation-delay: .25s; }
.hero .selos { animation-delay: .35s; }
@keyframes subir { from { transform: translate3d(0, 24px, 0); } }
.selos { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.selos li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-3); font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.selos .i { width: 16px; height: 16px; color: var(--accent-ink); stroke-width: 2.6; }
.hero .selos li { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); color: #e3e6ee; }
.hero .selos .i { color: color-mix(in oklab, var(--accent-hi) 50%, white); }
.hero-art { position: relative; padding: 0 0 46px 26px; }
.hero-foto { position: relative; margin: 0; border-radius: 6px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .14); }
.hero-foto img { display: block; width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 6px; }
.mira { position: absolute; width: 26px; height: 26px; border: 0 solid #fff; pointer-events: none; }
.m1 { top: -10px; left: -10px; border-width: 2px 0 0 2px; }
.m2 { top: -10px; right: -10px; border-width: 2px 2px 0 0; }
.m3 { bottom: -10px; left: -10px; border-width: 0 0 2px 2px; }
.m4 { bottom: -10px; right: -10px; border-width: 0 2px 2px 0; }
.laser { position: absolute; inset: 0; overflow: hidden; border-radius: 6px; pointer-events: none; }
.laser i { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; animation: corte 6s cubic-bezier(.6, 0, .4, 1) infinite alternate; will-change: transform; }
.laser i::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--accent-hi); box-shadow: 0 0 14px 2px rgb(var(--accent-rgb) / .8); }
.laser i::after { content: ""; position: absolute; top: 0; bottom: 0; right: 100%; width: 40%; background: linear-gradient(90deg, transparent, rgb(var(--accent-rgb) / .14)); }
@keyframes corte { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(100% - 2px), 0, 0); } }
.cota-h, .cota-v { position: absolute; pointer-events: none; }
.cota-h { left: 0; right: 0; bottom: -26px; height: 10px; border: 1px solid rgba(255, 255, 255, .5); border-top: 0; }
.cota-v { top: 0; bottom: 0; right: -26px; width: 10px; border: 1px solid rgba(255, 255, 255, .5); border-left: 0; }
.regua { position: absolute; left: 0; top: 18px; display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; transform: translateX(-30%); }
.regua li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 8px; background: rgba(14, 20, 36, .88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font-size: 14px; font-weight: 600; color: #fff; animation: subir .8s var(--ease) both; animation-delay: calc(.3s + var(--i) * .12s); }
.regua span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--accent); font-size: 12px; font-weight: 700; }
.hero-ficha { position: absolute; right: -6px; bottom: 0; width: min(330px, 80%); margin: 0; padding: 14px 18px; border-radius: 12px; background: var(--bg-3); color: var(--ink); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); font-size: 14.5px; }
.hero-ficha div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hero-ficha div:last-child { border-bottom: 0; }
.hero-ficha dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.hero-ficha dd { margin: 0; font-weight: 700; }

/* faixa corrida */
.faixa { background: var(--accent); color: #fff; overflow: hidden; transform: rotate(-1.2deg); margin: -18px -2% 0; position: relative; z-index: 2; box-shadow: 0 16px 34px -20px rgb(var(--accent-rgb) / .9); }
.faixa-in { display: flex; width: 100%; padding: 15px 0; }
.faixa-trilho { flex: none; display: flex; align-items: center; gap: 46px; margin: 0; padding: 0 23px; list-style: none; animation: esteira var(--dur, 40s) linear infinite; }
.faixa-trilho li { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; white-space: nowrap; }
.faixa-trilho .i { width: 20px; height: 20px; opacity: .8; }
@keyframes esteira { to { transform: translate3d(-100%, 0, 0); } }
.faixa:hover .faixa-trilho { animation-play-state: paused; }

/* números */
.fatos { padding: clamp(60px, 7vw, 96px) 0 0; }
.fatos-l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.fatos-l li { position: relative; overflow: hidden; display: grid; gap: 4px; padding: 26px 24px; border-radius: var(--radius); background: var(--bg-3); border: 1px solid var(--line); }
.fatos-l li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--accent-hi) 50%, var(--accent-2) 50%); }
.fato-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--dark); color: #fff; margin-bottom: 8px; }
.fato-ico .i { width: 20px; height: 20px; }
.fatos-l strong { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 1.4vw, 2.8rem); line-height: 1; letter-spacing: -.02em; }
.fatos-l span:last-child { color: var(--muted); font-size: 15.5px; }

/* cartões */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; overflow: hidden; padding: 30px 26px 28px; border-radius: var(--radius); background: var(--bg-3); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, transform .4s var(--ease); }
.card:hover { border-color: #b9b5aa; box-shadow: var(--shadow); transform: translateY(-4px); }
.card-grid { counter-reset: card; }
.card { counter-increment: card; }
.card::before { content: counter(card, decimal-leading-zero); position: absolute; top: 14px; right: 18px; font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line); }
.card-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: rgb(var(--accent-rgb) / .09); color: var(--accent-ink); margin-bottom: 18px; }
.card-ico .i { width: 26px; height: 26px; }
.card h3 { font-size: 1.32rem; margin-bottom: 8px; }
.card h3 a { text-decoration: none; }
.card.has-link h3 a::after { content: ""; position: absolute; inset: 0; }
.card-txt { color: var(--muted); margin: 0; }
.card-go { position: absolute; right: 22px; bottom: 22px; color: var(--accent-ink); transition: transform .3s var(--ease); }
.card.has-link:hover .card-go { transform: translateX(4px); }
.card.has-link { padding-bottom: 54px; }

/* passos */
.passos-l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: p; }
.passos-l li { position: relative; padding: 0 22px 0 0; }
.passos-l li::before { content: ""; position: absolute; left: 46px; right: 8px; top: 23px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); opacity: .3; }
.passos-l li:last-child::before { display: none; }
.passo-n { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--dark); color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 18px; }
.passos-l li:nth-child(3) .passo-n { background: var(--accent); }
.passos-l h3 { font-size: 1.22rem; margin-bottom: 8px; }
.passos-l p { color: var(--muted); margin: 0; font-size: 16px; }

/* linhas do catálogo (famílias) */
.fam-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fam { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); }
.fam-mosaico { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 92px; gap: 2px; background: var(--line); }
.fam-mosaico img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.fam:hover .fam-mosaico img { transform: scale(1.06); }
.fam-txt { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.fam-n { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.fam h3 { font-size: 1.7rem; margin-bottom: 8px; }
.fam-txt > p:not(.fam-n) { color: var(--muted); }
.fam-cats { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 6px; }
.fam-cats a { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 9px; background: var(--bg); text-decoration: none; font-weight: 700; transition: background .25s, color .25s; }
.fam-cats a span { font-size: 14px; color: var(--muted); font-weight: 600; }
.fam-cats a:hover { background: var(--dark); color: #fff; }
.fam-cats a:hover span { color: #c4c9d4; }

/* ambientes */
.amb-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.amb a { position: relative; display: block; border-radius: 18px; overflow: hidden; text-decoration: none; color: #fff; background: var(--dark); isolation: isolate; }
.amb figure { margin: 0; }
.amb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.amb a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8, 11, 20, .88)); }
.amb a:hover img { transform: scale(1.05); }
.amb-txt { position: absolute; z-index: 1; left: 22px; right: 60px; bottom: 20px; display: grid; gap: 2px; }
.amb-n { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in oklab, var(--accent-hi) 40%, white); }
.amb-t { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.1; }
.amb-l { font-size: 15px; color: #dfe3ea; }
.amb-go { position: absolute; z-index: 1; right: 18px; bottom: 20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent); transition: transform .3s var(--ease); }
.amb a:hover .amb-go { transform: translateX(4px); }
.is-completo .amb img { aspect-ratio: 4 / 3.4; }

/* perfis de borda: o desenho técnico */
.perfis { background: var(--dark); color: #fff; overflow: hidden; }
.perfis-grade { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.perfis .wrap { position: relative; }
.perfis .kicker { color: color-mix(in oklab, var(--accent-hi) 50%, white); }
.perfis .sec-title em { color: #fff; background: linear-gradient(90deg, var(--accent-hi), var(--accent-hi)) 0 94% / 100% 5px no-repeat; }
.perfis .sec-sub { color: #c4c9d4; }
.perfis-l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.perfil { position: relative; padding: 18px 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background .3s, box-shadow .3s; }
.perfil:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgb(var(--accent-rgb) / .7); }
.perfil-n { position: absolute; top: 12px; right: 14px; font-size: 13px; font-weight: 700; color: #8f97a8; }
.perfil-svg { display: block; width: 100%; height: auto; margin: 6px 0 12px; overflow: visible; }
.pf-hachura { stroke: #aab3c5; stroke-width: 1; }
.pf-corte { stroke: none; opacity: .5; }
.pf-linha { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.pf-eixo { stroke: rgba(255, 255, 255, .18); stroke-width: .8; stroke-dasharray: 6 3 1 3; fill: none; }
.pf-cota { stroke: color-mix(in oklab, var(--accent-hi) 60%, white); stroke-width: 1; fill: none; }
.pf-quebra { stroke: rgba(255, 255, 255, .5); stroke-width: 1; fill: none; }
.perfil:hover .pf-linha { stroke: color-mix(in oklab, var(--accent-hi) 60%, white); }
.perfil h3 { font-size: 1.1rem; margin-bottom: 4px; }
.perfil p { margin: 0; font-size: 14.5px; color: #c4c9d4; line-height: 1.45; }

/* texto com foto */
.tf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.tf.is-inv .tf-foto { order: -1; }
.tf.no-foto .tf-grid { grid-template-columns: minmax(0, 1fr); }
.tf-txt .sec-head { margin-bottom: 22px; }
.tf-foto { position: relative; margin: 0; }
.tf-foto img { display: block; width: 100%; border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; }
.tf-foto .mira { border-color: var(--ink); }
.tf-itens { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.tf-itens li { display: flex; gap: 12px; }
.tf-ico { color: var(--accent-ink); }
.tf-itens strong { display: block; }
.chips-l { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; }
.chips-l li { padding: 7px 14px; border-radius: 8px; background: var(--bg-3); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }

/* chamada final */
.cta-band { padding-block: clamp(56px, 7vw, 96px); }
.cta-box { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 32px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 26px; background: var(--dark); color: #fff; }
.cta-box::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.cta-box > * { position: relative; }
.cta-box .kicker { color: color-mix(in oklab, var(--accent-hi) 50%, white); }
.cta-box .sec-title em { color: #fff; background: linear-gradient(90deg, var(--accent-hi), var(--accent-hi)) 0 94% / 100% 5px no-repeat; }
.cta-sub { color: #c4c9d4; font-size: 1.08rem; max-width: 40em; }
.cta-info { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; color: #c4c9d4; font-size: 15px; }
.cta-info .i { width: 18px; height: 18px; }
.cta-art .perfil-svg { width: 100%; max-width: 260px; margin-left: auto; }
.cta-art .pf-linha { stroke-width: 1.2; }

/* topo das páginas internas */
.page-top { position: relative; padding: 150px 0 clamp(48px, 6vw, 80px); background: var(--bg-2); overflow: hidden; }
.page-top::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(14, 20, 36, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 20, 36, .05) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.pt-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-top.has-foto .pt-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.page-top h1 { font-size: clamp(2.3rem, 1.4rem + 3.2vw, 3.9rem); line-height: 1.03; margin-bottom: 16px; max-width: 18em; }
.page-top .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 44em; margin: 0 0 24px; }
.page-top .cta-row { margin-top: 6px; }
.pt-txt > * { animation: subir .9s var(--ease) both; }
.pt-foto { position: relative; margin: 0; }
.pt-foto img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow); }
.pt-marca { position: absolute; left: -12px; bottom: -12px; width: 40%; height: 6px; background: linear-gradient(90deg, var(--accent-hi) 50%, var(--accent-2) 50%); }

/* catálogo */
.cat-tools { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 24px; margin-bottom: 18px; }
.busca { flex: 1 1 360px; max-width: 560px; }
.busca label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 7px; }
.busca-in { position: relative; }
.busca-in .i { position: absolute; left: 16px; top: 50%; margin-top: -11px; color: var(--muted); }
.busca input { width: 100%; min-height: 56px; padding: 12px 16px 12px 50px; border-radius: 12px; border: 1.5px solid #c9c6bc; background: var(--bg-3); color: var(--ink); font: inherit; font-size: 17px; }
.busca input:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 4px rgb(var(--accent-2-rgb) / .18); }
.cat-cont { margin: 0; color: var(--muted); }
.cat-cont strong { color: var(--ink); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter-bar button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 9px; border: 1.5px solid #c9c6bc; background: var(--bg-3); color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filter-bar button span { font-size: 13px; font-weight: 600; color: var(--muted); }
.filter-bar .fb-fam { border-color: var(--ink); }
.filter-bar button:hover { border-color: var(--ink); }
.filter-bar button[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: #fff; }
.filter-bar button[aria-pressed="true"] span { color: #c4c9d4; }
.pcs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.pc { display: flex; flex-direction: column; background: var(--bg-3); border-radius: 14px; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s, transform .4s var(--ease); }
.pc:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pc-img { display: block; overflow: hidden; background: var(--bg-2); }
.pc-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.pc:hover .pc-img img { transform: scale(1.06); }
.pc-body { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; flex: 1; }
.pc-cat { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.pc-t { font-size: 1.12rem; line-height: 1.2; margin-bottom: 12px; }
.pc-t a { text-decoration: none; }
.pc-t a:hover { color: var(--accent-ink); }
.btn-add { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border-radius: 9px; border: 1.5px solid var(--accent); background: transparent; color: var(--accent-ink); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s, color .2s; }
.btn-add .i { width: 18px; height: 18px; transition: transform .3s; }
.btn-add:hover { background: rgb(var(--accent-rgb) / .08); }
.btn-add[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.btn-add[aria-pressed="true"] .i { transform: rotate(45deg); }
.btn-add-lg { min-height: 52px; padding: 0 20px; font-size: 16px; align-self: auto; margin-top: 0; }
.cat-vazio { margin: 24px 0 0; padding: 20px; border-radius: 12px; background: var(--bg-2); font-weight: 600; }
.cat-nota { margin: 26px 0 0; color: var(--muted); font-size: 15px; }
.cat-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.cat-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 9px; background: var(--bg-3); border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; font-size: 15px; }
.cat-links a span { font-size: 13px; color: var(--muted); }
.cat-links a:hover { border-color: var(--ink); }
.cat-links a[aria-current="page"] { background: var(--dark); border-color: var(--dark); color: #fff; }
.cat-links a[aria-current="page"] span { color: #c4c9d4; }
.cat-sec { padding-top: clamp(40px, 5vw, 64px); }

/* página da pedra */
.prod-top { padding: 140px 0 clamp(48px, 6vw, 88px); background: var(--bg-2); }
.prod { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.prod-ph { position: relative; margin: 0; }
.prod-ph a { display: block; }
.prod-ph img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow); }
.prod-marcas i { position: absolute; width: 22px; height: 22px; border: 0 solid var(--ink); }
.prod-marcas i:nth-child(1) { top: -9px; left: -9px; border-width: 2px 0 0 2px; }
.prod-marcas i:nth-child(2) { top: -9px; right: -9px; border-width: 2px 2px 0 0; }
.prod-marcas i:nth-child(3) { bottom: -9px; left: -9px; border-width: 0 0 2px 2px; }
.prod-marcas i:nth-child(4) { bottom: -9px; right: -9px; border-width: 0 2px 2px 0; }
.prod-info h1 { font-size: clamp(2.3rem, 1.6rem + 2.4vw, 3.6rem); margin-bottom: 14px; }
.prod-info .lead { font-size: 1.12rem; color: var(--ink-2); }
.ficha { margin: 22px 0 26px; padding: 6px 20px; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line); }
.ficha div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.ficha div:last-child { border-bottom: 0; }
.ficha dt { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.ficha dd { margin: 0; font-weight: 700; }
.prod-note { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-weight: 700; }
.prod-note .i { width: 18px; height: 18px; color: var(--accent-2); }
.prod-note a { color: var(--accent-2-ink); }
.prod-aviso { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.linha-box { max-width: 860px; }

/* galeria do ambiente */
.galeria { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 220px); gap: 12px; }
.galeria li:first-child { grid-column: span 2; grid-row: span 2; }
.galeria li:last-child:nth-child(3n+2):not(:first-child) { grid-column: span 2; }
.galeria li:last-child:nth-child(3n+1):not(:first-child) { grid-column: span 3; }
.galeria a { display: block; height: 100%; overflow: hidden; border-radius: 10px; }
.galeria img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.galeria a:hover img { transform: scale(1.04); }

/* 404 */
.e404 { padding: 170px 0 110px; background: var(--bg-2); }
.e404-num { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 3rem + 10vw, 11rem); line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.e404 h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); margin: 10px 0 14px; }
.e404 .cta-row { margin-top: 26px; }

/* movimento reduzido e robôs: tudo parado */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
.is-agent *, .is-agent *::before, .is-agent *::after { animation: none !important; }

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .head-lista-t { display: none; }
  .perfis-l { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .passos-l { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 0; }
  .passos-l li:nth-child(3)::before { display: none; }
}
@media (max-width: 1080px) {
  .nav, .head-cta { display: none; }
  .menu-btn { display: grid; }
  .head-lista { margin-left: auto; }
  .hero-in, .tf-grid, .faq-grid, .contact-grid, .prod, .page-top.has-foto .pt-in { grid-template-columns: minmax(0, 1fr); }
  .tf.is-inv .tf-foto { order: 0; }
  .faq-aside { position: static; }
  .hero { min-height: 0; }
  .hero-art { max-width: 640px; }
  .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fatos-l, .card-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid.cols-3, .fam-grid, .amb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perfis-l { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-box { grid-template-columns: minmax(0, 1fr); }
  .cta-art { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .pill { height: 66px; padding: 0 8px 0 14px; gap: 8px; }
  .brand img { height: 40px; }
  .head-lista { min-height: 44px; padding: 0 12px; }
  .hero { padding: 120px 0 56px; }
  .hero-art { padding: 0 0 40px 0; }
  .regua { position: static; transform: none; display: flex; flex-wrap: wrap; margin-top: 30px; }
  .hero-ficha { position: relative; right: auto; width: 100%; margin-top: 14px; }
  .cota-v { display: none; }
  .page-top, .prod-top { padding-top: 116px; }
  .q-form { grid-template-columns: minmax(0, 1fr); }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4, .fam-grid, .amb-grid, .f-grid { grid-template-columns: minmax(0, 1fr); }
  .perfis-l { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .perfil { padding: 14px 12px 16px; }
  .passos-l { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .passos-l li::before { display: none; }
  .pcs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pc-body { padding: 12px; }
  .pc-t { font-size: 1rem; }
  .btn-add { padding: 0 10px; font-size: 14px; }
  .galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 120px; }
  .galeria li:last-child:nth-child(n):not(:first-child) { grid-column: auto; }
  .galeria li:last-child:nth-child(2n):not(:first-child) { grid-column: span 2; }
  .faixa-trilho li { font-size: 16px; }
  .map { height: 320px; }
  .cat-cont { width: 100%; }
  .fatos-l { gap: 10px; }
  .fatos-l li { padding: 20px 16px; }
  .fatos-l strong { font-size: 1.75rem; }
  .fatos-l span:last-child { font-size: 14.5px; line-height: 1.4; }
}
@media (max-width: 380px) {
  .fatos-l { grid-template-columns: minmax(0, 1fr); }
}

/* CDW assinatura padrao 160x23 */
.cdw-css-guard {}
/* computador: direita, na linha da ultima info, longe do botao do WhatsApp */
.dev-sign { display: flex !important; width: fit-content; flex: 0 0 auto !important; order: 99 !important; line-height: 0; opacity: 1 !important;
  margin: 0 max(0px, calc(var(--cdw-fab, 100px) - (100vw - 100%) / 2)) 0 auto !important; align-self: flex-end !important; justify-self: end !important; }
.dev-sign img { width: 160px !important; height: 23px !important; max-width: none !important; display: block; opacity: 1 !important; }
@media (min-width: 701px) {
  :has(> .dev-sign) { flex-wrap: nowrap !important; }
  :has(> .dev-sign) > :not(.dev-sign) { min-width: 0; }
}
/* celular: linha propria, alinhada a esquerda como o texto */
@media (max-width: 700px) {
  /* -5px compensa a margem interna do desenho (16 de 480), para a letra alinhar com o texto */
  .dev-sign { margin: 0 calc(100% - 155px) 0 -5px !important; align-self: flex-start !important; justify-self: start !important; }
}
