@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

.bg-scene {
    position: fixed;
    inset: 0;
    z-index: -10;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 50% at 15% 0%, rgba(37,99,235,0.10) 0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 85% 100%, rgba(16,185,129,0.07) 0%, transparent 55%),
        linear-gradient(180deg, #050813 0%, #05070d 45%, #060a14 100%);
}

.bg-scene::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148,163,184,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, transparent 75%);
    opacity: .5;
}

.typewriter-wrap { display: inline-block; }
#typewriter-text {
    border-right: 3px solid #22c55e;
    padding-right: 4px;
    animation: blink-caret .75s step-end infinite;
}
@keyframes blink-caret {
    from, to { border-color: transparent; }
    50%       { border-color: #22c55e; }
}

.hero-logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-logo-wrap::before {
    content: '';
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%);
    animation: pulse-ring 3s ease-in-out infinite;
}
@keyframes pulse-ring {
    0%,100% { transform: scale(1);   opacity: .7; }
    50%      { transform: scale(1.1); opacity: 1; }
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: float-particle linear infinite;
}
@keyframes float-particle {
    0%   { transform: translateY(0) scale(1);   opacity: .8; }
    100% { transform: translateY(-120px) scale(.3); opacity: 0; }
}

.section-eyebrow {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #22c55e;
    margin-bottom: .5rem;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.marquee-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: marquee 30s linear infinite;
}
.marquee-track.reverse { animation-direction: reverse; }
.marquee-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.tech-pill {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem 1.1rem;
    border-radius: 999px;
    background: rgba(15,23,42,.7);
    border: 1px solid rgba(255,255,255,.08);
    white-space: nowrap;
    font-size: .85rem;
    font-weight: 600;
    color: #cbd5e1;
    backdrop-filter: blur(10px);
    transition: border-color .3s, box-shadow .3s;
    cursor: default;
}
.tech-pill:hover {
    border-color: rgba(34,197,94,.5);
    box-shadow: 0 0 20px rgba(34,197,94,.15);
    color: #fff;
}
.tech-pill img {
    width: 26px; height: 26px;
    object-fit: contain;
    border-radius: 4px;
}

/* Carrossel dos Guri */
#teamPrev.disabled,
#teamNext.disabled {
    opacity: .25;
    pointer-events: none;
}
.carousel-dots .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    cursor: pointer;
    transition: all .3s;
}
.carousel-dots .dot.active {
    width: 22px;
    border-radius: 999px;
    background: #1a46a7;
}

/* Carrossel Cover Flow - Serviços Oferecidos */
.coverflow-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    perspective: 1600px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.coverflow-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}
.coverflow-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    transition: transform .55s cubic-bezier(.25,.46,.45,.94), opacity .55s ease;
    cursor: pointer;
}
.coverflow-item .cards-servicos {
    height: 340px;
    display: flex;
    flex-direction: column;
    user-select: none;
}
.coverflow-item.is-active {
    cursor: default;
}
.coverflow-item.is-active .cards-servicos {
    box-shadow: 0 25px 60px rgba(34,197,94,.25);
}
.coverflow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(15,23,42,.9);
    color: #e2e8f0;
    font-size: 1.15rem;
    backdrop-filter: blur(10px);
    transition: all .3s;
}
.coverflow-nav:hover {
    border-color: rgba(34,197,94,.5);
    background: rgba(34,197,94,.2);
    color: #4ade80;
    box-shadow: 0 0 20px rgba(34,197,94,.3);
}
.coverflow-nav.prev { left: 0; }
.coverflow-nav.next { right: 0; }
@media (max-width: 768px) {
    .coverflow-nav.prev { left: -4px; }
    .coverflow-nav.next { right: -4px; }
    .coverflow-item { width: 250px; }
    .coverflow-item .cards-servicos { height: 380px; }
}
.coverflow-dots .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    cursor: pointer;
    transition: all .3s;
}
.coverflow-dots .dot.active {
    width: 22px;
    border-radius: 999px;
    background: #22c55e;
}

.cards-servicos{
    transition: transform .3s ease, box-shadow .3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}
.cards-servicos:hover{
    transform: perspective(1000px)
               rotateX(6deg)
               rotateY(-6deg)
               translateY(-10px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: linear-gradient(135deg,#2563eb,#4f46e5);
    color: #fff;
    font-weight: 700;
    padding: .85rem 2rem;
    border-radius: 12px;
    font-size: .95rem;
    transition: all .3s;
    box-shadow: 0 0 30px rgba(59,130,246,.3);
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 40px rgba(59,130,246,.5);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    border: 1px solid rgba(255,255,255,.12);
    color: #cbd5e1;
    font-weight: 600;
    padding: .85rem 2rem;
    border-radius: 12px;
    font-size: .95rem;
    transition: all .3s;
}
.btn-secondary:hover {
    border-color: rgba(34,197,94,.5);
    color: #4ade80;
    background: rgba(34,197,94,.05);
}

.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent);
    margin: 0;
}

@media (max-width: 768px) {
    .carousel-nav-btn.prev { left: -4px; }
    .carousel-nav-btn.next { right: -4px; }
}

#mobileMenu { background: #030712; }