:root {
  --navy: #0F2C59;
  --navy-dark: #091D3E;
  --emerald: #10B981;
  --emerald-hover: #059669;
  --bg-white: #FFFFFF;
  --bg-alt: #F4F7FA;
  --text-main: #1E293B;
  --text-muted: #475569;
  --border: #E2E8F0;
  --amber-bg: #FFFBEB;
  --amber-border: #F59E0B;
  --amber-text: #92400E;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, .brand-text {
  color: var(--navy);
  line-height: 1.2;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 1.35rem;
}

.brand-sos {
  font-weight: 800;
  color: var(--navy);
}

.brand-coluna {
  font-weight: 600;
  color: var(--emerald);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
  border: none;
}

.btn-primary {
  background: var(--emerald);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.24);
}

.btn-primary:hover {
  background: var(--emerald-hover);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  padding: 64px 0 72px;
  background: radial-gradient(circle at top right, #EEF6FF 0%, #FFFFFF 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.badge-top {
  display: inline-block;
  background: #E0ECFF;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-actions {
  margin-bottom: 18px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Preview Card */
.hero-card-preview {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(15, 44, 89, 0.08);
  overflow: hidden;
}

.preview-header {
  background: var(--navy);
  color: #FFFFFF;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #F87171; }
.dot.yellow { background: #FBBF24; }
.dot.green { background: #34D399; }

.preview-label {
  margin-left: 6px;
  opacity: 0.9;
  font-weight: 500;
}

.preview-body {
  padding: 24px;
}

.doctor-badge-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.avatar-initials {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.doctor-badge-card strong {
  display: block;
  font-size: 1.05rem;
  color: var(--navy);
}

.doctor-badge-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.crm-pill {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #065F46;
  background: #D1FAE5;
  padding: 2px 8px;
  border-radius: 6px;
}

.preview-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.preview-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #E0ECFF;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.preview-checklist strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
}

.preview-checklist small {
  color: var(--text-muted);
  font-size: 0.84rem;
}

/* Sections */
.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--bg-alt);
}

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

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--emerald-hover);
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  margin-bottom: 12px;
}

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

/* Triage Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 22px;
  box-shadow: 0 4px 16px rgba(15, 44, 89, 0.04);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.step-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
}

.step-number {
  display: inline-block;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--emerald);
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* Red Flag Alert */
.red-flag-box {
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  border-left-width: 5px;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.red-flag-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.red-flag-box strong {
  display: block;
  color: var(--amber-text);
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.red-flag-box p {
  color: #78350F;
  font-size: 0.92rem;
}

/* Specialist */
.specialist-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: center;
}

.specialist-card {
  background: var(--navy);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(15, 44, 89, 0.16);
}

.specialist-monogram {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.specialist-role {
  color: #CBD5E1;
  font-size: 0.98rem;
  margin-bottom: 22px;
}

.specialist-ids {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.specialist-ids span {
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
}

.specialist-info h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.specialist-lead {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.02rem;
}

.credentials-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.credentials-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.96rem;
  color: var(--text-main);
}

.credentials-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 800;
}

/* FAQ */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  background: #FFFFFF;
}

.faq-item summary {
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  font-size: 1.04rem;
}

.faq-item p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA Banner & Quick Form */
.cta-banner {
  background: var(--navy);
  color: #FFFFFF;
  padding: 68px 0;
  text-align: center;
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  max-width: 680px;
  margin: 0 auto 14px;
}

.cta-banner p {
  color: #CBD5E1;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.quick-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 780px;
  margin: 0 auto;
}

.quick-form input,
.quick-form select {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.96rem;
  min-width: 220px;
  flex: 1;
}

.form-feedback {
  margin-top: 16px;
  font-size: 0.92rem;
  color: #A7F3D0 !important;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #94A3B8;
  padding: 36px 0;
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer strong {
  color: #FFFFFF;
  display: block;
  margin-bottom: 4px;
}

.footer-note {
  text-align: right;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .specialist-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .footer-note {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .btn-lg,
  .quick-form input,
  .quick-form select {
    width: 100%;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 13px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
}
