/* ========================================
   Clinvo — Landing Page Styles
   ========================================
   1. RESET & BASE
   2. CUSTOM PROPERTIES (variáveis)
   3. TYPOGRAPHY
   4. LAYOUT UTILITIES
   5. NAVBAR
   6. HERO
   7. TRUST BAR
   8. PAIN POINTS
   9. FEATURES
   10. JOURNEY
   11. HOW IT WORKS
   12. PRICING
   13. TESTIMONIALS
   14. COMPARISON
   15. FAQ
   16. FINAL CTA
   17. FOOTER
   18. ANIMATIONS
   19. RESPONSIVE (mobile-first, breakpoints)
   ======================================== */

/* ========================================
   1. RESET & BASE
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--neutral-dark);
  background-color: var(--neutral-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Skip to content */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
}

.skip-to-content:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  outline: 3px solid var(--accent);
}

/* ========================================
   2. CUSTOM PROPERTIES
   ======================================== */
:root {
  --primary-dark: #053D3B;
  --primary: #00977F;
  --primary-light: #E6F5F2;
  --accent: #FF6B35;
  --accent-dark: #E55A25;
  --neutral-dark: #1A1A2E;
  --neutral-medium: #6B7280;
  --neutral-light: #F8FAFB;
  --white: #FFFFFF;
  --danger-bg: #FEE2E2;
  --border: #E5E7EB;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 10px 40px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.08), 0 20px 60px rgba(0,0,0,0.1);
  --shadow-accent: 0 8px 30px rgba(255,107,53,0.35);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition: 0.2s ease;
  --transition-md: 0.35s ease;

  --navbar-height: 64px;
  --section-pad: clamp(50px, 8vw, 120px);
}

/* ========================================
   3. TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--neutral-medium);
  line-height: 1.75;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}

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

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

/* ========================================
   4. LAYOUT UTILITIES
   ======================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-pad) 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 35px rgba(255,107,53,0.45);
}

.btn-accent:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: #007D69;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
}

.badge-primary {
  background: var(--primary-light);
  color: var(--primary);
}

.badge-accent {
  background: var(--accent);
  color: var(--white);
}

/* ========================================
   5. NAVBAR
   ======================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-md);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.navbar-links a {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--neutral-dark);
  transition: all var(--transition);
}

.navbar-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.navbar-cta {
  display: none;
}

.navbar-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.navbar-hamburger:hover {
  background: var(--primary-light);
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: all var(--transition-md);
  transform-origin: center;
}

.navbar-hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar-hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--navbar-height) 0 0 0;
  background: var(--white);
  z-index: 999;
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform var(--transition-md);
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--neutral-dark);
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.mobile-nav .btn {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
}

/* ========================================
   6. HERO
   ======================================== */
