:root {
    --primary-color: #2563eb; 
    --primary-hover: #1d4ed8;
    --text-dark: #111827;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }
.section-padding { padding: 5rem 0; }

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
    display: inline-block;
}
.btn-primary:hover { background: var(--primary-hover); }
.btn-large { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); text-decoration: none; }
.logo span { color: var(--primary-color); font-weight: 300;}

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary-color); }
.nav-links a.btn-primary { color: var(--white); }

.mobile-menu-btn { display: none; background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--text-dark); }

/* HERO SECTION (Smart City Background) */
.hero {
    /* Imagem de cidade/mobilidade urbana com overlay escuro */
    background: linear-gradient(rgba(17, 24, 39, 0.75), rgba(17, 24, 39, 0.85)), 
                url('https://images.unsplash.com/photo-1449824913935-59a10b8d2000?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center center/cover no-repeat;
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
}
.hero h1 { font-size: 3.5rem; margin-bottom: 1.5rem; font-weight: 700; line-height: 1.2; }
.hero h1 span { color: #60a5fa; }
.hero p { font-size: 1.25rem; max-width: 700px; margin: 0 auto 2.5rem auto; color: #d1d5db; }

/* Services / Expertise Grid */
.section-header { margin-bottom: 4rem; }
.section-header h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.service-icon { font-size: 3.5rem; margin-bottom: 1.5rem; }
.service-card h3 { margin-bottom: 1rem; color: var(--text-dark); font-size: 1.25rem; }
.service-card p { color: var(--text-light); font-size: 0.95rem; }

/* Contact Box */
.contact-box { background: var(--white); padding: 4rem; border-radius: 12px; text-align: center; max-width: 600px; margin: 0 auto; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05); }

/* Footer */
.site-footer { background: #111827; color: var(--white); padding: 4rem 0 2rem 0; margin-top: auto; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3rem; border-bottom: 1px solid #374151; padding-bottom: 3rem; }
.footer-brand h3 { margin-bottom: 1rem; font-size: 1.5rem; }
.footer-brand p { color: #9ca3af; max-width: 400px; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links h4 { margin-bottom: 1rem; font-size: 1.1rem; }
.footer-links a { color: #9ca3af; text-decoration: none; transition: color 0.3s;}
.footer-links a:hover { color: var(--white); }
.footer-bottom { text-align: center; padding-top: 2rem; color: #6b7280; font-size: 0.9rem; }

/* Responsiveness */
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-links {
        display: none; 
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        background: var(--white);
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }
    .nav-links.active { display: flex; gap: 1.5rem; padding: 2rem 0; }
    .hero h1 { font-size: 2.5rem; }
    .hero { padding: 5rem 0; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-brand p { margin: 0 auto; }
}
/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
    margin-top: 2rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group label {
    font-weight: 600;
    color: var(--text-dark);
}
.form-control {
    padding: 0.8rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
textarea.form-control {
    resize: vertical;
    min-height: 150px;
}
.btn-submit {
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
}

/* Alert Messages (Success / Error) */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
}
.alert.success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.alert.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Anti-Spam Honeypot (Invisible to humans) */
.honeypot {
    display: none !important;
}
/* =========================================
   Blog / Ideas Page Styles
   ========================================= */

.articles-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.blog-post {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.blog-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 3rem;
}

.blog-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.blog-body p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.blog-body h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 2.5rem 0 1rem 0;
}

.blog-body ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.blog-body ul li {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.blog-body a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.blog-body a:hover {
    color: var(--primary-hover);
}

/* Divisor entre artigos */
.article-divider {
    border: 0;
    height: 1px;
    background: #e5e7eb;
    margin: 1rem 0;
}

/* Grid para os benefícios do Artigo 2 */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.benefits-grid h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.benefits-grid p {
    font-size: 1rem !important;
    margin-bottom: 0 !important;
}

/* Responsividade do Blog */
@media (max-width: 768px) {
    .blog-image {
        height: 250px;
    }
    .blog-content {
        padding: 1.5rem;
    }
    .blog-title {
        font-size: 1.5rem;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}