    /* --- RESET E VARIÁVEIS --- */
:root {
    --bg-dark: #0f1115; /* Fundo quase preto */
    --bg-card: #161b22;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #10b981 100%); /* Azul para Verde */
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --accent-blue: #2563eb;
    --accent-green: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- HEADER / NAVBAR --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 17, 21, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Efeito de degradê no texto da logo apenas na parte "DIGITAL" ou ícone */
.logo span {
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    gap: 40px;
}

nav a {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

nav a:hover, nav a.active {
    color: var(--text-main);
}

.btn-login {
    padding: 10px 25px;
    border: 1px solid var(--accent-green);
    border-radius: 50px;
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-login:hover {
    background: var(--accent-green);
    color: #fff;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

/* Menu Mobile Icon */
.menu-toggle { display: none; cursor: pointer; font-size: 1.5rem; }

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    /* margin-top: -80px; Compensa o header fixo */
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero h1 .gradient-text {
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px -10px rgba(37, 99, 235, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px rgba(37, 99, 235, 0.7);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255,255,255,0.05);
}

/* --- LAYOUT BASE --- */
.page {
    min-height: 100vh;
    padding-top: 120px;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 5%;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-size: 2.4rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.4);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.05);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.08);
}

.list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    color: var(--text-muted);
}

.list li {
    display: flex;
    gap: 10px;
}

/* --- HERO VARIAÇÕES --- */
.hero.small {
    height: 59vh;
    padding-top: 7%;
}

/* --- PÁGINA DE SERVIÇOS --- */
.services-grid .card h3 {
    margin-bottom: 10px;
}

.services-grid .tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.services-grid .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.12);
    color: #9db8ff;
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.process {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.process .step-number {
    font-weight: 700;
    color: var(--accent-green);
    font-size: 1rem;
    margin-bottom: 8px;
}

/* --- PÁGINA SOBRE --- */
.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: start;
}

.stats {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.stat {
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    text-align: center;
    background: rgba(255,255,255,0.02);
}

.stat strong {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 6px;
}

/* --- PÁGINA CONTATO --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: start;
}

.contact-card .label {
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.contact-card a {
    color: var(--text-main);
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--accent-green);
}

form {
    display: grid;
    gap: 14px;
}

input, textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: var(--text-main);
    font-size: 1rem;
}

input:focus, textarea:focus {
    outline: 1px solid rgba(37, 99, 235, 0.6);
}

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

/* --- AUTENTICAÇÃO / LOGIN --- */
.auth-container {
    max-width: 420px;
    margin: 0 auto;
}

.auth-card {
    padding: 32px;
}

.auth-card h3 {
    margin-bottom: 8px;
}

.auth-card p {
    color: var(--text-muted);
    margin-bottom: 18px;
}

.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-actions a {
    color: var(--accent-blue);
    font-weight: 600;
}

.auth-actions a:hover {
    color: var(--text-main);
}

.auth-footer {
    margin-top: 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--accent-green);
    font-weight: 600;
}

/* --- VISUAL ELEMENTS (HEXAGONS BG) --- */
.bg-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent-blue);
    filter: blur(150px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: -1;
}
.shape-1 { top: 20%; left: 10%; }
.shape-2 { bottom: 10%; right: 10%; background: var(--accent-green); }

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }

    nav ul {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s;
    }

    nav ul.active { right: 0; }
    .menu-toggle { display: block; }
    .btn-login { display: none; } /* Opcional esconder no mobile */
}