.hero {
  background: var(--white);
  padding: clamp(60px, 8vw, 100px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  text-align: center;
  max-width: 680px;
  width: 100%;
}

.hero-badge {
  margin-bottom: 1.25rem;
}

.hero h1 {
  margin-bottom: 1.25rem;
  color: var(--primary-dark);
}

.hero h1 span {
  color: var(--primary);
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  margin-bottom: 2rem;
  color: var(--neutral-medium);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.hero-guarantee {
  font-size: 0.82rem;
  color: var(--neutral-medium);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-avatars {
  display: flex;
}

.hero-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  margin-left: -8px;
  flex-shrink: 0;
}

.hero-avatars .hero-avatar:first-child {
  margin-left: 0;
}

.hero-avatar:nth-child(2) { background: #0891B2; }
.hero-avatar:nth-child(3) { background: #7C3AED; }
.hero-avatar:nth-child(4) { background: #059669; }
.hero-avatar:nth-child(5) { background: #DC2626; }

.hero-proof-text {
  font-size: 0.85rem;
  color: var(--neutral-medium);
  font-weight: 500;
}

.hero-proof-stars {
  color: #F59E0B;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.hero-visual {
  width: 100%;
  max-width: 600px;
}

.hero-mockup {
  background: var(--neutral-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.05);
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform var(--transition-md);
}

.hero-mockup:hover {
  transform: perspective(1000px) rotateY(-1deg) rotateX(0deg);
}

.hero-mockup-bar {
  background: var(--primary-dark);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FFBD2E; }
.mockup-dot:nth-child(3) { background: #28CA41; }

.hero-mockup-content {
  padding: 0;
  height: calc(100% - 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mockup-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(0,151,127,0.05) 100%);
  border-radius: var(--radius-md);
  border: 2px dashed rgba(0,151,127,0.3);
  color: var(--neutral-medium);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

.mockup-placeholder svg {
  opacity: 0.4;
  color: var(--primary);
}

/* ========================================
   7. TRUST BAR
   ======================================== */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.trust-bar-title {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--neutral-medium);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: var(--neutral-light);
}

.trust-badge-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.trust-badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neutral-dark);
}

/* ========================================
   8. PAIN POINTS
   ======================================== */
.pain-section {
  background: linear-gradient(180deg, var(--danger-bg) 0%, var(--white) 100%);
}

.pain-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.pain-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all var(--transition);
}

.pain-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pain-icon {
  width: 44px;
  height: 44px;
  background: var(--danger-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #DC2626;
}

.pain-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--primary-dark);
}

.pain-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========================================
   9. FEATURES
   ======================================== */
.features-section {
  background: var(--white);
}

.feature-main-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-main-card {
  background: var(--neutral-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all var(--transition-md);
  position: relative;
  overflow: hidden;
}

.feature-main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-main-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(0,151,127,0.2);
}

.feature-main-card:hover::before {
  opacity: 1;
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.feature-main-card h3 {
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.feature-main-card p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.feature-mockup-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--primary-light), rgba(0,151,127,0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(0,151,127,0.25);
  color: var(--neutral-medium);
  font-size: 0.8rem;
  text-align: center;
  padding: 1rem;
}

/* Secondary features grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-item {
  background: var(--neutral-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.feature-item:hover {
  background: var(--primary-light);
  border-color: rgba(0,151,127,0.2);
}

.feature-item-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}

.feature-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.85rem;
}

/* ========================================
   10. JOURNEY
   ======================================== */
.journey-section {
  background: linear-gradient(160deg, var(--primary-light) 0%, rgba(230,245,242,0.3) 100%);
}

.journey-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.journey-step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,151,127,0.1);
  position: relative;
  transition: all var(--transition-md);
}

.journey-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.journey-step-number {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.journey-step-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.journey-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.journey-step p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.journey-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.journey-cta {
  text-align: center;
}

/* ========================================
   11. HOW IT WORKS
   ======================================== */
.how-section {
  background: var(--white);
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.how-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.how-step-number {
  width: 52px;
  height: 52px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.how-step-content h3 {
  margin-bottom: 0.4rem;
  padding-top: 0.6rem;
}

.how-step-content p {
  font-size: 0.95rem;
}

.how-cta {
  text-align: center;
}

/* ========================================
   12. PRICING
   ======================================== */
.pricing-section {
  background: var(--neutral-light);
}

.pricing-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 2px solid var(--border);
  position: relative;
  transition: all var(--transition-md);
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 40px rgba(255,107,53,0.15);
}

.pricing-card-badge {
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.pricing-price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
}

.pricing-price-period {
  font-size: 0.9rem;
  color: var(--neutral-medium);
}

.pricing-desc {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--neutral-dark);
}

.pricing-feature-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 1rem;
}

.pricing-cta {
  width: 100%;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
}

.pricing-footer {
  text-align: center;
  margin-top: 1.5rem;
}

.pricing-footer p {
  font-size: 0.9rem;
}

.pricing-footer a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pricing-footer a:hover {
  color: var(--primary-dark);
}

.pricing-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--neutral-medium);
}

/* ========================================
   13. TESTIMONIALS
   ======================================== */
.testimonials-section {
  background: var(--white);
}

.testimonial-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.testimonial-cards--single {
  max-width: 680px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--neutral-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-card--featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-md);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--neutral-dark);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: var(--primary-light);
  position: absolute;
  top: -1rem;
  left: -0.5rem;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial-author-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--neutral-medium);
}

/* ========================================
   14. COMPARISON
   ======================================== */
