/* ===== Variáveis CSS ===== */
:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff006e;
    --dark-bg: #0a0e27;
    --darker-bg: #050812;
    --text-light: #e0e0e0;
    --text-muted: #a0a0a0;
    --border-color: #1a1f3a;
}

/* ===== Reset e Estilos Globais ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navegação ===== */
.navbar {
    background: linear-gradient(135deg, var(--darker-bg) 0%, rgba(10, 14, 39, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 212, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Courier New', monospace;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--darker-bg) 0%, rgba(0, 212, 255, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(30px);
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 110, 0.1));
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===== Botões ===== */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #000;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
}

/* ===== Seção de Serviços ===== */
.servicos {
    padding: 6rem 0;
    background-color: var(--darker-bg);
}

.servicos h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.servicos-intro {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

.servicos-categoria {
    margin-bottom: 4rem;
}

.categoria-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.servico-card {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.8) 0%, rgba(26, 31, 58, 0.4) 100%);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.servico-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.servico-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.servico-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.servico-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.servico-features {
    list-style: none;
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 5px;
    margin-top: auto;
}

.servico-features li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.servico-features li:before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.servicos-footer {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 0, 110, 0.05));
    border-radius: 10px;
    border: 1px solid var(--border-color);
    margin-top: 3rem;
}

.servicos-footer p {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== Seção de Planos ===== */
.planos {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, rgba(0, 212, 255, 0.03) 100%);
}

.planos h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.planos-intro {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.plano-card {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.8) 0%, rgba(26, 31, 58, 0.4) 100%);
    border: 2px solid var(--border-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plano-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.plano-card.destaque {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.plano-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.preco {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.preco span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    flex-grow: 1;
}

.features li {
    padding: 0.8rem 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.features li:last-child {
    border-bottom: none;
}

.features li:before {
    content: "";
    margin-right: 0.5rem;
}

.features li:contains("✓"):before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: bold;
}

.features li:contains("✗"):before {
    content: "✗ ";
    color: #666;
}

.plano-card button {
    width: 100%;
}

/* ===== Seção Sobre ===== */
.sobre {
    padding: 6rem 0;
    background-color: var(--darker-bg);
    text-align: center;
}

.sobre h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sobre p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.8) 0%, rgba(26, 31, 58, 0.4) 100%);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.stat h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-muted);
    margin: 0;
}

.expertise-section {
    margin-top: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 0, 110, 0.05));
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.expertise-section h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.expertise-item {
    background: rgba(26, 31, 58, 0.8);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.expertise-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.expertise-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.expertise-item h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.expertise-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== Seção de Contato ===== */
.contato {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, rgba(255, 0, 110, 0.03) 100%);
}

.contato h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.8) 0%, rgba(26, 31, 58, 0.4) 100%);
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    background: rgba(10, 14, 39, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-light);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form button {
    width: 100%;
}

/* ===== Footer ===== */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer p {
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* ===== Media Queries ===== */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .servicos h2,
    .planos h2,
    .sobre h2,
    .contato h2 {
        font-size: 1.8rem;
    }

    .plano-card.destaque {
        transform: scale(1);
    }

    .footer .container {
        justify-content: center;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        min-height: 60vh;
    }

    .hero h1 {
        font-size: 1.5rem;
    }
}

/* ===== CHAT WIDGET ===== */
.chat-widget-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.chat-widget-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.chat-widget {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.95) 0%, rgba(26, 31, 58, 0.5) 100%);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    z-index: 999;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-widget-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #000;
    padding: 1rem;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-widget-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.chat-widget-namebox {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.chat-widget-namebox input[type="text"] {
    flex: 1;
    padding: 0.4rem 0.6rem;
    border-radius: 5px;
    border: 1px solid rgba(0,0,0,0.1);
}

.chat-widget-namebox button {
    padding: 0.35rem 0.6rem;
    border-radius: 5px;
    border: none;
    background: rgba(0,212,255,0.9);
    color: #000;
    cursor: pointer;
    font-weight: 600;
}

.chat-widget-close {
    background: none;
    border: none;
    color: #000;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-widget-close:hover {
    transform: scale(1.2);
}

.chat-widget-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.chat-widget-messages {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.chat-message {
    display: flex;
}

.chat-message.admin {
    justify-content: flex-start;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message p {
    max-width: 80%;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.chat-message.user p {
    background: rgba(0, 212, 255, 0.2);
}

.chat-widget-footer {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

#chatWidgetInput {
    flex: 1;
    padding: 0.6rem;
    background: rgba(10, 14, 39, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
}

#chatWidgetInput:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-send-widget {
    padding: 0.6rem 1rem;
    background: var(--primary-color);
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-send-widget:hover {
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .chat-widget {
        width: calc(100% - 40px);
        height: 400px;
        right: 20px;
        bottom: 80px;
    }
}

/* ===== Galeria =====*/
.galeria {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.5) 0%, rgba(5, 8, 18, 0.5) 100%);
    border-top: 1px solid var(--border-color);
}

.galeria h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.galeria-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.galeria-item {
    border-radius: 10px;
    overflow: hidden;
    background: rgba(26, 31, 58, 0.5);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.galeria-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.galeria-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.galeria-info {
    padding: 15px;
}

.galeria-info h4 {
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 1rem;
}

.galeria-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== Parceiros ===== */
.parceiros {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(5, 8, 18, 0.8) 0%, rgba(26, 31, 58, 0.5) 100%);
    border-top: 1px solid var(--border-color);
}

.parceiros h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.parceiros-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.parceiros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.parceiro-item {
    background: rgba(26, 31, 58, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.parceiro-item:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
}

.parceiro-logo {
    max-width: 100px;
    max-height: 80px;
    margin-bottom: 15px;
    object-fit: contain;
}

.parceiro-item h4 {
    margin-bottom: 8px;
    color: var(--text-light);
}

.parceiro-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.btn-small {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-color);
    color: var(--dark-bg);
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}
