/* ==========================================================================
   TAPEÇARIA JUMBO — Site público
   ========================================================================== */

/* ---------------- NAVBAR ---------------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s, height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(8, 8, 10, 0.72); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); --nav-h: 66px; }
.nav .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 48px; width: auto; transition: height 0.4s var(--ease); filter: drop-shadow(0 6px 18px rgba(227, 20, 28, 0.25)); }
.nav.scrolled .brand img { height: 40px; }
.brand-text { display: grid; line-height: 1; }
.brand-text b { font-family: var(--display); font-style: italic; font-weight: 800; font-stretch: 115%; font-size: 17px; letter-spacing: 0.02em; }
.brand-text small { font-size: 10px; color: var(--muted); letter-spacing: 0.24em; text-transform: uppercase; margin-top: 4px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  position: relative; padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--text-2);
  border-radius: 999px; transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 16px; height: 2px; margin-left: -8px; border-radius: 2px; background: var(--red-2); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-burger { display: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(8, 8, 10, 0.97); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; padding: 100px 28px 40px;
  opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
}
.mobile-menu::before { content: ''; position: absolute; inset: 0; background: var(--quilt); opacity: 0.12; pointer-events: none; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a.mm-link {
  position: relative; display: flex; align-items: center; justify-content: space-between; padding: 14px 0;
  font-family: var(--display); font-style: italic; font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 34px;
  border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(20px); transition: 0.5s var(--ease);
}
.mobile-menu.open a.mm-link { opacity: 1; transform: none; }
.mobile-menu a.mm-link .ic { color: var(--red-2); width: 26px; height: 26px; }
.mm-foot { position: relative; margin-top: 32px; display: grid; gap: 12px; }

/* barra inferior estilo app (mobile) */
.tabbar {
  position: fixed; z-index: 98; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: none; grid-template-columns: repeat(5, 1fr); align-items: center; height: 66px; padding: 0 6px;
  background: rgba(20, 20, 24, 0.82); backdrop-filter: blur(20px) saturate(1.5); border: 1px solid var(--line-2);
  border-radius: 22px; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
}
.tabbar a { display: grid; place-items: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: var(--muted); padding: 6px 0; transition: color 0.25s; }
.tabbar a .ic { width: 22px; height: 22px; }
.tabbar a.active { color: #fff; }
.tabbar a.active .ic { color: var(--red-2); }
.tabbar .tab-main { position: relative; top: -16px; }
.tabbar .tab-main span.bubble {
  width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; background: var(--red-grad);
  box-shadow: var(--shadow-red); color: #fff;
}
.tabbar .tab-main span.bubble .ic { width: 24px; height: 24px; }
.tabbar .tab-main em { font-style: normal; color: #fff; margin-top: 6px; }

/* ---------------- HERO ---------------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--nav-h) + 40px) 0 60px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg::before { content: ''; position: absolute; inset: -10%; background: var(--quilt); background-size: 64px; opacity: 0.55; transform: perspective(900px) rotateX(58deg) translateY(-6%) scale(1.6); transform-origin: 50% 100%; mask-image: radial-gradient(ellipse 70% 60% at 50% 70%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 70%, #000 20%, transparent 75%); animation: quiltDrift 40s linear infinite; }
@keyframes quiltDrift { to { background-position: 0 640px; } }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 40% at 75% 45%, rgba(227, 20, 28, 0.28), transparent 70%), radial-gradient(ellipse 40% 50% at 10% 10%, rgba(227, 20, 28, 0.12), transparent 70%), linear-gradient(180deg, transparent 60%, var(--bg)); }
.hero-arc { position: absolute; z-index: -1; left: 50%; top: 10%; width: 90vw; max-width: 1300px; aspect-ratio: 2.4/1; border-radius: 50%; border-top: 2px solid var(--red); opacity: 0.5; filter: drop-shadow(0 0 22px var(--red)); transform: translateX(-30%); animation: arc 6s var(--ease) infinite alternate; }
@keyframes arc { to { opacity: 0.25; } }
.hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 56px; align-items: center; }
.hero-grid > *, .config > *, .q-wrap > *, .section-head > * { min-width: 0; }
.hero h1 { font-size: clamp(42px, 5vw, 76px); margin: 22px 0 22px; }
.hero h1 .line > span { white-space: nowrap; }
.hero h1 .line { display: block; overflow: hidden; padding: 0.04em 0.06em 0.06em 0; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.1s var(--ease) forwards; animation-delay: calc(0.15s + var(--i) * 0.12s); }
@keyframes lineUp { to { transform: none; } }
.hero .lead { opacity: 0; animation: fadeUp 1s var(--ease) 0.6s forwards; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; opacity: 0; animation: fadeUp 1s var(--ease) 0.75s forwards; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; opacity: 0; animation: fadeUp 1s var(--ease) 0.9s forwards; }
.hero-trust div { display: flex; gap: 12px; align-items: center; font-size: 13.5px; color: var(--text-2); line-height: 1.3; }
.hero-trust div .ic { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: rgba(227, 20, 28, 0.1); color: var(--red-2); border: 1px solid rgba(227, 20, 28, 0.25); }
.hero-trust b { display: block; color: #fff; font-size: 14.5px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.hero-visual { position: relative; justify-self: center; opacity: 0; animation: heroIn 1.4s var(--ease) 0.3s forwards; }
@keyframes heroIn { from { opacity: 0; transform: translateY(40px) scale(0.96); } to { opacity: 1; transform: none; } }
.reel {
  position: relative; width: min(360px, 78vw); aspect-ratio: 9 / 16; border-radius: 36px; overflow: hidden;
  background: #000; box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 80px -20px var(--red-glow);
}
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 22%, transparent 60%, rgba(0, 0, 0, 0.75) 100%); pointer-events: none; }
.reel-top { position: absolute; z-index: 2; inset: 14px 14px auto; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.reel-top img { width: 34px; height: 34px; border-radius: 50%; object-fit: contain; background: #0c0c0e; border: 2px solid var(--red); padding: 2px; }
.reel-bars { position: absolute; z-index: 2; inset: 8px 14px auto; display: flex; gap: 4px; }
.reel-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.35); overflow: hidden; }
.reel-bars i::after { content: ''; display: block; height: 100%; width: 0; background: #fff; }
.reel-bars i.done::after { width: 100%; }
.reel-bars i.run::after { animation: bar 14s linear forwards; }
@keyframes bar { to { width: 100%; } }
.reel-cap { position: absolute; z-index: 2; inset: auto 18px 20px; }
.reel-cap b { display: block; font-family: var(--display); font-style: italic; font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 24px; line-height: 1; }
.reel-cap span { font-size: 13px; color: var(--text-2); }
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border-radius: 18px; background: rgba(22, 22, 27, 0.78); border: 1px solid var(--line-2); backdrop-filter: blur(16px);
  box-shadow: var(--shadow); font-size: 13px; line-height: 1.25; animation: floaty 6s ease-in-out infinite;
}
.float-card .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--red-grad); color: #fff; }
.float-card b { display: block; font-size: 14px; }
.float-card span { color: var(--muted); }
.fc-1 { left: -110px; top: 20%; }
.fc-2 { right: -110px; bottom: 20%; animation-delay: -3s; }
.fc-logo { position: absolute; z-index: 3; left: 50%; top: -64px; margin-left: -70px; width: 140px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8)); animation: floaty 7s ease-in-out infinite; animation-delay: -1.5s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

/* destaques (stories) */
.highlights { display: flex; gap: 18px; margin-top: 46px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; opacity: 0; animation: fadeUp 1s var(--ease) 1.05s forwards; }
.highlights::-webkit-scrollbar { display: none; }
.hl { display: grid; justify-items: center; gap: 8px; flex: none; font-size: 12px; font-weight: 600; color: var(--text-2); }
.hl-ring { width: 70px; height: 70px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #ff3a40, #8c080d, #ffffff, #ff3a40); transition: transform 0.35s var(--ease); }
.hl:hover .hl-ring { transform: scale(1.06); }
.hl-ring > span { display: block; width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--bg); overflow: hidden; background: var(--surface); }
.hl-ring img { width: 100%; height: 100%; object-fit: cover; }
.hl-ring img.contain { object-fit: contain; padding: 6px; background: #0c0c0e; }

/* ---------------- MARQUEE ---------------- */
main { overflow-x: hidden; overflow-x: clip; }
.marquee { position: relative; overflow: hidden; background: var(--red-grad); padding: 18px 0; margin: 0; box-shadow: 0 20px 60px -20px var(--red-glow); }
.marquee::before { content: ''; position: absolute; inset: 0; background: var(--quilt-soft); opacity: 0.6; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--display); font-style: italic; font-weight: 800; font-stretch: 115%; text-transform: uppercase; font-size: clamp(20px, 2.4vw, 30px); white-space: nowrap; color: #fff; }
.marquee-track span svg { width: 22px; height: 22px; opacity: 0.8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- SEÇÕES ---------------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 54px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(36px, 5vw, 66px); margin: 16px 0 0; max-width: 16ch; }
.section-head p { max-width: 46ch; color: var(--text-2); margin: 0; }
.section-dark { background: var(--bg-2); }
.section-quilt::before { content: ''; position: absolute; inset: 0; background: var(--quilt-soft); pointer-events: none; mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); }

/* diferenciais */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feat { background: var(--bg); padding: 34px 28px; transition: background 0.4s; }
.feat:hover { background: var(--surface); }
.feat .ic { width: 30px; height: 30px; color: var(--red-2); margin-bottom: 22px; }
.feat h3 { margin: 0 0 8px; font-size: 18px; }
.feat p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* serviços */
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.tabs button { height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: 0.3s var(--ease); }
.tabs button.on { background: #fff; color: #0b0b0d; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  position: relative; display: flex; flex-direction: column; padding: 30px; min-height: 290px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%); border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
}
.svc::before { content: ''; position: absolute; inset: 0; background: var(--quilt); background-size: 44px; opacity: 0; transition: opacity 0.5s; mask-image: radial-gradient(circle at 100% 0%, #000, transparent 65%); -webkit-mask-image: radial-gradient(circle at 100% 0%, #000, transparent 65%); }
.svc:hover { transform: translateY(-6px); border-color: rgba(227, 20, 28, 0.45); box-shadow: 0 30px 60px -30px var(--red-glow); }
.svc:hover::before { opacity: 0.9; }
.svc-ic { position: relative; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: rgba(227, 20, 28, 0.1); border: 1px solid rgba(227, 20, 28, 0.3); color: var(--red-2); margin-bottom: 26px; transition: 0.5s var(--ease); }
.svc-ic .ic { width: 28px; height: 28px; }
.svc:hover .svc-ic { background: var(--red-grad); color: #fff; transform: translateY(-2px); }
.svc h3 { position: relative; margin: 0 0 10px; font-size: 21px; letter-spacing: -0.01em; }
.svc p { position: relative; margin: 0 0 24px; color: var(--muted); font-size: 14.5px; flex: 1; }
.svc .svc-link { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #fff; }
.svc .svc-link .ic { width: 18px; height: 18px; transition: transform 0.35s var(--ease); color: var(--red-2); }
.svc:hover .svc-link .ic { transform: translateX(5px); }
.svc .price { position: absolute; top: 26px; right: 26px; font-size: 12px; font-weight: 700; color: var(--text-2); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; }
.svc.hide { display: none; }

/* configurador de acabamento */
.config { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.swatch-stage { position: relative; aspect-ratio: 1 / 1; border-radius: 40px; overflow: hidden; box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.quilt-panel { position: absolute; inset: 0; transition: background-color 0.6s var(--ease); background-color: var(--base, #1c1c20); }
.quilt-panel::before { content: ''; position: absolute; inset: 0; background-image: var(--pattern); background-size: var(--size, 72px); transition: opacity 0.4s; }
.quilt-panel::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.18), transparent 50%), radial-gradient(ellipse at 80% 100%, rgba(0, 0, 0, 0.55), transparent 60%); }
.swatch-stage .seat-band { position: absolute; z-index: 2; inset: auto 0 0; padding: 26px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8)); display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.swatch-stage .seat-band b { font-family: var(--display); font-style: italic; font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 26px; line-height: 1; }
.swatch-stage .seat-band span { color: var(--text-2); font-size: 13px; }
.opt-group { margin-top: 28px; }
.opt-group .label { display: block; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--text-2); transition: 0.25s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.chip:hover { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.chip.on { border-color: var(--red); background: rgba(227, 20, 28, 0.12); color: #fff; box-shadow: inset 0 0 0 1px var(--red); }
.colors { display: flex; flex-wrap: wrap; gap: 12px; }
.color { width: 44px; height: 44px; border-radius: 50%; border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); position: relative; transition: transform 0.25s var(--ease); }
.color:hover { transform: scale(1.08); }
.color.on { border-color: #fff; }
.color.on::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); }

/* galeria bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 14px; grid-auto-flow: dense; }
.tile { position: relative; overflow: hidden; border-radius: 22px; background: var(--surface); cursor: zoom-in; isolation: isolate; }
.bento .tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento .tile:nth-child(2) { grid-row: span 2; }
.bento .tile:nth-child(5), .bento .tile:nth-child(6) { grid-column: span 2; }
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s; }
.tile:hover img, .tile:hover video { transform: scale(1.06); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.85)); opacity: 0.8; transition: opacity 0.4s; }
.tile-cap { position: absolute; z-index: 2; inset: auto 18px 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; transform: translateY(6px); transition: transform 0.4s var(--ease); }
.tile:hover .tile-cap { transform: none; }
.tile-cap b { font-size: 15px; }
.tile-cap small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; }
.tile-badge { position: absolute; z-index: 2; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(8px); border: 1px solid var(--line-2); }
.tile-badge .ic { width: 16px; height: 16px; }

/* processo */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--red) 0 8px, transparent 8px 16px); opacity: 0.5; }
.step { position: relative; padding: 0 6px; }
.step-n { position: relative; width: 68px; height: 68px; border-radius: 22px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); margin-bottom: 24px; transition: 0.5s var(--ease); }
.step-n .ic { color: var(--red-2); width: 26px; height: 26px; }
.step:hover .step-n { background: var(--red-grad); border-color: transparent; box-shadow: var(--shadow-red); }
.step:hover .step-n .ic { color: #fff; }
.step small { color: var(--red-2); font-weight: 800; font-size: 12px; letter-spacing: 0.2em; }
.step h3 { margin: 6px 0 8px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* reels */
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.reel-card { position: relative; aspect-ratio: 9/16; border-radius: 26px; overflow: hidden; scroll-snap-align: start; background: #000; border: 1px solid var(--line); cursor: pointer; }
.reel-card video, .reel-card img { width: 100%; height: 100%; object-fit: cover; }
.reel-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.85)); pointer-events: none; }
.reel-card .rc-play { position: absolute; z-index: 2; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.3); transition: 0.35s var(--ease); }
.reel-card:hover .rc-play { transform: scale(1.1); background: var(--red); }
.reel-card .rc-cap { position: absolute; z-index: 2; inset: auto 16px 16px; font-weight: 700; font-size: 14px; }
.reel-card.ig { display: grid; place-items: center; text-align: center; padding: 26px; background: radial-gradient(circle at 30% 20%, rgba(227, 20, 28, 0.35), transparent 60%), var(--surface); }
.reel-card.ig::after { display: none; }
.ig-ring { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%; padding: 3px; background: conic-gradient(#ff3a40, #f2b33d, #ff3a40, #8c080d, #ff3a40); }
.ig-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; background: #0c0c0e; border: 3px solid var(--surface); padding: 6px; }

/* unidades */
.units { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.unit { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.unit-map { position: relative; height: 260px; background: var(--surface-2); }
.unit-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9) brightness(0.9); }
.unit-map .map-ph { position: absolute; inset: 0; display: grid; place-items: center; background: var(--quilt-soft), radial-gradient(circle at 50% 50%, rgba(227, 20, 28, 0.18), transparent 60%), var(--surface-2); }
.unit-map .map-ph button { display: inline-flex; gap: 10px; align-items: center; }
.unit-body { padding: 28px; display: grid; gap: 18px; flex: 1; }
.unit-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.unit-head h3 { margin: 6px 0 0; font-size: 26px; }
.unit-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.unit-list li { display: flex; gap: 12px; color: var(--text-2); font-size: 15px; }
.unit-list .ic { color: var(--red-2); margin-top: 3px; }
.unit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.3s; }
.faq details[open] { border-color: rgba(227, 20, 28, 0.4); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 26px; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform 0.35s var(--ease); color: var(--red-2); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 26px 24px; color: var(--text-2); }

/* CTA final */
.cta-band { position: relative; overflow: hidden; border-radius: 40px; padding: clamp(48px, 7vw, 90px); background: var(--red-grad); isolation: isolate; box-shadow: 0 40px 100px -40px var(--red-glow); }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--quilt); background-size: 70px; opacity: 0.55; mix-blend-mode: multiply; }
.cta-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.28), transparent 45%); }
.cta-band h2 { font-size: clamp(38px, 5.2vw, 76px); margin: 0 0 18px; max-width: 13ch; }
.cta-band p { max-width: 50ch; color: rgba(255, 255, 255, 0.85); font-size: 18px; margin: 0 0 32px; }
.cta-band .cta-logo { position: absolute; right: 3%; bottom: -4%; width: min(33%, 420px); opacity: 0.95; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5)); }

