/* Zapelini Estética Automotiva
   Direção: galpão escuro, luz de LED que revela defeito, Z inclinado do logo.
   Laranja só para ação e marca. Prata (cromo do logo) para títulos. */

:root {
  /* cor */
  --ink: #08090a;
  --carbon: #0f1114;
  --panel: #15181c;
  --line: #24282e;
  --line-2: #33383f;
  --white: #f3f3f1;
  --chrome: #b4b8be;
  --muted: #868a91;
  --z: #ef6c00;
  --z-hot: #ff8a1c;
  --z-sun: #ffb21a;
  --ok: #43d17f;
  --warn: #ffb21a;
  --err: #ff5d52;
  --chrome-fill: linear-gradient(176deg, #ffffff 0%, #e4e6e9 38%, #8d929a 50%, #d9dbde 64%, #ffffff 100%);

  /* tipo */
  --f: "Saira", "Arial Narrow", system-ui, sans-serif;
  --t-xs: .75rem;
  --t-sm: .875rem;
  --t-md: 1.0625rem;
  --t-lg: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  --t-h3: clamp(1.25rem, 1.1rem + .6vw, 1.625rem);
  --t-h2: clamp(2rem, 1.3rem + 3.4vw, 4.25rem);
  --t-hero: clamp(2.75rem, 1rem + 7.4vw, 7.5rem);

  /* espaço */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4.5rem; --s9: 7rem;
  --gut: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1440px;

  /* forma e movimento */
  --slant: -14deg;
  --r: 2px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --t-fast: .18s;
  --t-med: .5s;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--ink); color: var(--white);
  font-family: var(--f); font-size: var(--t-md); line-height: 1.55; font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--z-hot); outline-offset: 3px; }
::selection { background: var(--z); color: #000; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: var(--s4); top: -60px; z-index: 100; background: var(--z); color: #000; padding: var(--s2) var(--s4); font-weight: 700; text-decoration: none; }
.skip:focus { top: var(--s4); }

/* ---------- tipografia base ---------- */
.kick {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  font-variation-settings: "wdth" 112; color: var(--chrome);
}
.kick::before { content: ""; width: 22px; height: 2px; background: var(--z); transform: skewX(var(--slant)); }
.kick:has(.status-dot)::before { display: none; }
.h2 {
  font-size: var(--t-h2); line-height: .98; font-weight: 800; font-style: italic; letter-spacing: -.01em;
  font-variation-settings: "wdth" 118; text-wrap: balance; margin-top: var(--s4);
}
.h3 { font-size: var(--t-h3); font-weight: 700; font-style: italic; font-variation-settings: "wdth" 112; }
.lead { color: var(--chrome); font-size: var(--t-lg); max-width: 46ch; margin-top: var(--s4); }

/* ---------- botões (paralelogramo do Z) ---------- */
.btn {
  --bg: transparent; --fg: var(--white); --bd: var(--line-2);
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 46px; padding: 0 1.4rem; color: var(--fg); text-decoration: none; white-space: nowrap;
  font-weight: 700; font-size: var(--t-sm); letter-spacing: .06em; text-transform: uppercase; font-variation-settings: "wdth" 110;
  background: none; border: 0; cursor: pointer; transition: color var(--t-fast);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(var(--slant));
  background: var(--bg); border: 1px solid var(--bd); border-radius: var(--r);
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast) var(--ease);
}
.btn:hover::before { transform: skewX(var(--slant)) translateX(2px); }
.btn:active::before { transform: skewX(var(--slant)) scale(.97); }
.btn:focus-visible { outline: none; }
.btn:focus-visible::before { box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--z-hot); }
.btn span[aria-hidden] { transition: transform var(--t-fast) var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(3px); }
.btn-z { --bg: var(--z); --bd: var(--z); --fg: #0a0a0a; }
.btn-z:hover { --bg: var(--z-hot); --bd: var(--z-hot); }
.btn-line:hover { --bd: var(--white); }
.btn-lg { min-height: 54px; padding: 0 1.8rem; font-size: .9375rem; }

.tlink {
  display: inline-flex; gap: var(--s2); align-items: center; color: var(--z-hot); font-weight: 700; text-decoration: none;
  font-size: var(--t-sm); letter-spacing: .05em; text-transform: uppercase; font-variation-settings: "wdth" 108;
  min-height: 44px; border-bottom: 1px solid transparent;
}
.tlink:hover { color: var(--z-sun); }
.tlink:hover span { transform: translateX(3px); }
.tlink span { transition: transform var(--t-fast) var(--ease); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: var(--s5); padding: 0 var(--gut);
  transition: background var(--t-med), border-color var(--t-med);
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(8, 9, 10, .94); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: var(--s3); text-decoration: none; margin-right: auto; }
.brand img { width: 46px; height: auto; mix-blend-mode: lighten; }
.brand-t { display: flex; flex-direction: column; line-height: 1; font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .02em; font-variation-settings: "wdth" 125; }
.brand-t small { font-size: .62rem; font-style: normal; font-weight: 500; letter-spacing: .3em; text-transform: lowercase; color: var(--chrome); margin-top: 3px; font-variation-settings: "wdth" 100; }
.nav-links { display: flex; gap: var(--s5); }
.nav-links a { text-decoration: none; font-size: var(--t-sm); font-weight: 600; color: var(--chrome); padding: var(--s2) 0; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--z); transform: scaleX(0) skewX(var(--slant)); transform-origin: left; transition: transform var(--t-fast) var(--ease); }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1) skewX(var(--slant)); }
.nav-links a[aria-current="true"] { color: var(--white); }
.nav-menu { display: none; }

