/* ===========================
   DESIGN SYSTEM — ToxiLab
   =========================== */

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

:root {
  /* Colors */
  --primary: #0a2463;
  --primary-light: #1e3a8a;
  --primary-lighter: #3b5bdb;
  --accent: #00c896;
  --accent-dark: #00a67d;
  --accent-light: #6ee7b7;
  --bg-main: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #0b1120;
  --bg-dark-card: #111b33;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-white: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 30px rgba(0, 200, 150, 0.2);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0a2463 0%, #1e3a8a 50%, #3b5bdb 100%);
  --gradient-accent: linear-gradient(135deg, #00a67d 0%, #00c896 50%, #6ee7b7 100%);
  --gradient-hero: linear-gradient(135deg, rgba(10, 36, 99, 0.92) 0%, rgba(30, 58, 138, 0.88) 50%, rgba(59, 91, 219, 0.85) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.75rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===========================
   RESET & BASE
   =========================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

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

input, select, textarea {
  font-family: inherit;
  outline: none;
}

/* ===========================
   UTILITY CLASSES
   =========================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===========================
   NAVBAR
   =========================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: var(--space-sm) 0;
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--text-white);
  transition: color var(--transition-base);
}

.navbar.scrolled .navbar-logo {
  color: var(--primary);
}

.navbar-logo svg {
  width: 36px;
  height: 36px;
}

.navbar-logo .logo-dot {
  color: var(--accent);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar.scrolled .navbar-links a {
  color: var(--text-secondary);
}

.navbar-links a:hover {
  color: var(--accent);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
  border-radius: 2px;
}

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

.navbar-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: var(--space-sm) var(--space-lg) !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  font-size: var(--fs-sm) !important;
  transition: all var(--transition-base) !important;
}

.navbar-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.navbar-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.navbar.scrolled .menu-toggle span {
  background: var(--primary);
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: -1;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: var(--space-4xl);
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: var(--space-xl);
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-size: var(--fs-5xl);
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.hero h1 .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: var(--fs-lg);
  color: rgba(241, 245, 249, 0.8);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--radius-full);
  font-size: var(--fs-base);
  font-weight: 600;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 200, 150, 0.3);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 200, 150, 0.4);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--text-white);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

.btn svg {
  width: 20px;
  height: 20px;
}

.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

.hero-stat .number {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--accent-light);
  display: block;
}

.hero-stat .label {
  font-size: var(--fs-sm);
  color: rgba(241,245,249,0.6);
  margin-top: var(--space-xs);
}

/* Floating shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 200, 150, 0.08);
  animation: float 6s ease-in-out infinite;
}

.hero-shapes .shape:nth-child(1) {
  width: 400px;
  height: 400px;
  right: -100px;
  top: 10%;
  animation-delay: 0s;
}

.hero-shapes .shape:nth-child(2) {
  width: 250px;
  height: 250px;
  right: 20%;
  bottom: 10%;
  animation-delay: 2s;
  background: rgba(59, 91, 219, 0.1);
}

.hero-shapes .shape:nth-child(3) {
  width: 150px;
  height: 150px;
  left: 5%;
  bottom: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* ===========================
   ABOUT SECTION
   =========================== */

.about {
  padding: var(--space-4xl) 0;
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image-badge {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.about-image-badge svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.about-highlight-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.about-highlight-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ===========================
   HOW IT WORKS
   =========================== */

.how-it-works {
  padding: var(--space-4xl) 0;
  background: var(--bg-main);
}

.how-it-works .section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.how-it-works .section-subtitle {
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary-lighter) 100%);
  opacity: 0.3;
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-lg);
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 200, 150, 0.3);
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 200, 150, 0.3);
}

.step-card h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.step-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===========================
   DIFERENCIAIS (FEATURES)
   =========================== */

