:root {
    --bg-principal: #040d1a;
    --bg-card: #08162c;
    --cyan: #00f2fe;
    --purple: #b927fc;
    --orange: #ff6a00;
    --blue: #0072ff;
    --text-white: #ffffff;
    --text-gray: #a2b4c7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-principal);
    color: var(--text-white);
    overflow-x: hidden;
}

/* --- CLASSES DE CORES --- */
.cyan-txt { color: var(--cyan); text-shadow: 0 0 10px rgba(0, 242, 254, 0.3); }
.purple-txt { color: var(--purple); text-shadow: 0 0 10px rgba(185, 39, 252, 0.3); }
.orange-txt { color: var(--orange); text-shadow: 0 0 10px rgba(255, 106, 0, 0.3); }
.whatsapp-txt { color: #25d366; text-shadow: 0 0 10px rgba(37, 211, 102, 0.4); }

/* --- HEADER / MENU --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(4, 13, 26, 0.93);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(45deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: none;
}

nav ul { display: flex; list-style: none; gap: 30px; }
nav ul li a { color: var(--text-gray); text-decoration: none; font-weight: 600; font-size: 14px; transition: 0.3s; }
nav ul li a:hover, nav ul li a.active { color: var(--cyan); text-shadow: 0 0 10px var(--cyan); }

.btn-header {
    background: linear-gradient(45deg, #00416a, var(--cyan));
    color: white; padding: 10px 20px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 14px;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3); transition: 0.3s;
}
.btn-header:hover { transform: scale(1.05); box-shadow: 0 0 25px rgba(0, 242, 254, 0.6); }
.menu-toggle { display: none; font-size: 24px; cursor: pointer; }

/* --- SEÇÃO CARROSSEL HERO --- */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0c203e, var(--bg-principal));
}

.carousel-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-conteudo { max-width: 600px; transform: translateY(30px); transition: 0.8s ease-out 0.2s; }
.slide.active .hero-conteudo { transform: translateY(0); }

.hero-conteudo h1 { font-size: 46px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-conteudo h1 span {
    background: linear-gradient(45deg, var(--orange), #f7b733);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 106, 0, 0.2);
}
.hero-conteudo p { color: var(--text-gray); font-size: 16px; margin-bottom: 35px; }

.btn-hero {
    display: inline-block; padding: 15px 35px; border: 2px solid var(--orange); color: var(--text-white);
    text-decoration: none; font-weight: 600; border-radius: 50px; box-shadow: 0 0 15px rgba(255, 106, 0, 0.2); transition: 0.4s;
}
.btn-hero:hover { background: var(--orange); box-shadow: 0 0 30px rgba(255, 106, 0, 0.6); transform: translateY(-3px); }

.hero-imagem { max-width: 480px; animation: flutuar 4s ease-in-out infinite; opacity: 0; transform: scale(0.8); transition: 0.8s ease-out 0.4s;}
.slide.active .hero-imagem { opacity: 1; transform: scale(1); }
.hero-imagem img { width: 100%; filter: drop-shadow(0 0 40px rgba(0, 114, 255, 0.3)); }

.carousel-dots {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 15px; z-index: 10;
}
.dot {
    width: 12px; height: 12px; background: rgba(255, 255, 255, 0.2);
    border-radius: 50%; cursor: pointer; transition: 0.3s;
}
.dot.active { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); width: 30px; border-radius: 10px; }

/* --- CARDS DE SERVIÇOS --- */
.servicos-section, .portfolio-section, .sobre-section, .contato-section { padding: 100px 8%; }
.titulo-secao { text-align: center; margin-bottom: 60px; }
.titulo-secao h2 { font-size: 36px; font-weight: 800; margin-bottom: 15px; text-transform: uppercase; }
.titulo-secao p { color: var(--text-gray); font-size: 15px; }

.servicos-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.card { 
    background: var(--bg-card); border-radius: 15px; padding: 40px 25px; text-align: center; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: 1px solid rgba(255, 255, 255, 0.03); 
    position: relative; overflow: hidden;
}

.card-glow {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(255,255,255,0.06), transparent 40%);
    pointer-events: none;
}

.card.cyan { border-bottom: 4px solid var(--cyan); }
.card.purple { border-bottom: 4px solid var(--purple); }
.card.orange { border-bottom: 4px solid var(--orange); }
.card.blue { border-bottom: 4px solid var(--blue); }

.card i { font-size: 45px; margin-bottom: 20px; transition: 0.3s; }
.card.cyan i { color: var(--cyan); text-shadow: 0 0 15px rgba(0, 242, 254, 0.4); }
.card.purple i { color: var(--purple); text-shadow: 0 0 15px rgba(185, 39, 252, 0.4); }
.card.orange i { color: var(--orange); text-shadow: 0 0 15px rgba(255, 106, 0, 0.4); }
.card.blue i { color: var(--blue); text-shadow: 0 0 15px rgba(0, 114, 255, 0.4); }

.card h3 { font-size: 18px; margin-bottom: 15px; }
.card ul { list-style: none; text-align: left; margin-bottom: 25px; }
.card ul li { color: var(--text-gray); font-size: 13px; margin-bottom: 8px; }
.card ul li::before { content: "• "; font-weight: bold; }
.card.cyan ul li::before { color: var(--cyan); }
.card.purple ul li::before { color: var(--purple); }
.card.orange ul li::before { color: var(--orange); }
.card.blue ul li::before { color: var(--blue); }

.card .saiba-mais { font-weight: 600; font-size: 14px; text-decoration: none; }
.card.cyan .saiba-mais { color: var(--cyan); }
.card.purple .saiba-mais { color: var(--purple); }
.card.orange .saiba-mais { color: var(--orange); }
.card.blue .saiba-mais { color: var(--blue); }