@media (max-width: 959px) {
  .nav-cta { display: none; }
  .nav-menu {
    display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; background: none; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer;
  }
  .nav-menu i { display: block; width: 20px; height: 2px; background: var(--white); transition: transform var(--t-fast) var(--ease); }
  .nav-menu[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .nav-menu[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; gap: 0; padding: var(--s3) var(--gut) var(--s6);
    background: var(--ink); border-bottom: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity var(--t-fast), transform var(--t-fast) var(--ease), visibility 0s linear var(--t-fast);
  }
  .nav-links.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-links a { font-size: 1.35rem; font-style: italic; font-weight: 700; color: var(--white); padding: var(--s4) 0; border-bottom: 1px solid var(--line); font-variation-settings: "wdth" 115; }
  .nav-links a::after { display: none; }
  .nav.is-open { background: var(--ink); border-bottom-color: var(--line); }
}
@media (min-width: 960px) { .nav-wa { color: var(--z-hot) !important; } .nav-ag { display: none; } }
@media (max-width: 959px) { .nav-links a.nav-ag { color: var(--z-hot); border-bottom: 0; } }

/* ---------- hero ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: 1fr; gap: var(--s6);
  padding: calc(var(--nav-h) + var(--s4)) var(--gut) var(--s6); max-width: var(--max); margin: 0 auto; min-height: 100svh;
}
.hero-media { position: relative; order: -1; margin: 0 calc(var(--gut) * -1); height: 46svh; min-height: 280px; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,10,.15) 0%, transparent 30%, transparent 60%, rgba(8,9,10,.7) 100%); pointer-events: none; }
.hero-media figcaption { display: none; position: absolute; z-index: 2; font-size: var(--t-xs); color: var(--chrome); letter-spacing: .04em; }
.hero-sweep {
  position: absolute; inset: -20% auto -20% 0; width: 22%; z-index: 1; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.0) 20%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 80%, transparent);
  transform: translateX(-160%) skewX(var(--slant)); filter: blur(6px);
}
.motion .hero-sweep { animation: sweep 2.2s var(--ease) .5s 1 both; }
.motion .hero-media:hover .hero-sweep { animation: sweep 1.6s var(--ease) 0s 1 both; }
@keyframes sweep { to { transform: translateX(560%) skewX(var(--slant)); } }

.hero-copy { position: relative; z-index: 2; margin-top: -18svh; }
.hero-copy .kick { text-shadow: 0 1px 2px #000, 0 0 14px #000; color: var(--white); }
.hero-t {
  margin-top: var(--s4); font-size: var(--t-hero); line-height: .88; font-weight: 850; font-style: italic; text-transform: uppercase;
  letter-spacing: -.015em; font-variation-settings: "wdth" 125;
}
.hero-t .ln { display: block; }
.hero-t .ln-z { background: var(--chrome-fill); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero-sub { margin-top: var(--s5); max-width: 40ch; color: var(--chrome); font-size: var(--t-lg); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s5); margin-top: var(--s6); padding-left: 6px; }
.hero-facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.hero-facts > div { padding: var(--s4) var(--s3) var(--s4) 0; border-bottom: 1px solid var(--line); }
.hero-facts > div:nth-child(odd) { border-right: 1px solid var(--line); }
.hero-facts > div:nth-child(even) { padding-left: var(--s4); }
.hero-facts dt { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero-facts dd { margin-top: var(--s1); font-size: var(--t-sm); color: var(--chrome); }
.hero-facts b { font-size: 1.6rem; line-height: 1; font-weight: 800; font-style: italic; color: var(--white); font-variation-settings: "wdth" 120; margin-right: 2px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 0 currentColor; }
.status-dot.is-open { background: var(--ok); color: rgba(67, 209, 127, .45); }
.motion .status-dot.is-open { animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }
[data-status] .on { color: var(--ok); font-weight: 700; }
[data-status] .off { color: var(--warn); font-weight: 700; }

@media (min-width: 960px) {
  .hero { grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr auto; column-gap: var(--s5); row-gap: var(--s5); padding-top: calc(var(--nav-h) + var(--s5)); padding-bottom: var(--s5); align-items: center; }
  .hero-t { font-size: min(var(--t-hero), 13.5svh); }
  .hero-copy { grid-column: 1 / 9; grid-row: 1; margin: 0; }
  .hero-media { order: 0; grid-column: 7 / 13; grid-row: 1; height: min(calc(100svh - var(--nav-h) - 150px), 760px); margin: 0 calc(var(--gut) * -1) 0 0; clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%); }
  .hero-media::after { background: linear-gradient(90deg, rgba(8,9,10,.65) 0%, transparent 40%), linear-gradient(0deg, rgba(8,9,10,.6), transparent 30%); }
  .hero-media figcaption { display: block; right: var(--gut); bottom: var(--s5); }
  .hero-facts { grid-column: 1 / 13; grid-row: 2; grid-template-columns: repeat(4, 1fr); }
  .hero-facts > div { border-bottom: 0; border-right: 1px solid var(--line); padding: var(--s5) var(--s5) 0 0; }
  .hero-facts > div + div { padding-left: var(--s5); }
  .hero-facts > div:last-child { border-right: 0; }
}

/* ---------- seções ---------- */
.sec { max-width: var(--max); margin: 0 auto; padding: var(--s9) var(--gut) var(--s8); }
.sec-head { margin-bottom: var(--s7); max-width: 900px; }

/* ---------- vidros ---------- */
.glass { position: relative; }
.glass::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: var(--carbon); clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%); }
.glass-head { position: relative; margin-bottom: var(--s7); max-width: 980px; }
.glass-head .h2 { position: relative; z-index: 1; }
.crack { position: absolute; z-index: 0; left: 30%; top: -6%; width: min(560px, 70%); height: 140%; pointer-events: none; overflow: visible; }
.crack path { fill: none; stroke: rgba(230, 236, 242, .5); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.crack circle { fill: rgba(230, 236, 242, .6); }

.glass-grid { display: grid; gap: var(--s7); }
@media (min-width: 1040px) {
  .glass-grid { grid-template-columns: 1.55fr 1fr; align-items: start; gap: var(--s8); }
  .ba { position: sticky; top: calc(var(--nav-h) + var(--s5)); }
}

.ba { margin: 0 calc(var(--gut) * -1); }
@media (min-width: 720px) { .ba { margin: 0; } }
.ba-stage { --x: 55%; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; touch-action: pan-y; }
.ba-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
/* as duas fotos não têm o mesmo enquadramento: alinha a barra de LED do "antes" com a do "depois" */
.ba-before { transform: translate(1.9%, -4%) scale(1.08); transform-origin: 50% 50%; }
.ba-led {
  position: absolute; top: 0; bottom: 0; left: var(--x); width: 6px; margin-left: -3px; z-index: 2; pointer-events: none;
  background: #fff; border-radius: 3px;
  box-shadow: 0 0 6px 1px #fff, 0 0 26px 6px rgba(255, 255, 255, .45), 0 0 80px 18px rgba(255, 220, 170, .18);
}
.ba-led::after {
  content: "◂ ▸"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  display: grid; place-items: center; width: 52px; height: 30px; background: var(--ink); color: var(--white); font-size: .75rem; letter-spacing: .2em;
  border: 1px solid rgba(255,255,255,.7); clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}
.ba-stage:has(.ba-range:focus-visible) .ba-led::after { background: var(--z); color: #000; border-color: var(--z); }
.ba-tag { position: absolute; top: var(--s4); z-index: 3; padding: 2px 10px; font-size: var(--t-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: rgba(8,9,10,.78); }
.ba-tag-l { left: var(--s4); }
.ba-tag-r { right: var(--s4); color: var(--z-hot); }
.ba-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba figcaption { margin-top: var(--s3); padding: 0 var(--gut); font-size: var(--t-sm); color: var(--muted); }
@media (min-width: 720px) { .ba figcaption { padding: 0; } }

.glass-list { display: grid; }
.gl-item { padding: var(--s5) 0; border-top: 1px solid var(--line); }
.gl-item:first-child { border-top-color: var(--z); padding-top: var(--s4); }
.gl-item h3 { font-size: var(--t-h3); font-weight: 700; font-style: italic; font-variation-settings: "wdth" 112; line-height: 1.15; }
.gl-item p { color: var(--chrome); margin: var(--s2) 0 var(--s2); max-width: 52ch; }

/* ---------- serviços ---------- */
.size { display: flex; flex-wrap: wrap; gap: var(--s3); border: 0; padding: 0; margin: 0 0 var(--s6); }
.size legend { width: 100%; margin-bottom: var(--s3); font-size: var(--t-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.size label { position: relative; flex: 1 1 0; min-width: 0; max-width: 260px; cursor: pointer; }
@media (max-width: 559px) {
  .size { flex-wrap: nowrap; gap: var(--s2); }
  .size label > span { padding: var(--s2) var(--s3) var(--s2) var(--s4); }
  .size small { font-size: .6875rem; line-height: 1.25; }
}
.size input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.size label > span { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: var(--s3) var(--s5); min-height: 60px; justify-content: center; }
.size label > span::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(var(--slant)); border: 1px solid var(--line-2); border-radius: var(--r); transition: background var(--t-fast), border-color var(--t-fast); }
.size b { font-size: 1.05rem; font-style: italic; font-variation-settings: "wdth" 115; }
.size small { font-size: var(--t-xs); color: var(--muted); }
.size label:hover > span::before { border-color: var(--chrome); }
.size input:checked + span::before { border-color: var(--z); background: rgba(239, 108, 0, .12); }
.size input:checked + span b { color: var(--z-hot); }
.size input:focus-visible + span::before { box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--z-hot); }

.tier-tabs { display: none; }
.matrix { width: 100%; border-collapse: collapse; table-layout: fixed; }
.matrix th, .matrix td { padding: var(--s3) var(--s4); text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.matrix tbody th { color: var(--chrome); font-weight: 500; width: 30%; }
.matrix thead th[data-col] { vertical-align: bottom; padding-top: var(--s5); }
.t-name { display: block; font-size: var(--t-h3); line-height: 1.08; font-weight: 800; font-style: italic; font-variation-settings: "wdth" 112; }
.t-name em { display: inline-block; font-style: italic; color: var(--z-hot); }
.t-flag { display: inline-block; margin-bottom: var(--s2); padding: 1px 8px; font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--z); color: #000; transform: skewX(var(--slant)); }
.m-price th { color: var(--muted); font-weight: 600; font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; }
.price { font-size: 2rem; font-weight: 800; font-style: italic; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 110; }
.price small { font-size: .5em; font-weight: 600; color: var(--chrome); margin-right: 3px; font-style: normal; }
.price.price-q { font-size: var(--t-xs); font-style: normal; color: var(--chrome); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.price.bump { animation: bump .35s var(--ease); }
@keyframes bump { 0% { opacity: .2; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }
.matrix td.y::before, .matrix td.n::before { content: ""; display: inline-block; vertical-align: -3px; width: 16px; height: 16px; margin-right: var(--s2); }
.matrix td.y::before { background: var(--z-hot); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3C/svg%3E") center / contain no-repeat; }
.matrix td.n { color: var(--muted); }
.matrix td.n::before { width: 12px; height: 2px; vertical-align: 4px; background: var(--line-2); }
.matrix td.z { color: var(--z-sun); font-weight: 700; }
.matrix tfoot td { border-bottom: 0; padding-top: var(--s5); }
.matrix tfoot .btn { width: calc(100% - 12px); margin-left: 6px; }
.matrix [data-col="1"] { background: linear-gradient(180deg, rgba(239,108,0,.07), rgba(239,108,0,.03)); }
.matrix thead th[data-col="1"] { box-shadow: inset 0 3px 0 var(--z); }

@media (max-width: 759px) {
  .tiers { margin: 0 calc(var(--gut) * -1); }
  .tier-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); position: sticky; top: var(--nav-h); z-index: 5; background: var(--ink); }
  .tier-tabs button { min-height: 50px; background: none; border: 0; border-bottom: 3px solid transparent; font-weight: 700; font-style: italic; font-variation-settings: "wdth" 112; color: var(--muted); cursor: pointer; }
  .tier-tabs button[aria-selected="true"] { color: var(--white); border-bottom-color: var(--z); }
  .matrix tbody th, .matrix thead th:first-child, .matrix tfoot th { width: 46%; padding-left: var(--gut); }
  .matrix th, .matrix td { padding-right: var(--gut); }
  .matrix td { padding-left: var(--s3); }
  .tiers[data-show="0"] [data-col]:not([data-col="0"]),
  .tiers[data-show="1"] [data-col]:not([data-col="1"]),
  .tiers[data-show="2"] [data-col]:not([data-col="2"]) { display: none; }
  .matrix [data-col] { background: none !important; box-shadow: none !important; }
  .matrix thead th[data-col] { padding-left: var(--s3); }
  .matrix tfoot td .btn { width: calc(100% - 12px); }
  .t-name { font-size: 1.2rem; }
  .price { font-size: 1.75rem; }
}

.more-t { margin: var(--s8) 0 var(--s4); }
.more { border-top: 1px solid var(--line-2); }
.more-i { display: grid; grid-template-columns: 1fr auto; gap: var(--s2) var(--s5); align-items: center; padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.more-i h4 { font-size: 1.2rem; font-weight: 700; font-style: italic; font-variation-settings: "wdth" 112; }
.more-i p { color: var(--chrome); font-size: var(--t-sm); max-width: 60ch; margin-top: 2px; }
.more-i > div { grid-column: 1 / -1; }
.more-i .price { font-size: 1.5rem; }
.more-i .price.price-q { font-size: var(--t-xs); }
@media (min-width: 760px) {
  .more-i { grid-template-columns: 1fr 180px 140px; }
  .more-i > div { grid-column: auto; }
  .more-i .tlink { justify-self: end; }
}
.note { margin-top: var(--s5); font-size: var(--t-sm); color: var(--muted); }

/* ---------- resultados ---------- */
.gal { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) var(--s4); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.g { scroll-snap-align: start; }
.g img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--panel); }
.g-c img { aspect-ratio: 1; }
.g figcaption { margin-top: var(--s3); font-size: var(--t-sm); color: var(--chrome); }
.g figcaption b { display: block; color: var(--z-hot); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; }
.res-ig { margin-top: var(--s6); }
@media (min-width: 900px) {
  .gal { grid-auto-flow: row; grid-template-columns: 1.25fr 1fr .95fr 1fr; gap: var(--s5); overflow: visible; margin: 0; padding: 0; align-items: start; }
  .g-b { margin-top: var(--s9); }
  .g-c { margin-top: var(--s6); }
  .g-d { margin-top: calc(var(--s9) + var(--s6)); }
  .g { overflow: hidden; }
  .g img { transition: transform .9s var(--ease); }
  .g:hover img { transform: scale(1.03); }
}

/* ---------- avaliações ---------- */
.rev { display: grid; gap: var(--s7); }
@media (min-width: 960px) { .rev { grid-template-columns: 1fr 1.7fr; gap: var(--s8); align-items: start; } .rev-score { position: sticky; top: calc(var(--nav-h) + var(--s6)); } }
.rev-num { margin: var(--s3) 0 0; font-size: clamp(7rem, 4rem + 12vw, 13rem); line-height: .85; font-weight: 900; font-style: italic; font-variation-settings: "wdth" 125; background: var(--chrome-fill); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.03em; }
.rev-meta { margin: var(--s3) 0 var(--s5); color: var(--chrome); }
.rev-meta span { color: var(--z-sun); letter-spacing: .1em; margin-right: var(--s2); }
.rev-list { display: grid; gap: 0; }
.q { margin: 0; padding: var(--s5) 0; border-top: 1px solid var(--line); }
.q p { font-size: var(--t-lg); line-height: 1.45; max-width: 52ch; }
.q-big p { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); line-height: 1.2; font-style: italic; font-weight: 600; font-variation-settings: "wdth" 108; }
.q-big { border-top: 2px solid var(--z); padding-top: var(--s5); }
.q footer { margin-top: var(--s3); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---------- cursos ---------- */
.course { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-height: 520px; padding-top: var(--s8); }
.course > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: .5; }
.course::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--ink) 15%, rgba(8,9,10,.4) 70%, rgba(8,9,10,.7)); }
.course-in { max-width: 560px; }
.course .btn { margin-top: var(--s5); margin-left: 6px; }
@media (min-width: 960px) {
  .course { align-items: center; min-height: 560px; }
  .course > img { left: 42%; width: 58%; opacity: .75; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
  .course::before { background: linear-gradient(90deg, var(--ink) 40%, rgba(8,9,10,.2) 75%, transparent); }
}

/* ---------- visita ---------- */
.visit { display: grid; gap: var(--s6); }
.visit-photo { display: none; }
.visit-info .h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); }
.addr { color: var(--chrome); margin-top: var(--s3); }
.nw { white-space: nowrap; }
.open { margin: var(--s5) 0 var(--s3); font-weight: 600; min-height: 1.5em; }
.open .on { color: var(--ok); }
.open .off { color: var(--warn); }
.hours { border-collapse: collapse; width: 100%; max-width: 380px; font-size: var(--t-sm); }
.hours th, .hours td { padding: var(--s2) 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--chrome); font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { color: var(--z-hot); font-weight: 700; }
.hours tr.today th::after { content: " · hoje"; font-weight: 500; }
.visit-btns { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s4); margin-top: var(--s6); padding-left: 6px; }
.visit-map { position: relative; min-height: 340px; background: var(--panel); margin: 0 calc(var(--gut) * -1); }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg); }
@media (min-width: 760px) { .visit-map { margin: 0; } }
@media (min-width: 1100px) {
  .visit { grid-template-columns: .85fr 1.1fr 1.15fr; gap: var(--s6); align-items: stretch; }
  .visit-photo { display: block; margin: 0; }
  .visit-photo img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%); }
  .visit-map { min-height: 100%; }
}

