/* ============================================ */
/* DS02 FLAMBOYANT AZUL — GRÁFICA FLAMBOYANT    */
/* Primária: Azul Cyan · Accent: Amarelo · Terciária: Magenta */
/* ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #E8EAF6; }
::-webkit-scrollbar-thumb { background: #9BAFD4; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #7A94BE; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #F0F2FF;
  color: #333;
  overflow-x: hidden;
}

.font-oswald { font-family: 'Oswald', sans-serif; }
.font-space { font-family: 'Space Grotesk', sans-serif; }
.font-jakarta { font-family: 'Plus Jakarta Sans', sans-serif; }
.font-inter { font-family: 'Inter', sans-serif; }
.font-mono { font-family: 'Space Mono', monospace; }

:root {
  /* Primary — Azul Cyan */
  --color-primary: #639AD0;
  --color-primary-rgb: 99, 154, 208;
  --color-primary-hsl: 210, 49%, 60%;
  --color-primary-light: #8BB8E0;
  --color-primary-dark: #4A7DB5;

  /* Accent — Amarelo */
  --color-accent: #F5E022;
  --color-accent-rgb: 245, 224, 34;
  --color-accent-hsl: 54, 91%, 55%;
  --color-accent-dark: #D4C000;

  /* Terciária — Magenta */
  --color-tertiary: #E74680;
  --color-tertiary-light: #F06A9B;
  --color-tertiary-dark: #C13068;

  /* Neutrals */
  --color-bg: #F0F2FF;
  --color-surface: #FFFFFF;
  --color-surface-2: #E8EAF6;
  --color-surface-3: #D8DBED;
  --color-border: rgba(24,24,23,0.07);
  --color-border-hover: rgba(24,24,23,0.15);

  /* Text */
  --color-text-primary: #181817;
  --color-text-secondary: rgba(24,24,23,0.6);
  --color-text-tertiary: rgba(24,24,23,0.35);
  --color-text-muted: rgba(24,24,23,0.15);

  /* Feedback */
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-info: #639AD0;

  /* Spacing */
  --space-xs: 4px; --space-sm: 8px; --space-md: 16px; --space-lg: 24px;
  --space-xl: 32px; --space-2xl: 48px; --space-3xl: 64px; --space-4xl: 96px;

  /* Radius */
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 24px;
  --radius-2xl: 32px; --radius-full: 9999px;

  /* Shadows */
  --shadow-glow: 0 0 60px -12px rgba(99, 154, 208, 0.3);
  --shadow-glow-accent: 0 0 60px -12px rgba(245, 224, 34, 0.3);
  --shadow-glow-tertiary: 0 0 60px -12px rgba(231, 70, 128, 0.25);
  --shadow-card: 0 4px 24px -4px rgba(24,24,23,0.08);
  --shadow-elevated: 0 20px 50px -12px rgba(24,24,23,0.12);
}

