/* Avanzzia — site institucional. Tokens espelhados de src/constants/theme.js */
:root {
  --navy: #0a1628;
  --navy-light: #112240;
  --navy-mid: #1a3460;
  --gold: #c9a84c;
  --gold-light: #f0d98a;
  --bg: #f4f6fa;
  --card: #fff;
  --border: #e4e8f0;
  --text: #0f1c2e;
  --text-sub: #4a5568;
  --text-muted: #8896a8;
  --shadow: 0 10px 30px rgba(10, 22, 40, 0.15), 0 4px 10px rgba(10, 22, 40, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.2s;
  cursor: pointer;
  border: 0;
  font-size: 15px;
}
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--navy); }
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { background: transparent; border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* NAV */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; font-size: 20px; }
.brand img {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(145deg, #1a3765, #06101f); padding: 5px; object-fit: contain;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #cbd5e1; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-toggle {
  display: none; background: transparent; border: 0; color: #fff;
  font-size: 26px; cursor: pointer; line-height: 1;
}

/* HERO */
.hero {
  background:
    radial-gradient(1200px 500px at 75% -10%, rgba(201, 168, 76, 0.18), transparent),
    linear-gradient(160deg, var(--navy-light) 0%, var(--navy) 60%);
  color: #fff;
  padding: 96px 0 104px;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 48px; line-height: 1.1; letter-spacing: -1px; margin-bottom: 18px; }
.hero h1 span { color: var(--gold-light); }
.hero p { font-size: 19px; color: #c7d2e0; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-logo { display: flex; justify-content: center; }
.hero-logo img {
  width: 220px; height: 220px; border-radius: 28px; padding: 24px; object-fit: contain;
  background: linear-gradient(145deg, #17345f, #050d1b);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
}

/* SECTIONS */
section { padding: 88px 0; }
.eyebrow { color: var(--gold); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; margin-bottom: 10px; }
.section-title { font-size: 34px; letter-spacing: -0.5px; margin-bottom: 14px; }
.section-sub { color: var(--text-sub); max-width: 680px; margin-bottom: 44px; font-size: 17px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.card h3 { font-size: 19px; margin-bottom: 8px; color: var(--navy); }
.card p { color: var(--text-sub); font-size: 15px; }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  color: var(--gold-light); margin-bottom: 16px;
}

.sol { background: #fff; }
.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.mod { border: 1px solid var(--border); border-radius: 14px; padding: 22px; background: var(--bg); transition: 0.2s; }
.mod:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.mod .ic { font-size: 24px; margin-bottom: 10px; }
.mod h4 { font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.mod p { font-size: 13.5px; color: var(--text-muted); }

/* CONTATO */
.contato { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%); color: #fff; text-align: center; }
.contato .section-title { color: #fff; }
.contato .section-sub { color: #c7d2e0; margin: 0 auto 32px; }
.contact-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
footer { background: #070f1d; color: #8896a8; padding: 36px 0; font-size: 14px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot a { color: #cbd5e1; }

@media (max-width: 860px) {
  .hero-grid, .cards { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 0; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; }
  .nav-links .btn { margin: 8px 24px; justify-content: center; }
  .nav-toggle { display: block; }
  .hero { padding: 64px 0 72px; }
  .hero h1 { font-size: 34px; }
  .hero-logo { order: -1; }
  .hero-logo img { width: 150px; height: 150px; }
  section { padding: 64px 0; }
  .section-title { font-size: 27px; }
}

@media (max-width: 520px) {
  .modules { grid-template-columns: 1fr; }
}
