/* ==========================================================================
   DIAGNOSIS SAAS - WORLD-CLASS UI/UX & RESPONSIVE DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Premium Dark Theme Color Tokens (High Contrast WCAG Compliant) */
  --bg-dark: #070C16;
  --bg-surface: #0F172A;
  --bg-surface-elevated: #1E293B;
  
  /* Accent Colors */
  --primary-emerald: #10B981;
  --primary-emerald-glow: rgba(16, 185, 129, 0.25);
  --primary-cyan: #06B6D4;
  --primary-cyan-glow: rgba(6, 182, 212, 0.25);
  --accent-blue: #3B82F6;
  
  /* Manchester Protocol Colors */
  --m-red: #EF4444;
  --m-orange: #F97316;
  --m-yellow: #EAB308;
  --m-green: #22C55E;

  /* Text System */
  --text-primary: #FFFFFF;
  --text-secondary: #CBD5E1;
  --text-tertiary: #94A3B8;
  --text-muted: #64748B;
  
  /* Glassmorphism & Borders */
  --glass-bg: rgba(15, 23, 42, 0.85);
  --glass-border: 1px solid rgba(255, 255, 255, 0.1);
  --glass-border-glow: 1px solid rgba(16, 185, 129, 0.35);
  --glass-blur: blur(16px);
  
  /* Gradients */
  --gradient-emerald: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
  --shadow-emerald: 0 10px 30px rgba(16, 185, 129, 0.35);

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global Strict Layout */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ambient Lights (Non-blocking) */
.ambient-light-1, .ambient-light-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.ambient-light-1 {
  top: 0;
  left: 20%;
  width: min(500px, 80vw);
  height: min(500px, 80vw);
  background: rgba(16, 185, 129, 0.12);
}

.ambient-light-2 {
  top: 800px;
  right: 10%;
  width: min(600px, 80vw);
  height: min(600px, 80vw);
  background: rgba(6, 182, 212, 0.1);
}

/* Typography Scale */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  font-weight: 800;
}

.text-gradient {
  background: var(--gradient-emerald);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container System */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 16px 0;
}

.header.scrolled {
  background: rgba(7, 12, 22, 0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: var(--glass-border);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

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

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-emerald);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070C16;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFF;
}

.logo-tag {
  font-size: 0.7rem;
  padding: 2px 8px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary-emerald);
  border-radius: 100px;
  border: 1px solid var(--primary-emerald-glow);
  font-weight: 700;
}

.nav-main {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-emerald);
}

/* Action Buttons strictly aligned to the FAR RIGHT */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto; /* Pushes action buttons to the far right */
  flex-shrink: 0;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-emerald);
  color: #070C16;
  box-shadow: var(--shadow-emerald);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5);
}

.btn-outline {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: var(--glass-border);
  backdrop-filter: var(--glass-blur);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-emerald);
  color: var(--primary-emerald);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding-top: clamp(110px, 14vw, 150px);
  padding-bottom: 60px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--primary-emerald);
  font-size: clamp(0.72rem, 1.8vw, 0.85rem);
  font-weight: 700;
  margin-bottom: 20px;
  max-width: 95%;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-emerald);
  box-shadow: 0 0 10px var(--primary-emerald);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  line-height: 1.18;
  max-width: 900px;
  margin: 0 auto 16px;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 28px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-preview {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: var(--bg-surface);
  border: var(--glass-border);
  box-shadow: var(--shadow-lg);
}

.hero-img {
  width: 100%;
  border-radius: var(--radius-md);
}

/* DataSUS Banner */
.datasus-banner {
  padding: 24px 0;
  background: rgba(15, 23, 42, 0.6);
  border-top: var(--glass-border);
  border-bottom: var(--glass-border);
}

.datasus-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}

.datasus-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.datasus-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Section Standard */
.section {
  padding: clamp(50px, 8vw, 90px) 0;
}

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

