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

:root {
  --primary: #0a0a0a;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --max-w: 1100px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header .logo { display: flex; align-items: center; gap: .75rem; font-weight: 700; font-size: 1.1rem; color: var(--primary); }
.site-header .logo img { height: 36px; width: auto; border-radius: 6px; }
.site-header nav a { font-size: .875rem; font-weight: 500; color: var(--text-muted); margin-left: 1.5rem; }
.site-header nav a:hover { color: var(--accent); text-decoration: none; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #1d4ed8 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  text-align: center;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.25rem; }
.hero p  { font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255,255,255,.8); max-width: 600px; margin: 0 auto 2rem; }
.btn-primary {
  display: inline-block; padding: .875rem 2rem;
  background: var(--accent); color: #fff;
  font-weight: 600; border-radius: 8px;
  transition: background .2s;
}
.btn-primary:hover { background: var(--accent-light); text-decoration: none; }

/* ── Sections ── */
section { padding: 4rem 0; }
section:nth-child(even) { background: var(--bg-soft); }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: .75rem; }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2.5rem; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-text p { color: var(--text-muted); line-height: 1.8; }

/* ── Services ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.service-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.service-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .5rem; }
.service-card p { color: var(--text-muted); font-size: .95rem; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-item { display: flex; flex-direction: column; gap: .25rem; }
.contact-item span { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.contact-item a, .contact-item p { font-size: .95rem; color: var(--text); }
.social-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.social-links a {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .9rem; border: 1px solid var(--border);
  border-radius: 6px; font-size: .875rem; font-weight: 500;
  color: var(--text); transition: border-color .2s, color .2s;
}
.social-links a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* ── Footer ── */
.site-footer {
  background: var(--primary); color: rgba(255,255,255,.7);
  padding: 2.5rem 0;
  font-size: .875rem;
}
.footer-inner {
  display: flex; flex-direction: column; gap: 1rem;
  align-items: flex-start;
}
@media (min-width: 640px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-links { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .8rem; }
.footer-links a:hover { color: #fff; }
.footer-cnpj { font-size: .75rem; color: rgba(255,255,255,.45); margin-top: .5rem; }

/* ── Legal pages ── */
.legal-page { max-width: 760px; margin: 0 auto; padding: 3rem 1.25rem 4rem; }
.legal-page h1 { font-size: 2rem; font-weight: 700; margin-bottom: .5rem; }
.legal-page .updated { color: var(--text-muted); font-size: .875rem; margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.2rem; font-weight: 600; margin: 2rem 0 .5rem; }
.legal-page p, .legal-page li { color: var(--text-muted); line-height: 1.8; margin-bottom: .75rem; }
.legal-page ul { padding-left: 1.25rem; }
.legal-page a { color: var(--accent); }

@media (max-width: 640px) {
  .site-header nav { display: none; }
  .hero { padding: 3.5rem 0 2.5rem; }
  section { padding: 3rem 0; }
}
