/* =============================================
   IV Agents — Design System
   Identidade: Inovação e Valor (IV)
   Paleta: Verde #39665A + Laranja #E58423 + Dourado #C4972A
   Estilo: Clean, leve, BigTech AI
   ============================================= */

:root {
    /* Core IV palette */
    --iv-green: #39665A;
    --iv-green-dark: #2D5248;
    --iv-green-light: #EDF5F2;
    --iv-green-50: rgba(57, 102, 90, 0.06);

    --iv-orange: #E58423;
    --iv-orange-dark: #CC6F10;
    --iv-orange-light: #FEF3E2;

    --iv-gold: #C4972A;
    --iv-gold-light: #FBF6E9;

    /* Neutrals — clean & light */
    --bg: #FAFBFC;
    --bg-alt: #F4F6F8;
    --surface: #FFFFFF;
    --border: #E8ECF0;
    --border-light: #F0F2F5;

    /* Text */
    --text: #1A2332;
    --text-secondary: #5A6B7D;
    --text-muted: #94A3B8;
    --text-inverse: #FFFFFF;

    /* Semantic */
    --success: #059669;
    --danger: #DC2626;
    --warning: #D97706;
    --info: #0284C7;

    /* Layout */
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);

    /* Typography */
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Inter', system-ui, -apple-system, sans-serif;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 15px;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* === UTILITIES === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }

.text-green { color: var(--iv-green); }
.text-orange { color: var(--iv-orange); }
.text-gold { color: var(--iv-gold); }
.text-muted { color: var(--text-muted); }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.badge-green { background: var(--iv-green-light); color: var(--iv-green); }
.badge-orange { background: var(--iv-orange-light); color: var(--iv-orange-dark); }
.badge-gold { background: var(--iv-gold-light); color: var(--iv-gold); }

/* === NAVBAR === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    z-index: 100;
    display: flex;
    align-items: center;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--iv-green);
}

.nav-brand img { height: 32px; }

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.15s var(--ease);
}

.nav-links a:hover { color: var(--iv-green); }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--iv-green);
    color: var(--text-inverse);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.15s var(--ease);
}

.nav-cta:hover { background: var(--iv-green-dark); }

/* === HERO === */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--iv-green-50);
    border: 1px solid var(--iv-green-light);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--iv-green);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero h1 .accent { color: var(--iv-green); }
.hero h1 .accent-orange { color: var(--iv-orange); }

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.15s var(--ease);
    line-height: 1.4;
}

.btn-primary {
    background: var(--iv-green);
    color: var(--text-inverse);
    box-shadow: 0 1px 2px rgba(57, 102, 90, 0.3);
}
.btn-primary:hover {
    background: var(--iv-green-dark);
    box-shadow: 0 4px 12px rgba(57, 102, 90, 0.25);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-secondary:hover {
    border-color: var(--iv-green);
    color: var(--iv-green);
}

.btn-orange {
    background: var(--iv-orange);
    color: var(--text-inverse);
}
.btn-orange:hover { background: var(--iv-orange-dark); }

.btn-lg { padding: 14px 36px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

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

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* === CARDS === */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.2s var(--ease);
}

.card:hover {
    border-color: var(--iv-green);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.card-icon-green { background: var(--iv-green-light); color: var(--iv-green); }
.card-icon-orange { background: var(--iv-orange-light); color: var(--iv-orange); }
.card-icon-gold { background: var(--iv-gold-light); color: var(--iv-gold); }

.card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

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

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

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

/* === FOOTER === */
.footer {
    padding: 48px 0 32px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-brand {
    font-weight: 700;
    font-size: 16px;
    color: var(--iv-green);
    margin-bottom: 8px;
}

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

.footer-tagline {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 16px;
    letter-spacing: 0.5px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 32px; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .section { padding: 60px 0; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .btn-lg { padding: 14px 24px; }
}
