/* ==========================================================================
   CONSULTECNO - Folha de Estilos Principal
   Design Moderno, Responsivo, Tecnológico e Limpo
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variáveis Globais & Design Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Paleta de Cores Primária e Secundária */
    --primary: #2563eb;         /* Azul vibrante moderno */
    --primary-hover: #1d4ed8;   /* Azul mais escuro para hover */
    --primary-light: #eff6ff;   /* Fundo suave azul */
    --primary-glow: rgba(37, 99, 235, 0.25);

    --accent-cyan: #06b6d4;     /* Ciano tecnológico */
    --accent-emerald: #10b981;  /* Verde sucesso / WhatsApp */
    --accent-amber: #f59e0b;    /* Destaques / Estrelas */
    --accent-indigo: #6366f1;   /* Roxo moderno */

    /* Tons Neutros e Superfícies */
    --bg-dark: #0a0f1d;         /* Fundo escuro do hero / header */
    --bg-dark-card: #111827;    /* Superfície card escuro */
    --bg-dark-border: rgba(255, 255, 255, 0.1);

    --bg-body: #f8fafc;         /* Fundo claro geral do site */
    --bg-card: #ffffff;         /* Superfície branca limpa */
    --bg-card-alt: #f1f5f9;     /* Fundo de seções secundárias */

    --text-main: #1e293b;       /* Texto principal escuro */
    --text-muted: #64748b;      /* Texto secundário / legendas */
    --text-light: #94a3b8;      /* Texto suave */
    --text-white: #ffffff;      /* Texto branco para superfícies escuras */

    --border-color: #e2e8f0;    /* Bordas sutis */
    --border-color-focus: #3b82f6;

    /* Gradientes Tecnológicos */
    --grad-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --grad-dark: linear-gradient(180deg, #0a0f1d 0%, #0f172a 100%);
    --grad-card-glow: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(6, 182, 212, 0.05) 100%);

    /* Tipografia */
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-code: 'JetBrains Mono', monospace;

    /* Sombras Elevadas */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-primary: 0 10px 25px -5px rgba(37, 99, 235, 0.35);

    /* Arredondamento */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Transições */
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset e Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

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

/* --------------------------------------------------------------------------
   3. Botões & Elementos Comuns
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -5px rgba(37, 99, 235, 0.45);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* Seções Padrão */
.section {
    padding: 100px 0;
}

.section-header {
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   4. Header & Navegação
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 15, 29, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--bg-dark-border);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 15, 29, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--grad-primary);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-size: 1.1rem;
}

.logo-text strong {
    color: var(--accent-cyan);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle .bar {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero {
    background: var(--grad-dark);
    padding-top: 140px;
    padding-bottom: 70px;
    position: relative;
    overflow: hidden;
    color: var(--text-white);
}

.hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.35);
    color: var(--accent-cyan);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-emerald);
}

.hero-title {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.tech-stack-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--bg-dark-border);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-light);
    transition: var(--transition);
}

.tech-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Card de Código na Hero */
.hero-visual {
    position: relative;
}

.code-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--bg-dark-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
}

.code-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.code-card-header {
    background: #1e293b;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.traffic-lights {
    display: flex;
    gap: 6px;
}