/* ============================== */
/* KEYFRAME ANIMATIONS            */
/* ============================== */
@keyframes float1 {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
  25% { transform: translateY(-18px) translateX(8px) rotate(2deg); }
  50% { transform: translateY(-8px) translateX(-5px) rotate(-1deg); }
  75% { transform: translateY(-22px) translateX(3px) rotate(1deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0) translateX(0); }
  33% { transform: translateY(14px) translateX(-10px); }
  66% { transform: translateY(-6px) translateX(6px); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); }
  50% { transform: translateY(-12px) translateX(-8px) scale(1.05); }
}
@keyframes spin1 { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes spin2 { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}
@keyframes fade-in-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in-down { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in-left { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fade-in-right { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scale-in { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes aurora {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg) scale(1); opacity: 0.5; }
  33% { transform: translate(-45%, -55%) rotate(120deg) scale(1.1); opacity: 0.7; }
  66% { transform: translate(-55%, -45%) rotate(240deg) scale(0.9); opacity: 0.6; }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes ripple { 0% { transform: scale(0); opacity: 0.5; } 100% { transform: scale(4); opacity: 0; } }
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes particle-drift {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; } 90% { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}
@keyframes orbit {
  from { transform: rotate(0deg) translateX(120px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}

.animate-fade-in-up { animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
.animate-fade-in-down { animation: fade-in-down 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
.animate-fade-in-left { animation: fade-in-left 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
.animate-fade-in-right { animation: fade-in-right 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
.animate-scale-in { animation: scale-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
.animate-marquee { animation: marquee 30s linear infinite; }
.animate-shimmer { animation: shimmer 3s ease-in-out infinite; background-size: 200% 100%; }
.animate-breathe { animation: breathe 4s ease-in-out infinite; }
.animate-float-1 { animation: float1 6s ease-in-out infinite; }
.animate-float-2 { animation: float2 8s ease-in-out infinite; }
.animate-float-3 { animation: float3 7s ease-in-out infinite; }
.animate-spin-slow { animation: spin1 20s linear infinite; }
.animate-spin-reverse { animation: spin2 25s linear infinite; }
.animate-orbit { animation: orbit 15s linear infinite; }
.animate-gradient { animation: gradient-shift 6s ease infinite; background-size: 200% 200%; }

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ============================== */
/* GRADIENT BORDER — CMYK         */
/* ============================== */
.gradient-border { position: relative; }
.gradient-border::before {
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit;
  background: linear-gradient(135deg, rgba(99,154,208,0.6), rgba(245,224,34,0.5), rgba(231,70,128,0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

/* Glass */
.glass {
  background: rgba(255,255,255,0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(24,24,23,0.06);
}
.glass-dark {
  background: linear-gradient(145deg, rgba(255,255,255,0.85), rgba(240,242,255,0.6));
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(24,24,23,0.08);
  box-shadow: 0 10px 30px -10px rgba(24,24,23,0.08), inset 0 1px 1px rgba(255,255,255,0.8);
}

/* Text effects */
.text-glow {
  background: linear-gradient(180deg, #181817 0%, rgba(24,24,23,0.4) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0px 0px 20px rgba(24,24,23,0.08));
}
.text-gradient-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Grid */
.bg-grid {
  background-size: 60px 60px;
  background-image: linear-gradient(to right, rgba(24,24,23,0.04) 1px, transparent 1px),
                     linear-gradient(to bottom, rgba(24,24,23,0.04) 1px, transparent 1px);
}

/* ============================== */
/* BUTTONS                        */
/* ============================== */
.btn-primary {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 32px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border: none; border-radius: var(--radius-full); cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden;
  box-shadow: 0 8px 32px -8px rgba(99,154,208,0.45);
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2));
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 48px -8px rgba(99,154,208,0.55); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-accent {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 32px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: #181817;
  background: var(--color-accent); border: none; border-radius: var(--radius-full);
  cursor: pointer; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 32px -8px rgba(245,224,34,0.35);
}
.btn-accent:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 48px -8px rgba(245,224,34,0.45); filter: brightness(1.05); }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 32px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: rgba(24,24,23,0.55);
  background: transparent; border: 1px solid rgba(24,24,23,0.15);
  border-radius: var(--radius-full); cursor: pointer; transition: all 0.3s;
}
.btn-ghost:hover { background: rgba(24,24,23,0.04); border-color: rgba(24,24,23,0.25); color: #181817; }

.btn-dark {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
  background: linear-gradient(to right, #2a2a29, #3d3d3c); border: none;
  border-radius: var(--radius-full); cursor: pointer; overflow: hidden; transition: all 0.3s;
  box-shadow: 0 15px 33px -12px rgba(24,24,23,0.2), inset 0 4px 6px rgba(80,80,80,0.3), inset 0 -5px 6px rgba(0,0,0,0.3);
}
.btn-dark::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.08); transform: translateY(100%); transition: transform 0.3s; }
.btn-dark:hover::before { transform: translateY(0); }
.btn-dark:hover { box-shadow: 0 20px 40px -12px rgba(24,24,23,0.3); }

/* Tertiary — Magenta */
.btn-tertiary {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 32px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: #fff;
  background: linear-gradient(135deg, var(--color-tertiary), var(--color-tertiary-light));
  border: none; border-radius: var(--radius-full); cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden;
  box-shadow: 0 8px 32px -8px rgba(231,70,128,0.4);
}
.btn-tertiary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 48px -8px rgba(231,70,128,0.5); }

.btn-ripple { position: relative; overflow: hidden; }

/* Cards */
.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover { border-color: var(--color-border-hover); transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
.card-glass {
  background: rgba(255,255,255,0.7); backdrop-filter: blur(20px);
  border: 1px solid rgba(24,24,23,0.07); border-radius: var(--radius-xl);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-glass:hover { background: rgba(255,255,255,0.85); border-color: rgba(24,24,23,0.12); box-shadow: 0 20px 60px -12px rgba(24,24,23,0.1); }

/* Inputs */
.input {
  width: 100%; padding: 14px 18px; font-size: 14px; font-family: inherit;
  color: #181817; background: rgba(24,24,23,0.03);
  border: 1px solid rgba(24,24,23,0.1); border-radius: var(--radius-md);
  outline: none; transition: all 0.3s;
}
.input::placeholder { color: rgba(24,24,23,0.3); }
.input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(99,154,208,0.15); background: #fff; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--radius-full); border: 1px solid rgba(24,24,23,0.08);
  background: rgba(24,24,23,0.04); color: rgba(24,24,23,0.55);
}
.badge-primary { background: rgba(99,154,208,0.1); color: var(--color-primary-dark); border-color: rgba(99,154,208,0.2); }
.badge-accent { background: rgba(245,224,34,0.12); color: #8a7a00; border-color: rgba(245,224,34,0.25); }
.badge-tertiary { background: rgba(231,70,128,0.1); color: var(--color-tertiary-dark); border-color: rgba(231,70,128,0.2); }
.badge-success { background: rgba(34,197,94,0.1); color: #16a34a; border-color: rgba(34,197,94,0.2); }

/* Tooltip */
.tooltip-wrapper { position: relative; display: inline-block; }
.tooltip-wrapper .tooltip {
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(4px); padding: 8px 14px;
  font-size: 12px; color: #fff; background: #181817;
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-sm);
  white-space: nowrap; opacity: 0; pointer-events: none; transition: all 0.2s; z-index: 100;
}
.tooltip-wrapper .tooltip::after {
  content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: #181817;
}
.tooltip-wrapper:hover .tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Layout */
.container-ds { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-aurora { position: relative; overflow: hidden; }
.section-aurora .aurora-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); }

.particles-container { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle { position: absolute; width: 2px; height: 2px; background: rgba(99,154,208,0.4); border-radius: 50%; animation: particle-drift linear infinite; }

.section-divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(24,24,23,0.07) 20%, rgba(24,24,23,0.07) 80%, transparent); }

.nav-glass {
  background: rgba(240,242,255,0.85); backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid rgba(24,24,23,0.06);
}

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(24,24,23,0.3); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-content {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-2xl);
  padding: 40px; max-width: 500px; width: 90%;
  transform: translateY(20px) scale(0.95); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 60px -12px rgba(24,24,23,0.15);
}
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }

/* Swatch */
.swatch { width: 100%; aspect-ratio: 1; border-radius: var(--radius-lg); position: relative; overflow: hidden; transition: transform 0.3s; }
.swatch:hover { transform: scale(1.05); }
.swatch-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 8px 12px; background: linear-gradient(transparent, rgba(0,0,0,0.5)); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; color: #fff; }

.hover-underline { position: relative; display: inline-block; }
.hover-underline::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--color-primary); transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.hover-underline:hover::after { width: 100%; }

.counter-value { font-variant-numeric: tabular-nums; }
