/* ==========================================================================
   ANIMAÇÕES DO SITE DA DRA. BRUNA
   Tudo aqui é aditivo: apaga-se este arquivo e o lab.js e o site volta ao original.
   Os efeitos não escolhidos ficam desligados pelo atributo data-lab-off no <html> (definido em lab.js).
   ========================================================================== */

@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* ---------- Transição entre páginas (View Transitions, entre documentos) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: lab-vt-out .38s ease both; }
::view-transition-new(root) { animation: lab-vt-in .6s var(--ease) both; }
.top { view-transition-name: lab-top; }
@keyframes lab-vt-out { to { opacity: 0; transform: translateY(-12px) scale(.992); filter: blur(4px); } }
@keyframes lab-vt-in { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } }

/* ---------- Base ---------- */
body { transition: background-color 1.2s ease; }
.btn { position: relative; overflow: hidden; }
.btn .lab-rip { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .38); transform: scale(0); pointer-events: none; animation: lab-rip .75s ease-out forwards; }
@keyframes lab-rip { to { transform: scale(1); opacity: 0; } }

/* Barra de progresso de leitura */
.lab-bar { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 120; pointer-events: none; }
.lab-bar i { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-d), var(--gold), var(--gold-l)); box-shadow: 0 0 12px rgba(196,145,77, .7); }

