:root {
    --roxo: #701fcc;
    --roxo-escuro: #540ba7;
    --roxo-claro: #9c4edc;
    --roxo-neon: #b366ff;
    --cinza: #f5f5f7;
    --cinza-escuro: #1a1a1a;
    --preto: #0a0a0a;
    --branco: #ffffff;
    --azul-saude: #00d4ff;
    --verde-saude: #00ff88;
    --font-principal: "Poppins", sans-serif;
    --font-display: "Space Grotesk", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-principal);
    background: var(--cinza);
    color: var(--cinza-escuro);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.navbar {
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.sticky {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(112, 31, 204, 0.1);
}

.navbar .content_navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.logo img {
    height: 60px;
    filter: drop-shadow(0 0 20px rgba(112, 31, 204, 0.5));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.menu li a {
    color: var(--branco);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--roxo-neon), var(--azul-saude));
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.menu li a:hover::before {
    width: 80%;
}

.menu li a:hover {
    background: rgba(112, 31, 204, 0.1);
    color: var(--roxo-neon);
}

.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #0a0a0a 100%);
    padding-top: 100px;
}

.home::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(112, 31, 204, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: -250px;
    right: -250px;
    animation: float 20s ease-in-out infinite;
}

.home::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -200px;
    left: -200px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.geometric-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.geometric-shape {
    position: absolute;
    border: 1px solid rgba(112, 31, 204, 0.2);
    animation: rotate 30s linear infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    top: 10%;
    right: 15%;
    animation-duration: 25s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    left: 10%;
    animation-duration: 35s;
    animation-direction: reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: 20%;
    right: 25%;
    animation-duration: 20s;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.home-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.home-content .text-1 {
    color: var(--roxo-neon);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: fadeInUp 0.8s ease;
}

.home-content .text-2 {
    color: var(--branco);
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease 0.2s backwards;
    background: linear-gradient(135deg, #ffffff 0%, var(--roxo-neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-content .text-3 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    animation: fadeInUp 1.2s ease 0.4s backwards;
    line-height: 1.6;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease 0.6s backwards;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--roxo) 0%, var(--roxo-escuro) 100%);
    color: var(--branco);
    box-shadow: 0 10px 30px rgba(112, 31, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(112, 31, 204, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--branco);
    border: 2px solid var(--roxo-neon);
}

.btn-secondary:hover {
    background: var(--roxo-neon);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(179, 102, 255, 0.3);
}

.sobre {
    padding: 8rem 4rem;
    background: var(--cinza);
    position: relative;
}

.sobre-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--cinza-escuro);
    margin-bottom: 1rem;
}

.section-title h2 .highlight {
    background: linear-gradient(135deg, var(--roxo) 0%, var(--roxo-neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.servico-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(112, 31, 204, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.servico-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--roxo) 0%, var(--azul-saude) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.servico-card:hover::before {
    transform: scaleX(1);
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(112, 31, 204, 0.2);
    border-color: var(--roxo);
}

.servico-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--roxo) 0%, var(--roxo-neon) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--branco);
    box-shadow: 0 10px 30px rgba(112, 31, 204, 0.3);
}

.servico-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cinza-escuro);
    margin-bottom: 1rem;
}

.servico-card p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

.sistemas {
    background: var(--cinza-escuro);
    padding: 8rem 4rem;
    position: relative;
    overflow: hidden;
}

.sistemas::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(112, 31, 204, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
}

.sistemas .section-title h2,
.sistemas .section-title p {
    color: var(--branco);
}

.sistemas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.sistema-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
}

.sistema-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--roxo-neon), var(--azul-saude));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sistema-card:hover::after {
    opacity: 1;
}

.sistema-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.sistema-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(112, 31, 204, 0.5));
}

.sistema-card h3 {
    color: var(--branco);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.sistema-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.95rem;
}

.valores {
    background: var(--cinza);
    padding: 8rem 4rem;
}

.clientes {
    background: var(--branco);
    padding: 8rem 4rem;
}

.clientes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
    align-items: center;
}

.cliente-card {
    background: var(--cinza);
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cliente-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(112, 31, 204, 0.15);
    border-color: var(--roxo);
    background: var(--branco);
}

.cliente-logo {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.cliente-card:hover .cliente-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.valores {
    background: var(--cinza);
    padding: 8rem 4rem;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 3rem auto 0;
}

.valor-card {
    background: var(--branco);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(112, 31, 204, 0.1);
}

.valor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(112, 31, 204, 0.15);
}

.valor-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--roxo);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.valor-card h3::before {
    content: '';
    width: 4px;
    height: 30px;
    background: linear-gradient(180deg, var(--roxo) 0%, var(--roxo-neon) 100%);
    border-radius: 2px;
}

.valor-card p {
    color: #666;
    line-height: 1.7;
}

.valor-card ul {
    list-style: none;
    padding: 0;
}

.valor-card ul li {
    color: #666;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.valor-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--roxo);
    font-weight: bold;
}

.contato {
    background: var(--cinza-escuro);
    padding: 8rem 4rem;
    color: var(--branco);
    overflow: hidden;
    width: 100%;
}

.contato-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.contato-info h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--roxo-neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contato-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contato-item:hover {
    background: rgba(112, 31, 204, 0.1);
    transform: translateX(10px);
}

.contato-item i {
    font-size: 1.5rem;
    color: var(--roxo-neon);
}

.form-contato {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--branco);
    font-family: var(--font-principal);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--roxo-neon);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(112, 31, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--roxo) 0%, var(--roxo-escuro) 100%);
    color: var(--branco);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(112, 31, 204, 0.4);
}

footer {
    background: var(--preto);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .home-content .text-2 {
        font-size: 3.5rem;
    }
    
    .contato-container {
        grid-template-columns: 1fr;
    }
    
    .clientes-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar .content_navbar {
        padding: 0 2rem;
    }
    
    .menu {
        display: none;
    }
    
    .home-content .text-2 {
        font-size: 2.5rem;
    }
    
    .home-content .text-3 {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .sobre, .sistemas, .valores, .contato, .clientes {
        padding: 4rem 1.5rem;
    }
    
    .contato-container {
        gap: 2rem;
    }
    
    .clientes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .cliente-card {
        padding: 1.5rem;
        min-height: 120px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .navbar .content_navbar {
        padding: 0 1rem;
    }
    
    .logo img {
        height: 45px;
    }
    
    .home {
        padding-top: 120px;
    }
    
    .home-content {
        padding: 1rem;
    }
    
    .home-content .text-1 {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
    
    .home-content .text-2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .home-content .text-3 {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .section-title p {
        font-size: 0.95rem;
    }
    
    .sobre, .sistemas, .valores, .contato, .clientes {
        padding: 3rem 1rem;
    }
    
    .servicos-grid,
    .sistemas-grid,
    .valores-grid {
        grid-template-columns: 1fr;
    }
    
    .contato {
        padding: 3rem 1rem;
    }
    
    .form-contato {
        padding: 1.5rem;
    }
    
    .clientes-grid {
        grid-template-columns: 1fr;
    }
}

#btn-topo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--roxo) 0%, var(--roxo-escuro) 100%);
    color: var(--branco);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(112, 31, 204, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    display: none;
}

#btn-topo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(112, 31, 204, 0.6);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--branco);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        transition: left 0.4s ease;
        z-index: 1000;
    }
    
    .menu.active {
        left: 0;
    }
    
    .menu li {
        width: 100%;
        text-align: center;
    }
    
    .menu li a {
        display: block;
        width: 100%;
        padding: 1.5rem;
        font-size: 1.2rem;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}