/* ---------- final + rodapé ---------- */
.end { text-align: center; padding: var(--s9) var(--gut); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.end::before { content: ""; position: absolute; left: 50%; top: 0; width: min(900px, 90%); height: 2px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, #fff, transparent); box-shadow: 0 0 40px 8px rgba(255,255,255,.15); }
.end-t { font-size: clamp(2.25rem, 1rem + 6vw, 6.5rem); line-height: .92; font-weight: 850; font-style: italic; text-transform: uppercase; font-variation-settings: "wdth" 125; text-wrap: balance; }
.end-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s4) var(--s5); margin-top: var(--s7); }
.foot { display: grid; justify-items: center; gap: var(--s3); text-align: center; padding: var(--s7) var(--gut) calc(var(--s7) + 72px); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--t-sm); }
.foot img { width: 110px; mix-blend-mode: lighten; }
.foot a { color: var(--chrome); text-underline-offset: 3px; }
.foot a:hover { color: var(--white); }
.foot-c { font-size: var(--t-xs); }
@media (min-width: 960px) { .foot { padding-bottom: var(--s7); } }

/* ---------- dock mobile ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4);
  padding: var(--s3) var(--gut) calc(var(--s3) + env(safe-area-inset-bottom)); background: rgba(8,9,10,.96); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform var(--t-med) var(--ease);
}
.dock.is-on { transform: none; }
.dock .btn { width: calc(100% - 8px); margin-left: 4px; }
@media (min-width: 960px) { .dock { display: none; } }

/* ---------- revelação ---------- */
.motion .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.motion .rv.in { opacity: 1; transform: none; }
.motion .hero-t .ln { opacity: 0; transform: translateX(-40px) skewX(-8deg); animation: lnIn .9s var(--ease) forwards; }
.motion .hero-t .ln:nth-child(2) { animation-delay: .1s; }
.motion .hero-t .ln:nth-child(3) { animation-delay: .2s; }
@keyframes lnIn { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