.section-tag {
  color: var(--primary-emerald);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-desc {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: var(--text-secondary);
}

/* Tab Navigation Showcase */
.tab-navigation {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.tab-btn {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: var(--glass-border);
  color: var(--text-tertiary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.tab-btn:hover, .tab-btn.active {
  background: var(--gradient-emerald);
  color: #070C16;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}

.tab-content-wrapper {
  background: var(--bg-surface);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3.5vw, 36px);
  box-shadow: var(--shadow-md);
}

.tab-content {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.tab-content.active {
  display: grid;
}

.tab-info h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin-bottom: 12px;
}

.tab-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.feature-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: var(--primary-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
}

.tab-visual-img {
  width: 100%;
  border-radius: var(--radius-md);
  border: var(--glass-border);
}

/* Manchester Simulator Box */
.triage-sim-box {
  background: var(--bg-surface);
  border: var(--glass-border-glow);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3.5vw, 32px);
  box-shadow: var(--shadow-md);
}

.triage-step-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}

.symptom-selector {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.symptom-btn {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: var(--glass-border);
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.symptom-btn:hover, .symptom-btn.active {
  border-color: var(--primary-emerald);
  background: rgba(16, 185, 129, 0.15);
}

.triage-result-card {
  background: #070C16;
  border: var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.manchester-badge-lg {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.88rem;
  color: #FFF;
}

.m-red-bg { background: var(--m-red); }
.m-orange-bg { background: var(--m-orange); }
.m-yellow-bg { background: var(--m-yellow); color: #000; }
.m-green-bg { background: var(--m-green); }

.voice-call-trigger {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--gradient-emerald);
  color: #070C16;
  font-weight: 800;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

/* Odontogram Component */
.odontogram-box {
  background: var(--bg-surface);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3.5vw, 32px);
  width: 100%;
  overflow-x: hidden;
}

.tooth-row-wrapper {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

.tooth-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
  min-width: 620px;
}

.tooth-item {
  width: 40px;
  height: 54px;
  background: rgba(255,255,255,0.04);
  border: var(--glass-border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  flex-shrink: 0;
}

.tooth-num {
  font-size: 0.68rem;
  color: var(--text-tertiary);
  font-weight: 700;
}

.tooth-status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 4px;
  background: #22C55E;
}

.tooth-status-indicator.cariado { background: #EF4444; }
.tooth-status-indicator.restaurado { background: #3B82F6; }
.tooth-status-indicator.extraido { background: #64748B; }
.tooth-status-indicator.canal { background: #A855F7; }

.odontogram-legend {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Previne Brasil Card */
.previne-card {
  background: var(--bg-surface);
  border: var(--glass-border-glow);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3.5vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.input-group label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.input-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
  outline: none;
  accent-color: var(--primary-emerald);
  cursor: pointer;
}

.calc-results {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}

.result-val-lg {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--primary-emerald);
}

/* Sandbox Credentials Table */
.credentials-box {
  background: var(--bg-surface);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3.5vw, 32px);
  margin-top: 30px;
}

.table-responsive-wrapper {
  overflow-x: auto;
  margin-top: 14px;
  width: 100%;
}

.cred-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

.cred-table th, .cred-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.82rem;
}

.cred-table th {
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-emerald);
  font-weight: 700;
}

.badge-role {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
  font-size: 0.68rem;
  font-weight: 700;
}

/* FAQ Accordion */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-surface);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary-emerald);
}

.faq-question {
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 10px;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  background: var(--primary-emerald);
  color: #070C16;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}

.faq-item.active .faq-answer {
  max-height: 220px;
  padding: 0 20px 18px;
}

/* WhatsApp Floating Action Button */
.whatsapp-float {
  position: fixed !important;
  right: 20px !important;
  bottom: 24px !important;
  width: 56px !important;
  height: 56px !important;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #FFFFFF !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5) !important;
  z-index: 99999 !important;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.whatsapp-float:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.7) !important;
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #0F172A;
  color: #F8FAFC;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(37, 211, 102, 0.4);
  box-shadow: var(--shadow-md);
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Modal System */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 12, 22, 0.85);
  backdrop-filter: blur(16px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: var(--bg-surface);
  border: var(--glass-border-glow);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3.5vw, 36px);
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 1.4rem;
  cursor: pointer;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: var(--glass-border);
  color: var(--text-primary);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-emerald);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 86px;
  background: var(--gradient-emerald);
  color: #070C16;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: var(--shadow-emerald);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  z-index: 100001;
  max-width: 90vw;
}

.toast.active {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.footer {
  border-top: var(--glass-border);
  padding: clamp(40px, 6vw, 70px) 0 24px;
  background: #04070D;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 320px;
  font-size: 0.85rem;
}

.footer-col h4 {
  font-size: 0.9rem;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.82rem;
}

.footer-col a:hover {
  color: var(--primary-emerald);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-tertiary);
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* Breakpoints & Media Queries */
@media (max-width: 1024px) {
  .nav-wrapper { flex-wrap: wrap; }
  .nav-actions { margin-left: auto; }
  .tab-content { grid-template-columns: 1fr; }
  .triage-step-grid { grid-template-columns: 1fr; }
  .previne-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-wrapper { flex-direction: column; align-items: center; text-align: center; }
  .nav-main { margin-left: 0; }
  .nav-links { justify-content: center; gap: 12px; }
  .nav-actions { margin-left: 0; justify-content: center; width: 100%; margin-top: 6px; }
  .hero-title { font-size: 2.1rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .datasus-grid { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  
  .whatsapp-float { bottom: 18px !important; right: 16px !important; width: 50px !important; height: 50px !important; }
  .whatsapp-tooltip { display: none; }
  .toast { right: 16px; bottom: 78px; }
}

@media (max-width: 480px) {
  .logo-text { font-size: 1.15rem; }
  .logo-tag { display: none; }
  .hero-title { font-size: 1.75rem; }
  .badge { font-size: 0.7rem; padding: 4px 10px; }
  .section-title { font-size: 1.45rem; }
}
