/* ================================================
   NEXASYS — Gravity Pastel Theme
   Tons suaves de cinza, azul e branco
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Gravity Palette */
    --g-bg: #f5f7fb;
    --g-bg-alt: #edf1f7;
    --g-card: #ffffff;
    --g-primary: #5b7fa6;
    --g-primary-dark: #476a8e;
    --g-primary-light: #8babc8;
    --g-accent: #7ea8cb;
    --g-accent-glow: rgba(126,168,203,0.35);
    --g-text: #3b4a5e;
    --g-text-secondary: #6b7d8f;
    --g-text-muted: #a0adb8;
    --g-border: #dce3ec;
    --g-border-light: #e8edf3;
    --g-hover: #e0e8f2;
    --g-success: #7bc8a4;
    --g-warning: #e2c17b;
    --g-danger: #d48b8b;
    --g-white: #ffffff;
    --g-dark: #2c3a4b;
    --g-hero-from: #3b4f6b;
    --g-hero-via: #4a6585;
    --g-hero-to: #5b7fa6;
    --g-shadow-sm: 0 1px 3px rgba(59,74,94,0.06);
    --g-shadow: 0 4px 16px rgba(59,74,94,0.08);
    --g-shadow-lg: 0 10px 40px rgba(59,74,94,0.12);
    --g-radius: 14px;
    --g-radius-lg: 20px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--g-text);
    background: var(--g-bg);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

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

/* ===== HEADER / NAV ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(245,247,251,0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--g-border-light);
    transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.header.scrolled {
    background: rgba(255,255,255,0.95);
    box-shadow: var(--g-shadow-sm);
    border-color: var(--g-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo-img {
    height: 44px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu a {
    color: var(--g-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--g-primary-dark);
    background: var(--g-hover);
}

.cta-button {
    background: var(--g-primary);
    color: var(--g-white);
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px var(--g-accent-glow);
}

.cta-button:hover {
    background: var(--g-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--g-accent-glow);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--g-text);
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
    padding: 140px 0 80px;
    position: relative;
    background: linear-gradient(160deg, var(--g-hero-from) 0%, var(--g-hero-via) 45%, var(--g-hero-to) 100%);
    overflow: hidden;
    min-height: 88vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
}

.hero-glow-1 {
    width: 500px; height: 500px;
    background: var(--g-accent);
    top: -10%; right: -5%;
    animation: float-glow 10s ease-in-out infinite;
}

.hero-glow-2 {
    width: 400px; height: 400px;
    background: #a0b8d0;
    bottom: -10%; left: -5%;
    animation: float-glow 12s ease-in-out infinite reverse;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
}

.hero-orb-1 { width: 280px; height: 280px; top: 10%; right: 6%; animation: float-orb 12s ease-in-out infinite; }
.hero-orb-2 { width: 180px; height: 180px; bottom: 15%; left: 8%; animation: float-orb 9s ease-in-out infinite reverse; }
.hero-orb-3 { width: 100px; height: 100px; top: 35%; left: 20%; animation: float-orb 7s ease-in-out infinite 2s; }

@keyframes float-glow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, -15px) scale(1.08); }
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(12px, -18px); }
    66% { transform: translate(-8px, 8px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-content { max-width: 100%; }

.hero-centered {
    text-align: center;
    max-width: 780px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.12;
    color: #ffffff;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--g-primary);
    color: var(--g-white);
    box-shadow: 0 2px 10px var(--g-accent-glow);
}

.btn-primary:hover {
    background: var(--g-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--g-accent-glow);
}

.btn-glow {
    box-shadow: 0 0 24px var(--g-accent-glow);
}
.btn-glow:hover {
    box-shadow: 0 0 40px var(--g-accent-glow);
}

.hero .btn-primary {
    background: rgba(255,255,255,0.95);
    color: var(--g-primary-dark);
    font-weight: 700;
}
.hero .btn-primary:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.25);
}

.btn-secondary {
    background: var(--g-white);
    color: var(--g-primary);
    border: 1.5px solid var(--g-border);
}

.btn-secondary:hover {
    background: var(--g-hover);
    border-color: var(--g-primary-light);
    color: var(--g-primary-dark);
}

.hero .btn-secondary {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}
.hero .btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.35);
}

.btn-full { width: 100%; justify-content: center; }

/* ===== HERO METRICS ===== */
.hero-metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 56px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--g-radius-lg);
    padding: 26px 36px;
    backdrop-filter: blur(16px);
    width: 100%;
    max-width: 880px;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    justify-content: center;
}

