:root {
  --navy: #0e1a2f;
  --navy-2: #16253f;
  --graphite: #2b2f36;
  --text: #3a3f47;
  --muted: #6b7280;
  --bg-alt: #f3f4f6;
  --gold: #c9a227;
  --gold-dark: #a8861c;
  --green: #1e8e4f;
  --green-dark: #17723f;
  --radius: 10px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
}

h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: .75rem;
  background: var(--gold);
}

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--navy);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 1rem;
  padding-top: .5rem;
  padding-bottom: .5rem;
}
.logo {
  color: #fff;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
  font-size: 1.15rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .35em;
}
.logo span { color: var(--gold); }
.nav { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .75rem;
  color: #e5e7eb;
  text-decoration: none;
  font-size: .95rem;
  border-radius: 6px;
}
.nav a:hover, .nav a:focus-visible { color: var(--gold); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--graphite) 100%);
  color: #fff;
  padding: clamp(4rem, 12vw, 8rem) 0;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 6vw, 3.4rem); max-width: 18ch; }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: #cbd5e1; max-width: 60ch; margin: 0 0 2rem; }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.75rem;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-whatsapp { background: var(--green); color: #fff; font-size: 1.1rem; box-shadow: 0 6px 20px rgba(30, 142, 79, .35); }
.btn-whatsapp:hover { background: var(--green-dark); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); }

/* Secções */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border-top: 4px solid var(--gold);
  box-shadow: 0 4px 16px rgba(14, 26, 47, .08);
}
.card-num { display: block; font-weight: 800; color: var(--gold); font-size: 1.5rem; margin-bottom: .5rem; }
.card h3 { font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); }

/* Formulário */
.form { display: grid; gap: .4rem; margin-top: 1.5rem; }
.form label { font-weight: 600; color: var(--graphite); margin-top: .6rem; }
.form input, .form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: .8rem 1rem;
  border: 1px solid #cfd4dc;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form textarea { resize: vertical; }
.form .btn { margin-top: 1rem; justify-self: start; }

/* Rodapé */
.footer { background: var(--navy); color: #cbd5e1; padding: 2.5rem 0; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.legal p { margin: .2rem 0; }
.social { display: flex; gap: .75rem; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-2);
  color: #fff;
}
.social a:hover, .social a:focus-visible { background: var(--gold); color: var(--navy); }
.social svg { width: 20px; height: 20px; fill: currentColor; }

@media (max-width: 480px) {
  .header-inner { justify-content: center; }
  .nav a { padding: 0 .5rem; font-size: .9rem; }
  .btn-whatsapp, .form .btn { width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
