/* VoidStar Engenharia - homepage styles (single file, no dependencies) */
:root {
  --navy: #0b2a4a;
  --navy-dark: #071c33;
  --blue: #1b6ca8;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --whats: #25d366;
  --bg: #ffffff;
  --bg-soft: #f3f6fa;
  --text: #1c2733;
  --muted: #5b6b7b;
  --radius: 10px;
  --wrap: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); line-height: 1.6; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
.soft { background: var(--bg-soft); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin-bottom: 36px; }

/* Buttons */
.btn { display: inline-block; padding: 14px 26px; border-radius: 8px; font-weight: 700; text-decoration: none; text-align: center; border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #1a1200; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-whats { background: var(--whats); color: #052e16; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.1rem; }
.brand img { height: 42px; width: auto; }
.brand small { display: block; font-weight: 400; font-size: .72rem; opacity: .8; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--accent); }
.nav .btn { padding: 9px 18px; font-size: .9rem; color: #1a1200; }
.nav .btn:hover { color: #1a1200; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.8rem; cursor: pointer; line-height: 1; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy-dark), var(--navy) 60%, #12466f); color: #fff; padding: 80px 0; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: 18px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.15rem; opacity: .92; margin-bottom: 28px; max-width: 560px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero img { border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0,0,0,.4); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* Trust bar */
.trust { background: var(--bg-soft); padding: 28px 0; border-bottom: 1px solid #e1e8ef; }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.trust strong { display: block; font-size: 1.5rem; color: var(--navy); }
.trust span { color: var(--muted); font-size: .9rem; }

/* Cards (services + articles) */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 12px rgba(11,42,74,.1); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #e8eef4; }
.card img[src$=".png"] { object-fit: contain; padding: 12px; background: #fff; }
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; flex: 1; }
.card a.more { font-weight: 700; text-decoration: none; color: var(--blue); }
.card a.more:hover { color: var(--accent-dark); }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.projects figure { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; }
.projects img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.projects figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; color: #fff; font-weight: 600; font-size: .95rem; background: linear-gradient(transparent, rgba(7,28,51,.9)); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; counter-reset: step; list-style: none; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #1a1200; font-weight: 800; margin-bottom: 14px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.about p { margin-bottom: 14px; color: var(--text); }
.about img { border-radius: var(--radius); max-width: 340px; width: 100%; justify-self: center; }

/* Contact CTA */
.contact { background: var(--navy); color: #fff; text-align: center; }
.contact h2 { color: #fff; }
.contact p { opacity: .9; margin-bottom: 26px; }
.contact .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 28px; }
.contact address { font-style: normal; opacity: .85; font-size: .95rem; }
.contact address a { color: #fff; }

/* Careers */
.careers { text-align: center; }
.careers .upload { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin-top: 18px; }
.careers input[type=file] { max-width: 100%; }

.careers .lead { margin-left: auto; margin-right: auto; }

/* City links */
.city-links { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.city-links a { display: block; padding: 16px 18px; border: 1px solid #d5e0ea; border-radius: var(--radius); background: #fff; color: var(--navy); font-weight: 600; text-decoration: none; }
.city-links a:hover { border-color: var(--accent); color: var(--accent-dark); }

/* City / article pages */
.breadcrumb { padding-top: 14px; padding-bottom: 14px; font-size: .85rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.hero-city { padding: 56px 0; }
.hero-city .wrap { grid-template-columns: 1.3fr .7fr; }
.profile { text-align: center; }
.profile img { max-width: 300px; margin: 0 auto 12px; border-radius: 50%; aspect-ratio: 1; object-position: top; }
.profile figcaption { font-size: .95rem; opacity: .9; }
.prose { max-width: 760px; }
.prose p, .prose ul { margin-bottom: 14px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a.more { font-weight: 700; text-decoration: none; }
.split { display: grid; grid-template-columns: 1fr 260px; gap: 40px; align-items: center; padding: 36px 0; border-bottom: 1px solid #e1e8ef; }
.split:last-child { border-bottom: 0; }
.split.reverse { grid-template-columns: 260px 1fr; }
.split.reverse img { order: -1; }
.split img { width: 260px; height: 260px; object-fit: contain; border-radius: var(--radius); background: var(--bg-soft); }
details { background: #fff; border: 1px solid #d5e0ea; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
summary { font-weight: 700; color: var(--navy); cursor: pointer; }
details p { margin: 10px 0 0; color: var(--text); }

/* Footer */
footer { background: var(--navy-dark); color: #9fb2c6; text-align: center; padding: 28px 0 90px; font-size: .85rem; }
footer a { color: #cfdbe8; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 14px; }

/* Floating WhatsApp */
.whats-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--whats); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.whats-float img { width: 36px; height: 36px; }

@media (max-width: 800px) {
  section { padding: 52px 0; }
  .hero { padding: 48px 0; }
  .hero .wrap, .hero-city .wrap, .about { grid-template-columns: 1fr; gap: 28px; }
  .profile img { max-width: 200px; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  .split img, .split.reverse img { order: -1; width: 100%; max-width: 260px; height: auto; aspect-ratio: 1; margin: 0 auto; }
  .btn { width: 100%; }
  .nav .btn { width: auto; }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav .btn { margin-top: 12px; border: 0; }
}