.features {
  padding: var(--space-4xl) 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 200, 150, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.features .section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.features .section-title {
  color: var(--text-white);
}

.features .section-subtitle {
  color: var(--text-muted);
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  background: var(--bg-dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 200, 150, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 200, 150, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===========================
   CTA SECTION
   =========================== */

.cta-section {
  padding: var(--space-4xl) 0;
  background: var(--bg-white);
}

.cta-card {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,200,150,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-card .section-title {
  color: var(--text-white);
  font-size: var(--fs-3xl);
}

.cta-card .section-subtitle {
  color: rgba(241,245,249,0.7);
  margin: 0 auto var(--space-2xl);
  text-align: center;
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  padding: var(--space-md) var(--space-2xl);
  font-size: var(--fs-lg);
}

.cta-section .btn-secondary {
  padding: var(--space-md) var(--space-2xl);
  font-size: var(--fs-lg);
}

/* ===========================
   FAQ SECTION
   =========================== */

.faq {
  padding: var(--space-4xl) 0;
  background: var(--bg-main);
}

.faq .section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.faq .section-subtitle {
  margin: 0 auto;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

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

.faq-item:hover {
  border-color: var(--accent);
}

.faq-item.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  background: transparent;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--transition-fast);
}

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

.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.faq-item.active .faq-icon {
  background: var(--accent);
  transform: rotate(45deg);
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

.faq-item.active .faq-icon svg {
  color: #fff;
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 var(--space-xl) var(--space-lg);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
  background: var(--bg-dark);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .navbar-logo {
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-lg);
}

.footer-col a {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
}

.footer-bottom p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

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

.footer-social svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.footer-social a:hover svg {
  color: #fff;
}

/* ===========================
   PAYMENT MODAL
   =========================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  padding: var(--space-md);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) var(--space-xl) var(--space-md);
  border-bottom: 1px solid var(--border-light);
}

.modal-header h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: #fee2e2;
}

.modal-close svg {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
}

.modal-body {
  padding: var(--space-xl);
}

.modal-info {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.modal-info h3 {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.modal-info h3 svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.modal-info p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Steps indicator */
.modal-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.modal-step {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.modal-step .step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition-base);
}

.modal-step.active .step-dot {
  background: var(--accent);
  color: #fff;
}

.modal-step.completed .step-dot {
  background: var(--accent);
  color: #fff;
}

.modal-step .step-label {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
}

.modal-step.active .step-label {
  color: var(--text-primary);
  font-weight: 600;
}

.step-connector {
  width: 40px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
}

.step-connector.active {
  background: var(--accent);
}

/* Form Styles */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.form-input-group {
  display: flex;
  gap: var(--space-sm);
}

.form-input {
  width: 100%;
  padding: var(--space-md);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  color: var(--text-primary);
  background: var(--bg-white);
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.1);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error {
  font-size: var(--fs-xs);
  color: #ef4444;
  margin-top: var(--space-xs);
  display: none;
}

.form-error.visible {
  display: block;
}

.btn-search-cpf {
  padding: var(--space-md) var(--space-lg);
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition-base);
}

.btn-search-cpf:hover {
  background: var(--primary-light);
}

.btn-search-cpf:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* Payment step */
.payment-step {
  display: none;
}

.payment-step.active {
  display: block;
}

.pix-area {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-main);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.pix-area .pix-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.pix-qr-placeholder {
  width: 180px;
  height: 180px;
  margin: 0 auto var(--space-lg);
  background: var(--bg-white);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.pix-key-display {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.pix-key-display input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: var(--fs-sm);
  color: var(--text-primary);
  font-weight: 500;
}

.btn-copy {
  padding: var(--space-sm) var(--space-md);
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-copy:hover {
  background: var(--accent-dark);
}

.btn-copy.copied {
  background: var(--primary);
}

.modal-footer {
  padding: var(--space-md) var(--space-xl) var(--space-xl);
  display: flex;
  gap: var(--space-md);
}

.modal-footer .btn {
  flex: 1;
}

.btn-back {
  background: var(--bg-main);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-back:hover {
  background: var(--border-light);
}

.btn-submit {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 200, 150, 0.3);
}

.btn-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success state */
.success-state {
  text-align: center;
  padding: var(--space-2xl);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  animation: scaleIn 0.4s ease;
}

@keyframes scaleIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.success-icon svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.success-state h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.success-state p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  animation: bounceIn 1s ease 2s both;
}

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

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

@keyframes bounceIn {
  from { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.15); }
  to { transform: scale(1); opacity: 1; }
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --fs-5xl: 2.25rem;
    --fs-4xl: 1.875rem;
    --fs-3xl: 1.5rem;
  }

  .navbar-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    padding: 80px var(--space-xl) var(--space-xl);
    gap: var(--space-lg);
    transition: right var(--transition-base);
    box-shadow: var(--shadow-xl);
  }

  .navbar-links.active {
    right: 0;
  }

  .navbar-links a {
    color: var(--text-primary) !important;
    font-size: var(--fs-base);
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .steps-grid::before {
    display: none;
  }

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

  .hero-stats {
    gap: var(--space-xl);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: var(--space-2xl);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .modal {
    max-height: 95vh;
    margin: var(--space-sm);
    border-radius: var(--radius-lg);
  }
}

@media (max-width: 480px) {
  :root {
    --fs-5xl: 1.875rem;
    --fs-4xl: 1.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
  }

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

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .modal-steps .step-label {
    display: none;
  }

  .cta-buttons {
    flex-direction: column;
  }
}

/* ===========================
   ADDRESS SECTION (Step 2)
   =========================== */

.step-section-title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-light);
}

