/* ===========================================================
   v2 · vidro líquido, brilho de fundo, reel do hero, painel
   (carregado depois do style.css, por isso sobrescreve)
   =========================================================== */
:root {
  --glass: rgba(255, 255, 255, 0.055);
  --glass-2: rgba(255, 255, 255, 0.09);
  --glass-line: rgba(255, 255, 255, 0.16);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  --blur: blur(20px) saturate(165%);
}
:root[data-theme="light"] {
  --glass: rgba(255, 255, 255, 0.55);
  --glass-2: rgba(255, 255, 255, 0.78);
  --glass-line: rgba(255, 255, 255, 0.9);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 0 rgba(21, 20, 18, 0.05);
}

/* vidro: caixas de texto, cartões, formulário, topo e menu */
.card, .case, .stat, .nav, .sheet, .icon-btn, input, textarea {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border-color: var(--glass-line);
  box-shadow: var(--glass-hi);
}
.card:hover, .case:hover { box-shadow: var(--glass-hi), var(--shadow); }
.stat { background: var(--glass-2); }
.nav { background: rgba(11, 11, 13, 0.42); }
:root[data-theme="light"] .nav { background: rgba(246, 244, 239, 0.6); }
.sheet { background: rgba(11, 11, 13, 0.55); -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%); }
:root[data-theme="light"] .sheet { background: rgba(246, 244, 239, 0.7); }
.section--alt { background: color-mix(in srgb, var(--bg-alt) 55%, transparent); }
.pill { background: var(--glass); box-shadow: var(--glass-hi); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.hero .btn--secondary { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--glass-hi); }
.btn--secondary { background: var(--glass); box-shadow: var(--glass-hi); }
input:focus, textarea:focus { background: var(--glass-2); }

/* brilho passando ao fundo (como no painel): luz inclinada + dois focos que derivam */
.bg-sheen {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.05) 48%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 52%, transparent 62%) 130% 0 / 220% 100% no-repeat;
  animation: sweep 14s ease-in-out infinite;
}
.bg-sheen::before, .bg-sheen::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.bg-sheen::before { width: 52vw; height: 52vw; left: -14vw; top: 8vh; background: radial-gradient(circle, rgba(255, 138, 61, 0.34), transparent 65%); animation: drift-a 26s ease-in-out infinite alternate; }
.bg-sheen::after { width: 46vw; height: 46vw; right: -12vw; bottom: -6vh; background: radial-gradient(circle, rgba(66, 133, 244, 0.22), transparent 65%); animation: drift-b 32s ease-in-out infinite alternate; }
:root[data-theme="light"] .bg-sheen { background-image: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.55) 50%, transparent 62%); }
:root[data-theme="light"] .bg-sheen::before { opacity: 0.3; }
:root[data-theme="light"] .bg-sheen::after { opacity: 0.2; }
@keyframes sweep { 0%, 30% { background-position: 130% 0; } 100% { background-position: -130% 0; } }
@keyframes drift-a { to { transform: translate(18vw, 14vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-16vw, -12vh) scale(1.2); } }

/* botão de tema: chama a atenção ao entrar */
.icon-btn { position: relative; }
.icon-btn.hint { animation: hint 1.6s var(--ease) 3; border-color: var(--accent); }
.icon-btn.hint::before { content: ""; position: absolute; inset: -2px; border-radius: 14px; border: 2px solid var(--accent); animation: ring 1.6s ease-out 3; pointer-events: none; }
.icon-btn.hint::after { content: attr(data-tip); position: absolute; top: calc(100% + 12px); right: 0; padding: 8px 12px; border-radius: 10px; white-space: nowrap; font-size: 13px; font-weight: 500; color: var(--text); background: var(--glass-2); border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); animation: tip 6s ease forwards; }
@keyframes hint { 0%, 100% { transform: none; } 20% { transform: rotate(-14deg) scale(1.12); } 40% { transform: rotate(12deg) scale(1.12); } 60% { transform: rotate(-6deg); } }
@keyframes ring { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes tip { 0% { opacity: 0; transform: translateY(-6px); } 8%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* hero: sequência de cenas (F1, foguete, desfile, mercado) com a mesma paleta */
.hero__img { display: none; }
.reel { position: absolute; inset: 0; overflow: hidden; background: #0b0b0d; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 110, 20, 0.22), rgba(11, 11, 13, 0.3)); mix-blend-mode: soft-light; pointer-events: none; }
.reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.reel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: 0; filter: saturate(0.92) contrast(1.06); animation: reel 28s linear infinite; }
.reel__img:nth-child(1) { animation-name: reel-first; }
.reel__img:nth-child(2) { animation-delay: 7s; }
.reel__img:nth-child(3) { animation-delay: 14s; }
.reel__img:nth-child(4) { animation-delay: 21s; }
@keyframes reel {
  0% { opacity: 0; transform: scale(1.04); }
  4%, 24% { opacity: 1; }
  28% { opacity: 0; }
  100% { opacity: 0; transform: scale(1.16) translateX(-1.5%); }
}
@keyframes reel-first { 0%, 24% { opacity: 1; transform: scale(1.04); } 28% { opacity: 0; } 96% { opacity: 0; transform: scale(1.04); } 100% { opacity: 1; } }

/* painel: cartões como no painel, com movimento e luz passando */
.deck { gap: 14px; }
.gcard { animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.4s); box-shadow: 0 18px 40px -26px var(--a); }
.gcard:nth-child(odd) { margin-right: 28px; }
.gcard:nth-child(even) { margin-left: 28px; }
.gcard::before { content: ""; position: absolute; top: -30%; bottom: -30%; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent); transform: translateX(-180%) skewX(-22deg); animation: card-shine 5.2s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 0.9s); pointer-events: none; }
.gcard:hover { animation-play-state: paused; transform: translateY(-4px) scale(1.02); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-0.4deg); } 50% { transform: translateY(-9px) rotate(0.5deg); } }
@keyframes card-shine { 0%, 45% { transform: translateX(-180%) skewX(-22deg); } 100% { transform: translateX(520%) skewX(-22deg); } }

