/* assets/css/home-holograma.css — Expert Informática
   Visual "Holograma Azul" da página inicial.
   Carregado SOMENTE na home (index.php define $paginaHome = true).
   Tudo fica sob body.home-holo, então as outras páginas não são afetadas. */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* ═══ PALETA — sobrescreve as variáveis do style.css só na home ═══
   (assim depoimentos, contato, carrossel e modais herdam o visual novo) */
body.home-holo {
    --royal: #3d6bff;
    --royal-dark: #2149d9;
    --bg-page: #030820;
    --bg-section: transparent;
    --bg-card: rgba(60, 110, 255, .10);
    --bg-input: rgba(255, 255, 255, .06);
    --bg-modal: #0a1a55;
    --bg-navbar: rgba(4, 12, 46, .72);
    --text-h: #ffffff;
    --text-body: #d9e5ff;
    --text-muted: #a9bde6;
    --text-nav: #b5c8f0;
    --text-nav-hv: #ffffff;
    --border: rgba(140, 180, 255, .30);
    --nav-border: rgba(140, 180, 255, .18);
    --badge-bg: rgba(90, 140, 255, .18);
    --badge-bd: rgba(140, 180, 255, .40);
    --badge-cl: #9cc0ff;
    --ci-bg: rgba(90, 140, 255, .16);
    --ci-cl: #8fb6ff;
    --ci-lk: #8fb6ff;
    font-family: 'Manrope', 'Inter', sans-serif;
    background: radial-gradient(ellipse 120% 60% at 50% 0%, #0d2a8f 0%, #061347 35%, #030820 70%) fixed !important;
    background-color: #030820 !important;
    overflow-x: hidden;
}

/* o toggle claro/escuro não se aplica a este visual (sempre escuro) */
body.home-holo #btn-tema { display: none !important; }
body.home-holo .modal-content.bg-dark .btn-close-white { filter: invert(1); }
body.home-holo select option { background: #0a1a55; color: #e2e8f8; }
body.home-holo .bg-footer { background: rgba(3, 8, 32, .9); }

/* navbar de vidro */
body.home-holo .bg-navbar {
    background: var(--bg-navbar) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 10px 40px -20px rgba(30, 90, 255, .6);
}
body.home-holo .bg-navbar .nav-link:hover { text-shadow: 0 0 14px rgba(120, 170, 255, .9); }

/* ═══ ANIMAÇÕES ═══ */
@keyframes holoFloat { 50% { transform: translateY(-12px); } }
@keyframes holoBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes holoGlow  { 50% { box-shadow: 0 0 60px 10px rgba(60,120,255,.55), inset 0 0 30px rgba(160,200,255,.35); } }
@keyframes holoType  { 0%, 8% { max-width: 0; } 55%, 85% { max-width: 30em; } 100% { max-width: 0; } }
@keyframes holoCaret { 50% { opacity: 0; } }
@keyframes holoSweep { 0% { left: 0; } 100% { left: calc(100% - 160px); } }
@keyframes holoDash  { to { stroke-dashoffset: -40; } }
@keyframes holoSpin  { to { transform: rotate(360deg); } }
@keyframes holoBob   { 50% { transform: translateY(-14px) rotate(45deg); } }

/* ═══ COMPONENTES BASE ═══ */
.holo-glass {
    background: linear-gradient(160deg, rgba(80,130,255,.22), rgba(20,40,120,.18));
    border: 1px solid rgba(140,180,255,.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 40px -10px rgba(30,90,255,.5);
    transition: transform .35s, box-shadow .35s, border-color .35s;
}
.holo-glass:hover {
    transform: translateY(-6px);
    border-color: rgba(160,200,255,.6);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 0 50px rgba(60,130,255,.6);
}
.holo-float { animation: holoFloat 5s ease-in-out infinite; }

.holo-eyebrow { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: #7fb2ff; font-weight: 700; margin-bottom: .5rem; }
.holo-eyebrow.small { font-size: .72rem; }
.holo-h2 { font-weight: 800; font-size: clamp(1.9rem, 3.5vw, 2.8rem); line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.holo-muted { color: #a9bde6; max-width: 640px; margin: .5rem auto 0; }

.holo-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .9rem 1.6rem; border-radius: 999px;
    font-weight: 700; text-decoration: none;
    transition: transform .25s, box-shadow .25s;
}
.holo-btn:hover { transform: translateY(-2px); }
.holo-btn-green { background: #25d366; color: #04210f; box-shadow: 0 0 30px rgba(37,211,102,.4); }
.holo-btn-green:hover { color: #04210f; box-shadow: 0 0 0 6px rgba(37,211,102,.18), 0 12px 40px rgba(37,211,102,.5); }
.holo-btn-ghost { color: #e6eeff; border: 1px solid rgba(140,180,255,.45); background: rgba(255,255,255,.04); }
.holo-btn-ghost:hover { color: #fff; background: rgba(90,140,255,.18); }
.holo-btn-white { background: #fff; color: #061347; }
.holo-btn-white:hover { color: #061347; box-shadow: 0 0 30px rgba(255,255,255,.35); }

/* revelar ao rolar (classe adicionada pelo home-holograma.js) */
.holo-reveal { opacity: 0; filter: blur(14px); transform: translateY(30px) scale(.97); transition: opacity .9s ease, filter .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.holo-reveal.is-visible { opacity: 1; filter: none; transform: none; }

/* ═══ HERO ═══ */
.holo-hero { padding: 2.5rem 0 4.5rem; text-align: center; }
.holo-stage { position: relative; max-width: 760px; height: 300px; margin: 0 auto 1.5rem; display: flex; justify-content: center; }
.holo-links { position: absolute; inset: 0; width: 100%; height: 100%; }
.holo-dash { fill: none; stroke: #9cc0ff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 8 12; animation: holoDash 1.6s linear infinite; }

.holo-chip { position: absolute; top: 50px; width: 170px; padding: 1rem; border-radius: 20px; text-align: left; display: flex; flex-direction: column; gap: .5rem; }
.holo-chip i { font-size: 1.9rem; line-height: 1; }
.holo-chip span { font-size: .85rem; color: #b5c8f0; }
.holo-chip-left  { left: 0;  animation-delay: -1s; }
.holo-chip-right { right: 0; animation-delay: -2.5s; }

.holo-mascot { position: relative; width: 300px; display: flex; flex-direction: column; align-items: center; }
.holo-head {
    width: 118px; height: 118px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #6f9cff, #2149d9 60%, #132f9a);
    box-shadow: 0 0 40px 4px rgba(60,120,255,.45), inset 0 0 24px rgba(160,200,255,.3);
    display: flex; align-items: center; justify-content: center; gap: 20px;
    animation: holoGlow 3.5s ease-in-out infinite;
}
.holo-eye { width: 10px; height: 16px; border-radius: 6px; background: #fff; box-shadow: 0 0 10px #fff; animation: holoBlink 4s infinite; }
.holo-body {
    margin-top: 14px; width: 270px; height: 150px; border-radius: 135px 135px 0 0;
    background: linear-gradient(180deg, #2b5cf0, rgba(20,50,180,.2));
    box-shadow: 0 -10px 60px rgba(60,120,255,.45), inset 0 2px 0 rgba(180,210,255,.4);
}

.holo-title { font-weight: 800; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.03em; color: #fff; text-shadow: 0 0 40px rgba(80,140,255,.5); margin-bottom: 1.75rem; }
.holo-title span { color: #8fb6ff; }

.holo-search { display: flex; align-items: center; gap: .75rem; width: 100%; max-width: 560px; margin: 0 auto 1.75rem; padding: .85rem 1rem .85rem 1.5rem; border-radius: 999px; text-align: left; }
.holo-search:hover { transform: none; }
.holo-search-text { flex: 1; min-width: 0; font-size: 1.05rem; color: #e6eeff; white-space: nowrap; overflow: hidden; }
.holo-type { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; animation: holoType 7s steps(34, end) infinite; }
.holo-caret { color: #8fb6ff; animation: holoCaret .9s steps(1) infinite; }
.holo-search-btn { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: #3d6bff; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 20px rgba(60,120,255,.7); text-decoration: none; }
.holo-search-btn:hover { color: #fff; background: #5a82ff; }

.holo-lead { font-size: 1.1rem; line-height: 1.6; color: #a9bde6; max-width: 620px; margin: 0 auto 2rem; }

/* ═══ DESTAQUES ═══ */
.holo-highlights { padding: 0 0 5rem; }
.holo-track { position: relative; max-width: 940px; height: 3px; margin: 0 auto 2.25rem; background: rgba(140,180,255,.2); border-radius: 3px; }
.holo-sweep { position: absolute; top: -2px; width: 160px; height: 7px; border-radius: 6px; background: #4d82ff; box-shadow: 0 0 20px 4px rgba(77,130,255,.8); animation: holoSweep 3.2s cubic-bezier(.6,0,.4,1) infinite alternate; }
.holo-highlights-row { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 1.5rem; max-width: 940px; margin: 0 auto; text-align: center; }
.holo-hl { display: flex; flex-direction: column; align-items: center; gap: .35rem; min-width: 150px; }
.holo-hl strong { color: #fff; margin-top: .4rem; }
.holo-hl small { color: #8ea3cf; }
.holo-tile { width: 84px; height: 84px; border-radius: 22px; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #cfe0ff; }

/* ═══ CARROSSEL (já existente) ═══ */
body.home-holo #homeCarousel .carousel-inner { border: 1px solid rgba(140,180,255,.3); box-shadow: 0 0 60px -10px rgba(40,100,255,.55) !important; }

/* ═══ SERVIÇOS / ÓRBITA ═══ */
.holo-services { padding: 3rem 0 6rem; }
.holo-orbit { --r: 220px; position: relative; width: 520px; height: 520px; flex-shrink: 0; }
.holo-orbit-ring { position: absolute; inset: 40px; border-radius: 50%; border: 1px solid rgba(140,180,255,.25); box-shadow: inset 0 0 60px rgba(40,100,255,.25); }
.holo-orbit-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.holo-counter { font-size: 4.5rem; font-weight: 800; color: #fff; letter-spacing: -.03em; text-shadow: 0 0 40px rgba(90,150,255,.9); line-height: 1; }
.holo-counter-label { color: #a9bde6; margin-top: .4rem; }
.holo-orbit-spin { position: absolute; inset: 0; animation: holoSpin 40s linear infinite; }
.holo-orb {
    position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.7rem; color: #e1ebff;
    transform: rotate(var(--a)) translateY(calc(-1 * var(--r))) rotate(calc(-1 * var(--a)));
}
.holo-orb:hover { transform: rotate(var(--a)) translateY(calc(-1 * var(--r))) rotate(calc(-1 * var(--a))) scale(1.12); }
.holo-orb i { display: inline-block; animation: holoSpin 40s linear infinite reverse; }

.holo-service { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.25rem; border-radius: 16px; }
.holo-service > i { font-size: 1.5rem; color: #8fb6ff; line-height: 1.2; }
.holo-service strong { display: block; color: #fff; }
.holo-service span { font-size: .9rem; color: #a9bde6; }

/* ═══ COMO FUNCIONA ═══ */
.holo-steps { padding: 1rem 0 6rem; }
.holo-steps-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 3rem; }
.holo-step { width: 260px; display: flex; flex-direction: column; align-items: center; }
.holo-step strong { color: #fff; margin-top: 1.1rem; font-size: 1.1rem; }
.holo-step small { color: #a9bde6; margin-top: .25rem; }
.holo-dia {
    width: 70px; height: 70px; transform: rotate(45deg); border-radius: 12px;
    background: linear-gradient(135deg, #8fb6ff, #2f5cf0); box-shadow: 0 0 40px rgba(80,140,255,.8);
    display: flex; align-items: center; justify-content: center;
    animation: holoBob 4s ease-in-out infinite;
}
.holo-dia span { transform: rotate(-45deg); font-size: 1.75rem; font-weight: 800; color: #fff; }
.holo-dia-gold { background: linear-gradient(135deg, #ffe08a, #f5b70f); box-shadow: 0 0 40px rgba(245,197,24,.7); }
.holo-dia-gold span { color: #3a2a00; }
.holo-pedestal { margin-top: 28px; width: 150px; border-radius: 12px 12px 0 0; background: linear-gradient(180deg, rgba(120,160,255,.45), rgba(40,80,200,.08)); border-top: 1px solid rgba(180,210,255,.6); }

/* ═══ SUPORTE REMOTO ═══ */
.holo-remote { padding: 0 0 6rem; }
.holo-remote-card { position: relative; overflow: hidden; padding: 2rem; border-radius: 22px; }
.holo-remote-card h3 { color: #fff; font-weight: 800; margin: .25rem 0 .5rem; }
.holo-remote-card p { color: #a9bde6; }
.holo-bignum { position: absolute; right: 18px; top: -14px; font-size: 7rem; font-weight: 800; color: rgba(140,180,255,.12); pointer-events: none; }
.holo-remote-cta { padding: 2rem; border-radius: 22px; background: linear-gradient(150deg, #2f5cf0, #142d9e); box-shadow: 0 0 60px rgba(50,100,255,.5); display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; }
.holo-remote-cta h3 { color: #fff; font-weight: 800; }

/* ═══ DEPOIMENTOS / CONTATO (já existentes) ═══ */
body.home-holo .testimonial-card,
body.home-holo .glass-card {
    background: linear-gradient(160deg, rgba(80,130,255,.18), rgba(20,40,120,.16));
    border-color: rgba(140,180,255,.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 10px 40px -10px rgba(30,90,255,.5);
}
body.home-holo .btn-brand { background: #3d6bff; color: #fff; box-shadow: 0 0 24px rgba(60,120,255,.5); }
body.home-holo .btn-brand:hover { background: #5a82ff; color: #fff; }

/* ═══ CELULAR ═══ */
@media (max-width: 767.98px) {
    .holo-stage { height: 240px; }
    .holo-chip, .holo-links { display: none; }
    .holo-search-text { font-size: .95rem; }
    .holo-orbit { --r: 132px; width: 330px; height: 330px; }
    .holo-orbit-ring { inset: 30px; }
    .holo-orb { width: 56px; height: 56px; margin: -28px 0 0 -28px; font-size: 1.3rem; }
    .holo-counter { font-size: 3rem; }
    .holo-counter-label { font-size: .85rem; }
}

/* quem pediu menos movimento no sistema não vê as animações */
@media (prefers-reduced-motion: reduce) {
    body.home-holo *, body.home-holo *::before, body.home-holo *::after { animation: none !important; }
    .holo-reveal { opacity: 1; filter: none; transform: none; }
    .holo-type { max-width: none; }
}