:root {
  --navy: #004080;
  --teal: #00a6a6;
  --white: #ffffff;
  --gray: #f2f2f2;
  --text: #1c2b3a;
  --muted: #4d5d6e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; text-align: center; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e5e9ee;
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 1.05rem; letter-spacing: .02em; white-space: nowrap; }
.brand strong { font-weight: 800; }
.nav { display: flex; gap: 24px; margin-left: auto; font-weight: 500; font-size: .92rem; }
.nav a:hover { color: var(--teal); }
.lang select {
  font: inherit; font-size: .85rem; padding: 6px 10px;
  border: 1px solid #cfd6de; border-radius: 8px; background: var(--white); color: var(--text);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #00648f 60%, var(--teal) 100%);
  color: var(--white);
  padding: 120px 0 100px;
}
.hero__inner { max-width: 820px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; opacity: .85; margin: 0 0 16px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; margin: 0 0 20px; font-weight: 800; }
.hero__sub { font-size: 1.15rem; max-width: 640px; opacity: .92; margin: 0 0 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 48px 0 0; font-weight: 700; letter-spacing: .12em; font-size: .85rem; opacity: .8; }
.hero__tags span + span::before { content: "|"; margin: 0 12px; opacity: .6; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--white); color: var(--navy); }
.btn--ghost { border: 2px solid rgba(255, 255, 255, .8); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--light { background: var(--white); color: var(--navy); }

/* Sections */
.section { padding: 88px 0; }
.section--alt { background: var(--gray); }
h2 { color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 32px; text-align: center; font-weight: 800; }
.lead { font-size: 1.1rem; color: var(--muted); margin: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border-radius: 16px; padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0, 64, 128, .08);
  border-top: 4px solid var(--teal);
}
.card--plain { background: var(--gray); box-shadow: none; }
.card__icon { font-size: 2rem; margin-bottom: 12px; }
.card h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* CTA */
.cta { background: var(--navy); color: var(--white); padding: 88px 0; }
.cta h2 { color: var(--white); margin-bottom: 16px; }
.cta p { margin: 0 0 32px; opacity: .9; }

/* Footer */
.footer { background: #00305f; color: rgba(255, 255, 255, .8); font-size: .85rem; padding: 20px 0; }
.footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* No celular o menu vira uma segunda linha rolável dentro do header */
@media (max-width: 860px) {
  html { scroll-padding-top: 112px; }
  .header__inner { flex-wrap: wrap; height: auto; padding-top: 12px; gap: 8px 16px; }
  .nav {
    order: 3; width: 100%; margin-left: 0; gap: 20px;
    overflow-x: auto; white-space: nowrap; padding-bottom: 10px; scrollbar-width: none;
  }
  .lang { margin-left: auto; }
  .hero { padding: 80px 0 64px; }
  .section, .cta { padding: 64px 0; }
}

@media (max-width: 360px) {
  .brand__text { display: none; }
}