/* maquete do painel em ângulo */
.section--tight { padding: 40px 0 120px; }
.stage { perspective: 1800px; display: grid; justify-items: center; gap: 20px; }
.mock { position: relative; width: min(100%, 1040px); border-radius: 20px; background: #101013; border: 1px solid rgba(255, 255, 255, 0.16); color: #f3efe6; overflow: hidden; transform: rotateX(10deg) rotateY(-14deg) rotateZ(1.5deg); box-shadow: 40px 60px 90px -40px rgba(0, 0, 0, 0.8), 0 0 80px -30px rgba(255, 138, 61, 0.5); animation: mock-float 9s ease-in-out infinite; }
.mock::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.12) 50%, transparent 65%) 150% 0 / 250% 100% no-repeat; animation: sweep 7s ease-in-out infinite; pointer-events: none; }
@keyframes mock-float { 0%, 100% { transform: rotateX(10deg) rotateY(-14deg) rotateZ(1.5deg) translateY(0); } 50% { transform: rotateX(8deg) rotateY(-10deg) rotateZ(1deg) translateY(-12px); } }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #17171b; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a42; }
.mock__bar span { margin-left: 14px; font-size: 12px; color: #8d8a83; }
.mock__body { display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 360px; }
.mock__side { display: grid; align-content: start; gap: 6px; padding: 20px 14px; border-right: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; color: #a7a39a; }
.mock__side b { color: #f3efe6; font-weight: 500; margin-bottom: 14px; font-size: 15px; }
.mock__side span { padding: 8px 10px; border-radius: 9px; }
.mock__side .on { background: rgba(255, 255, 255, 0.09); color: #f3efe6; }
.mock__main { padding: 22px; display: grid; gap: 16px; align-content: start; }
.mock__hello { font-size: 22px; letter-spacing: -0.02em; }
.mock__hello em { font-style: normal; font-size: 13px; color: #8d8a83; margin-left: 6px; }
.mock__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock__kpis div { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.mock__kpis small { display: block; font-size: 11px; color: #8d8a83; }
.mock__kpis b { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.mock__chart { width: 100%; height: 120px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.mock__minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock__minis img { width: 100%; aspect-ratio: 1.3; object-fit: cover; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.14); }
.stage__note { font-size: 13px; color: var(--muted); }

/* mini banners em vidro dentro dos cartões de serviço */
.card .minis { display: flex; gap: 10px; margin-top: 24px; }
.card .minis img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; border: 1px solid var(--glass-line); transition: transform 0.4s var(--ease); }
.card:hover .minis img:nth-child(odd) { transform: translateY(-4px); }
.card:hover .minis img:nth-child(even) { transform: translateY(4px); }

/* topo no celular: logo centralizado */
@media (max-width: 1100px) {
  .nav .brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .nav__in { justify-content: flex-end; }
}
@media (max-width: 900px) {
  .mock { transform: rotateX(6deg) rotateY(-8deg); animation: none; }
  .mock__body { grid-template-columns: minmax(0, 1fr); }
  .mock__side { display: none; }
  .mock__kpis { grid-template-columns: repeat(2, 1fr); }
  .gcard:nth-child(odd), .gcard:nth-child(even) { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reel__img:not(:first-child) { display: none; }
  .reel__img:first-child { opacity: 1; }
}
