/* ============================================================
   DASH MÍDIA 2026 — Extras
   GlowCards · Spline robot · Lab de partículas · Lente clone ·
   Goo background · Vídeos
   ============================================================ */

.section-head__hint { color: var(--ink-dim); font-size: .9rem; margin-top: 14px; }

/* ============ VÍDEOS (facade YouTube) ============ */
.video-frame {
  position: relative; margin-top: clamp(60px, 8vw, 100px);
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 9; max-width: 980px;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  cursor: pointer;
}
.video-frame--sm { margin-top: 34px; max-width: 560px; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .4s; }
.video-frame:hover img { transform: scale(1.04); filter: brightness(.75); }
.video-frame__overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: linear-gradient(to top, rgba(13,13,15,.75), rgba(13,13,15,.15) 55%);
}
.video-frame__play {
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(235,32,89,.92); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; padding-left: 6px;
  box-shadow: 0 0 0 0 rgba(235,32,89,.5);
  animation: playPulse 2.2s ease infinite;
  transition: transform .3s;
}
.video-frame:hover .video-frame__play { transform: scale(1.12); }
@keyframes playPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(235,32,89,.45); }
  50% { box-shadow: 0 0 0 22px rgba(235,32,89,0); }
}
.video-frame__label {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============ GLOW CARD (port do spotlight-card React) ============ */
[data-glow-card] {
  --glow-hue: 335;
  --border-glow: 0;
}
[data-glow-card]::before {
  content: ""; position: absolute; inset: -1px; z-index: 1;
  border-radius: var(--radius); pointer-events: none;
  padding: 1px;
  background: radial-gradient(
    220px 220px at var(--gx, 50%) var(--gy, 50%),
    hsl(var(--glow-hue) 90% 60% / .9), transparent 70%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: var(--border-glow);
  transition: opacity .35s;
}
[data-glow-card]:hover::before { opacity: 1; }

/* ============ SERVIÇOS EXPANSÍVEIS ============ */
.service-card { cursor: pointer; }
.service-card__details {
  list-style: none; overflow: hidden;
  max-height: 0; opacity: 0;
  transition: max-height .55s cubic-bezier(.2,.8,.2,1), opacity .4s, margin .4s;
  margin-top: 0;
  display: grid; gap: 8px;
}
.service-card--open .service-card__details {
  max-height: 320px; opacity: 1; margin-top: 18px;
}
.service-card__details li {
  position: relative; padding-left: 22px;
  color: var(--ink-dim); font-size: .88rem;
}
.service-card__details li::before {
  content: "◆"; position: absolute; left: 0; top: 1px;
  color: var(--accent); font-size: .6rem;
}
.service-card--open { border-color: rgba(235,32,89,.5); }
.service-card--open .service-card__arrow { transform: rotate(90deg); opacity: 1; }

/* ============ DASH PLATFORM ============ */
.platform {
  position: relative; overflow: hidden;
  padding: clamp(100px, 13vw, 180px) clamp(24px, 8vw, 120px);
  background:
    radial-gradient(50% 60% at 80% 20%, rgba(123,47,247,.12), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(235,32,89,.1), transparent 70%),
    var(--bg-soft);
}
.platform__spotlight {
  position: absolute; top: -30%; left: -10%; width: 70%; height: 120%;
  background: linear-gradient(115deg, rgba(255,255,255,.07), transparent 60%);
  transform: rotate(-8deg); pointer-events: none;
  filter: blur(60px);
  animation: spotlightSweep 9s ease-in-out infinite alternate;
}
@keyframes spotlightSweep { to { transform: rotate(-2deg) translateX(14%); opacity: .6; } }
.platform__inner {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px); align-items: center;
  max-width: 1340px; margin: 0 auto;
}
.platform__desc { color: var(--ink-dim); font-size: 1.08rem; margin: 24px 0 26px; max-width: 540px; }
.platform__desc strong { color: var(--ink); font-weight: 500; }
.platform__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.chip {
  font-size: .82rem; font-weight: 500;
  padding: 9px 16px; border-radius: 40px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  transition: border-color .3s, background .3s, transform .3s;
}
.chip:hover { border-color: var(--accent); background: rgba(235,32,89,.1); transform: translateY(-3px); }
.platform__robot {
  position: relative; min-height: 520px; border-radius: var(--radius);
  overflow: hidden;
  background: radial-gradient(60% 60% at 50% 40%, rgba(123,47,247,.1), transparent 75%);
}
.platform__robot spline-viewer { width: 100%; height: 560px; display: block; }
.platform__robot-hint {
  position: absolute; bottom: 16px; left: 16px;
  z-index: 3; font-size: .78rem; color: var(--ink-dim);
  background: rgba(13,13,15,.7); border: 1px solid rgba(255,255,255,.1);
  padding: 7px 16px; border-radius: 30px; backdrop-filter: blur(8px);
  white-space: nowrap;
}
.platform__robot-loading {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px; color: var(--ink-dim); font-size: .85rem;
}
.platform__robot-loading::before {
  content: ""; width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid rgba(235,32,89,.2); border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}

/* ============ LAB — RETRATO DE PARTÍCULAS ============ */
.lab {
  padding: clamp(100px, 13vw, 180px) clamp(24px, 8vw, 120px);
  background:
    radial-gradient(55% 60% at 50% 0%, rgba(235,32,89,.08), transparent 70%),
    var(--bg);
  text-align: center;
}
.lab__head { max-width: 820px; margin: 0 auto clamp(40px, 6vw, 70px); }
.lab__hint { color: var(--ink-dim); font-size: .92rem; margin-top: 18px; }
.lab__stage {
  position: relative; max-width: 760px; margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(170deg, rgba(26,27,32,.6), rgba(13,13,15,.9));
  overflow: hidden;
}
.lab__canvas { display: block; width: 100%; height: auto; }
.lab__readout {
  position: absolute; z-index: 2;
  font-family: var(--font-display); font-size: .68rem; letter-spacing: .14em;
  color: var(--cyan); text-transform: uppercase;
  background: rgba(13,13,15,.75); border: 1px solid rgba(22,224,255,.3);
  padding: 7px 12px; border-radius: 8px; backdrop-filter: blur(6px);
}
.lab__readout b { color: var(--ink); font-weight: 600; }
.lab__readout--1 { top: 16px; left: 16px; }
.lab__readout--2 { top: 16px; right: 16px; }

/* ============ LENTE RAIO-X DO CLONE ============ */
.holo__clone {
  position: absolute; inset: 0; z-index: 2;
  clip-path: circle(0px at 50% 50%);
  transition: clip-path .25s ease-out;
  pointer-events: none;
  background: #04070c;
}
.holo__img-wrap:hover .holo__clone,
.holo--lens-active .holo__clone { clip-path: circle(var(--lens-r, 110px) at var(--lens-x, 50%) var(--lens-y, 50%)); }
.holo__clone-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  filter: grayscale(1) brightness(.72) contrast(1.5) sepia(1) hue-rotate(155deg) saturate(3.2);
  mix-blend-mode: screen;
}
.holo__clone-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(22,224,255,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,224,255,.22) 1px, transparent 1px);
  background-size: 26px 26px;
  mix-blend-mode: screen;
}
.holo__clone-tags {
  position: absolute; bottom: 14px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.holo__clone-tags span {
  font-family: var(--font-display); font-size: .6rem; letter-spacing: .12em;
  color: var(--cyan); border: 1px solid rgba(22,224,255,.4);
  background: rgba(4,7,12,.8); padding: 4px 9px; border-radius: 6px;
}

/* ============ GOO BACKGROUND (port do gradient animation React) ============ */
.goo { position: absolute; inset: 0; overflow: hidden; opacity: .8; }
.goo__filter { position: absolute; width: 0; height: 0; }
.goo__blobs {
  position: absolute; inset: 0;
  filter: url(#gooFilter) blur(36px);
}
.goo__blob {
  position: absolute; border-radius: 50%;
  width: 55vmax; height: 55vmax;
  top: calc(50% - 27.5vmax); left: calc(50% - 27.5vmax);
  mix-blend-mode: hard-light; opacity: .55;
}
.goo__blob--1 { background: radial-gradient(circle at center, rgba(235,32,89,.75) 0, rgba(235,32,89,0) 55%); animation: gooV 26s ease infinite; }
.goo__blob--2 { background: radial-gradient(circle at center, rgba(123,47,247,.7) 0, rgba(123,47,247,0) 55%); transform-origin: calc(50% - 320px); animation: gooC 22s reverse linear infinite; }
.goo__blob--3 { background: radial-gradient(circle at center, rgba(22,224,255,.55) 0, rgba(22,224,255,0) 55%); transform-origin: calc(50% + 340px); animation: gooC 34s linear infinite; }
.goo__blob--4 { background: radial-gradient(circle at center, rgba(217,10,44,.6) 0, rgba(217,10,44,0) 55%); animation: gooH 32s ease infinite; opacity: .45; }
.goo__blob--5 { background: radial-gradient(circle at center, rgba(171,29,254,.55) 0, rgba(171,29,254,0) 55%); transform-origin: calc(50% - 600px) calc(50% + 500px); animation: gooC 24s ease infinite; }
.goo__blob--pointer {
  width: 80vmax; height: 80vmax;
  top: -40vmax; left: -40vmax;
  background: radial-gradient(circle at center, rgba(235,32,89,.6) 0, rgba(235,32,89,0) 50%);
  opacity: .5;
}
@keyframes gooV { 0%,100% { transform: translateY(-38%); } 50% { transform: translateY(38%); } }
@keyframes gooH { 0%,100% { transform: translateX(-40%) translateY(-8%); } 50% { transform: translateX(40%) translateY(8%); } }
@keyframes gooC { to { transform: rotate(360deg); } }
.contact { background: linear-gradient(40deg, #12040c, #0b0217); }

/* ============ LOGO (imagem com fallback em texto) ============ */
.nav__logo { display: inline-flex; align-items: center; gap: 10px; }
.nav__logo-img { height: 44px; width: auto; transition: transform .3s; }
.nav__logo:hover .nav__logo-img { transform: scale(1.06) rotate(-3deg); }
.footer__logo { display: inline-flex; align-items: center; }
.footer__logo-img { height: 54px; width: auto; }

/* ============ HERO — hint de scroll sem sobrepor os botões ============ */
.hero__content { padding-bottom: 110px; }
@media (max-height: 740px) {
  .hero__scroll-hint { display: none; }
  .hero__content { padding-bottom: 40px; }
}

/* Mobile: o conteúdo do hero começa abaixo do menu (a tag não colide com o logo) */
@media (max-width: 960px) {
  .hero { align-items: flex-start; }
  .hero__content { padding-top: calc(var(--nav-h) + 42px); padding-bottom: 60px; }
  .hero__tag { margin-bottom: 26px; }
  .hero__scroll-hint { display: none; }
}

/* ============ ROBÔ — acabamento da base ============ */
.platform__robot::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px;
  background: linear-gradient(to bottom, transparent, #131318 88%);
  pointer-events: none; z-index: 2;
}
.platform__robot::before {
  content: ""; position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 26px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(123,47,247,.45), rgba(235,32,89,.14) 55%, transparent 75%);
  filter: blur(9px); z-index: 3; pointer-events: none;
  animation: basePulse 3.8s ease infinite;
}
.platform__robot-hint { z-index: 4; }

/* ============ LAB — grid lado a lado (partículas + lente) ============ */
.lab__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: start; justify-items: center;
  max-width: 1200px; margin: 0 auto;
}
.lab__col { width: 100%; max-width: 540px; }
.lab__col .lab__stage { max-width: none; }
.lab__col .holo { margin-top: 8px; }
.lab__caption { color: var(--ink-dim); font-size: .88rem; margin-top: 18px; text-align: center; }

/* ============ SELO GOOGLE 5 ESTRELAS ============ */
.gbadge {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 26px; padding: 14px 22px;
  border-radius: 50px;
  background: linear-gradient(110deg, rgba(251,188,5,.1), rgba(255,255,255,.04));
  border: 1px solid rgba(251,188,5,.35);
  transition: border-color .3s, box-shadow .3s;
}
.gbadge:hover { border-color: #fbbc05; box-shadow: 0 8px 34px rgba(251,188,5,.18); }
.gbadge__stars {
  color: #fbbc05; font-size: 1.15rem; letter-spacing: .12em;
  text-shadow: 0 0 18px rgba(251,188,5,.6);
  animation: starGlow 2.6s ease infinite;
}
@keyframes starGlow { 50% { text-shadow: 0 0 30px rgba(251,188,5,.95); } }
.gbadge__text { font-size: .92rem; color: var(--ink-dim); }
.gbadge__text b { color: var(--ink); font-weight: 600; }
.gbadge__g {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  background: conic-gradient(from -45deg, #ea4335 0 25%, #fbbc05 25% 50%, #34a853 50% 75%, #4285f4 75% 100%);
  color: #fff;
}

/* ============ DEPOIMENTOS — carrossel infinito ============ */
.t-marquee { overflow: hidden; display: grid; gap: 22px; padding: 10px 0; }
.t-marquee__track {
  display: flex; gap: 22px; width: max-content;
  will-change: transform;
}
.t-marquee__track--left { animation: tLeft 55s linear infinite; }
.t-marquee__track--right { animation: tRight 62s linear infinite; }
.t-marquee__track:hover { animation-play-state: paused; }
@keyframes tLeft { to { transform: translateX(-50%); } }
@keyframes tRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.t-marquee .testimonial {
  width: min(420px, 82vw); flex-shrink: 0;
  display: flex; flex-direction: column;
}
.t-marquee .testimonial blockquote { font-size: 1.05rem; flex: 1; }
.testimonial__stars { color: #fbbc05; letter-spacing: .14em; margin-bottom: 14px; font-size: .9rem; }

/* ============ AVATAR — texto + casos lado a lado ============ */
.avatar { padding-top: clamp(60px, 8vw, 110px); }
.avatar__inner { grid-template-columns: 1.05fr .95fr; align-items: center; }
.avatar__cases { margin-bottom: 0; }
.avatar__text .btn { margin-top: 26px; }

.footer__hashtag {
  font-family: var(--font-display); font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ============ RESPONSIVO ============ */
@media (max-width: 960px) {
  .platform__inner { grid-template-columns: 1fr; }
  .platform__robot { min-height: 420px; }
  .platform__robot spline-viewer { height: 440px; }
  .video-frame__play { width: 64px; height: 64px; font-size: 1.2rem; }
  .lab__grid { grid-template-columns: 1fr; gap: 60px; }
  .gbadge { flex-wrap: wrap; }
}

/* Pausa animações caras quando a seção sai da tela (aplicado via JS) */
.anim-off .goo__blob,
.anim-off .t-marquee__track,
.anim-off .marquee__track,
.anim-off.platform .platform__spotlight,
.anim-off.goo .goo__blob {
  animation-play-state: paused !important;
}
.anim-off.goo { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .goo__blob { animation: none !important; }
  .platform__spotlight { animation: none; }
}