.comparison-section {
  background: var(--neutral-light);
}

.comparison-table {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--primary-dark);
  color: white;
}

.comparison-header div {
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-align: center;
}

.comparison-header div:first-child {
  text-align: left;
  color: rgba(255,255,255,0.7);
}

.comparison-header .col-clinvo {
  background: rgba(0,151,127,0.2);
  color: #A7F3E4;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row:hover {
  background: var(--neutral-light);
}

.comparison-row > div {
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comparison-row > div:first-child {
  font-weight: 500;
  color: var(--neutral-dark);
}

.comparison-row .col-clinvo {
  background: rgba(230,245,242,0.5);
  color: var(--primary-dark);
  font-weight: 500;
}

.comparison-row .col-others {
  color: var(--neutral-medium);
  font-size: 0.82rem;
}

.check-yes { color: var(--primary); font-size: 1rem; }
.check-no { color: #DC2626; font-size: 1rem; }
.check-warn { color: #F59E0B; font-size: 1rem; }

/* ========================================
   15. FAQ
   ======================================== */
.faq-section {
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: rgba(0,151,127,0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
}

.faq-question:hover {
  background: var(--neutral-light);
  color: var(--primary);
}

.faq-item.open .faq-question {
  background: var(--primary-light);
  color: var(--primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--neutral-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-md);
  color: var(--primary);
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--neutral-medium);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* ========================================
   16. FINAL CTA
   ======================================== */
.final-cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #021F1E 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(0,151,127,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0,151,127,0.1) 0%, transparent 40%);
}

.final-cta-section .container {
  position: relative;
  z-index: 1;
}

.final-cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.final-cta-section p {
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.final-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.final-cta-whatsapp {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition);
}

.final-cta-whatsapp:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ========================================
   17. FOOTER
   ======================================== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin: 1rem 0 1.25rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: rgba(255,255,255,0.6);
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-col ul a:hover {
  color: rgba(255,255,255,0.95);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 0;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ========================================
   18. ANIMATIONS
   ======================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ========================================
   19. RESPONSIVE
   ======================================== */

/* 640px+ */
@media (min-width: 640px) {
  .trust-badges {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

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

  .final-cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* 768px+ */
@media (min-width: 768px) {
  .hero .container {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .hero-content {
    text-align: left;
    max-width: none;
    flex: 0 0 55%;
  }

  .hero-ctas {
    justify-content: flex-start;
  }

  .hero-guarantee {
    justify-content: flex-start;
  }

  .hero-social-proof {
    justify-content: flex-start;
  }

  .hero-visual {
    flex: 0 0 45%;
    max-width: none;
  }

  .navbar-links {
    display: flex;
  }

  .navbar-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .navbar-hamburger {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .how-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .journey-steps {
    flex-direction: row;
    align-items: stretch;
    position: relative;
  }

  .journey-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: calc(33.33% - 10px);
    right: calc(33.33% - 10px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    z-index: 0;
    border-radius: 2px;
  }

  .journey-step {
    flex: 1;
    position: relative;
    z-index: 1;
  }

  .pricing-cards {
    flex-direction: row;
    align-items: flex-start;
  }

  .pricing-card {
    flex: 1;
  }

  .pricing-card.featured {
    transform: translateY(-8px) scale(1.02);
  }

  .pricing-card.featured:hover {
    transform: translateY(-12px) scale(1.02);
  }

  .testimonial-cards:not(.testimonial-cards--single) {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* 1024px+ */
@media (min-width: 1024px) {
  .feature-main-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mobile-nav {
    display: none !important;
  }
}

/* 1280px+ */
@media (min-width: 1280px) {
  .container {
    padding: 0 2rem;
  }
}

/* Mobile nav visibility */
@media (max-width: 767px) {
  .mobile-nav {
    display: flex;
  }

  /* Garante que o hero mockup não cause overflow horizontal */
  .hero-visual,
  .hero-mockup,
  .mk-agenda,
  .mk-phone {
    max-width: 100%;
  }
}

/* ========================================
   20. MOCKUPS CSS
   Simula screenshots do sistema Clinvo
   ======================================== */

/* Reset base para todos os elementos de mockup */
[class^="mk-"], [class*=" mk-"] {
  box-sizing: border-box;
  font-family: 'Inter', system-ui, sans-serif;
}

/* ----------------------------------------
   DASHBOARD — Hero mockup
   ---------------------------------------- */
.mk-dashboard {
  display: flex;
  width: 100%;
  height: 100%;
  background: #F1F5F9;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
}

.mk-sidebar {
  width: 46px;
  background: #053D3B;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 8px;
  gap: 6px;
  flex-shrink: 0;
}

.mk-sidebar-logo {
  width: 28px;
  height: 28px;
  background: #00977F;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.5px;
}

.mk-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  width: 100%;
  padding: 0 6px;
}

.mk-nav-item {
  width: 34px;
  height: 30px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  transition: all 0.2s;
}

.mk-nav-item.active {
  background: rgba(0,151,127,0.25);
  color: #4ADE80;
}

/* Main area */
.mk-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 10px 12px 8px;
  gap: 7px;
  min-width: 0;
}

.mk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.mk-greeting {
  font-size: 10.5px;
  font-weight: 700;
  color: #053D3B;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.2;
}

.mk-date {
  font-size: 7.5px;
  color: #94A3B8;
  margin-top: 1px;
}

.mk-avatar-sm {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #00977F, #053D3B);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

/* Stats row */
.mk-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  flex-shrink: 0;
}

.mk-stat {
  background: white;
  border-radius: 7px;
  padding: 6px 7px;
  border: 1px solid #E2E8F0;
  min-width: 0;
}

.mk-stat-label {
  font-size: 6.5px;
  color: #94A3B8;
  line-height: 1.3;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mk-stat-value {
  font-size: 14px;
  font-weight: 800;
  color: #053D3B;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.1;
}

.mk-stat-value.sm { font-size: 10px; }

.mk-stat-badge {
  font-size: 6px;
  margin-top: 2px;
  color: #16a34a;
  font-weight: 600;
}

.mk-stat.accent .mk-stat-value { color: #FF6B35; }
.mk-stat.accent .mk-stat-badge { color: #00977F; }

/* Section title */
.mk-section-title {
  font-size: 7.5px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

/* Appointments list */
.mk-appointments {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow: hidden;
}

.mk-appt {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border-radius: 6px;
  padding: 5px 7px;
  border: 1px solid #E2E8F0;
  border-left: 3px solid #E2E8F0;
  min-width: 0;
}

.mk-appt.confirmed  { border-left-color: #16a34a; }
.mk-appt.in-progress{ border-left-color: #0891B2; background: #F0F9FF; }
.mk-appt.scheduled  { border-left-color: #94A3B8; }

.mk-appt-time {
  font-size: 7.5px;
  font-weight: 600;
  color: #94A3B8;
  min-width: 28px;
  flex-shrink: 0;
}

.mk-appt-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.mk-appt-name {
  font-size: 8px;
  font-weight: 600;
  color: #1E293B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mk-appt-service {
  font-size: 6.5px;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mk-wa-badge {
  width: 13px;
  height: 13px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 7px;
  font-weight: 800;
  color: white;
}

.mk-appt-status {
  font-size: 6px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.mk-appt-status.confirmed   { background: #DCFCE7; color: #15803D; }
.mk-appt-status.in-progress { background: #DBEAFE; color: #1D4ED8; }
.mk-appt-status.scheduled   { background: #F1F5F9; color: #64748B; }

/* ----------------------------------------
   AGENDA — Feature card mockup
   ---------------------------------------- */
.mk-agenda {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mk-cal-header {
  background: #053D3B;
  color: white;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.mk-cal-title {
  font-size: 9.5px;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.mk-cal-nav {
  display: flex;
  gap: 5px;
}

.mk-cal-nav-btn {
  width: 17px;
  height: 17px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: rgba(255,255,255,0.8);
  cursor: default;
}

.mk-week-days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #F8FAFB;
  border-bottom: 1px solid #E2E8F0;
  flex-shrink: 0;
}

.mk-week-day {
  padding: 6px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.mk-week-day-name {
  font-size: 6.5px;
  color: #94A3B8;
  text-transform: uppercase;
  font-weight: 600;
}

.mk-week-day-num {
  font-size: 11px;
  font-weight: 700;
  color: #1E293B;
  font-family: 'Plus Jakarta Sans', sans-serif;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.mk-week-day.today .mk-week-day-name { color: #00977F; }
.mk-week-day.today .mk-week-day-num  { background: #00977F; color: white; }

/* Time slots */
.mk-time-slots {
  flex: 1;
  overflow: hidden;
  padding: 7px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mk-time-row {
  display: flex;
  gap: 7px;
  align-items: stretch;
  min-height: 28px;
}

.mk-time-row.now .mk-time-slot {
  box-shadow: 0 0 0 1.5px #0891B2;
}

.mk-time-label {
  font-size: 7px;
  color: #94A3B8;
  min-width: 28px;
  text-align: right;
  flex-shrink: 0;
  padding-top: 5px;
  font-weight: 500;
}

.mk-time-slot {
  flex: 1;
  border-radius: 5px;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  overflow: hidden;
}

.mk-slot-name {
  font-size: 7.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.mk-slot-service {
  font-size: 6px;
  opacity: 0.7;
  white-space: nowrap;
}

.mk-slot-wa {
  width: 12px;
  height: 12px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.mk-slot-green  { background: #DCFCE7; color: #166534; }
.mk-slot-blue   { background: #DBEAFE; color: #1E40AF; }
.mk-slot-orange { background: #FEF3C7; color: #92400E; }
.mk-slot-purple { background: #EDE9FE; color: #5B21B6; }
.mk-slot-teal   { background: #CCFBF1; color: #134E4A; }

/* ----------------------------------------
   MOBILE — Feature card mockup
   ---------------------------------------- */
.mk-phone {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #E6F5F2 0%, #F0F9FF 100%);
  border-radius: 8px;
}

.mk-phone-frame {
  width: 155px;
  height: 288px;
  background: #0F172A;
  border-radius: 26px;
  padding: 3px;
  box-shadow:
    0 25px 50px rgba(0,0,0,0.3),
    0 0 0 1px rgba(255,255,255,0.08),
    inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  flex-shrink: 0;
}

.mk-phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 5px;
  background: #0F172A;
  border-radius: 3px;
  z-index: 10;
}

.mk-phone-screen {
  width: 100%;
  height: 100%;
  background: #F8FAFB;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mk-phone-statusbar {
  background: #053D3B;
  padding: 9px 10px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.mk-phone-time {
  font-size: 7.5px;
  font-weight: 700;
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.mk-phone-icons {
  display: flex;
  gap: 2px;
  align-items: center;
}

.mk-phone-icon {
  font-size: 5.5px;
  color: rgba(255,255,255,0.75);
}

.mk-phone-appbar {
  background: #053D3B;
  padding: 4px 10px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.mk-phone-greeting {
  font-size: 8.5px;
  font-weight: 700;
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.2;
}

.mk-phone-subgreeting {
  font-size: 6px;
  color: rgba(255,255,255,0.55);
}

.mk-phone-bell {
  width: 22px;
  height: 22px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: white;
  position: relative;
  flex-shrink: 0;
}

.mk-phone-bell-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 5px;
  height: 5px;
  background: #FF6B35;
  border-radius: 50%;
  border: 1px solid #053D3B;
}

/* Phone body */
.mk-phone-body {
  flex: 1;
  overflow: hidden;
  padding: 8px 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mk-phone-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  flex-shrink: 0;
}

.mk-phone-stat {
  background: white;
  border-radius: 8px;
  padding: 6px 8px;
  border: 1px solid #E2E8F0;
}

.mk-phone-stat-value {
  font-size: 14px;
  font-weight: 800;
  color: #053D3B;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
}

.mk-phone-stat-label {
  font-size: 6px;
  color: #94A3B8;
  margin-top: 2px;
  font-weight: 500;
}

.mk-phone-section-title {
  font-size: 8.5px;
  font-weight: 700;
  color: #053D3B;
  font-family: 'Plus Jakarta Sans', sans-serif;
  flex-shrink: 0;
}

.mk-phone-appts {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  overflow: hidden;
}

.mk-phone-appt {
  background: white;
  border-radius: 8px;
  padding: 6px 8px;
  border-left: 2.5px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex;
  gap: 6px;
  align-items: center;
}

.mk-phone-appt.confirmed  { border-left-color: #16a34a; }
.mk-phone-appt.active     { border-left-color: #0891B2; background: #F0F9FF; }
.mk-phone-appt.pending    { border-left-color: #F59E0B; }

.mk-phone-appt-time {
  font-size: 7px;
  font-weight: 700;
  color: #94A3B8;
  min-width: 22px;
  flex-shrink: 0;
}

.mk-phone-appt-name {
  font-size: 7.5px;
  font-weight: 600;
  color: #1E293B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mk-phone-appt-service {
  font-size: 6px;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mk-phone-appt-info { flex: 1; min-width: 0; }

.mk-phone-appt-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: auto;
}

.mk-phone-appt.confirmed .mk-phone-appt-dot { background: #16a34a; }
.mk-phone-appt.active    .mk-phone-appt-dot { background: #0891B2; }
.mk-phone-appt.pending   .mk-phone-appt-dot { background: #F59E0B; }

/* Bottom nav */
.mk-phone-bottomnav {
  background: white;
  border-top: 1px solid #E2E8F0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 4px 0 7px;
  flex-shrink: 0;
}

.mk-phone-tabnav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 3px 0;
}

.mk-phone-tabnav-icon  { font-size: 12px; line-height: 1; }

.mk-phone-tabnav-label {
  font-size: 5.5px;
  color: #94A3B8;
  font-weight: 500;
}

.mk-phone-tabnav.active .mk-phone-tabnav-label {
  color: #00977F;
  font-weight: 700;
}

/* ========================================
   21. MOBILE PERFORMANCE OPTIMIZATIONS
   Correções baseadas na análise PageSpeed
   ======================================== */

/* Navbar menor no mobile para liberar mais espaço de conteúdo */
:root {
  --navbar-height: 64px;
}

/* Padding de seções reduzido em mobile */
@media (max-width: 767px) {
  :root {
    --section-pad: clamp(40px, 8vw, 70px);
  }

  /* Reduz o deslocamento de animação para diminuir CLS risk */
  .animate-on-scroll {
    transform: translateY(14px);
  }

  /* Hero: remove 3D perspective (caro em mobile) */
  .hero-mockup {
    transform: none !important;
  }

  .hero-mockup:hover {
    transform: none !important;
  }

  /* Hero: padding menor em mobile */
  .hero {
    padding: 2.5rem 0;
  }

  /* Hero CTAs: empilha e ocupa largura total */
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  /* Hero visual: limita a altura para não empurrar conteúdo */
  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  /* Container: padding lateral menor em telas muito pequenas */
  .container {
    padding: 0 1rem;
  }

  /* Navbar hamburger: área de toque mínima de 44px */
  .navbar-hamburger {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
  }

  /* Mobile nav: área de toque mínima de 48px por item */
  .mobile-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0.85rem 1.25rem;
  }

  /* FAQ: área de toque mínima */
  .faq-question {
    min-height: 52px;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
  }

  /* Pricing: padding menor em mobile */
  .pricing-card {
    padding: 1.5rem;
  }

  /* Pricing featured: sem elevação extra (evita overflow) */
  .pricing-card.featured {
    transform: none;
  }

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

  /* Comparativo: converte 3 colunas em cards empilhados */
  .comparison-header {
    display: none;
  }

  .comparison-table {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .comparison-row {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    overflow: hidden;
  }

  .comparison-row > div {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }

  .comparison-row > div:first-child {
    background: var(--neutral-light);
    font-weight: 700;
    color: var(--neutral-dark);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
  }

  .comparison-row .col-clinvo {
    border-bottom: 1px solid var(--border);
  }

  .comparison-row:last-child {
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
  }

  /* Trust badges: 2 colunas em vez de 4 (já feito, mas garante) */
  .trust-badges {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Feature mockup: limita altura no mobile */
  .feature-mockup-placeholder {
    max-height: 280px;
  }

  /* Seção de funcionalidades: padding no card menor */
  .feature-main-card {
    padding: 1.5rem;
  }

  /* Journey steps: padding menor */
  .journey-step {
    padding: 1.5rem;
  }

  /* Section header: margem menor */
  .section-header {
    margin-bottom: 2rem;
  }

  /* Testimonial: padding menor */
  .testimonial-card {
    padding: 1.25rem;
  }

  /* Final CTA: botão centralizado */
  .final-cta-section h2 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  /* Pain cards: sem hover transform em mobile (evita layout shift) */
  .pain-card:hover,
  .testimonial-card:hover,
  .journey-step:hover,
  .feature-main-card:hover {
    transform: none;
  }
}

/* Telas muito pequenas (< 380px) */
@media (max-width: 380px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .hero-ctas .btn-lg {
    font-size: 0.95rem;
    padding: 0.9rem 1.25rem;
  }

  .pricing-price-amount {
    font-size: 2rem;
  }

  .trust-badge-text {
    font-size: 0.78rem;
  }
}

/* ========================================
   20. LEGAL PAGES (Termos, Privacidade, LGPD)
   ======================================== */

.legal-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0a5c56 100%);
  padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 64px);
  color: white;
}

.legal-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}

.legal-hero-breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.legal-hero-breadcrumb a:hover {
  color: white;
}

.legal-hero-breadcrumb span {
  color: rgba(255,255,255,0.4);
}

.legal-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.legal-hero-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.legal-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.legal-body-section {
  padding: clamp(40px, 6vw, 80px) 0;
  background: var(--white);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}

/* Sidebar nav */
.legal-sidebar {
  position: sticky;
  top: calc(var(--navbar-height) + 1.5rem);
}

.legal-sidebar-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neutral-medium);
  margin-bottom: 0.75rem;
}

.legal-toc {
  border-left: 2px solid #E5E7EB;
  padding-left: 1rem;
}

.legal-toc li {
  margin-bottom: 0.25rem;
}

.legal-toc a {
  font-size: 0.85rem;
  color: var(--neutral-medium);
  transition: color var(--transition);
  display: block;
  padding: 0.3rem 0;
  line-height: 1.4;
}

.legal-toc a:hover,
.legal-toc a.active {
  color: var(--primary);
}

/* Content */
.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
  scroll-margin-top: calc(var(--navbar-height) + 1rem);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--neutral-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p {
  color: #374151;
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  color: #374151;
  line-height: 1.75;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--primary-dark);
}

.legal-highlight-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}

.legal-highlight-box p {
  margin: 0;
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 500;
}

.legal-warning-box {
  background: #FFF7ED;
  border-left: 4px solid #F59E0B;
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}

.legal-warning-box p {
  margin: 0;
  color: #92400E;
  font-size: 0.92rem;
}

.legal-contact-card {
  background: var(--neutral-light);
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.legal-contact-card h3 {
  margin-top: 0;
  color: var(--primary-dark);
}

.legal-contact-card p {
  margin-bottom: 0.5rem;
}

.legal-rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.legal-right-item {
  background: var(--neutral-light);
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 1rem;
}

.legal-right-item strong {
  display: block;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.legal-right-item p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--neutral-medium);
}

/* Responsive */
@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: static;
    display: none;
  }
}

@media (max-width: 600px) {
  .legal-hero h1 {
    font-size: 1.6rem;
  }

  .legal-hero-meta {
    gap: 0.75rem;
  }

  .legal-content h2 {
    font-size: 1.15rem;
  }
}

/* ===========================
   WhatsApp Floating Button
   =========================== */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: #25D366;
  color: white;
  border-radius: 50px;
  padding: 0.75rem 1.25rem 0.75rem 0.875rem;
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.25s ease;
  animation: whatsapp-pulse 2.5s ease-in-out infinite;
}

.whatsapp-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
  background: #20BD5A;
  color: white;
}

.whatsapp-fab svg {
  flex-shrink: 0;
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50%       { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.65); }
}

@media (max-width: 640px) {
  .whatsapp-fab span {
    display: none;
  }
  .whatsapp-fab {
    padding: 0.875rem;
    border-radius: 50%;
  }
}