.card:hover { transform: translateY(-12px); background: #0c1f3d; }
.card.cyan:hover { box-shadow: 0 15px 35px rgba(0, 242, 254, 0.25); }
.card.purple:hover { box-shadow: 0 15px 35px rgba(185, 39, 252, 0.25); }
.card.orange:hover { box-shadow: 0 15px 35px rgba(255, 106, 0, 0.25); }
.card.blue:hover { box-shadow: 0 15px 35px rgba(0, 114, 255, 0.25); }

/* --- SUPORTE --- */
.suporte-section { padding: 60px 8%; background: linear-gradient(180deg, transparent, rgba(0, 242, 254, 0.03), transparent); }
.suporte-container { background: var(--bg-card); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 50px; text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.suporte-texto h2 { font-size: 32px; margin-bottom: 15px; background: linear-gradient(45deg, var(--text-white), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.suporte-texto p { color: var(--text-gray); max-width: 700px; margin: 0 auto 35px auto; line-height: 1.6; }
.suporte-botoes { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.btn-suporte { padding: 15px 30px; border-radius: 50px; text-decoration: none; font-weight: 600; transition: 0.3s; display: flex; align-items: center; gap: 10px; }
.btn-suporte.whatsapp { background-color: #25d366; color: white; }
.btn-suporte.whatsapp:hover { box-shadow: 0 0 25px rgba(37, 211, 102, 0.5); transform: translateY(-2px); }
.btn-suporte.ticket { border: 2px solid var(--cyan); color: var(--cyan); }
.btn-suporte.ticket:hover { background: var(--cyan); color: var(--bg-principal); box-shadow: 0 0 25px rgba(0, 242, 254, 0.4); transform: translateY(-2px); }

/* --- PORTFÓLIO --- */
.portfolio-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.portfolio-item { background: var(--bg-card); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.03); transition: 0.3s; }
.portfolio-img-wrapper { height: 200px; overflow: hidden; position: relative; }
.portfolio-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; filter: grayscale(30%); }
.portfolio-info { padding: 25px; }
.portfolio-info h4 { font-size: 18px; margin-bottom: 10px; color: var(--text-white); }
.portfolio-info p { color: var(--text-gray); font-size: 13px; line-height: 1.5; }
.portfolio-item:hover { border-color: var(--purple); box-shadow: 0 10px 25px rgba(185, 39, 252, 0.15); }
.portfolio-item:hover .portfolio-img-wrapper img { transform: scale(1.1); filter: grayscale(0%); }

/* --- SOBRE NÓS --- */
.mvv-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.mvv-card { background: linear-gradient(145deg, #091932, #061224); border-radius: 15px; padding: 40px 30px; border: 1px solid rgba(255,255,255,0.02); text-align: center; transition: 0.3s; }
.mvv-icon { font-size: 40px; margin-bottom: 20px; }
.mvv-card h3 { font-size: 22px; margin-bottom: 15px; font-weight: 700; }
.mvv-card p { color: var(--text-gray); font-size: 14px; line-height: 1.6; text-align: justify; }
.mvv-card:hover { transform: scale(1.03); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }

/* --- CONTATO --- */
.contato-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; background: var(--bg-card); padding: 50px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.04); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.contato-info h3 { font-size: 24px; margin-bottom: 15px; }
.contato-info p { color: var(--text-gray); font-size: 14px; margin-bottom: 30px; }

.info-item { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.info-item i { font-size: 22px; width: 30px; text-align: center; }
.info-item div strong { font-size: 12px; color: var(--text-gray); text-transform: uppercase; letter-spacing: 0.5px; }
.info-item div span { font-size: 15px; color: var(--text-white); }
.info-item .link-contato { color: #25d366; text-decoration: none; font-weight: 600; font-size: 15px; transition: 0.3s; }
.info-item .link-contato:hover { text-shadow: 0 0 10px rgba(37, 211, 102, 0.6); text-decoration: underline; }

.contato-form { display: flex; flex-direction: column; gap: 20px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 15px; background: rgba(4, 13, 26, 0.6); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: white; font-size: 14px; outline: none; transition: 0.3s;
}
.form-group select option { background: var(--bg-principal); color: white; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--cyan); box-shadow: 0 0 15px rgba(0, 242, 254, 0.3); }
.btn-enviar { background: linear-gradient(45deg, var(--orange), #f7b733); color: white; border: none; padding: 16px; border-radius: 8px; font-weight: 700; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-enviar:hover { transform: translateY(-2px); box-shadow: 0 0 25px rgba(255, 106, 0, 0.4); }

/* --- FOOTER & FLOATING --- */
footer { text-align: center; padding: 40px; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-gray); font-size: 13px; }
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background-color: #25d366; color: white; width: 60px; height: 60px; border-radius: 50px; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 0 20px rgba(37, 211, 102, 0.5); z-index: 1000; text-decoration: none; animation: pulse-whatsapp 2s infinite; }

@keyframes flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes pulse-whatsapp { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

@media (max-width: 960px) {
    header { padding: 20px 5%; }
    .menu-toggle { display: block; color: white; }
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-principal); padding: 20px; }
    .nav-menu.active { display: block; }
    nav ul { flex-direction: column; gap: 20px; }
    .btn-header { display: none; }
    .slide { flex-direction: column; text-align: center; justify-content: center; padding-top: 80px; }
    .hero-imagem { display: none; }
    .contato-wrapper { grid-template-columns: 1fr; padding: 30px; }
}