.metric-icon {
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.metric-icon i, .metric-icon svg {
    width: 20px; height: 20px;
    color: rgba(255,255,255,0.8);
}

.metric-info { display: flex; flex-direction: column; }

.metric-value {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.metric-plus {
    font-size: 20px;
    font-weight: 700;
    color: var(--g-accent);
}

.metric-label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
    white-space: nowrap;
}

.metric-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    margin: 0 8px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.animate-fade-in { animation: fadeIn 0.7s ease-out forwards; opacity: 0; }
.animate-slide-up { animation: slideUp 0.7s ease-out forwards; opacity: 0; }
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.4s; }

/* ===== PAGE SECTIONS ===== */
.spa-page {
    display: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.spa-page.active {
    display: block;
    opacity: 1;
}

/* ===== PROOF SECTION (Cards) ===== */
.proof-section {
    padding: 80px 0;
    background: var(--g-white);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.card {
    background: var(--g-card);
    padding: 36px 28px;
    border-radius: var(--g-radius);
    border: 1px solid var(--g-border-light);
    box-shadow: var(--g-shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--g-shadow-lg);
    border-color: var(--g-primary-light);
}

.card-icon {
    width: 68px; height: 68px;
    background: var(--g-bg-alt);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-icon.amber { background: #f5ecd8; }
.card-icon.pink { background: #f0dce0; }

.card-icon i, .card-icon svg {
    width: 26px; height: 26px;
    color: var(--g-primary);
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--g-text);
    margin-bottom: 12px;
}

.card p {
    color: var(--g-text-secondary);
    font-size: 14px;
    line-height: 1.65;
}

/* ===== SOLUTIONS SECTION ===== */
.solutions-section {
    padding: 80px 0;
    background: var(--g-bg);
}

.solutions-section .cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.section-title {
    text-align: center;
    font-size: 34px;
    font-weight: 800;
    color: var(--g-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 15px;
    color: var(--g-text-secondary);
    max-width: 480px;
    margin: 0 auto;
}

.solution-card {
    background: var(--g-card);
    padding: 36px 24px;
    border-radius: var(--g-radius);
    border: 1px solid var(--g-border-light);
    box-shadow: var(--g-shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--g-shadow-lg);
    border-color: var(--g-primary-light);
}

.solution-card .card-icon { margin: 0 auto 18px; }
.solution-card h3 { font-size: 18px; font-weight: 700; color: var(--g-text); margin-bottom: 10px; }
.solution-card p { font-size: 14px; color: var(--g-text-secondary); line-height: 1.6; }

/* ===== PROCESS / TIMELINE ===== */
.process-section {
    padding: 80px 0;
    background: var(--g-white);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

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

.timeline-number {
    width: 56px; height: 56px;
    background: var(--g-bg-alt);
    color: var(--g-primary);
    border: 2px solid var(--g-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
    transition: all 0.3s;
}

.timeline-item:hover .timeline-number {
    background: var(--g-primary);
    color: white;
    border-color: var(--g-primary);
}

.timeline-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--g-text);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--g-text-secondary);
    font-size: 14px;
    line-height: 1.65;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: 80px 0;
    background: var(--g-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.testimonial-card {
    background: var(--g-card);
    padding: 32px;
    border-radius: var(--g-radius);
    border: 1px solid var(--g-border-light);
    box-shadow: var(--g-shadow-sm);
    transition: all 0.3s;
}

.testimonial-card:hover {
    box-shadow: var(--g-shadow);
    border-color: var(--g-primary-light);
}

.stars {
    color: var(--g-warning);
    margin-bottom: 16px;
    display: flex;
    gap: 2px;
}

.stars i, .stars svg { width: 18px; height: 18px; }

.testimonial-text {
    font-style: italic;
    color: var(--g-text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px; height: 44px;
    background: var(--g-bg-alt);
    color: var(--g-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    border: 1.5px solid var(--g-border);
}

.author-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--g-text);
}

.author-info p {
    font-size: 13px;
    color: var(--g-text-muted);
}

/* ===== PROJETOS SECTION (SPA) ===== */
.projetos-hero {
    padding: 120px 0 40px;
    text-align: center;
    background: var(--g-white);
}

.projetos-hero h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--g-dark);
    margin-bottom: 12px;
}

.projetos-hero p {
    font-size: 15px;
    color: var(--g-text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.filter-bar {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 32px 0 40px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1.5px solid var(--g-border);
    background: var(--g-white);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 13px;
    color: var(--g-text-secondary);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--g-primary);
    background: var(--g-primary);
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.project-card {
    background: var(--g-card);
    border-radius: var(--g-radius);
    overflow: hidden;
    border: 1px solid var(--g-border-light);
    box-shadow: var(--g-shadow-sm);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--g-shadow-lg);
    border-color: var(--g-primary-light);
}

.project-image-container { position: relative; }

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--g-bg-alt);
}

.project-content { padding: 24px; }

.project-category {
    display: inline-block;
    background: var(--g-bg-alt);
    color: var(--g-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
}

.project-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--g-text);
    margin-bottom: 10px;
}

.project-description {
    color: var(--g-text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-tech {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.tech-tag {
    background: var(--g-bg);
    color: var(--g-text-secondary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--g-primary);
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.2s, color 0.2s;
}

.project-link:hover {
    gap: 10px;
    color: var(--g-primary-dark);
}

.featured-badge {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(255,255,255,0.92);
    color: #b8860b;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: var(--g-shadow-sm);
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--g-text-secondary);
}

.empty-state h3 {
    font-size: 22px;
    color: var(--g-text);
    margin-bottom: 10px;
}

.loading-spinner {
    text-align: center;
    padding: 60px;
    color: var(--g-text-muted);
}

/* ===== CTA / CONTACT SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--g-hero-from) 0%, var(--g-hero-to) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.06), transparent 60%);
}

.cta-content { position: relative; z-index: 1; }

.cta-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 14px;
}

.cta-subtitle {
    text-align: center;
    font-size: 16px;
    margin-bottom: 36px;
    opacity: 0.85;
}

.cta-form {
    max-width: 580px;
    margin: 0 auto;
}

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

.cta-form input,
.cta-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: rgba(255,255,255,0.1);
    color: white;
    backdrop-filter: blur(8px);
    transition: border-color 0.2s, background 0.2s;
}

.cta-form input:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.15);
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
    color: rgba(255,255,255,0.55);
}

.cta-form textarea {
    margin-bottom: 14px;
    resize: vertical;
    min-height: 100px;
}

.cta-form .btn-primary {
    background: rgba(255,255,255,0.95);
    color: var(--g-primary-dark);
    font-weight: 700;
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 15px;
}

.cta-form .btn-primary:hover {
    background: #ffffff;
    box-shadow: 0 6px 24px rgba(255,255,255,0.2);
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    z-index: 9999;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: var(--g-shadow-lg);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success { background: var(--g-success); }
.toast.error { background: var(--g-danger); }
.toast.info { background: var(--g-primary); }

/* ===== FOOTER ===== */
.footer {
    background: var(--g-dark);
    color: white;
    padding: 56px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 36px;
    margin-bottom: 36px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    color: white;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 14px;
    color: white;
}

.footer-section p {
    color: var(--g-text-muted);
    line-height: 1.6;
    margin-bottom: 6px;
    font-size: 14px;
}

.footer-section ul li { margin-bottom: 6px; }

.footer-section a {
    color: var(--g-text-muted);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-section a:hover { color: white; }

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-links a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    color: var(--g-text-muted);
}

.social-links a:hover {
    background: var(--g-primary);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--g-text-muted);
}

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

.footer-links a { font-size: 13px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .solutions-section .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hamburger { display: flex; }

    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-metrics {
        flex-wrap: wrap;
        gap: 16px;
        padding: 20px 16px;
        border-radius: 14px;
        margin-top: 36px;
    }
    .metric-item { flex: 0 0 calc(50% - 16px); justify-content: flex-start; }
    .metric-divider { display: none; }

    .hero-glow-1 { width: 280px; height: 280px; }
    .hero-glow-2 { width: 220px; height: 220px; }
    .hero-orb-1 { width: 160px; height: 160px; }
    .hero-orb-3 { display: none; }

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

    .solutions-section .cards-grid { grid-template-columns: 1fr; }

    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
    .footer-links { flex-direction: column; gap: 8px; }

    .projects-grid { grid-template-columns: 1fr; }
    .projetos-hero { padding: 100px 0 30px; }
    .projetos-hero h2 { font-size: 28px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 26px; }
    .hero-badge { font-size: 12px; padding: 6px 14px; }
    .hero-metrics { padding: 16px 12px; }
    .metric-value { font-size: 20px; }
    .metric-icon { width: 34px; height: 34px; }
    .section-title { font-size: 26px; }
    .cards-grid { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* ===== SELECTION ===== */
::selection {
    background: var(--g-primary);
    color: white;
}
