/* Orbi in motion: a living hero, a continuous brand ribbon and quiet entrances. */
.hero { background: radial-gradient(ellipse at 80% 34%, #d4bcff70, transparent 52%), radial-gradient(ellipse at 18% 2%, #ede3ff80, transparent 50%), var(--bg); }
.hero-grid { grid-template-columns: 1.06fr 1fr; gap: 26px; padding-top: 62px; padding-bottom: 38px; }
.hero-copy { z-index: 7; }
.hero h1 { font-size: clamp(68px, 7.15vw, 100px); line-height: 1.01; margin-top: 30px; margin-bottom: 26px; }
.hero .orbit-word { text-shadow: 0 10px 32px #7350e918; }
.hero-descriptor { font-size: 25px; }
.hero-scene { perspective: 1100px; height: 695px; }
.hero-aura { position: absolute; width: 560px; height: 560px; left: -15px; top: 100px; border-radius: 50%; background: radial-gradient(ellipse, #9870f029 0, #9870f00d 48%, transparent 72%); pointer-events: none; animation: aura-breathe 9s ease-in-out infinite; }
.scene-label { position: absolute; top: 8px; left: 24px; display: inline-flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 650; letter-spacing: .13em; color: var(--purple); }
.scene-label > span { width: 6px; height: 6px; border-radius: 50%; background: #63b99d; box-shadow: 0 0 0 5px #63b99d16; }
.hero-phone { right: 30px; top: 44px; }
.hero-phone .phone-device { animation: phone-hover 9s ease-in-out infinite; }
.hero-orby { width: 420px; left: -100px; bottom: 28px; translate: var(--pointer-x, 0px) var(--pointer-y, 0px); transition: translate .9s cubic-bezier(.2,.7,.2,1); }
.hero-orby img { transform-origin: 48% 62%; animation: orby-flight 6.8s cubic-bezier(.45,0,.55,1) infinite; }
.hero-orby svg.orby-character { display: block; width: 100%; height: auto; overflow: visible; mask-image: none; transform-origin: 48% 62%; animation: orby-flight 6.8s cubic-bezier(.45,0,.55,1) infinite; }
.orby-wave { transform-origin: 455px 490px; animation: orby-wave 7.2s ease-in-out infinite; }
.orby-eye { animation: orby-blink 8.4s ease-in-out infinite; }
.orby-eye-left { transform-origin: 668px 405px; }
.orby-eye-right { transform-origin: 885px 453px; }
.orby-greeting { transform-origin: 455px 490px; animation: orby-hello 7.2s ease-in-out infinite; }
.floating-message { right: -12px; bottom: 112px; z-index: 6; animation: message-hover 7.5s ease-in-out infinite; }
.orbital-one { width: 530px; height: 380px; top: 200px; left: -36px; border-color: #9f79e956; animation: orbit-lean 20s ease-in-out infinite; }
.orbital-two { width: 440px; height: 610px; top: 20px; left: 12px; border-color: #ae8ce832; animation: orbit-lean-reverse 24s ease-in-out infinite; }
.satellite-one { left: 8px; top: 148px; animation: satellite-drift 11s ease-in-out infinite; }
.satellite-two { right: 0; bottom: 178px; animation: satellite-drift 8s ease-in-out -3s infinite reverse; }
.scene-plus { top: 58px; right: 0; animation: star-turn 18s linear infinite; }
.scene-caption { font-size: 10px; bottom: 0; }
.hero-copy > * { animation: hero-arrive .85s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .23s; }
.hero-copy > :nth-child(5) { animation-delay: .3s; }
.hero-copy > :nth-child(6) { animation-delay: .36s; }
.motion-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px 24px; font-size: 13px; color: var(--muted); }
.motion-control { display: inline-flex; flex-shrink: 0; align-items: center; gap: 8px; background: none; border: 0; padding: 8px 0 8px 8px; font-size: 13px; color: var(--muted); }
.motion-control:hover { color: var(--purple); }
.motion-control .icon { width: 16px; height: 16px; }
.motion-control .motion-play { display: none; }
.motion-control[aria-pressed=true] .motion-pause { display: none; }
.motion-control[aria-pressed=true] .motion-play { display: block; }
.motion-control:disabled { cursor: default; opacity: .75; }

.orbit-marquee { overflow: hidden; background: var(--purple-deep); color: #fff; padding-block: 13px; position: relative; }
.marquee-track { display: flex; width: max-content; animation: brand-ribbon 48s linear infinite; animation-play-state: paused; }
.marquee-visible .marquee-track { animation-play-state: running; }
.marquee-group { flex-shrink: 0; display: flex; align-items: center; justify-content: space-around; min-width: 100vw; gap: 28px; padding-inline: 14px; }
.marquee-group > span { font-size: clamp(17px, 1.6vw, 23px); font-weight: 550; line-height: 1.35; letter-spacing: -.025em; white-space: nowrap; }
.marquee-group > .icon { width: 17px; height: 17px; color: #c5f0df; stroke-width: 1.4; }

.motion-ready .motion-reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.motion-ready .motion-reveal.is-revealed { opacity: 1; transform: none; }
.motion-ready .step:nth-child(2) { transition-delay: .08s; }
.motion-ready .step:nth-child(3) { transition-delay: .16s; }
.case-phone .phone-device { transition: translate .65s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) and (pointer: fine) {
  .store-case:hover .case-phone .phone-device { translate: 0 -8px; }
  .button:hover .icon:not(.whatsapp-logo) { translate: 3px 0; }
}
.button > .icon { transition: translate .2s ease; }
.contact-orby-flying { animation: closing-flight 8s ease-in-out infinite; }

@keyframes orby-flight {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-3deg) rotateY(-6deg); }
  35% { transform: translate3d(5px, -17px, 0) rotate(2deg) rotateY(5deg); }
  70% { transform: translate3d(-4px, -7px, 0) rotate(-1deg) rotateY(0deg); }
}
@keyframes orby-wave {
  0%, 3%, 29%, 100% { transform: rotate(0deg); }
  7% { transform: rotate(-16deg); }
  12% { transform: rotate(10deg); }
  17% { transform: rotate(-14deg); }
  22% { transform: rotate(8deg); }
  26% { transform: rotate(-3deg); }
}
@keyframes orby-blink {
  0%, 16%, 20%, 58%, 62%, 100% { transform: scaleY(1); }
  17.5%, 59.5% { transform: scaleY(.065); }
}
@keyframes orby-hello {
  0%, 3%, 29%, 100% { opacity: .3; transform: scale(.93); }
  7%, 17% { opacity: 1; transform: scale(1.02); }
  12%, 22% { opacity: .7; transform: scale(.98); }
}
@keyframes phone-hover {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -10px, 0) rotate(-1.5deg); }
}
@keyframes message-hover {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-4deg); }
  50% { transform: translate3d(-4px, -8px, 0) rotate(-2deg); }
}
@keyframes aura-breathe {
  0%, 100% { transform: scale(.95); opacity: .75; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes orbit-lean {
  0%, 100% { transform: rotate(-23deg); }
  50% { transform: rotate(-8deg); }
}
@keyframes orbit-lean-reverse {
  0%, 100% { transform: rotate(37deg); }
  50% { transform: rotate(24deg); }
}
@keyframes satellite-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(14px, -18px, 0); }
}
@keyframes star-turn { to { transform: rotate(360deg); } }
@keyframes hero-arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes brand-ribbon { to { transform: translateX(-50%); } }
@keyframes closing-flight {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-10deg); }
  50% { transform: translate3d(8px, -12px, 0) rotate(-5deg); }
}

[data-theme=dark] .hero { background: radial-gradient(ellipse at 79% 42%, #58338845, transparent 55%), radial-gradient(ellipse at 10% 0, #41275d24, transparent 60%), var(--bg); }
[data-theme=dark] .hero-aura { background: radial-gradient(ellipse, #8c5dd42e, #8055d010 48%, transparent 72%); }
[data-theme=dark] .orbit-marquee { background: #8356ef; }
[data-hero-visible=false] .hero-scene *,
[data-hero-visible=false] .hero-scene *::before,
[data-closing-visible=false] .contact-orby-flying { animation-play-state: paused; }
html[data-page-hidden=true] *, html[data-page-hidden=true] *::before, html[data-page-hidden=true] *::after,
html[data-motion=paused] *, html[data-motion=paused] *::before, html[data-motion=paused] *::after { animation-play-state: paused !important; }
html[data-motion=paused] .hero-copy > * { animation: none; }
html[data-motion=paused] .orby-eye, html[data-motion=paused] .orby-wave, html[data-motion=paused] .orby-greeting { animation: none; }
html[data-motion=paused] .hero-orby { translate: none; }
html[data-motion=paused] .motion-reveal { opacity: 1; transform: none; transition: none; }

@media (max-width: 1150px) {
  .hero h1 { font-size: clamp(68px, 7.7vw, 90px); }
  .hero-grid { gap: 12px; padding-top: 45px; }
  .hero-scene { height: 650px; }
  .hero-orby { width: 360px; left: -75px; bottom: 20px; }
  .hero-phone { right: 12px; }
  .floating-message { right: -5px; }
  .scene-label { left: 5px; }
}
@media (max-width: 900px) {
  .hero h1 { font-size: 64px; }
  .hero-descriptor { font-size: 22px; }
  .hero-scene { height: 610px; }
  .hero-orby { width: 310px; left: -74px; bottom: 42px; }
  .hero-phone { right: 4px; top: 52px; }
  .floating-message { right: -5px; bottom: 94px; }
  .scene-label { font-size: 10px; left: 0; }
  .orbital-one { width: 440px; }
  .orbital-two { width: 390px; }
}
@media (max-width: 740px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 42px; padding-bottom: 20px; gap: 0; }
  .hero h1 { font-size: clamp(58px, 11.5vw, 80px); }
  .hero-scene { height: 655px; max-width: 440px; margin-top: 38px; }
  .hero-phone { right: 24px; top: 35px; }
  .hero-orby { width: 320px; left: -45px; bottom: 38px; }
  .floating-message { right: 0; bottom: 250px; }
  .scene-label { left: 14px; top: 0; }
  .hero-aura { width: 460px; height: 460px; left: -25px; top: 70px; }
  .scene-caption { right: 0; bottom: 0; font-size: 9px; }
  .motion-toolbar { flex-wrap: wrap; justify-content: center; gap: 4px 18px; padding-block: 8px 22px; text-align: center; }
  .motion-control { min-height: 44px; }
  .orbit-marquee { padding-block: 12px; }
  .marquee-group { gap: 22px; padding-inline: 11px; }
  .marquee-group > .icon { width: 14px; height: 14px; }
  .motion-ready .motion-reveal { transform: translateY(18px); transition-duration: .6s; }
  .motion-ready .motion-reveal.is-revealed { transform: none; }
}
@media (max-width: 390px) {
  .hero h1 { font-size: clamp(54px, 14.5vw, 62px); }
  .hero-scene { height: 590px; margin-top: 32px; }
  .hero-phone { right: 8px; top: 36px; }
  .hero-orby { width: 275px; left: -25px; bottom: 45px; }
  .floating-message { bottom: 230px; right: -1px; padding: 11px 13px; }
  .floating-message strong { font-size: 14px; }
  .floating-message div > span { font-size: 12px; }
  .scene-caption { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-scene *, .marquee-track, .contact-orby-flying { animation: none !important; }
  .motion-ready .motion-reveal { opacity: 1; transform: none; transition: none; }
  .hero-orby { translate: none; }
}
