/* ═══════════════════════════════════════════════════════════
   MSDN Tecnologia – CSS
   Dark theme, modern, conversion-focused
═══════════════════════════════════════════════════════════ */

/* ─── Reset & Base ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-900: #09080F;
  --bg-800: #0E0D18;
  --bg-700: #141322;
  --bg-600: #1A192D;
  --bg-500: #222038;

  --purple: #A78BFA;
  --purple-deep: #7C3AED;
  --cyan: #22D3EE;
  --teal: #14B8A6;
  --green: #34D399;
  --blue: #60A5FA;
  --amber: #FBBF24;

  --text-100: #F5F3FF;
  --text-200: #D4D0F0;
  --text-300: #A5A1C8;
  --text-400: #716DA0;

  --border: rgba(167, 139, 250, 0.10);
  --border-hover: rgba(34, 211, 238, 0.30);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-glow-purple: 0 0 60px rgba(124, 58, 237, 0.20);
  --shadow-glow-cyan: 0 0 60px rgba(34, 211, 238, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);

  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg-900);
  color: var(--text-200);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font);
}

input,
textarea,
select {
  font-family: var(--font);
}

/* ─── Container ──────────────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Gradient Text ──────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 40%, var(--green) 80%, var(--purple) 100%);
  background-size: 200% auto;
  animation: gradientShift 6s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn--primary {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple), var(--cyan));
  background-size: 200% auto;
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.30);
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  background-size: 250% 100%;
  background-position: 100% 0;
  transition: background-position 0.6s ease;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(124, 58, 237, 0.45), 0 0 20px rgba(34, 211, 238, 0.15);
  background-position: right center;
}

.btn--primary:hover::after {
  background-position: -100% 0;
}

.btn--outline {
  border: 1.5px solid var(--border-hover);
  color: var(--cyan);
  background: transparent;
}

.btn--outline:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: var(--cyan);
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--text-200);
  border: 1.5px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

/* ─── Section Shared ─────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 100px;
  border: 1px solid rgba(34, 211, 238, 0.20);
  background: rgba(34, 211, 238, 0.06);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-100);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-300);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(9, 8, 15, 0.80);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(167, 139, 250, 0.08);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), inset 0 -1px 0 rgba(255,255,255,0.03);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-img--sm {
  height: 42px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}

.nav__link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-300);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: center;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-100);
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-200);
  border-radius: 2px;
  transition: all var(--transition);
}

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

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

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

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  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(167, 139, 250, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 0%, transparent 75%);
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 70%);
  top: -150px;
  left: -150px;
  animation-delay: 0s;
}

.hero__glow--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.12), transparent 70%);
  top: 80px;
  right: -80px;
  animation-delay: 3s;
}

.hero__glow--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.08), transparent 70%);
  bottom: -50px;
  left: 35%;
  animation-delay: 6s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(20px, -20px) scale(1.05);
  }

  66% {
    transform: translate(-15px, 15px) scale(0.95);
  }
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid rgba(52, 211, 153, 0.25);
  background: rgba(52, 211, 153, 0.06);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--text-100);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-300);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-300);
}

/* Hero Visual */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard-card {
  background: rgba(20, 19, 34, 0.60);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(167, 139, 250, 0.12);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-card), var(--shadow-glow-purple), inset 0 1px 0 rgba(255,255,255,0.04);
  width: 100%;
  max-width: 400px;
  animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.dashboard__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.dashboard__dots {
  display: flex;
  gap: 6px;
}

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

.dot--red {
  background: #FF5F57;
}

.dot--yellow {
  background: #FFBD2E;
}

.dot--green {
  background: #28CA41;
}

.dashboard__title {
  font-size: 0.85rem;
  color: var(--text-400);
  font-weight: 500;
}

.dashboard__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.stat-item--green {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
}

.stat-item--cyan {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.2);
}

.stat-item--green .stat-icon {
  color: var(--green);
}

.stat-item--cyan .stat-icon {
  color: var(--cyan);
}

.stat-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-100);
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-400);
  margin-top: 2px;
}

.dashboard__chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  margin-bottom: 16px;
}

.chart-bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(to top, rgba(124, 58, 237, 0.35), rgba(34, 211, 238, 0.35));
  border-radius: 4px 4px 0 0;
  transition: all var(--transition);
}

.chart-bar--active {
  background: linear-gradient(to top, var(--purple-deep), var(--cyan));
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.4);
}

.dashboard__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-400);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot--green {
  background: var(--green);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(20, 19, 34, 0.70);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,0.04);
  animation: cardFloat 6s ease-in-out infinite;
}

.floating-card--tl {
  top: -20px;
  left: -30px;
  animation-delay: 1.5s;
}

.floating-card--br {
  bottom: -20px;
  right: -30px;
  animation-delay: 3s;
}

.fc-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-100);
}

.fc-label {
  font-size: 0.7rem;
  color: var(--text-400);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollFade 2s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
}

@keyframes scrollFade {

  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 0.5;
    transform: translateX(-50%) translateY(6px);
  }
}

/* ═══════════════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════════════ */
.stats {
  padding: 64px 0;
  background: var(--bg-800);
  border-top: 1px solid rgba(167, 139, 250, 0.08);
  border-bottom: 1px solid rgba(167, 139, 250, 0.08);
  position: relative;
}

.stats::before,
.stats::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.15), rgba(34, 211, 238, 0.10), transparent);
}

.stats::before { top: 0; }
.stats::after { bottom: 0; }

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

.stat-card {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.stat-card+.stat-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--border);
}

.stat-card__number {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--cyan), var(--green));
  background-size: 200% auto;
  animation: gradientShift 6s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card__label {
  font-size: 0.9rem;
  color: var(--text-300);
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════
   SOLUTIONS
═══════════════════════════════════════════════════════════ */
.solutions {
  padding: 100px 0;
}

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

.solutions__grid .solution-card:nth-child(4) {
  grid-column: 1;
}

.solutions__grid .solution-card:nth-child(5) {
  grid-column: 2 / 4;
}

.solution-card {
  position: relative;
  padding: 32px;
  background: rgba(14, 13, 24, 0.60);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(34, 211, 238, 0.06));
  transition: opacity var(--transition);
  border-radius: inherit;
  pointer-events: none;
}

.solution-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(34, 211, 238, 0.08);
}

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

.solution-card--featured {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12) 0%, rgba(34, 211, 238, 0.06) 100%);
  border-color: rgba(167, 139, 250, 0.25);
}

.solution-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.solution-card:hover .solution-card__icon {
  transform: scale(1.08);
}

.solution-card__icon--purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple);
}

.solution-card__icon--cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan);
}

.solution-card__icon--teal {
  background: rgba(13, 148, 136, 0.15);
  color: var(--teal);
}

.solution-card__icon--green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green);
}

.solution-card__icon--blue {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue);
}

.solution-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 12px;
}

.solution-card__desc {
  font-size: 0.9rem;
  color: var(--text-300);
  line-height: 1.65;
  margin-bottom: 20px;
}

.solution-card__list {
  margin-bottom: 24px;
}

.solution-card__list li {
  font-size: 0.85rem;
  color: var(--text-400);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.solution-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
}

.solution-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap var(--transition);
}

.solution-card__link:hover {
  gap: 10px;
}

.solution-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 14px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--purple-deep), var(--cyan));
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.30);
}

/* ═══════════════════════════════════════════════════════════
   DIFFERENTIALS
═══════════════════════════════════════════════════════════ */
.differentials {
  padding: 100px 0;
  background: var(--bg-800);
}

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

.differentials__content .section-title {
  text-align: left;
}

.differentials__content .section-badge {
  margin-bottom: 16px;
}

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

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

.diff-item__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(34, 211, 238, 0.08);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.15);
  transition: all var(--transition);
}

.diff-item:hover .diff-item__icon {
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.12);
  background: rgba(34, 211, 238, 0.12);
}

.diff-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 4px;
}

.diff-item p {
  font-size: 0.875rem;
  color: var(--text-300);
  line-height: 1.6;
}

/* Cert Grid */
.differentials__visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 14px;
  background: rgba(20, 19, 34, 0.50);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.cert-badge:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 20px rgba(34, 211, 238, 0.06);
}

.cert-badge span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-300);
  text-align: center;
}

/* DVC */
.diff-visual-card {
  padding: 24px;
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.dvc-header {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-300);
  margin-bottom: 20px;
}

.dvc-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dvc-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-400);
}

.dvc-bar-item>span:first-child {
  min-width: 110px;
}

.dvc-bar-track {
  flex: 1;
  height: 6px;
  background: var(--bg-500);
  border-radius: 3px;
  overflow: hidden;
}

.dvc-bar-fill {
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  border-radius: 3px;
  animation: barGrow 1.5s ease-out forwards;
}

@keyframes barGrow {
  from {
    width: 0;
  }

  to {
    width: var(--w);
  }
}

.dvc-pct {
  font-weight: 700;
  color: var(--cyan);
  min-width: 36px;
  text-align: right;
}

/* ═══════════════════════════════════════════════════════════
   SEGMENTS
═══════════════════════════════════════════════════════════ */
.segments {
  padding: 100px 0;
}

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

.segment-card {
  padding: 32px;
  background: rgba(14, 13, 24, 0.50);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.segment-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(34, 211, 238, 0.06);
}

.segment-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(139, 92, 246, 0.10);
  color: var(--purple);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.segment-card:hover .segment-card__icon {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan);
}

.segment-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 10px;
}

.segment-card p {
  font-size: 0.875rem;
  color: var(--text-300);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT / EMPRESA
═══════════════════════════════════════════════════════════ */
.about {
  padding: 100px 0;
  background: var(--bg-800);
}

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

.about__content .section-title {
  text-align: left;
  margin-top: 16px;
}

.about__text {
  font-size: 0.95rem;
  color: var(--text-300);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* Timeline */
.about-timeline {
  position: relative;
  padding-left: 32px;
}

.about-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple-deep), var(--purple), var(--cyan), var(--green));
}

.timeline-item {
  position: relative;
  padding-bottom: 28px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-800);
  border: 2px solid var(--cyan);
}

.timeline-item--current::before {
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-300);
  line-height: 1.55;
}

/* MVV */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.mvv-item {
  padding: 20px 16px;
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.mvv-item__icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.mvv-item h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 8px;
}

.mvv-item p {
  font-size: 0.8rem;
  color: var(--text-300);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════
   PARTNERS
═══════════════════════════════════════════════════════════ */
.partners {
  padding: 60px 0;
  overflow: hidden;
}

.partners__label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.partners__track-wrapper {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.partners__track {
  display: flex;
  gap: 24px;
  animation: marquee 40s linear infinite;
  width: max-content;
  flex-shrink: 0;
  padding-right: 24px;
  /* Ensure gap is maintained between tracks */
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(14, 13, 24, 0.50);
  border: 1px solid rgba(167, 139, 250, 0.08);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-400);
  white-space: nowrap;
  min-width: 150px;
  transition: all var(--transition);
}

.partner-logo svg,
.partner-logo img {
  opacity: 0.8;
  transition: opacity var(--transition);
  flex-shrink: 0;
}

.partner-logo:hover {
  color: var(--text-200);
  border-color: var(--border-hover);
}

.partner-logo:hover svg,
.partner-logo:hover img {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════════════════ */
.cta-banner {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.10) 0%, rgba(34, 211, 238, 0.06) 50%, rgba(52, 211, 153, 0.06) 100%);
  border-top: 1px solid rgba(167, 139, 250, 0.10);
  border-bottom: 1px solid rgba(167, 139, 250, 0.10);
}

.cta-banner__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.12), transparent 70%);
  pointer-events: none;
  animation: float 10s ease-in-out infinite;
}

.cta-banner__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-banner__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(6, 182, 212, 0.25));
  color: var(--cyan);
  margin-bottom: 20px;
  border: 1px solid var(--border-hover);
}

.cta-banner__content h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-100);
  margin-bottom: 16px;
}

.cta-banner__content p {
  font-size: 1rem;
  color: var(--text-300);
  line-height: 1.7;
  margin-bottom: 24px;
}

.cta-banner__features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-banner__features span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-200);
  font-weight: 500;
}

/* Form */
.diag-form,
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

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

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-300);
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Input obrigatório: borda sutil no foco para destacar */
.form-input[required]:not(:focus):not(.form-input--error) {
  border-color: rgba(139, 92, 246, 0.25);
}

.form-input[required]:focus {
  border-color: var(--cyan);
}

.form-input {
  padding: 12px 16px;
  background: rgba(9, 8, 15, 0.60);
  border: 1.5px solid rgba(167, 139, 250, 0.10);
  border-radius: var(--radius-md);
  color: var(--text-100);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  width: 100%;
}

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

.form-input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.10), 0 0 20px rgba(34, 211, 238, 0.05);
  background: rgba(9, 8, 15, 0.80);
}

.form-input--error {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.form-input--error::placeholder {
  color: #EF4444;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6898' 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;
  padding-right: 40px;
}

.form-select option {
  background: var(--bg-800);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-privacy {
  font-size: 0.75rem;
  color: var(--text-400);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════ */
.contact {
  padding: 100px 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: flex-start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.10);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-md);
  color: var(--cyan);
}

.contact-item h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
  font-size: 0.95rem;
  color: var(--text-200);
  transition: color var(--transition);
}

.contact-item a:hover {
  color: var(--cyan);
}

.contact-form {
  padding: 40px;
  background: rgba(14, 13, 24, 0.60);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(167, 139, 250, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.03);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-800);
  border-top: 1px solid rgba(167, 139, 250, 0.08);
  padding: 72px 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.20), rgba(34, 211, 238, 0.15), transparent);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--text-400);
  margin: 16px 0 24px;
  line-height: 1.6;
}

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

.social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 19, 34, 0.50);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-400);
  transition: all var(--transition);
}

.social-link:hover {
  color: var(--cyan);
  border-color: var(--border-hover);
  background: rgba(34, 211, 238, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.10);
}

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

.footer__col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-100);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: 0.875rem;
  color: var(--text-400);
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--cyan);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-400);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: var(--cyan);
}

/* ═══════════════════════════════════════════════════════════
   FLOATING ELEMENTS
═══════════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 50;
  transition: all var(--transition);
  animation: whatsappPulse 3s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.08); }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
  animation: none;
}

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--bg-700);
  border: 1px solid var(--border);
  color: var(--text-200);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
}

.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: rgba(20, 19, 34, 0.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-300);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background: rgba(6, 182, 212, 0.12);
  border-color: var(--border-hover);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS (Intersection Observer)
═══════════════════════════════════════════════════════════ */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos][data-aos-delay="100"] {
  transition-delay: 0.1s;
}

[data-aos][data-aos-delay="200"] {
  transition-delay: 0.2s;
}

[data-aos][data-aos-delay="300"] {
  transition-delay: 0.3s;
}

[data-aos][data-aos-delay="400"] {
  transition-delay: 0.4s;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__visual {
    max-width: 440px;
    margin: 0 auto;
  }

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

  .solutions__grid .solution-card:nth-child(4),
  .solutions__grid .solution-card:nth-child(5) {
    grid-column: auto;
  }

  .differentials__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cta-banner__container {
    grid-template-columns: 1fr;
  }

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

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

  .stat-card+.stat-card::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(13, 11, 26, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    z-index: 99;
  }

  .nav__menu.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav__link {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    width: 100%;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__actions .btn--outline,
  .nav__actions .btn--primary {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero__container {
    gap: 32px;
  }

  .hero__visual {
    max-width: 320px;
    margin: 0 auto;
  }

  .hero__scroll {
    display: none;
  }

  .dashboard-card {
    padding: 16px;
    max-width: 100%;
  }

  .dashboard__stats {
    gap: 8px;
    margin-bottom: 16px;
  }

  .stat-value {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .dashboard__chart {
    height: 50px;
    margin-bottom: 12px;
  }

  .floating-card {
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .floating-card--tl {
    top: -10px;
    left: -10px;
  }

  .floating-card--br {
    bottom: -10px;
    right: -10px;
  }

  .fc-value {
    font-size: 0.9rem;
  }

  .fc-label {
    font-size: 0.6rem;
  }

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

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

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

  .footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .contact-form {
    padding: 24px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .btn--lg {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

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

  .cta-banner__container {
    gap: 40px;
  }

  .threat-iframe-wrapper iframe {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 90px 0 40px;
  }

  .hero__title {
    font-size: 1.7rem;
  }

  .hero__subtitle {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .hero__badge {
    font-size: 0.72rem;
  }

  .hero__trust {
    gap: 12px;
  }

  .trust__item {
    font-size: 0.78rem;
  }

  .hero__visual {
    max-width: 280px;
  }

  /* Hide floating cards on very small screens */
  .floating-card {
    display: none;
  }

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

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

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .scroll-top {
    bottom: 88px;
    right: 20px;
  }

  .dashboard-card {
    max-width: 100%;
    padding: 14px;
  }

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

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   MODAIS
═══════════════════════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.modal__box {
  position: relative;
  z-index: 1;
  background: rgba(20, 19, 34, 0.85);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--border-hover) transparent;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.04);
}

.modal.open .modal__box {
  transform: translateY(0) scale(1);
}

.modal__box::-webkit-scrollbar {
  width: 4px;
}

.modal__box::-webkit-scrollbar-thumb {
  background: var(--border-hover);
  border-radius: 2px;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-600);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-300);
  transition: all var(--transition);
}

.modal__close:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #EF4444;
}

.modal__icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.modal__icon--purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple);
}

.modal__icon--cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan);
}

.modal__icon--teal {
  background: rgba(13, 148, 136, 0.15);
  color: var(--teal);
}

.modal__icon--green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green);
}

.modal__icon--blue {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue);
}

.modal__box h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-100);
  margin-bottom: 12px;
}

.modal__box>p {
  font-size: 0.95rem;
  color: var(--text-300);
  line-height: 1.75;
  margin-bottom: 28px;
}

.modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 32px;
}

.modal__feature {
  padding: 16px 18px;
  background: var(--bg-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition);
}

.modal__feature:hover {
  border-color: var(--border-hover);
}

.modal__feature strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 6px;
}

.modal__feature span {
  font-size: 0.82rem;
  color: var(--text-400);
  line-height: 1.55;
}

.modal__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Solution card button fix */
.solution-card__link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font);
  position: relative;
  z-index: 2;
}

/* ═══════════════════════════════════════════════════════════
   TOAST
═══════════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(20, 19, 34, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(52, 211, 153, 0.10);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-100);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   MODAL RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .modal__box {
    padding: 28px 20px;
  }

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

  .modal__ctas {
    flex-direction: column;
  }

  .modal__ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   ACESSIBILIDADE – Skip Link
═══════════════════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--purple);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

/* ═══════════════════════════════════════════════════════════
   FORMULÁRIOS – Novos elementos LGPD, required, privacy
═══════════════════════════════════════════════════════════ */
.form-required {
  color: #EF4444;
  margin-left: 2px;
}

.form-lgpd {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 4px;
}

.form-lgpd span {
  font-size: 0.82rem;
  color: var(--text-400);
  line-height: 1.55;
}

.form-lgpd .lgpd-link {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-lgpd .lgpd-link:hover {
  color: var(--purple);
}

.form-checkbox {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  accent-color: var(--cyan);
  cursor: pointer;
}

.form-checkbox.form-input--error {
  outline: 2px solid #EF4444;
  outline-offset: 2px;
}

.form-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-400);
  margin-top: 12px;
}

/* ─── Focus visible aprimorado ──────────────────────────── */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── Seleção de texto ──────────────────────────────────── */
::selection {
  background: rgba(139, 92, 246, 0.35);
  color: var(--text-100);
}

