:root {
  --primary: #1877f2;          /* Azul Facebook / médico */
  --primary-dark: #0f5dc0;
  --teal: #0ca6a6;
  --accent-green: #0ad17b;
  --bg-main: #f5f7fb;
  --bg-alt: #ffffff;
  --bg-card: #ffffff;
  --bg-deep: #0a2342;
  --text-main: #172b4d;
  --text-muted: #6b7280;
  --border-subtle: #d4dbe8;
  --shadow-soft: 0 18px 40px rgba(15, 44, 92, 0.18);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
}

/* Utility */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: #edf1fb;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  letter-spacing: 0.03em;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Navbar */

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 252, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 0, #a5d5ff 0, #1877f2 50%, #0a2342 100%);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 1rem;
}

.logo-text {
  font-size: 1rem;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.92rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 6px 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary-dark);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero */

.hero {
  padding: 80px 0 72px;
  background: linear-gradient(145deg, #f5f8ff 0, #e3efff 40%, #f5f7fb 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--bg-deep);
}

.hero-subtitle {
  margin: 0 0 12px;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(24, 119, 242, 0.08);
  color: var(--primary-dark);
  font-size: 0.85rem;
}

.hero-bullets {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 0.95rem;
}

.hero-bullets li + li {
  margin-top: 4px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hero-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
              background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(24, 119, 242, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(24, 119, 242, 0.55);
}

.btn-outline {
  background: #ffffff;
  color: var(--primary-dark);
  border-color: rgba(24, 119, 242, 0.35);
}

.btn-outline:hover {
  background: rgba(24, 119, 242, 0.06);
}

.btn-full {
  width: 100%;
}

/* Hero mockup */

.hero-mockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.card-mockup {
  background: #ffffff;
  border-radius: 32px;
  padding: 18px 16px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid #dde5f3;
  max-width: 340px;
  width: 100%;
}

.mockup-img-wrapper {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  margin-bottom: 12px;
}

.mockup-img-wrapper img {
  width: 100%;
  display: block;
}

.mockup-chat {
  background: #f5f7fb;
  border-radius: 22px;
  padding: 12px;
}

.bubble {
  display: inline-block;
  padding: 9px 12px;
  border-radius: 16px;
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.bubble-user {
  background: #ffffff;
  border-radius: 16px 16px 4px 16px;
  align-self: flex-end;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.bubble-bot {
  background: #dbeafe;
  border-radius: 16px 16px 16px 4px;
  color: #111827;
}

.mockup-options {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.mockup-options button {
  flex: 1;
  border-radius: 999px;
  border: none;
  padding: 6px 8px;
  font-size: 0.78rem;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #bfd3ff;
}

.mockup-options button:hover {
  background: #eff4ff;
}

.mockup-caption {
  font-size: 0.86rem;
  color: var(--text-muted);
  text-align: center;
}

/* Cards */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 24px rgba(15, 44, 92, 0.08);
  font-size: 0.95rem;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

/* Steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.step {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 24px rgba(15, 44, 92, 0.08);
  position: relative;
  font-size: 0.95rem;
}

.step-number {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(24, 119, 242, 0.08);
  border: 1px solid rgba(24, 119, 242, 0.6);
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  color: var(--primary-dark);
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
}

/* Públicos */

.publicos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.publico-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 24px rgba(15, 44, 92, 0.08);
}

.publico-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.publico-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pricing-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 22px 20px 24px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 32px rgba(15, 44, 92, 0.12);
  position: relative;
}

.pricing-card-featured {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 22px 44px rgba(24, 119, 242, 0.25);
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(12, 166, 166, 0.12);
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.pricing-card h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.pricing-tagline {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.pricing-price {
  margin: 0 0 16px;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--bg-deep);
}

.pricing-price span {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}

.pricing-features {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features li + li {
  margin-top: 6px;
}

.pricing-note {
  margin-top: 18px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Contato */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.contact-text h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.contact-text ul {
  margin: 0 0 12px 18px;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.contact-text li + li {
  margin-top: 4px;
}

.contact-highlight {
  margin: 0;
  font-size: 0.9rem;
  color: var(--bg-deep);
}

.contact-form-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 22px 20px 24px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.contact-form .form-group {
  margin-bottom: 12px;
}

.contact-form label {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  padding: 9px 10px;
  background: #f9fbff;
  color: #111827;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
              background 0.15s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(24, 119, 242, 0.3);
  background: #ffffff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-footnote {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Footer */

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: #ffffff;
  padding: 18px 0 22px;
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-small {
  margin-top: 4px;
}

/* Responsividade */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cards-grid,
  .steps-grid,
  .pricing-grid,
  .publicos-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-copy h1 {
    font-size: 2.2rem;
  }

  .cards-grid,
  .steps-grid,
  .pricing-grid,
  .publicos-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .pricing-card-featured {
    transform: none;
  }
}
