/* Reset e Variáveis */
:root {
    --primary: #004e92; /* Azul Engenharia */
    --secondary: #4CAF50; /* Verde Energia */
    --accent: #ff9800; /* Laranja Sol */
    --light: #f4f7f6;
    --dark: #333;
    --text: #555;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; line-height: 1.6; color: var(--text); }
h1, h2, h3 { font-family: 'Montserrat', sans-serif; color: var(--dark); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Botões */
.btn-primary { background: var(--secondary); color: #fff; padding: 12px 30px; border-radius: 5px; text-decoration: none; font-weight: bold; border: none; cursor: pointer; transition: 0.3s; display: inline-block;}
.btn-primary:hover { background: #43a047; transform: translateY(-2px); }
.btn-secondary { background: var(--primary); color: #fff; padding: 10px 20px; border-radius: 5px; text-decoration: none; display: inline-block; margin-top: 10px; }

/* Header */
header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: fixed; width: 100%; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.logo span { color: var(--secondary); }
.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 600; }
.btn-highlight { border: 2px solid var(--primary); padding: 8px 20px; border-radius: 20px; color: var(--primary) !important; }
.btn-highlight:hover { background: var(--primary); color: #fff !important; }
.menu-toggle { display: none; }

/* Hero */
.hero { 
    height: 90vh; 
    background: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover; 
    position: relative; 
    display: flex; 
    align-items: center; 
    text-align: center; 
    margin-top: 70px;
}
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.hero-content { position: relative; z-index: 1; color: #fff; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; color: #fff; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Sobre */
.about { padding: 80px 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.features-list { list-style: none; margin-top: 20px; }
.features-list li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.features-list i { color: var(--secondary); }
.img-placeholder { width: 100%; height: 300px; background: #ddd; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 10px; color: #888; }
.img-placeholder i { font-size: 3rem; margin-bottom: 10px; }

/* Calculadora */
.calculator-section { padding: 80px 0; background: var(--light); text-align: center; }
.calc-box { background: #fff; max-width: 500px; margin: 30px auto; padding: 40px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.input-group { margin-bottom: 20px; text-align: left; }
.input-group label { display: block; margin-bottom: 5px; font-weight: 600; }
.input-group input { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; font-size: 1rem; }
.result-box { margin-top: 20px; padding-top: 20px; border-top: 1px solid #eee; animation: fadeIn 0.5s; }
.hidden { display: none; }
.highlight { color: var(--secondary); font-weight: bold; font-size: 1.2rem; }
.note { font-size: 0.8rem; color: #777; margin: 10px 0; }

/* Contato */
.contact { padding: 80px 0; text-align: center; }
.contact-form { max-width: 600px; margin: 30px auto; display: flex; flex-direction: column; gap: 15px; }
.contact-form input, .contact-form textarea { padding: 15px; border: 1px solid #ccc; border-radius: 5px; font-family: inherit; }
.contact-form textarea { height: 150px; resize: none; }
.contact-info { margin-top: 30px; display: flex; justify-content: center; gap: 30px; }

/* Footer */
footer { background: var(--primary); color: #fff; text-align: center; padding: 20px; }

/* Responsivo */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .about-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; } /* Menu simplificado para demo */
    .menu-toggle { display: block; font-size: 1.5rem; cursor: pointer; }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }