/* ========================================
   OrizonCare — style.css
   ERP Médico — Landing Page
======================================== */

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

:root {
  --primary: #1E88E5;
  --primary-dark: #1565C0;
  --primary-light: #E3F2FD;
  --primary-50: rgba(30, 136, 229, 0.08);
  --primary-100: rgba(30, 136, 229, 0.15);

  --dark: #0F172A;
  --dark-2: #1E293B;
  --dark-3: #334155;
  --muted: #64748B;
  --muted-2: #94A3B8;
  --border: #E2E8F0;
  --surface: #F8FAFC;
  --white: #FFFFFF;

  --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1a2744 50%, #0F172A 100%);
  --gradient-primary: linear-gradient(135deg, #1E88E5, #1565C0);
  --gradient-surface: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.05);
  --shadow-lg: 0 20px 48px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.08);
  --shadow-xl: 0 32px 80px rgba(0,0,0,.18), 0 16px 40px rgba(0,0,0,.1);
  --shadow-primary: 0 8px 32px rgba(30, 136, 229, 0.3);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --transition: 0.2s ease;
  --transition-slow: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --container: 1200px;
  --container-padding: 24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }
ul { list-style: none; }

/* === CONTAINER === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* === TYPOGRAPHY === */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-50);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(30, 136, 229, 0.2);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

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

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn--primary {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(30, 136, 229, 0.4);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--dark-2);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-50);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.btn--sm { font-size: 13px; padding: 9px 20px; }
.btn--lg { font-size: 15px; padding: 14px 28px; }
.btn--full { width: 100%; }

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.3s ease;
  background: transparent;
}

.header.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

.header .header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 24px;
  gap: 20px;
}

.header .header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: auto;
  flex-shrink: 0;
  max-width: 220px;
}

.header .header__logo .logo-mark {
  display: block;
  width: auto;
  height: auto;
  max-height: 42px;
  max-width: 140px;
  object-fit: contain;
  flex-shrink: 0;
}

.header .header__logo .logo-text {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.header .header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}
.nav-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.header .header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30, 136, 229, 0.3), transparent 70%);
  top: -100px;
  left: -100px;
}
.hero__glow--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(21, 101, 192, 0.25), transparent 70%);
  bottom: -50px;
  right: 100px;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 70vh;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__actions .btn--ghost {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.2);
}
.hero__actions .btn--ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat__number {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
}

/* === HERO VISUAL === */
.hero__visual {
  position: relative;
}

.hero__image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.06);
  animation: float 6s ease-in-out infinite;
}

.hero__image {
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  display: block;
  object-fit: cover;
  order: 2;
}

.hero__image-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(30, 136, 229, 0.3), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

/* === MOCKUP === */
.hero__image-mockup {
  background: #111827;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  animation: none;
  display: flex;
  flex-direction: column;
  order: 1;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.mockup-bar {
  background: #111827;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.mockup-dot.red { background: #FF5F57; }
.mockup-dot.yellow { background: #FEBC2E; }
.mockup-dot.green { background: #28C840; }

.mockup-url {
  margin-left: 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-family: monospace;
}

.mockup-screen {
  display: none;
}

.mockup-sidebar {
  width: 52px;
  background: #0F172A;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.mockup-logo {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 8px;
  margin-bottom: 12px;
}

.mockup-nav-item {
  width: 32px;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}
.mockup-nav-item.active {
  background: var(--primary);
  opacity: 0.8;
}

.mockup-content {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.mockup-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mockup-title-block {
  width: 120px;
  height: 12px;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
}
.mockup-btn {
  width: 80px;
  height: 24px;
  background: var(--primary);
  border-radius: 6px;
  opacity: 0.8;
}

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

.mockup-card {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mockup-card-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}
.mockup-card-label {
  width: 70%;
  height: 6px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
}
.mockup-card-value {
  width: 50%;
  height: 10px;
  background: rgba(255,255,255,0.35);
  border-radius: 3px;
}
.mockup-card.blue .mockup-card-icon { background: rgba(30, 136, 229, 0.5); }
.mockup-card.green .mockup-card-icon { background: rgba(16, 185, 129, 0.5); }
.mockup-card.purple .mockup-card-icon { background: rgba(139, 92, 246, 0.5); }

.mockup-chart {
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 12px;
  flex: 1;
}

.mockup-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.mockup-bar-item {
  flex: 1;
  background: rgba(30, 136, 229, 0.3);
  border-radius: 3px 3px 0 0;
  transition: height 1s ease;
}
.mockup-bar-item.active {
  background: rgba(30, 136, 229, 0.7);
}

.mockup-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mockup-table-row {
  height: 18px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
}
.mockup-table-row.header {
  background: rgba(255,255,255,0.08);
}

/* === FLOATING CARDS === */
.hero__floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.5);
  white-space: nowrap;
}

.card-1 {
  bottom: -20px;
  left: -20px;
  animation: float-card-1 7s ease-in-out infinite;
}

.card-2 {
  top: 20px;
  right: -30px;
  animation: float-card-2 8s ease-in-out infinite;
}

@keyframes float-card-1 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}
@keyframes float-card-2 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(10px) rotate(2deg); }
}

.float-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.float-card__icon.green { background: #D1FAE5; color: #059669; }
.float-card__icon.blue { background: var(--primary-light); color: var(--primary); }

.float-card__title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}
.float-card__sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* === BENEFITS === */
.benefits {
  padding: 120px 0;
  background: var(--white);
}

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

.benefit-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.benefit-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-card__icon {
  width: 52px;
  height: 52px;
  background: color-mix(in srgb, var(--c) 10%, transparent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}

.benefit-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--c);
}

.benefit-card:hover .benefit-card__icon {
  background: color-mix(in srgb, var(--c) 18%, transparent);
  transform: scale(1.05);
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.benefit-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

/* === DASHBOARD SECTION === */
.dashboard-section {
  padding: 120px 0;
  background: var(--surface);
}

.dashboard-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.dashboard-section__content .section-title {
  margin-top: 8px;
}

.dashboard-metrics {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.metric-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.metric-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.metric-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--c) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.metric-item__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--c);
}

.metric-item strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  display: block;
  margin-bottom: 4px;
}
.metric-item span {
  font-size: 13px;
  color: var(--muted);
}

/* === DASHBOARD FRAME === */
.dashboard-frame {
  position: relative;
  background: #1E293B;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.05);
  animation: float 7s ease-in-out infinite;
}

.dashboard-frame > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
}

.dashboard-placeholder {
  display: none;
}

.dp-header {}

.dp-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.dp-title {
  width: 150px;
  height: 14px;
  background: rgba(255,255,255,0.2);
  border-radius: 6px;
}

.dp-actions {
  display: flex;
  gap: 8px;
}
.dp-tag {
  width: 60px;
  height: 24px;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 12px;
}
.dp-btn {
  width: 90px;
  height: 28px;
  background: var(--primary);
  border-radius: 6px;
  opacity: 0.8;
}

.dp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.dp-stat-card {
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 14px 12px;
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 2px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dp-stat-label {
  width: 80%;
  height: 7px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}
.dp-stat-value {
  width: 60%;
  height: 14px;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
}
.dp-stat-badge {
  width: 40%;
  height: 7px;
  background: color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 3px;
}

.dp-chart-area {
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 16px;
}

.dp-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.dp-chart-title {
  width: 130px;
  height: 10px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
}
.dp-chart-legend {
  display: flex;
  gap: 8px;
}
.dp-legend-item {
  width: 60px;
  height: 8px;
  border-radius: 3px;
}
.dp-legend-item.blue { background: rgba(30, 136, 229, 0.5); }
.dp-legend-item.green { background: rgba(16, 185, 129, 0.5); }

.dp-chart {
  position: relative;
  height: 100px;
  overflow: hidden;
}

.dp-line {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(30,136,229,0.2), rgba(30,136,229,0.8) 60%, rgba(30,136,229,0.4));
  border-radius: 2px;
}
.dp-line-2 {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(16,185,129,0.1), rgba(16,185,129,0.6) 50%, rgba(16,185,129,0.3));
  border-radius: 2px;
}

.dp-chart-xaxis {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: rgba(255,255,255,0.25);
  font-family: var(--font-display);
}

/* === MODULES === */
.modules {
  padding: 120px 0;
  background: var(--white);
}

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

.module-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.module-card:hover {
  border-color: rgba(30, 136, 229, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.module-card--highlight {
  grid-column: span 1;
  background: linear-gradient(135deg, var(--primary-50), var(--white));
  border-color: rgba(30, 136, 229, 0.3);
}

.module-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.module-icon {
  width: 44px;
  height: 44px;
  background: color-mix(in srgb, var(--c) 10%, transparent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.module-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--c);
}

.module-card:hover .module-icon {
  transform: scale(1.1);
  background: color-mix(in srgb, var(--c) 18%, transparent);
}

.module-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary-dark);
}
.module-badge--new {
  background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
  color: var(--primary-dark);
}