.step-section-title svg {
  color: var(--accent);
  flex-shrink: 0;
}

.address-section {
  margin-bottom: var(--space-xl);
}

/* ===========================
   CLINIC CARD
   =========================== */

.clinic-section {
  margin-bottom: var(--space-xl);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.clinic-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0fdfa 100%);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.clinic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

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

.clinic-card-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: var(--space-sm);
}

.clinic-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--accent);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.clinic-name {
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.clinic-address,
.clinic-hours,
.clinic-phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}

.clinic-address svg,
.clinic-hours svg,
.clinic-phone svg {
  flex-shrink: 0;
  color: var(--accent-dark);
}

/* Clinic Notice */
.clinic-notice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  background: linear-gradient(135deg, #fef3c7, #fffbeb);
  border: 1px solid #fcd34d;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-top: var(--space-md);
}

.clinic-notice svg {
  flex-shrink: 0;
  color: #d97706;
  margin-top: 2px;
}

.clinic-notice p {
  font-size: var(--fs-sm);
  color: #92400e;
  line-height: 1.6;
}

/* ===========================
   CALENDAR WIDGET
   =========================== */

.schedule-section {
  animation: slideUp 0.4s ease;
}

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

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  background: var(--gradient-primary);
}

.calendar-month {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text-white);
  text-transform: capitalize;
}

.calendar-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.calendar-nav:hover {
  background: rgba(255,255,255,0.3);
}

.calendar-nav svg {
  color: var(--text-white);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: var(--space-sm) var(--space-sm) 0;
  background: var(--bg-main);
}

.calendar-weekdays span {
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: var(--space-sm);
  letter-spacing: 0.5px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: var(--space-sm);
  gap: 2px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-primary);
  background: transparent;
  border: 2px solid transparent;
}

.calendar-day:hover:not(.disabled):not(.empty) {
  background: rgba(0, 200, 150, 0.1);
  border-color: var(--accent);
  color: var(--accent-dark);
}

.calendar-day.today {
  border-color: var(--primary-lighter);
  font-weight: 700;
  color: var(--primary);
}

.calendar-day.selected {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 700;
  border-color: var(--accent-dark);
  box-shadow: 0 2px 8px rgba(0, 200, 150, 0.3);
  transform: scale(1.05);
}

.calendar-day.disabled {
  color: var(--border);
  cursor: not-allowed;
  opacity: 0.4;
}

.calendar-day.empty {
  cursor: default;
}

/* Selected date display */
.selected-date-display {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin-top: var(--space-lg);
  animation: slideUp 0.3s ease;
}

.selected-date-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.selected-date-icon svg {
  color: #fff;
}

.selected-date-label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.selected-date-value {
  font-size: var(--fs-base);
  color: var(--primary);
}

/* ===========================
   SUCCESS SUMMARY
   =========================== */

.success-summary {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-top: var(--space-lg);
  text-align: left;
}

.success-summary-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-light);
}

.success-summary-item:last-child {
  border-bottom: none;
}

.success-summary-item .label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 80px;
  flex-shrink: 0;
}

.success-summary-item .value {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