/* Cabeçalho que some ao descer e volta ao subir */
.top { transition: transform .5s var(--ease), box-shadow .4s; }
.top.lab-hide { transform: translateY(-100%); }
.top.lab-solid { box-shadow: 0 14px 32px -24px rgba(14,48,41, .55); }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Cursor com anel e rastro de brilho */
.lab-cur, .lab-dot { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 300; opacity: 0; transition: opacity .3s; }
.lab-cur-on .lab-cur, .lab-cur-on .lab-dot { opacity: 1; }
.lab-cur { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
.lab-cur::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--gold); transition: transform .35s var(--ease), background-color .35s; }
.lab-cur.is-h::before { transform: scale(1.8); background: rgba(196,145,77, .16); }
.lab-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gold-d); }
.lab-spark { position: fixed; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; pointer-events: none; z-index: 299; background: radial-gradient(circle, #fff 0, var(--gold-l) 40%, transparent 70%); }
.lab-burst { position: fixed; left: 0; top: 0; width: 7px; height: 7px; margin: -3px 0 0 -3px; border-radius: 2px; pointer-events: none; z-index: 301; background: var(--gold); }

/* Brilho dourado que passa pelas palavras em destaque dos títulos */
.js .split strong .w { background: linear-gradient(100deg, var(--gold-d) 28%, #f1d9a2 46%, var(--gold-d) 64%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: lab-shim 5.5s linear infinite; }
.sec--dark .split strong .w, .cta__card .split strong .w { background-image: linear-gradient(100deg, var(--gold-l) 28%, #fff 46%, var(--gold-l) 64%); }
@keyframes lab-shim { from { background-position: 130% 0; } to { background-position: -130% 0; } }

/* ---------- Abertura (splash) ---------- */
.lab-splash { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: var(--brown-d); color: #fff; clip-path: inset(0); transition: clip-path 1s cubic-bezier(.77, 0, .18, 1); }
.lab-splash.out { clip-path: inset(0 0 100% 0); }
.lab-splash__in { display: grid; justify-items: center; gap: 18px; }
.lab-splash img { width: 82px; height: auto; opacity: 0; animation: lab-up .9s var(--ease) forwards; }
.lab-splash rect { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); animation: lab-bars .9s var(--ease) forwards; }
.lab-splash rect:nth-child(2) { animation-delay: .12s; }
.lab-splash rect:nth-child(3) { animation-delay: .24s; }
@keyframes lab-bars { to { transform: scaleY(1); } }
.lab-splash__n { font: 300 clamp(1.2rem, 3vw, 1.7rem)/1 var(--font); letter-spacing: .32em; text-transform: uppercase; opacity: 0; animation: lab-up .8s var(--ease) .55s forwards; }
.lab-splash__l { width: 160px; height: 1.5px; background: var(--gold); transform: scaleX(0); animation: lab-line 1s var(--ease) .7s forwards; }
@keyframes lab-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes lab-line { to { transform: scaleX(1); } }
.lab-splash-on .hero .reveal { transition-delay: calc(var(--i, 0) * 90ms + 1.9s); }
.lab-splash-on .hero .split .w { transition-delay: calc(var(--i, 0) * 55ms + 1.9s); }

/* ---------- Herói ---------- */
.lab-aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.lab-aurora i { position: absolute; border-radius: 50%; filter: blur(72px); opacity: .55; animation: lab-aur 19s ease-in-out infinite alternate; }
.lab-aurora i:nth-child(1) { width: 40vw; height: 40vw; right: 2%; top: -14%; background: #e0bd88; }
.lab-aurora i:nth-child(2) { width: 32vw; height: 32vw; left: -8%; bottom: 4%; background: #e6bfa0; animation-duration: 24s; animation-delay: -6s; }
.lab-aurora i:nth-child(3) { width: 24vw; height: 24vw; left: 36%; top: 30%; background: #f7e7c6; animation-duration: 17s; animation-delay: -11s; }
@keyframes lab-aur { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(6vw, 4vw, 0) scale(1.18); } 100% { transform: translate3d(-4vw, 7vw, 0) scale(.92); } }
.lab-flow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.lab-open { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; padding: 7px 16px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .72); color: var(--brown); font-size: .85rem; line-height: 1.3; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lab-open small { color: var(--muted); font-size: .8rem; }
.lab-open__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #b0bf84; flex: none; }
.lab-open.is-open .lab-open__dot { background: #4f9d63; }
.lab-open.is-open .lab-open__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #4f9d63; animation: lab-ping 1.8s ease-out infinite; }
@keyframes lab-ping { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }

.deck__ph img { animation: lab-kb 18s ease-in-out infinite alternate; }
@keyframes lab-kb { from { transform: scale(1); } to { transform: scale(1.09) translate(-1.5%, -1%); } }

.lab-halo { position: absolute; inset: -9% -7%; z-index: 0; pointer-events: none; }
.lab-halo i { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(196,145,77, .55); animation: lab-spin 38s linear infinite; }
.lab-halo i:nth-child(2) { inset: 6%; border-style: solid; border-color: rgba(196,145,77, .25); animation-duration: 56s; animation-direction: reverse; }
.lab-halo i:nth-child(3) { inset: -5%; border-color: rgba(134, 96, 42, .3); animation-duration: 74s; }
.lab-halo i::after { content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px 2px var(--gold); }
@keyframes lab-spin { to { transform: rotate(360deg); } }

.lab-orb { position: absolute; z-index: 3; pointer-events: none; transform: translate(calc(var(--mx, 0) * var(--z, 20) * 1px), calc(var(--my, 0) * var(--z, 20) * 1px)); transition: transform .35s ease-out; }
.lab-orb > span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 999px; background: #fff; color: var(--brown); font: 500 .85rem/1 var(--font); box-shadow: 0 16px 32px -16px rgba(14,48,41, .55); animation: lab-float 6.5s ease-in-out infinite; }
.lab-orb .ic { width: 16px; height: 16px; color: var(--gold-d); }
.lab-orb--1 { left: -7%; top: 10%; }
.lab-orb--2 { right: -7%; top: 30%; }
.lab-orb--2 > span { animation-delay: -2s; }
.lab-orb--3 { left: -9%; bottom: 24%; }
.lab-orb--3 > span { animation-delay: -4s; }
.lab-orb--4 { right: -5%; bottom: 14%; }
.lab-orb--4 > span { animation-delay: -1s; }
@keyframes lab-float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
@media (max-width: 760px) { .lab-orb--1 { left: -2%; } .lab-orb--2 { right: -2%; } .lab-orb--3 { left: -3%; } .lab-orb--4 { right: -1%; } .lab-orb > span { font-size: .78rem; padding: 7px 12px 7px 9px; } .lab-halo { inset: -4% -3%; } }

/* Inclinação 3D com brilho que segue o ponteiro */
.lab-t { position: relative; }
.lab-t > .lab-sheen { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5; opacity: 0; transition: opacity .35s; background: radial-gradient(280px circle at var(--sx, 50%) var(--sy, 50%), rgba(240,225,190, .42), transparent 62%); mix-blend-mode: soft-light; }
.lab-t:hover > .lab-sheen { opacity: 1; }

/* ---------- Quem conduz ---------- */
.lab-sign { display: grid; gap: 2px; width: min(420px, 100%); margin-top: 6px; cursor: pointer; }
.lab-sign svg { width: 100%; height: auto; overflow: visible; }
.lab-sign figcaption { font-size: .8rem; color: var(--muted); letter-spacing: .02em; }
.lab-sign__t { font: 400 112px/1 "Allura", "Snell Roundhand", "Brush Script MT", cursive; fill: var(--brown); fill-opacity: 0; stroke: var(--gold-d); stroke-width: 1.1; }
.lab-sign__u { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.lab-sign__nib { fill: var(--gold-l); opacity: 0; filter: drop-shadow(0 0 7px var(--gold)); }
.lab-years { display: flex; align-items: baseline; gap: 14px; margin: 0; }
.lab-years b { font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 300; line-height: 1; letter-spacing: -.04em; color: var(--gold-d); font-variant-numeric: tabular-nums; }
.lab-years span { color: var(--muted); font-size: .95rem; max-width: 18em; line-height: 1.4; }

.miles > .lab-trav, .flow > .lab-trav { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-l); border: 2px solid var(--gold-d); box-shadow: 0 0 0 5px rgba(196,145,77, .25), 0 0 18px 2px rgba(196,145,77, .8); pointer-events: none; z-index: 2; }
.miles > .lab-trav { left: 1px; top: calc(8px + (100% - 16px) * var(--p, 0) - 7px); }
.flow > .lab-trav { left: 15px; top: calc(22px + (100% - 44px) * var(--p, 0) - 7px); }
.flow li.in .num { animation: lab-num 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + .35s); }
@keyframes lab-num { 0% { box-shadow: 0 0 0 0 rgba(196,145,77, .65); transform: scale(.7); } 60% { transform: scale(1.12); } 100% { box-shadow: 0 0 0 16px rgba(196,145,77, 0); transform: scale(1); } }
.cred.in .ic { animation: lab-pop .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 120ms + .3s); }
@keyframes lab-pop { 0% { transform: scale(0) rotate(-120deg); } 70% { transform: scale(1.18) rotate(8deg); } 100% { transform: none; } }

/* ---------- Comparador arrastável ---------- */
.lab-cmpwrap { display: grid; justify-items: start; gap: 16px; padding-top: clamp(56px, 8vw, 112px); position: relative; }
.lab-cmph { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; max-width: 16em; color: #fff; }
.lab-cmph strong { color: var(--gold-l); }
.lab-cmpsub { color: #d2dbb8; max-width: 40em; }
.lab-cmp { position: relative; width: 100%; aspect-ratio: 800 / 460; margin-top: 8px; border-radius: 28px; overflow: hidden; background: #0b211b; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .8); }
.lab-cmp svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lab-cmp__a, .lab-cmp__b { position: absolute; inset: 0; }
.lab-cmp__a { background: #0d261f; }
.lab-cmp__b { background: radial-gradient(circle at 50% 48%, rgba(196,145,77, .26), transparent 62%), #11342a; clip-path: inset(0 0 0 50%); }
.lab-cmp__loose g > g { animation: lab-drift 7s ease-in-out infinite alternate; }
.lab-cmp__loose g > g:nth-child(2) { animation-delay: -2s; animation-duration: 8s; }
.lab-cmp__loose g > g:nth-child(3) { animation-delay: -4s; animation-duration: 6s; }
.lab-cmp__loose g > g:nth-child(4) { animation-delay: -1s; animation-duration: 9s; }
.lab-cmp__loose g > g:nth-child(5) { animation-delay: -3s; }
@keyframes lab-drift { from { translate: 0 0; rotate: 0deg; } to { translate: 12px -14px; rotate: 1.2deg; } }
.lab-cmp__loose rect { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .22); stroke-dasharray: 5 6; }
.lab-cmp__loose text { fill: #e3e8d3; font: 500 24px var(--font); }
.lab-cmp__loose text.s { fill: #8ea08b; font-size: 16px; font-weight: 300; }
.lab-cmp__web path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .85; }
.lab-cmp.run .lab-cmp__web path { animation: lab-web 3.2s var(--ease) both; }
@keyframes lab-web { from { stroke-dashoffset: 1; } }
.lab-cmp__web .nd circle { fill: #174437; stroke: var(--gold); stroke-width: 2; }
.lab-cmp__web .nd text { fill: var(--gold-l); font: 500 13px var(--font); }
.lab-cmp__core { fill: var(--gold-l); }
.lab-cmp__pulse { fill: none; stroke: var(--gold-l); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: lab-corep 2.4s ease-out infinite; }
@keyframes lab-corep { from { transform: scale(1); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
.lab-cmp__web text.core { fill: var(--brown-d); font: 600 17px var(--font); }
.lab-cmp__cap { position: absolute; bottom: 16px; padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 500; background: rgba(0, 0, 0, .45); color: #e3e8d3; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); max-width: 44%; line-height: 1.3; }
.lab-cmp__cap--a { left: 16px; }
.lab-cmp__cap--b { right: 16px; background: rgba(205,163,103, .92); color: var(--brown-d); text-align: right; }
.lab-cmp__h { position: absolute; top: 0; bottom: 0; left: 50%; width: 48px; margin-left: -24px; padding: 0; border: 0; background: none; cursor: ew-resize; touch-action: none; }
.lab-cmp__h::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--gold-l); box-shadow: 0 0 18px 2px rgba(205,163,103, .7); }
.lab-cmp__h i { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-l); color: var(--brown-d); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); transition: transform .3s var(--ease); }
.lab-cmp__h i svg { position: static; width: 22px; height: 22px; }
.lab-cmp.drag .lab-cmp__h i, .lab-cmp__h:focus-visible i { transform: scale(1.14); }
@media (max-width: 640px) { .lab-cmp { aspect-ratio: 4 / 4.4; } .lab-cmp svg { top: 8%; height: 84%; } .lab-cmp__cap { font-size: .72rem; padding: 6px 12px; bottom: auto; top: 10px; max-width: 46%; } }

/* ---------- Ícones animados da equipe ---------- */
.lab-ic svg { overflow: visible; }
.lab-ic .d, .lab-ic .smile, .lab-ic .eye { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.lab-ic .d { stroke-dasharray: 1; stroke-dashoffset: 1; }
.in .lab-ic .d, .lab-ic.in .d { animation: lab-draw 1.8s var(--ease) .3s forwards; }
@keyframes lab-draw { to { stroke-dashoffset: 0; } }
.lab-ic--leaf svg { transform-origin: 20% 90%; animation: lab-sway 4.5s ease-in-out infinite; }
@keyframes lab-sway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(6deg); } }
.lab-ic--leaf .drop { fill: var(--gold-l); animation: lab-drop 3.2s ease-in infinite; }
@keyframes lab-drop { 0% { transform: translateY(-5px); opacity: 0; } 25% { opacity: 1; } 80% { transform: translateY(3px); opacity: 1; } 100% { transform: translateY(5px); opacity: 0; } }
.lab-ic--mind .smile { transform-box: fill-box; transform-origin: 50% 0; animation: lab-smile 3.6s ease-in-out infinite; }
@keyframes lab-smile { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.12, 1.35); } }
.lab-ic--mind .eye { stroke-width: 2.2; transform-box: fill-box; transform-origin: 50% 50%; animation: lab-blink 4.6s infinite; }
@keyframes lab-blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
.member--ic:hover .mic { animation: lab-wob .7s var(--ease); }
@keyframes lab-wob { 0% { transform: scale(1); } 40% { transform: scale(1.18) rotate(-8deg); } 100% { transform: scale(1); } }

/* ---------- Abas com pílula deslizante + radar ---------- */
.tabs__list { position: relative; }
.tabs__tab { position: relative; z-index: 1; }
.lab-pill { position: absolute; top: 0; left: 0; z-index: 0; border-radius: 999px; background: var(--brown); pointer-events: none; transition: transform .55s var(--ease), width .55s var(--ease), height .55s var(--ease); box-shadow: 0 12px 24px -14px rgba(14,48,41, .7); }
.lab-pill-on .tabs__tab[aria-selected="true"] { background: transparent; }

.lab-radar { display: grid; gap: 24px; align-items: center; margin-top: 24px; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-card); background: var(--bg); }
.lab-radar__txt { display: grid; gap: 14px; justify-items: start; }
.lab-radar__txt h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 400; max-width: 16em; }
.lab-radar__txt p { color: var(--muted); max-width: 30em; }
.lab-radar__legend { display: grid; gap: 8px; }
.lab-radar__legend li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; transition: color .3s, transform .4s var(--ease); }
.lab-radar__legend li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--gold); transition: background .3s; }
.lab-radar__legend li.on { color: var(--brown); font-weight: 500; transform: translateX(6px); }
.lab-radar__legend li.on::before { background: var(--gold); }
.lab-radar__svg { width: min(440px, 100%); justify-self: center; overflow: visible; }
.lab-radar__svg .g { fill: none; stroke: rgba(19,65,55, .13); }
.lab-radar__svg .ax { stroke: rgba(19,65,55, .1); }
.lab-radar__svg .lb { fill: var(--muted); font: 400 10.5px var(--font); }
.lab-radar__svg .sh { fill: rgba(196,145,77, .3); stroke: var(--gold-d); stroke-width: 2; stroke-linejoin: round; }
.lab-radar__svg .pt { fill: var(--gold-d); stroke: #fff; stroke-width: 1.5; }
@media (min-width: 860px) { .lab-radar { grid-template-columns: 1fr 1fr; } }

/* ---------- Cartões de números (anel + contador + estrelas) ---------- */
.lab-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 28px; }
.lab-stat { display: grid; place-items: center; align-content: center; gap: 6px; padding: 22px 16px; border-radius: 24px; background: var(--bg); text-align: center; min-height: 168px; }
.lab-stat b { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 300; line-height: 1; letter-spacing: -.03em; color: var(--brown); font-variant-numeric: tabular-nums; }
.lab-stat span { color: var(--muted); font-size: .9rem; }
.lab-stat:first-child { grid-template-areas: "r" "t"; }
.lab-stat:first-child svg, .lab-stat:first-child b { grid-area: r; }
.lab-stat:first-child span { grid-area: t; }
.lab-ringsvg { width: 112px; height: 112px; transform: rotate(-90deg); }
.lab-stat:first-child b { font-size: 1.9rem; }
.lab-ringsvg circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.lab-ringsvg .bg { stroke: rgba(196,145,77, .25); }
.lab-ringsvg .fg { stroke: var(--gold); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease) .3s; filter: drop-shadow(0 0 5px rgba(196,145,77, .6)); }
.lab-stats.in .lab-ringsvg .fg { stroke-dashoffset: 0; }
.lab-stat .lab-wave { display: inline-flex; gap: 4px; color: var(--gold); }
.lab-wave .ic { width: 24px; height: 24px; animation: lab-wave 1.8s ease-in-out infinite; animation-delay: calc(var(--k, 0) * .14s); }
.lab-wave .ic:nth-child(2) { --k: 1; } .lab-wave .ic:nth-child(3) { --k: 2; } .lab-wave .ic:nth-child(4) { --k: 3; } .lab-wave .ic:nth-child(5) { --k: 4; }
@keyframes lab-wave { 0%, 60%, 100% { transform: translateY(0) scale(1); filter: none; } 30% { transform: translateY(-9px) scale(1.25); filter: drop-shadow(0 0 6px var(--gold)); } }
.lab-rbar { flex: 1; align-self: center; height: 3px; margin-left: 14px; border-radius: 3px; background: rgba(196,145,77, .28); overflow: hidden; }
.lab-rbar i { display: block; height: 100%; transform-origin: left; background: var(--gold); transition: transform .4s var(--ease); }

/* ---------- Horário ao vivo ---------- */
.lab-hours { width: 100%; max-width: 36em; display: grid; gap: 16px; padding: 20px; border-radius: 22px; background: var(--card); }
.lab-hours__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; }
.lab-hours .lab-open { padding: 0; background: none; font-weight: 500; font-size: 1rem; }
.lab-hours__top small { color: var(--muted); }
.lab-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.lab-week li { padding: 9px 0; border-radius: 12px; background: #e4e9d4; color: var(--muted); text-align: center; font-size: .78rem; font-weight: 500; transition: transform .4s var(--ease); }
.lab-week li.on { background: var(--brown); color: var(--gold-l); }
.lab-week li.today { outline: 2px solid var(--gold); outline-offset: 2px; transform: translateY(-3px); }
.lab-day { position: relative; height: 46px; }
.lab-day::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 10px; border-radius: 10px; background: #e4e9d4; }
.lab-day__range { position: absolute; top: 8px; left: 33.333%; width: 41.667%; height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--gold-d), var(--gold-l)); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .2s; }
.lab-hours.in .lab-day__range { transform: scaleX(1); }
.lab-day__now { position: absolute; top: 4px; left: 0; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--brown); border: 3px solid #fff; box-shadow: 0 6px 14px -4px rgba(14,48,41, .6); transition: left 1.6s var(--ease); }
.lab-day span { position: absolute; top: 26px; font-size: .7rem; color: var(--muted); transform: translateX(-50%); }
.lab-day span:first-of-type { transform: none; }
.lab-day span:last-of-type { transform: translateX(-100%); }

/* ---------- Mapa ilustrado ---------- */
.lab-map { position: relative; width: 100%; max-width: 36em; border-radius: 22px; overflow: hidden; background: #e2e8d1; line-height: 0; }
.lab-map svg { width: 100%; height: auto; }
.lab-map .roads path { fill: none; stroke: #f6f8f1; stroke-width: 11; stroke-linecap: round; }
.lab-map .route { fill: none; stroke: var(--gold-d); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.lab-map.in .route { animation: lab-draw 2.6s var(--ease) .4s forwards; }
.lab-map .you { fill: var(--brown); stroke: #fff; stroke-width: 3; }
.lab-map .pin path { fill: var(--brown); opacity: 0; transform: translateY(-70px); }
.lab-map .pin .hole { fill: var(--gold-l); opacity: 0; }
.lab-map.in .pin path { animation: lab-pindrop .9s cubic-bezier(.3, 1.6, .5, 1) 2.7s forwards; }
.lab-map.in .pin .hole { animation: lab-fadein .3s ease 3.2s forwards; }
.lab-map .ping { fill: none; stroke: var(--gold-d); stroke-width: 2; opacity: 0; }
.lab-map.in .ping { animation: lab-pingmap 2.4s ease-out 3.3s infinite; }
.lab-map.in .ping.p2 { animation-delay: 4.3s; }
@keyframes lab-pindrop { 0% { transform: translateY(-70px); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes lab-fadein { to { opacity: 1; } }
@keyframes lab-pingmap { from { transform: scale(.5); opacity: .9; } to { transform: scale(4); opacity: 0; } }
.lab-map__cap { position: absolute; left: 12px; bottom: 12px; right: 12px; display: inline-block; width: max-content; max-width: calc(100% - 24px); padding: 8px 14px; border-radius: 14px; background: rgba(251,252,246, .92); color: var(--brown); font: 500 .85rem/1.3 var(--font); }
.lab-map__cap small { display: block; font-weight: 300; color: var(--muted); font-size: .72rem; }

/* ---------- Linha de pulso e palavra gigante ---------- */
.lab-ecg { height: 72px; margin: 18px 0 -6px; padding-inline: clamp(8px, 1.5vw, 24px); }
.lab-ecg svg { width: 100%; height: 100%; overflow: visible; }
.lab-ecg path { fill: none; stroke: var(--gold-d); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--e, 0)); filter: drop-shadow(0 0 6px rgba(196,145,77, .7)); }
.lab-word { --w: 0; padding: 4px 0 28px; margin-bottom: 28px; text-align: center; white-space: nowrap; font: 200 clamp(2.6rem, 10.4vw, 10rem)/1.05 var(--font); letter-spacing: -.05em; background: linear-gradient(90deg, var(--gold-l) 0, var(--gold-l) calc(var(--w) * 112% - 12%), rgba(255, 255, 255, .1) calc(var(--w) * 112%)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; border-bottom: 1px solid rgba(255, 255, 255, .12); user-select: none; }

/* ---------- Borda giratória nos cartões de chamada ---------- */
.start, .cta__card { --ang: 0deg; border: 2px solid transparent; background: linear-gradient(var(--brown), var(--brown)) padding-box, conic-gradient(from var(--ang), rgba(205,163,103, 0) 55%, var(--gold-l) 80%, rgba(205,163,103, 0) 100%) border-box; animation: lab-ang 7s linear infinite; }
@keyframes lab-ang { to { --ang: 360deg; } }

/* ---------- Imagens de IA (Gemini) como fundo ---------- */
.lab-aibg { display: block; pointer-events: none; user-select: none; }
.sec--dark > .lab-aibg--orb { position: absolute; left: 50%; top: -6%; width: min(1500px, 150%); max-width: none; height: 760px; margin-left: calc(min(1500px, 150%) / -2); object-fit: cover; z-index: 0; opacity: .9; -webkit-mask-image: linear-gradient(#000 45%, transparent 98%); mask-image: linear-gradient(#000 45%, transparent 98%); translate: 0 var(--ay, 0); animation: lab-breath 11s ease-in-out infinite; }
@keyframes lab-breath { 0%, 100% { scale: 1; filter: brightness(1); } 50% { scale: 1.06; filter: brightness(1.18); } }
.sec--dark .how__top { position: relative; z-index: 1; }
.cta__card > .lab-aibg--bokeh { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .5; mix-blend-mode: screen; animation: lab-kb 22s ease-in-out infinite alternate; }
.team__cards { position: relative; isolation: isolate; }
.team__cards > .lab-aibg--seda { position: absolute; inset: -22px; width: calc(100% + 44px); height: calc(100% + 44px); object-fit: cover; border-radius: 36px; z-index: -1; opacity: .95; translate: 0 var(--ay, 0); }
@media (max-width: 760px) { .sec--dark > .lab-aibg--orb { height: 520px; top: 0; } .team__cards > .lab-aibg--seda { inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); border-radius: 28px; } }

/* ---------- Cartões de apoio visual em código ---------- */
.lab-vis { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 22px; align-items: center; margin-top: clamp(40px, 6vw, 72px); padding: clamp(26px, 5vw, 64px); border-radius: 32px; background: #e8edd8; }
.lab-vis > .lab-aibg--fios { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; scale: 1.08; translate: 0 var(--ay, 0); }
.lab-vis__tag { display: inline-flex; align-items: center; gap: 8px; width: max-content; padding: 6px 14px; border-radius: 999px; background: rgba(251,252,246, .72); color: var(--gold-d); font-size: .78rem; font-weight: 500; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lab-vis__tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.lab-c { position: relative; display: grid; gap: 14px; align-content: start; padding: 20px; border-radius: 22px; background: rgba(251,252,246, .96); box-shadow: 0 30px 50px -30px rgba(19,65,55, .55), 0 0 0 1px rgba(196,145,77, .18); }
.lab-c header { display: grid; gap: 2px; }
.lab-c header b { font-size: 1.02rem; font-weight: 500; color: var(--brown); }
.lab-c header small { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.lab-vis.run .lab-c--agenda { animation: lab-bob 7s ease-in-out infinite; }
.lab-vis.run .lab-c--plano { animation: lab-bob 8s ease-in-out -2s infinite; }
.lab-vis.run .lab-c--retornos { animation: lab-bob 9s ease-in-out -4s infinite; }
@keyframes lab-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@media (min-width: 900px) { .lab-vis { grid-template-columns: 1fr 1.12fr 1fr; padding-top: clamp(64px, 7vw, 96px); } .lab-vis__tag { position: absolute; left: 24px; top: 22px; } .lab-c--plano { margin-top: 0; transform-origin: center; } .lab-c--agenda { margin-top: 56px; } .lab-c--retornos { margin-top: 28px; } }

/* agendamento: dia, horário e confirmação, em laço */
.lab-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.lab-days li { padding: 8px 0; border-radius: 10px; background: #edf1e1; color: var(--muted); text-align: center; font-size: .78rem; font-weight: 500; }
.lab-vis.run .lab-days li.sel { animation: lab-sel 9s ease infinite; }
@keyframes lab-sel { 0%, 12% { background: #edf1e1; color: var(--muted); transform: none; } 20%, 88% { background: var(--brown); color: var(--gold-l); transform: translateY(-2px); } 100% { background: #edf1e1; color: var(--muted); transform: none; } }
.lab-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lab-slots li { padding: 10px 0; border-radius: 12px; border: 1.5px solid #dde3c8; color: var(--brown); text-align: center; font-size: .88rem; font-weight: 500; }
.lab-vis.run .lab-slots li.pick { animation: lab-pick 9s ease infinite; }
@keyframes lab-pick { 0%, 38% { background: transparent; color: var(--brown); border-color: #dde3c8; transform: none; } 46%, 88% { background: var(--gold); color: var(--brown-d); border-color: var(--gold); transform: scale(1.06); } 100% { background: transparent; color: var(--brown); border-color: #dde3c8; transform: none; } }
.lab-ok { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px; border-radius: 999px; background: #e7f3e8; color: #2f6b3d; font-size: .82rem; font-weight: 500; opacity: 0; transform: translateY(8px); }
.lab-ok .ic { width: 16px; height: 16px; }
.lab-vis.run .lab-ok { animation: lab-okk 9s ease infinite; }
@keyframes lab-okk { 0%, 54% { opacity: 0; transform: translateY(8px); } 62%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(8px); } }
.lab-pointer { position: absolute; width: 26px; height: 26px; left: 20px; top: 30px; z-index: 3; filter: drop-shadow(0 4px 6px rgba(14,48,41, .35)); opacity: 0; }
.lab-vis.run .lab-pointer { animation: lab-ptr 9s ease-in-out infinite; }
@keyframes lab-ptr { 0% { opacity: 0; transform: translate(0, 40px); } 6% { opacity: 1; transform: translate(10px, 60px); } 16% { transform: translate(172px, 60px) scale(1); } 20% { transform: translate(172px, 60px) scale(.82); } 24% { transform: translate(172px, 60px) scale(1); } 36% { transform: translate(100px, 150px); } 42% { transform: translate(100px, 150px) scale(.82); } 46% { transform: translate(100px, 150px) scale(1); } 60% { opacity: 1; transform: translate(150px, 230px); } 70%, 100% { opacity: 0; transform: translate(190px, 260px); } }

/* plano de cuidado: itens que se confirmam em sequência */
.lab-rows { display: grid; gap: 10px; }
.lab-rows li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #f1f4e9; color: var(--brown); font-size: .92rem; font-weight: 500; }
.lab-rows svg { width: 24px; height: 24px; flex: none; overflow: visible; }
.lab-rows .r { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.lab-rows .t { fill: none; stroke: var(--gold-d); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.lab-vis.run .lab-rows .r { animation: lab-tick 8s ease infinite; animation-delay: calc(var(--i) * .9s); }
.lab-vis.run .lab-rows .t { animation: lab-tick 8s ease infinite; animation-delay: calc(var(--i) * .9s + .35s); }
@keyframes lab-tick { 0% { stroke-dashoffset: 1; } 14%, 86% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
.lab-plan { height: 6px; margin: 4px 0 0; border-radius: 6px; background: #e6ebd7; overflow: hidden; }
.lab-plan span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-d), var(--gold-l)); }
.lab-vis.run .lab-plan span { animation: lab-bar 8s ease infinite; }
@keyframes lab-bar { 0% { transform: scaleX(.08); } 50%, 86% { transform: scaleX(1); } 100% { transform: scaleX(.08); } }

/* acompanhamento: linha com retornos e ponto viajante */
.lab-tl { width: 100%; height: auto; overflow: visible; }
.lab-tl .trk { fill: none; stroke: #dee4cc; stroke-width: 3; stroke-linecap: round; }
.lab-tl .trk2 { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.lab-vis.run .lab-tl .trk2 { animation: lab-trk 7s linear infinite; }
@keyframes lab-trk { 0% { stroke-dashoffset: 1; } 90%, 100% { stroke-dashoffset: 0; } }
.lab-tl .n circle { fill: #fff; stroke: var(--gold-d); stroke-width: 2.5; }
.lab-tl .n text { fill: var(--muted); font: 500 11px var(--font); }
.lab-vis.run .lab-tl .n circle { animation: lab-node 7s ease infinite; transform-box: fill-box; transform-origin: center; }
.lab-vis.run .lab-tl .n2 circle { animation-delay: 2.2s; }
.lab-vis.run .lab-tl .n3 circle { animation-delay: 4.4s; }
@keyframes lab-node { 0%, 100% { fill: #fff; transform: scale(1); } 6% { fill: var(--gold-l); transform: scale(1.5); } 16% { fill: var(--gold); transform: scale(1); } 60% { fill: var(--gold); } 95% { fill: #fff; } }
.lab-tl .dot { fill: var(--brown); stroke: var(--gold-l); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(196,145,77, .9)); }

[data-lab-off~="aiimg"] .lab-aibg { display: none; }
[data-lab-off~="aiimg"] .lab-vis { background: #e8edd8; }
[data-lab-off~="uicards"] .lab-vis { display: none; }

/* ---------- Efeitos desligados no painel ---------- */
[data-lab-off~="bar"] .lab-bar,
[data-lab-off~="cursor"] .lab-cur, [data-lab-off~="cursor"] .lab-dot,
[data-lab-off~="aurora"] .lab-aurora,
[data-lab-off~="flow"] .lab-flow,
[data-lab-off~="orbs"] .lab-orb, [data-lab-off~="orbs"] .lab-halo,
[data-lab-off~="cmp"] .lab-cmpwrap > :not(.tag):not(.lab-cmph):not(.lab-cmpsub),
[data-lab-off~="radar"] .lab-radar,
[data-lab-off~="stats"] .lab-stats,
[data-lab-off~="hours"] .lab-hours,
[data-lab-off~="map"] .lab-map,
[data-lab-off~="ecg"] .lab-ecg,
[data-lab-off~="word"] .lab-word,
[data-lab-off~="sign"] .lab-sign, [data-lab-off~="sign"] .lab-years { display: none; }
[data-lab-off~="hdr"] .top.lab-hide { transform: none; }
[data-lab-off~="kb"] .deck__ph img { animation: none; }
[data-lab-off~="shim"] .js .split strong .w { animation: none; background: none; -webkit-text-fill-color: currentColor; }
[data-lab-off~="icons"] .lab-ic svg, [data-lab-off~="icons"] .lab-ic .drop, [data-lab-off~="icons"] .lab-ic .smile, [data-lab-off~="icons"] .lab-ic .eye { animation: none; }
[data-lab-off~="icons"] .lab-ic .d { stroke-dashoffset: 0; animation: none; }
[data-lab-off~="border"] .start, [data-lab-off~="border"] .cta__card { animation: none; border: 0; background: var(--brown); }
[data-lab-off~="trav"] .lab-trav { display: none; }
[data-lab-off~="pill"] .lab-pill { display: none; }
[data-lab-off~="pill"] .lab-pill-on .tabs__tab[aria-selected="true"] { background: var(--brown); }
[data-lab-off~="vt"] .top { view-transition-name: none; }

@media (max-width: 899px) { .lab-pointer { display: none; } }
@media (max-width: 760px) { .lab-orb--1 { top: 40%; } .lab-orb--2 { top: 50%; } .lab-orb--3 { bottom: 25%; } .lab-orb--4 { bottom: 36%; } }
