/* Setup & Variables - Light Theme */
:root {
    --bg-base: #ffffff;
    --bg-surface: #f8fafc;
    --bg-panel: #ffffff;
    --border-color: #e2e8f0;
    
    --primary: #1d4ed8;
    --primary-dark: #1e3a8a;
    --accent: #2563eb;
    --header-bg: #2D3364;
    
    --text-main: #0f172a;
    --text-muted: #475569;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

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

/* Typography */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; color: var(--text-main); line-height: 1.25; margin-bottom: 1.25rem; }
.text-primary { color: var(--primary); }
p { color: var(--text-muted); margin-bottom: 1.25rem; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 7rem 0; } /* Melhorado espaçamento */
.section-header { margin-bottom: 4rem; } 
.section-header h2 { font-size: 2.75rem; }
.badge { display: inline-block; padding: 0.35rem 1rem; background: #eff6ff; color: var(--primary); border-radius: 9999px; font-weight: 600; font-size: 0.875rem; margin-bottom: 1.25rem; border: 1px solid #bfdbfe; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.875rem 1.75rem; border-radius: 9999px; font-weight: 600; font-size: 1rem;
    cursor: pointer; transition: var(--transition); border: none; outline: none;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(29, 78, 216, 0.4); color: #fff;}
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: #ffffff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #ffffff; }

.pulse-btn { animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(29, 78, 216, 0); }
    100% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0); }
}

/* Navbar - Header Totalmente Azul */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--header-bg); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 1.25rem 0; transition: var(--transition); }
.navbar-scrolled { box-shadow: var(--shadow-sm); }
.navbar-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { height: 45px; object-fit: contain; filter: none; } /* Logo branca, sem filtro */

.desktop-menu { display: flex; gap: 2.5rem; }
.desktop-menu a { font-weight: 500; font-size: 1rem; position: relative; color: #ffffff; }
.desktop-menu a:hover { color: #93c5fd; }
.mobile-toggle { display: none; background: transparent; border: none; color: #ffffff; font-size: 1.75rem; cursor: pointer; }

/* Hero Section */
.hero { padding-top: 11rem; padding-bottom: 6rem; background: linear-gradient(to bottom, #f1f5f9, #ffffff); }
.hero-content { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5rem; align-items: center; }
.hero-title { font-size: 3.5rem; margin-bottom: 1.25rem; letter-spacing: -1px; }
.hero-subtitle { font-size: 1.25rem; font-weight: 400; margin-bottom: 2.5rem; color: var(--text-muted); line-height: 1.6; }
.hero-img { width: 100%; border-radius: 1.5rem; box-shadow: var(--shadow-lg); transition: transform 0.3s ease; }
.hero-img:hover { transform: translateY(-5px); }

/* Grid Sections */
.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 3rem; }
.card { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 1.25rem; padding: 2.5rem; box-shadow: var(--shadow-sm); transition: var(--transition); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #bfdbfe; }
.card-icon { width: 3.5rem; height: 3.5rem; background: #eff6ff; color: var(--primary); display: flex; align-items: center; justify-content: center; border-radius: 1rem; font-size: 1.75rem; margin-bottom: 1.5rem; }

/* Clientes (Empresas que confiam) */
.clients-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 4rem; align-items: center; justify-items: center; opacity: 0.7; margin-top: 3rem; }
.clients-grid img { max-height: 55px; max-width: 140px; object-fit: contain; filter: grayscale(100%); transition: var(--transition); }
.clients-grid img:hover { filter: grayscale(0%); transform: scale(1.05); opacity: 1; }

/* Testimonials */
.testimonial-card { background: #fff; padding: 2.5rem; border-radius: 1.25rem; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.testimonial { font-style: italic; position: relative; padding-left: 2rem; }
.client-name { font-weight: 700; color: var(--primary); margin-top: 1rem; font-style: normal; display: block;}

/* Footer */
.footer { background: #0f172a; color: #f8fafc; padding-top: 5rem; }
.footer h4 { color: #fff; }
.footer-logo { filter: none; margin-bottom: 1.5rem; height: 45px; }
.footer p, .footer a { color: #94a3b8; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; align-items: center; }
.contact-item i { color: #38bdf8; font-size: 1.5rem; }
.border-top { border-top: 1px solid #1e293b; padding: 2rem 0; }

@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-actions { justify-content: center; }
    .hero-title { font-size: 2.75rem; }
    .desktop-menu, .nav-actions { display: none; }
    .mobile-toggle { display: block; }
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .clients-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
@media (max-width: 576px) {
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
}
