/* assets/css/style.css */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--light); color: var(--dark); line-height: 1.6; }

/* Menu Fixo */
.fixed-menu {
    position: fixed; top: 0; left: 0; right: 0;
    background: var(--white); box-shadow: var(--shadow);
    z-index: 1000; padding: 1rem 0;
}
.fixed-menu .container {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
}
.logo { font-size: 1.5rem; font-weight: bold; color: var(--primary); }
.logo span { color: var(--secondary); }
.nav-links { display: flex; list-style: none; gap: 1.5rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }
.btn-primary {
    background: var(--primary); color: white !important;
    padding: 0.5rem 1.5rem; border-radius: var(--radius);
    transition: background 0.3s;
}
.btn-primary:hover { background: var(--primary-dark); }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

.menu-spacer { height: 70px; }

/* Seções */
section { padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }
section h2 { font-size: 2rem; margin-bottom: 1rem; color: var(--dark); }
section p { color: var(--secondary); margin-bottom: 2rem; }

/* Hero */
#home {
    text-align: center; padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}
#home h1 { font-size: 3rem; margin-bottom: 1rem; }
#home .subtitle { font-size: 1.25rem; opacity: 0.9; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-white { background: white; color: var(--primary); padding: 0.75rem 2rem; border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.btn-outline { border: 2px solid white; color: white; padding: 0.75rem 2rem; border-radius: var(--radius); text-decoration: none; font-weight: 600; }

/* Cards */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.feature-card {
    background: var(--white); border-radius: var(--radius);
    padding: 2rem; box-shadow: var(--shadow); transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-5px); }
.feature-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
.feature-card h3 { margin-bottom: 0.5rem; }

/* Taxímetro Simulator */
.taximeter-box {
    background: var(--white); border-radius: var(--radius);
    padding: 2rem; box-shadow: var(--shadow); max-width: 500px; margin: 0 auto;
}
.taximeter-display {
    background: var(--dark); color: #22c55e; font-family: monospace;
    font-size: 2.5rem; padding: 1rem; text-align: center;
    border-radius: var(--radius); margin: 1rem 0; letter-spacing: 2px;
}
.taximeter-controls { display: grid; gap: 1rem; }
.taximeter-controls button {
    padding: 0.75rem; border: none; border-radius: var(--radius);
    font-weight: 600; cursor: pointer; transition: opacity 0.3s;
}
.taximeter-controls button:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-start { background: var(--success); color: white; }
.btn-pause { background: var(--warning); color: white; }
.btn-stop { background: var(--danger); color: white; }

/* Formulários */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.75rem; border: 1px solid #cbd5e1;
    border-radius: var(--radius); font-size: 1rem;
}
.form-group input:focus { outline: none; border-color: var(--primary); }

/* Footer Fixo */
.fixed-footer {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--dark); color: white; padding: 1rem 0;
    z-index: 1000;
}
.fixed-footer .container {
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
}
.footer-content {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem; margin-bottom: 1rem;
}
.footer-brand { font-weight: bold; }
.footer-brand span { color: var(--primary); }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: #cbd5e1; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { text-align: center; padding-top: 1rem; border-top: 1px solid #334155; font-size: 0.9rem; }
.footer-bottom a { color: var(--primary); text-decoration: none; }

/* Responsivo */
@media (max-width: 768px) {
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: white; flex-direction: column; padding: 1rem;
        box-shadow: var(--shadow);
    }
    .nav-links.active { display: flex; }
    .mobile-toggle { display: block; }
    #home h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
}

/* Utilitários */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.hidden { display: none; }