/**
 * FLUXO MCP | Corporate Design System
 * Palette derived from logo: Bold Blue (#1565FF) on dark navy
 * Style: Clean, minimal, professional enterprise
 */

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

:root {
    --bg-main: #090D14;
    --bg-surface: #0F1520;
    --bg-card: #131B29;
    --bg-card-hover: #182133;
    
    --border-color: #1E293B;
    --border-active: #1565FF;
    
    --brand-blue: #1565FF;
    --brand-blue-hover: #1255D9;
    --brand-blue-muted: rgba(21, 101, 255, 0.12);
    --brand-white: #FFFFFF;
    
    --whatsapp-green: #0F7B6C;
    --whatsapp-green-hover: #0A6358;
    
    --text-primary: #E2E8F0;
    --text-secondary: #8896AB;
    --text-muted: #556376;
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    
    --radius: 8px;
    --transition: all 0.15s ease;
}

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

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

body {
    background: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--brand-white);
    line-height: 1.25;
    letter-spacing: -0.025em;
}

/* Dividers */
.section-divider {
    height: 1px;
    background: var(--border-color);
    max-width: 1120px;
    margin: 0 auto;
}

/* Section label (replaces badges) */
.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-blue);
    margin-bottom: 0.85rem;
}

/* =============== NAVBAR =============== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(9, 13, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.brand-logo img {
    height: 32px;
    width: auto;
}

.brand-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-white);
}

.brand-title span {
    color: var(--brand-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--brand-white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* =============== BUTTONS =============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--brand-blue);
    color: var(--brand-white);
}

.btn-primary:hover {
    background: var(--brand-blue-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: #334155;
    background: rgba(255, 255, 255, 0.03);
}

.btn-whatsapp {
    background: var(--whatsapp-green);
    color: var(--brand-white);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-green-hover);
}

/* =============== HERO =============== */
.hero {
    padding: 140px 0 80px 0;
    text-align: center;
}

.hero-overline {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-blue);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    max-width: 780px;
    margin: 0 auto 1.5rem auto;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

/* =============== SECTIONS =============== */
.section-padding {
    padding: 80px 0;
}

.section-header {
    max-width: 680px;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.85rem;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* =============== CARDS =============== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.card {
    background: var(--bg-card);
    padding: 2rem;
    transition: var(--transition);
}

.card:hover {
    background: var(--bg-card-hover);
}

.card-number {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-blue);
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.card-list {
    list-style: none;
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.card-list li {
    font-size: 0.825rem;
    color: var(--text-muted);
    padding-left: 0.85rem;
    position: relative;
}

.card-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brand-blue);
}

/* =============== ARCHITECTURE =============== */
.arch-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
}

.arch-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0;
}

.arch-step {
    text-align: center;
    padding: 1.75rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-surface);
}

.arch-step-active {
    border-color: var(--brand-blue);
    background: var(--brand-blue-muted);
}

.arch-step-title {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.arch-step-active .arch-step-title {
    color: var(--brand-blue);
}

.arch-step-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.arch-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.75rem;
}

.connector-line {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--border-color);
    position: relative;
}

.connector-line::after {
    content: "";
    position: absolute;
    right: -3px;
    top: -3px;
    width: 0;
    height: 0;
    border-left: 6px solid var(--brand-blue);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

/* =============== CONTACT =============== */
.contact-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 3.5rem 2rem;
}

.contact-channels {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* =============== FOOTER =============== */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.825rem;
    color: var(--text-muted);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.footer-brand img {
    height: 24px;
}

.footer-links {
    display: flex;
    gap: 1.25rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--text-primary);
}

/* =============== RESPONSIVE =============== */
@media (max-width: 900px) {
    .hero-title { font-size: 2.2rem; }
    .cards-grid { grid-template-columns: 1fr; }
    .arch-steps { grid-template-columns: 1fr; gap: 1rem; }
    .arch-connector { padding: 0; }
    .connector-line { width: 2px; height: 24px; }
    .connector-line::after { right: -3px; top: auto; bottom: -3px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid var(--brand-blue); border-bottom: none; }
    .nav-links { display: none; }
    .footer .container { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 600px) {
    .hero-title { font-size: 1.8rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .contact-channels { flex-direction: column; width: 100%; }
    .contact-channels .btn { width: 100%; }
}
