:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --blue: #1f6feb;
  --yellow: #ffef95;
  --orange: #fad800;
  --accent: #2fb5e8;
  --text: #1c2533;
  --muted: #5b6678;
  --bg: #ffffff;
  --bg-alt: #f3f6fa;
  --line: #dde3ec;
  --radius: 10px;
  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }
.alt { background: var(--bg-alt); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 760px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Botões */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  transition: background .2s;
}
.btn:hover { background: var(--navy-2); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--accent); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* Cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--blue); text-decoration: none; letter-spacing: -.5px; }
.logo span { color: var(--orange); }
.nav { display: flex; gap: 22px; margin: 0 auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.8rem; color: var(--navy); cursor: pointer; margin-left: auto; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .site-header .btn { display: none; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; border-top: 1px solid var(--line); }
}

/* Hero */
.hero {
  color: #fff;
  background:
    repeating-linear-gradient(115deg, transparent 0 60px, rgba(47,181,232,.07) 60px 61px),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1a4a8a 100%);
  padding: 120px 0 110px;
}
.hero h1, .hero h2 { color: #fff; }
.hero .lead { color: #c9d6ea; }
.page-hero { padding: 80px 0 70px; }

/* Grelhas */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } section { padding: 56px 0; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column;
}
.card p { color: var(--muted); flex: 1; }
.card .icon { font-size: 2rem; margin-bottom: 12px; }
.card a.more { font-weight: 600; text-decoration: none; }
.card a.more::after { content: " →"; }

/* Sectores */
.sector { scroll-margin-top: 90px; }
.sector + .sector { border-top: 1px solid var(--line); }

ul.check { list-style: none; padding: 0; }
ul.check li { padding-left: 28px; position: relative; margin-bottom: 10px; }
ul.check li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* Pilares */
.pillar { border-left: 4px solid var(--blue); padding: 8px 0 8px 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.tags li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-weight: 500; }

/* CTA final */
.cta { background: var(--navy); color: #fff; }
.cta h2 { color: #fff; }
.cta .lead { color: #c9d6ea; }

/* Contactos */
.contact-card { display: flex; gap: 20px; align-items: center; margin-bottom: 24px; }
.avatar {
  width: 96px; height: 96px; border-radius: 50%; flex: none; object-fit: cover;
  background: var(--navy-2); color: #fff; display: grid; place-items: center; font-size: 1.8rem; font-weight: 700;
}
dl.contacts { margin: 0; }
dl.contacts dt { font-weight: 600; color: var(--navy); margin-top: 14px; }
dl.contacts dd { margin: 0; }

form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
input, select, textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); border-color: transparent; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; }
.consent input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 8px; background: #e7f6ec; color: #17633a; }
.notice.error { background: #fdecec; color: #9b1c1c; }

/* Rodapé */
.site-footer { background: #071528; color: #9fb0c8; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #c9d6ea; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid #1b2c45; margin-top: 40px; padding-top: 20px; font-size: .85rem; }
