/* Harmy - estilos do site institucional.
   Paleta da marca: Deep Indigo #1A3C63, Subtle Teal #2B7288, Metallic Gold #CBA361.
   Tipografia: Poppins (titulos) + Inter (corpo). */

:root {
  --indigo: #1a3c63;
  --indigo-700: #14304f;
  --teal: #2b7288;
  --gold: #cba361;
  --gold-soft: #e7d3ab;
  --bg: #fbfcfc;
  --bg-alt: #f1f5f7;
  --ink: #16263a;
  --muted: #5b6b7c;
  --line: #e2e8ec;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 18px 45px -28px rgba(20, 48, 79, 0.55);
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  color: var(--indigo);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}

p { margin: 0 0 1em; color: var(--muted); }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 252, 252, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--indigo);
}
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--teal); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--indigo); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--indigo-700); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--indigo-700); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { background: transparent; color: var(--indigo); border-color: var(--line); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(43, 114, 136, 0.18), transparent 60%),
    radial-gradient(900px 400px at -10% 20%, rgba(203, 163, 97, 0.16), transparent 55%),
    var(--bg);
  padding: 96px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(43, 114, 136, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 5vw, 52px); }
.hero h1 .accent { color: var(--teal); }
.hero p.lead { font-size: 19px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-note { font-size: 13px; color: var(--muted); margin-top: 18px; }

.hero-visual {
  position: relative;
  background: linear-gradient(160deg, var(--indigo), var(--teal));
  border-radius: 28px;
  padding: 40px;
  color: var(--white);
  box-shadow: var(--shadow);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-visual img { height: 70px; width: auto; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.25)); }
.hero-visual h3 { color: var(--white); font-size: 24px; }
.hero-visual p { color: rgba(255,255,255,0.85); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip {
  font-size: 13px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 36px); }
.section-head p { font-size: 17px; }

/* ---------- Feature cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(43, 114, 136, 0.1);
  color: var(--teal);
  margin-bottom: 16px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; }
.card p { margin: 0; font-size: 15px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding-top: 14px; }
.step .num {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--indigo-700);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  margin-bottom: 14px;
}
.step h4 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; font-size: 30px; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 520px; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--indigo-700);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 32px;
  margin-top: 0;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.8); font-size: 14px; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 36px;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

/* ---------- Legal / form pages ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--indigo), var(--teal));
  color: #fff;
  padding: 72px 0 56px;
}
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 620px; margin: 0; }
.legal { padding: 56px 0 80px; }
.legal .container { max-width: 800px; }
.legal h2 { font-size: 22px; margin-top: 36px; }
.legal h3 { font-size: 18px; margin-top: 24px; }
.legal ul { color: var(--muted); padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal .meta { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  max-width: 560px;
  margin: 0 auto;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--indigo); margin-bottom: 6px; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(43, 114, 136, 0.15);
}
.field textarea { resize: vertical; min-height: 96px; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.checkbox-row input { width: auto; margin-top: 3px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.alert {
  display: none;
  background: rgba(43, 114, 136, 0.1);
  border: 1px solid rgba(43, 114, 136, 0.3);
  color: var(--indigo);
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 22px;
  font-size: 15px;
}
.alert.show { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .cta-band { padding: 40px 24px; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
}