.traffic-lights .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.traffic-lights .red { background: #ef4444; }
.traffic-lights .yellow { background: #f59e0b; }
.traffic-lights .green { background: #10b981; }

.card-filename {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--text-light);
}

.code-block {
    padding: 24px;
    font-family: var(--font-code);
    font-size: 0.85rem;
    line-height: 1.6;
    overflow-x: auto;
    background: #0f172a;
    color: #e2e8f0;
}

.token-keyword { color: #38bdf8; font-weight: 600; }
.token-function { color: #facc15; }
.token-type { color: #a78bfa; }
.token-string { color: #4ade80; }
.token-comment { color: #64748b; font-style: italic; }

.code-card-footer {
    padding: 16px 24px;
    background: #131c2e;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: 20px;
}

.stat-badge {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-cyan);
}

.stat-text {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Barra de Estatísticas */
.stats-bar {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--bg-dark-border);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 28px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-big {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    max-width: 170px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   6. Seção Sobre
   -------------------------------------------------------------------------- */
.sobre {
    background: var(--bg-body);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sobre-card-highlight {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.sobre-card-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--grad-primary);
}

.highlight-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.sobre-card-highlight h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.sobre-card-highlight p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.highlight-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.highlight-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.highlight-list li i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.sobre-content-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sobre-feature {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.sobre-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.bg-blue { background: #dbeafe; color: #1d4ed8; }
.bg-cyan { background: #cffafe; color: #0891b2; }
.bg-indigo { background: #e0e7ff; color: #4338ca; }

.feature-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.feature-info p {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   7. Seção Serviços
   -------------------------------------------------------------------------- */
.servicos {
    background: var(--bg-card-alt);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.4);
}

.service-card.highlighted {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.badge-featured {
    position: absolute;
    top: 16px;
    right: 20px;
    background: var(--primary);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--text-white);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 14px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.service-features li {
    font-size: 0.875rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li i {
    color: var(--accent-cyan);
    font-size: 0.85rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
}

.service-link:hover {
    gap: 12px;
    color: var(--primary-hover);
}

/* --------------------------------------------------------------------------
   8. Seção Nossos Softwares
   -------------------------------------------------------------------------- */
.softwares {
    background: var(--bg-body);
}

.softwares-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.software-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

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

.software-card.featured-software {
    border-color: var(--primary);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.15);
}

.software-ribbon {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-emerald);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.software-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.software-icon {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.software-tag {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.software-name {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.software-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.software-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    flex-grow: 1;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 500;
}

.chip i {
    color: var(--accent-emerald);
    font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   9. Seção Portfólio
   -------------------------------------------------------------------------- */
.portfolio {
    background: var(--bg-card-alt);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.portfolio-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.portfolio-card.hide {
    display: none;
}

.portfolio-thumb {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    position: relative;
    color: var(--text-white);
}

.bg-gradient-1 { background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); }
.bg-gradient-2 { background: linear-gradient(135deg, #0f172a 0%, #334155 100%); }
.bg-gradient-3 { background: linear-gradient(135deg, #065f46 0%, #10b981 100%); }
.bg-gradient-4 { background: linear-gradient(135deg, #431407 0%, #ea580c 100%); }
.bg-gradient-5 { background: linear-gradient(135deg, #312e81 0%, #6366f1 100%); }
.bg-gradient-6 { background: linear-gradient(135deg, #164e63 0%, #06b6d4 100%); }

.portfolio-icon {
    font-size: 2.8rem;
    opacity: 0.9;
}

.portfolio-tech-tag {
    font-family: var(--font-code);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 600;
}

.portfolio-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.client-sector {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.portfolio-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.4;
}

.portfolio-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.portfolio-metric {
    background: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.85rem;
    color: #15803d;
    border: 1px solid #dcfce7;
    display: flex;
    align-items: center;
    gap: 8px;
}

.portfolio-metric i {
    font-size: 1rem;
}

/* --------------------------------------------------------------------------
   10. Banner Intermediário (CTA)
   -------------------------------------------------------------------------- */
.banner-cta {
    background: var(--grad-dark);
    color: var(--text-white);
    padding: 70px 0;
    position: relative;
    border-top: 1px solid var(--bg-dark-border);
    border-bottom: 1px solid var(--bg-dark-border);
}

.banner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.banner-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.banner-text p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.banner-btn-wrap {
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   11. Seção Contato
   -------------------------------------------------------------------------- */
.contato {
    background: var(--bg-body);
}

.contato-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.info-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.info-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-method-item:not(.no-click):hover {
    background: #ffffff;
    border-color: var(--primary);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.method-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--text-white);
    flex-shrink: 0;
}

.whatsapp-bg { background: #25d366; }
.email-bg { background: #2563eb; }
.time-bg { background: #475569; }

.method-details {
    display: flex;
    flex-direction: column;
}

.method-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
}

.method-val {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
}

.method-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.guarantee-box {
    margin-top: auto;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: center;
}

.guarantee-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.guarantee-text strong {
    display: block;
    font-size: 0.9rem;
    color: #1e3a8a;
    margin-bottom: 2px;
}

.guarantee-text p {
    font-size: 0.8rem;
    color: #3b82f6;
    line-height: 1.4;
    margin: 0;
}

/* Formulário de Contato */
.contato-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-header {
    margin-bottom: 28px;
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.form-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group label .required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-main);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: #ffffff;
    border-color: var(--border-color-focus);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
    border-color: #ef4444;
    background: #fef2f2;
}

.error-msg {
    display: none;
    font-size: 0.8rem;
    color: #ef4444;
    font-weight: 500;
}

.error-msg.visible {
    display: block;
}

.submit-btn {
    margin-top: 10px;
    padding: 15px;
    font-size: 1rem;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    display: block;
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

.form-status.error {
    display: block;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.footer {
    background: #060913;
    color: var(--text-light);
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.brand-col .logo {
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-heading {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-cyan);
    padding-left: 4px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.contact-list li i {
    color: var(--accent-cyan);
    font-size: 0.95rem;
    width: 16px;
}

.footer-bottom {
    background: #03050a;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 12px;
}

.footer-bottom-links a:hover {
    color: var(--text-white);
}

/* --------------------------------------------------------------------------
   13. Botões Flutuantes (WhatsApp & Topo)
   -------------------------------------------------------------------------- */
.floating-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 990;
    transition: var(--transition);
    animation: pulse 2.5s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp .tooltip {
    position: absolute;
    right: 70px;
    background: #1e293b;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.floating-whatsapp:hover .tooltip {
    opacity: 1;
    transform: translateX(-6px);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: #1e293b;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 980;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   14. Responsividade & Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .servicos-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }
}

@media (max-width: 868px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .tech-stack-pills {
        justify-content: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .stats-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 24px;
    }

    .stat-divider {
        display: none;
    }

    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .softwares-grid {
        grid-template-columns: 1fr;
    }

    .contato-grid {
        grid-template-columns: 1fr;
    }

    .banner-container {
        flex-direction: column;
        text-align: center;
    }

    /* Menu Mobile Drawer */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: #0a0f1d;
        flex-direction: column;
        padding: 30px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--bg-dark-border);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        transform: translateY(-150%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.open {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 18px;
    }

    .nav-cta-wrapper {
        width: 100%;
    }

    .nav-cta-wrapper .btn {
        width: 100%;
    }

    /* Ícone Hamburger em X */
    .nav-toggle.open .bar:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    .nav-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.open .bar:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }
}

@media (max-width: 640px) {
    .section {
        padding: 70px 0;
    }

    .servicos-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .stats-bar {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }

    .back-to-top {
        bottom: 84px;
        right: 24px;
    }
}