/* ═══════════════════════════════════════════════════════════
   THREAT MAP – Ameaças em Tempo Real
═══════════════════════════════════════════════════════════ */
.threat-map {
  padding: 100px 0;
  background: var(--bg-900);
  position: relative;
  overflow: hidden;
}

.threat-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(239, 68, 68, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 68, 68, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Badge "Ao Vivo" */
.threat-badge {
  border-color: rgba(239, 68, 68, 0.4) !important;
  background: rgba(239, 68, 68, 0.08) !important;
  color: #EF4444 !important;
}

.threat-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
  animation: threatPulse 1.5s ease-in-out infinite;
}

@keyframes threatPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
}

/* Controles de filtro */
.threat-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  padding: 20px 24px;
  background: var(--bg-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.threat-controls__group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.threat-controls__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.threat-btn {
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-300);
  border: 1px solid var(--border);
  background: transparent;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.threat-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-100);
  background: rgba(6, 182, 212, 0.06);
}

.threat-btn--active {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.5);
  color: #EF4444;
}

#btn-all.threat-btn--active,
#btn-brazil.threat-btn--active {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.5);
  color: #EF4444;
}

.threat-btn--type.threat-btn--active {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.5);
  color: var(--purple);
}

/* Iframe wrapper */
.threat-iframe-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(239, 68, 68, 0.08), var(--shadow-card);
  background: #0a0a12;
}

.threat-iframe-wrapper iframe {
  display: block;
  width: 100%;
  height: 580px;
  border: none;
}

.threat-live-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 14px;
  background: rgba(10, 10, 18, 0.85);
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #EF4444;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
  animation: threatPulse 1.2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Crédito */
.threat-credit {
  text-align: center;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-400);
}

.threat-credit a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
}

.threat-credit a:hover {
  text-decoration: underline;
}

/* Sidebar */
.threat-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Contador */
.threat-counter {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-800);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.06);
}

.threat-counter__value {
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #EF4444, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  transition: all 0.3s ease;
}

.threat-counter__label {
  font-size: 0.75rem;
  color: var(--text-400);
  font-weight: 500;
}

/* Stats por tipo */
.threat-stats {
  padding: 16px;
  background: var(--bg-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.threat-stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
}

.threat-stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.threat-stat-name {
  flex: 1;
  color: var(--text-300);
}

.threat-stat-count {
  font-weight: 700;
  color: var(--text-100);
  font-variant-numeric: tabular-nums;
  min-width: 28px;
  text-align: right;
}

/* Feed de eventos */
.threat-feed {
  background: var(--bg-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex: 1;
}

.threat-feed__title {
  padding: 12px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
}

.threat-feed__list {
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.threat-feed__list::-webkit-scrollbar {
  width: 4px;
}

.threat-feed__list::-webkit-scrollbar-track {
  background: transparent;
}

.threat-feed__list::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.threat-feed-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  animation: feedSlideIn 0.4s ease-out;
  font-size: 0.75rem;
}

@keyframes feedSlideIn {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.threat-feed-item__header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.threat-feed-item__type {
  font-weight: 700;
  font-size: 0.72rem;
}

.threat-feed-item__time {
  margin-left: auto;
  color: var(--text-400);
  font-size: 0.68rem;
}

.threat-feed-item__route {
  color: var(--text-400);
  font-size: 0.7rem;
  padding-left: 14px;
}

/* Legenda */
.threat-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  padding: 16px 24px;
  background: var(--bg-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.threat-legend__item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--text-300);
}

.threat-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.threat-legend__note {
  font-size: 0.72rem;
  color: var(--text-400);
  width: 100%;
  text-align: center;
  margin-top: 4px;
  font-style: italic;
}

/* ─── Responsivo: Threat Map ─────────────────────────────── */
@media (max-width: 768px) {
  .threat-iframe-wrapper iframe {
    height: 420px;
  }
}

@media (max-width: 480px) {
  .threat-iframe-wrapper iframe {
    height: 320px;
  }
}
/* FORCED FIX for mobile floating cards */
@media (max-width: 480px) {
  .floating-card {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   PREFERS 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;
  }
}
