:root {
  --primary: #1e3a5f;
  --primary-dark: #0f2744;
  --primary-light: #dbeafe;
  --accent: #2563eb;
  --gold: #d4a853;
  --dark: #0f172a;
  --text: #374151;
  --muted: #6b7280;
  --bg: #f8fafc;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 20px 50px rgba(30, 58, 95, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.7; }
h1, h2, h3, h5 { font-family: 'Libre Baskerville', serif; color: var(--dark); line-height: 1.2; }

.navbar { padding: 1.25rem 0; transition: all 0.4s; background: transparent; }
.navbar.scrolled { background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.navbar-brand { font-family: 'Libre Baskerville', serif; font-weight: 700; font-size: 1.5rem; color: var(--dark) !important; }
.navbar-brand span { color: var(--accent); }
.nav-link { font-weight: 500; color: var(--text) !important; margin: 0 0.4rem; font-size: 0.9rem; }
.nav-link:hover { color: var(--accent) !important; }

.btn-accent { background: var(--primary); border: none; color: white; padding: 0.75rem 1.8rem; border-radius: 6px; font-weight: 600; transition: all 0.3s; }
.btn-accent:hover { background: var(--accent); color: white; transform: translateY(-2px); }
.btn-outline-accent { border: 2px solid var(--primary); color: var(--primary); padding: 0.75rem 1.8rem; border-radius: 6px; font-weight: 600; background: transparent; }
.btn-outline-accent:hover { background: var(--primary); color: white; }

.hero { min-height: 100vh; display: flex; align-items: center; padding: 110px 0 60px; background: linear-gradient(135deg, var(--bg) 0%, #eff6ff 50%, #f8fafc 100%); }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--primary); color: white; padding: 0.4rem 1rem; border-radius: 4px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.25rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1.25rem; font-weight: 700; }
.hero h1 span { color: var(--accent); }
.hero-text { color: var(--muted); font-size: 1.05rem; max-width: 500px; margin-bottom: 2rem; }
.hero-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 480px; object-fit: cover; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #e2e8f0; }
.hero-stats strong { display: block; font-family: 'Libre Baskerville', serif; font-size: 1.75rem; color: var(--primary); }
.hero-stats span { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }

section { padding: 90px 0; }
.section-tag { display: inline-block; color: var(--gold); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.75rem; }
.section-title { font-size: clamp(1.85rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }

.service-card { background: white; border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 2rem 1.5rem; height: 100%; transition: all 0.35s; border-top: 3px solid var(--accent); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon { width: 52px; height: 52px; background: var(--primary-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--accent); margin-bottom: 1.25rem; }
.service-card h3 { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }

.about { background: var(--primary); color: rgba(255,255,255,0.8); }
.about .section-tag { color: var(--gold); }
.about .section-title { color: white; }
.about-list { list-style: none; margin-top: 1.5rem; }
.about-list li { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; }
.about-list i { color: var(--gold); }
.about-img { border-radius: var(--radius); width: 100%; height: 420px; object-fit: cover; }

.infra-item { text-align: center; padding: 1.5rem; }
.infra-item i { font-size: 2rem; color: var(--gold); margin-bottom: 0.75rem; }
.infra-item h4 { font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 700; color: white; }
.infra-item p { color: rgba(255,255,255,0.65); }

.contact-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.contact-item strong { color: var(--dark); font-size: 0.9rem; }
.contact-icon { width: 44px; height: 44px; background: var(--primary-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.contact-form { background: white; border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form-control, .form-select { border: 2px solid #e2e8f0; border-radius: 8px; padding: 0.8rem 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }

footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 3.5rem 0 2rem; }
footer h5 { color: white; font-family: 'Libre Baskerville', serif; margin-bottom: 1rem; }
footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
footer a:hover { color: var(--gold); }
footer hr { border-color: rgba(255,255,255,0.08); margin: 2rem 0 1.5rem; }

#contato { background: var(--bg); }
.fade-in { opacity: 0; transform: translateY(24px); transition: all 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 991px) {
  .hero-img { height: 340px; }
  .hero-stats { gap: 1.25rem; flex-wrap: wrap; }
  .navbar-collapse { background: white; padding: 1rem; border-radius: 8px; margin-top: 0.75rem; box-shadow: var(--shadow); }
}