.module-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.module-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 16px;
}

.module-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.module-features span {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

/* === SPECIALTIES === */
.specialties {
  padding: 120px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.specialties__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.specialties__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

.specialties .section-tag {
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}

.specialties .section-title { color: var(--white); }
.specialties .section-subtitle { color: rgba(255,255,255,0.55); }

.specialties__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.specialty-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  transition: all var(--transition-slow);
  cursor: default;
}

.specialty-card:hover {
  background: rgba(30, 136, 229, 0.15);
  border-color: rgba(30, 136, 229, 0.4);
  transform: translateY(-4px);
}

.specialty-icon {
  font-size: 28px;
  line-height: 1;
}

.specialty-card span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

/* === DIFFERENTIALS === */
.differentials {
  padding: 120px 0;
  background: var(--white);
}

.differentials__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.diff-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.diff-check {
  width: 24px;
  height: 24px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(30, 136, 229, 0.3);
}
.diff-check svg {
  width: 13px;
  height: 13px;
  color: var(--white);
}

.diff-item strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  display: block;
  margin-bottom: 4px;
}

.diff-item p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* === TRUST BADGES === */
.trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.trust-badge {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition-slow);
}

.trust-badge:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.trust-badge__icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.trust-badge strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  display: block;
  margin-bottom: 8px;
}

.trust-badge span {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

/* === CTA BANNER === */
.cta-banner {
  padding: 100px 0;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-banner__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cta-banner__inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.cta-banner__inner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.15;
}

.cta-banner__inner p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
}

/* === FORM SECTION === */
.form-section {
  padding: 120px 0;
  background: var(--surface);
}

.form-section__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.form-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.form-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--dark-3);
  font-weight: 500;
}

.form-benefit__check {
  width: 22px;
  height: 22px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* === FORM CARD === */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  overflow: hidden;
}

.form-card__header {
  background: var(--gradient-primary);
  padding: 32px 36px 24px;
}

.form-card__header h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.form-card__header p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

#demo-form {
  padding: 32px 36px;
}

.form-row { margin-bottom: 20px; }
.form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-3);
}

.required { color: var(--primary); }

.form-group input,
.form-group select {
  height: 46px;
  padding: 0 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--dark);
  transition: all var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

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

.form-group input.error,
.form-group select.error {
  border-color: #EF4444;
  background: #FFF5F5;
}

.field-error {
  font-size: 11px;
  color: #EF4444;
  font-weight: 500;
  min-height: 16px;
}

/* === FORM FEEDBACK === */
.form-feedback {
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  display: none;
}
.form-feedback.success {
  display: block;
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #6EE7B7;
}
.form-feedback.error {
  display: block;
  background: #FEE2E2;
  color: #7F1D1D;
  border: 1px solid #FCA5A5;
}

.btn-loading { display: none; }
.btn-loading .spinner { animation: spin 1s linear infinite; }

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

.form-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}
.form-privacy svg { color: var(--muted); flex-shrink: 0; }

/* === FOOTER === */
.footer {
  background: var(--dark);
  padding: 80px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand .header__logo {
  margin-bottom: 16px;
  display: inline-flex;
}

.footer__brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
  max-width: 280px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.footer__social a:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.footer__social svg {
  width: 16px;
  height: 16px;
  color: rgba(255,255,255,0.6);
}
.footer__social a:hover svg { color: var(--white); }

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer__col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--white); }

.footer__bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer__brand .header__logo {
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer__brand .footer-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 42px;
  max-height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer__brand .logo-text {
  color: var(--white);
  line-height: 1;
}

.footer__links {
  display: flex;
  gap: 24px;
}
.footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}
.footer__links a:hover { color: rgba(255,255,255,0.6); }

/* === ANIMATIONS === */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.animate-fade-left {
  opacity: 0;
  transform: translateX(40px);
  animation: fade-left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-left {
  to { opacity: 1; transform: translateX(0); }
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* === REVEAL (scroll) === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }
.reveal.delay-3 { transition-delay: 0.45s; }
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  z-index: 1100;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background: #1fb85a;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.42);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* === HAMBURGER === */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 768px) {
  .header__nav:not(.open) {
    display: none !important;
  }
}