/* ===== MedEconomia — landing institucional ===== */
:root {
  --blue: #0066cc;
  --blue-dark: #0a4f9c;
  --blue-light: #1e8be0;
  --green: #22b36b;
  --ink: #10243b;
  --text: #37475a;
  --muted: #6b7a8d;
  --bg: #f4f8fe;
  --card: #ffffff;
  --border: #e2eaf5;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 79, 156, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.2; }

a { color: var(--blue); text-decoration: none; }

.accent { color: var(--green); }

/* ===== Botões ===== */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25);
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--blue); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(16px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
}
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--text); font-weight: 500; }
.nav a:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 10px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--blue-light); }

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  padding: clamp(40px, 7vw, 90px) clamp(16px, 5vw, 64px);
  max-width: 1200px;
  margin: 0 auto;
}
.badge {
  display: inline-block;
  background: #e8f7ec;
  color: #0a8f3c;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; margin-bottom: 18px; }
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--text); max-width: 540px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.hero-art { display: flex; justify-content: center; }
.hero-art img { filter: drop-shadow(0 20px 40px rgba(10, 79, 156, 0.25)); width: clamp(160px, 30vw, 240px); height: auto; }

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px clamp(16px, 5vw, 64px) 40px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.feature-icon { font-size: 30px; margin-bottom: 12px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--muted); }

/* ===== Steps ===== */
.steps {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 70px) clamp(16px, 5vw, 64px);
  text-align: center;
}
.steps h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 36px; }
.steps-list { list-style: none; display: grid; gap: 20px; text-align: left; }
.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps-list h3 { font-size: 17px; margin-bottom: 2px; }
.steps-list p { font-size: 14px; color: var(--muted); }

/* ===== Cities ===== */
.cities {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 50px) clamp(16px, 5vw, 64px);
  text-align: center;
}
.cities h2 { font-size: clamp(26px, 4vw, 36px); }
.cities-sub { color: var(--muted); margin: 8px 0 32px; }
.city-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.city-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.city-card.active { border-color: var(--green); border-width: 2px; }
.city-flag { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.city-card h3 { font-size: 18px; margin-bottom: 6px; }
.city-card p { font-size: 14px; color: var(--muted); }
.cities-note {
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted);
  background: #fff7e6;
  border: 1px solid #ffe2a8;
  border-radius: 12px;
  padding: 14px 18px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Beta ===== */
.beta { padding: clamp(40px, 6vw, 70px) clamp(16px, 5vw, 64px); }
.beta-card {
  max-width: 620px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  border-radius: 24px;
  padding: clamp(28px, 5vw, 48px);
  color: #fff;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 102, 204, 0.3);
}
.beta-card h2 { color: #fff; font-size: clamp(24px, 4vw, 32px); margin-bottom: 10px; }
.beta-card > p { color: #dcebff; margin-bottom: 28px; }
.beta-form { display: grid; gap: 16px; text-align: left; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: #dcebff; }
.field input {
  padding: 14px 16px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
}
.field input:focus { outline: 3px solid rgba(255, 255, 255, 0.5); }
.beta-form .btn-primary {
  background: var(--green);
  box-shadow: 0 8px 20px rgba(34, 179, 107, 0.35);
  margin-top: 4px;
}
.beta-form .btn-primary:hover { background: #1c9e5e; }
.form-msg { font-size: 14px; font-weight: 600; min-height: 20px; text-align: center; }
.form-msg.ok { color: #d4ffe4; }
.form-msg.err { color: #ffd9d4; }
.form-privacy { font-size: 12px; color: #bcd9ff; text-align: center; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: #c9d6e5;
  text-align: center;
  padding: 48px clamp(16px, 5vw, 64px);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}
.footer-tagline { margin: 10px 0 18px; color: #9fb3c8; }
.footer-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 22px; }
.footer-links a { color: #c9d6e5; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-legal { font-size: 12px; color: #7f93a8; line-height: 1.7; }

/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .city-cards { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 2; }
  .hero-art { order: 1; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .nav a:not(.nav-cta) { display: none; }
}