/* footer */
.footer { padding: 90px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { margin: 0 0 18px; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a, .footer ul li { color: var(--text-2); font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.footer ul a:hover { color: #fff; }
.footer ul .ic { color: var(--red-2); margin-top: 3px; }
.footer-brand img { width: 180px; height: auto; margin: 0 0 20px; display: block; }
.footer-brand p { color: var(--muted); max-width: 34ch; font-size: 14.5px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-bottom a:hover { color: #fff; }

/* whatsapp flutuante */
.wa-float { position: fixed; z-index: 97; right: 22px; bottom: 22px; }
.wa-btn { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #1fa855; color: #fff; box-shadow: 0 18px 40px -10px rgba(31, 168, 85, 0.6); transition: transform 0.35s var(--ease); position: relative; }
.wa-btn::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1fa855; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 70%, 100% { transform: scale(1.6); opacity: 0; } }
.wa-btn:hover { transform: scale(1.06); }
.wa-btn .ic { width: 30px; height: 30px; }
.wa-pop { position: absolute; right: 0; bottom: 76px; width: 300px; padding: 18px; border-radius: 22px; background: rgba(22, 22, 27, 0.95); backdrop-filter: blur(16px); border: 1px solid var(--line-2); box-shadow: var(--shadow); opacity: 0; transform: translateY(10px) scale(0.97); transform-origin: bottom right; pointer-events: none; transition: 0.35s var(--ease); }
.wa-float.open .wa-pop { opacity: 1; transform: none; pointer-events: auto; }
.wa-pop h5 { margin: 0 0 4px; font-size: 16px; }
.wa-pop p { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.wa-pop a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); margin-top: 8px; transition: 0.25s; }
.wa-pop a:hover { border-color: #1fa855; }
.wa-pop a .ic { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: rgba(31, 168, 85, 0.15); color: #2fd472; }
.wa-pop a b { display: block; font-size: 14px; }
.wa-pop a span { font-size: 12px; color: var(--muted); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 5, 6, 0.96); backdrop-filter: blur(10px); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity 0.35s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-stage { width: min(92vw, 1100px); height: min(82vh, 900px); display: grid; place-items: center; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; border-radius: 18px; object-fit: contain; box-shadow: var(--shadow); }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; color: var(--text-2); font-size: 14px; }
.lb-close, .lb-prev, .lb-next { position: absolute; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* page hero (subpáginas) */
.page-hero { position: relative; padding: calc(var(--nav-h) + 70px) 0 50px; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: var(--quilt); background-size: 56px; opacity: 0.3; mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent); }
.page-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 80% 0%, rgba(227, 20, 28, 0.25), transparent 70%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(40px, 6vw, 80px); margin: 16px 0 14px; }
.gallery-grid { columns: 3 300px; column-gap: 14px; }
.gallery-grid .tile { break-inside: avoid; margin-bottom: 14px; display: block; }
.gallery-grid .tile img, .gallery-grid .tile video { position: relative; height: auto; }

.hero-mobile-media { display: none; position: relative; margin-top: 34px; border-radius: 26px; overflow: hidden; aspect-ratio: 4/5; border: 1px solid var(--line-2); box-shadow: 0 0 60px -20px var(--red-glow); }

/* ---------------- RESPONSIVO ---------------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-cta .btn-label { display: none; }
  .nav-burger { display: grid; }
  .nav-cta { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { display: none; }
  .hero-mobile-media { display: block; max-width: 640px; aspect-ratio: 16 / 10; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 230px; }
  .bento .tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .bento .tile:nth-child(2) { grid-row: span 1; }
  .bento .tile:nth-child(5) { grid-column: span 1; }
  .bento .tile:nth-child(6) { grid-column: span 2; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .config { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  body { padding-bottom: 92px; }
  .tabbar { display: grid; }
  .wa-float { bottom: 100px; right: 16px; }
  .wa-btn { width: 56px; height: 56px; }
  .nav-cta .btn-red { display: none; }
  .brand img { height: 40px; }
  .brand-text { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 30px); }
  .hero h1 { font-size: min(calc((100vw - 32px) / 9.6), 48px); }
  .hero-mobile-media { aspect-ratio: 4 / 5; }
  .hero-trust { gap: 16px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .services { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .feats { grid-template-columns: 1fr; }
  .bento { grid-auto-rows: 170px; gap: 10px; }
  .units { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand img { margin: 0 auto 20px; }
  .footer-brand p { margin-inline: auto; }
  .socials { justify-content: center; }
  .footer ul a, .footer ul li { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .tabs button { flex: none; white-space: nowrap; }
  .steps { grid-template-columns: 1fr; }
  .cta-band .cta-logo { position: relative; right: auto; bottom: auto; width: 70%; margin: 30px auto -20px; }
  .section-head { margin-bottom: 36px; }
  .tabs { width: 100%; overflow-x: auto; }
  .tabs button { flex: 1; padding: 0 12px; }
}
.hero-mobile-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-mobile-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.7)); }
.hero-mobile-media .reel-cap { z-index: 2; }

/* ---------------- PWA ---------------- */
.pwa-banner { position: fixed; z-index: 120; left: 12px; right: 12px; bottom: calc(90px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 20px; background: rgba(22, 22, 27, 0.96); backdrop-filter: blur(16px); border: 1px solid var(--line-2); box-shadow: var(--shadow); transform: translateY(20px); opacity: 0; transition: 0.4s var(--ease); }
.pwa-banner.in { transform: none; opacity: 1; }
.pwa-banner img { border-radius: 12px; flex: none; }
.pwa-banner div { flex: 1; min-width: 0; line-height: 1.25; }
.pwa-banner b { display: block; font-size: 14px; }
.pwa-banner span { font-size: 12.5px; color: var(--muted); }
.pwa-x { width: 32px; height: 32px; display: grid; place-items: center; color: var(--muted); flex: none; }
