/* ============================================
   SISTEMA DE DESIGN FLUIDO E RESPONSIVO
   ============================================
   
   Este CSS utiliza um sistema totalmente fluido baseado em:
   - Unidades relativas (rem, em, vw, vh, %, clamp)
   - Variáveis CSS para espaçamentos, tipografia e dimensões
   - Breakpoints padronizados para todas as resoluções
   - Aspect ratios para manter proporções
   - Viewport units para adaptação perfeita a qualquer tela
   
   Todas as proporções são mantidas em qualquer resolução,
   garantindo uma experiência visual consistente.
   ============================================ */

:root {
  /* ============================================
     CORES
     ============================================ */
  --color-primary: #ff1f3a;
  --color-primary-dark: #8b0012;
  --color-primary-light: #ff4d6d;
  --color-primary-gradient: linear-gradient(135deg, #ff1f3a 0%, #2a000a 55%, #030305 100%);
  --color-secondary: #00c896;
  --color-secondary-light: #72ffca;
  --color-dark: #08070a;
  --color-darker: #040305;
  --color-ink: #0c0d12;
  --color-light: #f5f5f5;
  --color-gray: #9fa3ad;
  --color-white: #ffffff;
  --color-surface: rgba(255, 255, 255, 0.05);
  --color-surface-hover: rgba(255, 255, 255, 0.08);

  /* ============================================
     TIPOGRAFIA
     ============================================ */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;

  /* Base font-size fluido: 16px em 320px até 20px em 1920px */
  --font-size-base: clamp(1rem, 0.25vw + 0.9375rem, 1.25rem);
  
  /* Escala tipográfica fluida */
  --font-size-xs: clamp(0.75rem, 0.5vw + 0.625rem, 0.875rem);
  --font-size-sm: clamp(0.875rem, 0.5vw + 0.75rem, 1rem);
  --font-size-md: clamp(1rem, 0.5vw + 0.875rem, 1.125rem);
  --font-size-lg: clamp(1.125rem, 0.75vw + 0.9375rem, 1.375rem);
  --font-size-xl: clamp(1.25rem, 1vw + 1rem, 1.5rem);
  --font-size-2xl: clamp(1.5rem, 1.5vw + 1.125rem, 2rem);
  --font-size-3xl: clamp(2rem, 2vw + 1.5rem, 2.75rem);
  
  --font-size-7xl: clamp(4rem, 6vw + 3rem, 7rem);
  --font-size-8xl: clamp(5rem, 8vw + 3.5rem, 8rem);

  /* ============================================
     ESPAÇAMENTOS FLUIDOS
     ============================================ */
  /* Espaçamentos baseados em viewport width */
  --space-xs: clamp(0.25rem, 0.5vw, 0.5rem);
  --space-sm: clamp(0.5rem, 1vw, 0.75rem);
  --space-md: clamp(0.75rem, 1.5vw, 1rem);
  --space-lg: clamp(1rem, 2vw, 1.5rem);
  --space-xl: clamp(1.5rem, 3vw, 2rem);
  --space-2xl: clamp(2rem, 4vw, 3rem);
  --space-3xl: clamp(3rem, 6vw, 4.5rem);
  --space-4xl: clamp(4rem, 8vw, 6rem);
  --space-5xl: clamp(5rem, 10vw, 8rem);
  --space-6xl: clamp(6rem, 12vw, 10rem);

  /* Padding e margin específicos */
  --padding-xs: clamp(0.5rem, 1vw, 0.75rem);
  --padding-sm: clamp(0.75rem, 1.5vw, 1rem);
  --padding-md: clamp(1rem, 2vw, 1.5rem);
  --padding-lg: clamp(1.5rem, 3vw, 2.25rem);
  --padding-xl: clamp(2rem, 4vw, 3rem);
  --padding-2xl: clamp(3rem, 6vw, 4.5rem);

  --margin-xs: clamp(0.5rem, 1vw, 0.75rem);
  --margin-sm: clamp(0.75rem, 1.5vw, 1rem);
  --margin-md: clamp(1rem, 2vw, 1.5rem);
  --margin-lg: clamp(1.5rem, 3vw, 2.25rem);
  --margin-xl: clamp(2rem, 4vw, 3rem);
  --margin-2xl: clamp(3rem, 6vw, 4.5rem);

  /* Gaps fluidos */
  --gap-xs: clamp(0.5rem, 1vw, 0.75rem);
  --gap-sm: clamp(0.75rem, 1.5vw, 1rem);
  --gap-md: clamp(1rem, 2vw, 1.5rem);
  --gap-lg: clamp(1.5rem, 3vw, 2.25rem);
  --gap-xl: clamp(2rem, 4vw, 3rem);
  --gap-2xl: clamp(3rem, 6vw, 4.5rem);

  /* ============================================
     LAYOUT FLUIDO
     ============================================ */
  --container-width: min(1400px, 95vw);
  --container-padding: clamp(1.25rem, 3vw, 2rem);
  
  /* Breakpoints fluidos (usar min-width) */
  --breakpoint-xs: 320px;
  --breakpoint-sm: 480px;
  --breakpoint-md: 720px;
  --breakpoint-lg: 968px;
  --breakpoint-xl: 1200px;
  --breakpoint-2xl: 1400px;
  --breakpoint-3xl: 1920px;

  /* ============================================
     BORDAS E RAIO FLUIDOS
     ============================================ */
  --radius-xs: clamp(0.375rem, 0.5vw, 0.5rem);
  --radius-sm: clamp(0.5rem, 0.75vw, 0.75rem);
  --radius-md: clamp(0.75rem, 1vw, 1rem);
  --radius-lg: clamp(1rem, 1.5vw, 1.5rem);
  --radius-xl: clamp(1.5rem, 2vw, 2rem);
  --radius-2xl: clamp(1.5rem, 2.5vw, 2.5rem);
  --radius-full: 9999px;

  /* ============================================
     SOMBRAS FLUIDAS
     ============================================ */
  --shadow-xs: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 clamp(2px, 0.5vw, 4px) clamp(8px, 1vw, 16px) rgba(0, 0, 0, 0.15);
  --shadow-md: 0 clamp(4px, 1vw, 8px) clamp(16px, 2vw, 32px) rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 clamp(8px, 1.5vw, 12px) clamp(24px, 3vw, 40px) rgba(0, 0, 0, 0.25);
  --shadow-xl: 0 clamp(12px, 2vw, 18px) clamp(40px, 4vw, 60px) rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 clamp(12px, 2vw, 24px) clamp(30px, 4vw, 60px) rgba(0, 0, 0, 0.35);
  --shadow-medium: 0 clamp(6px, 1vw, 12px) clamp(20px, 2vw, 40px) rgba(0, 0, 0, 0.25);
  --shadow-small: 0 clamp(2px, 0.5vw, 4px) clamp(8px, 1vw, 16px) rgba(0, 0, 0, 0.15);

  /* ============================================
     TRANSITIONS
     ============================================ */
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);

  /* ============================================
     ASPECT RATIOS COMUNS
     ============================================ */
  --aspect-square: 1 / 1;
  --aspect-video: 16 / 9;
  --aspect-portrait: 3 / 4;
  --aspect-landscape: 4 / 3;
  --aspect-golden: 1.618 / 1;
}

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

/* ============================================
   ELEMENTOS BASE
   ============================================ */
html {
  /* Font-size fluido: base para todas as unidades rem */
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Garantir que viewport seja sempre 100% */
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem; /* Usa o font-size-base do html */
  background: 
    radial-gradient(ellipse at 15% -10%, rgba(255, 31, 58, 0.1), rgba(3, 3, 5, 0.95)),
    radial-gradient(ellipse at 90% 0%, rgba(255, 31, 58, 0.05), rgba(5, 5, 7, 1)),
    linear-gradient(180deg, #030305 0%, #040408 50%, #030305 100%);
  color: var(--color-light);
  line-height: clamp(1.5, 0.5vw + 1.4, 1.65);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  /* Garantir largura total */
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height para mobile */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Garantir proporções mantidas */
  object-fit: contain;
  /* Imagens responsivas por padrão */
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-base);
}

ul {
  list-style: none;
}

/* ============================================
   BACKGROUND CANVAS
   ============================================ */
.background-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.background-canvas__orb,
.background-canvas__grid {
  position: absolute;
  filter: blur(0.3px);
  transform-origin: center;
  transition: transform 0.35s ease-out;
  will-change: transform;
  mix-blend-mode: screen;
  contain: layout style paint;
  backface-visibility: hidden;
}

.background-canvas__orb {
  /* Tamanho fluido baseado em viewport */
  width: clamp(300px, 35vw, 520px);
  height: clamp(300px, 35vw, 520px);
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle, rgba(255, 31, 58, 0.25) 0%, rgba(13, 0, 6, 0.8) 65%, transparent 100%);
  border-radius: 50%;
  top: clamp(-80px, -8vw, -120px);
  left: clamp(-120px, -12vw, -180px);
  opacity: 0.7;
  background-size: 160%;
}

.background-canvas__orb--2 {
  width: clamp(250px, 28vw, 420px);
  height: clamp(250px, 28vw, 420px);
  aspect-ratio: 1 / 1;
  top: 60%;
  right: clamp(-90px, -9vw, -140px);
  background: radial-gradient(circle, rgba(255, 31, 58, 0.2) 0%, rgba(12, 0, 4, 0.85) 75%, transparent 100%);
  opacity: 0.65;
  background-size: 170%;
}

.background-canvas__grid {
  inset: 10%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.12) 0%, transparent 65%);
  mix-blend-mode: lighten;
  opacity: 0.35;
  background-size: 140%;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.topbar {
  position: relative;
  padding: clamp(0.875rem, 1.5vw, 1.375rem) 0;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: padding 0.3s ease, background 0.3s ease;
  contain: layout style;
  backdrop-filter: blur(8px);
  width: 100%;
}

.topbar.is-scrolled {
  padding: clamp(0.75rem, 1vw, 1rem) 0;
  background: rgba(0, 0, 0, 0.96);
  box-shadow: var(--shadow-xl);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-md);
}

.brand {
  display: flex;
  align-items: center;
  margin-right: 0;
}

.brand__logo {
  width: clamp(160px, 18vw, 280px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  aspect-ratio: auto;
}

.brand__logo img {
  width: 100%;
  max-height: clamp(60px, 10vh, 150px);
  height: auto;
  object-fit: contain;
  display: block;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  font-weight: 500;
  font-size: var(--font-size-sm);
  color: var(--color-white);
  position: relative;
  flex-wrap: nowrap;
  flex: 0 1 auto;
  justify-content: center;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--gap-xs);
  padding: clamp(0.5rem, 1vw, 0.625rem) clamp(1rem, 1.5vw, 1.375rem);
  font-weight: 600;
  font-size: inherit;
  letter-spacing: clamp(0.1px, 0.1vw, 0.2px);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  background: rgba(32, 32, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    var(--shadow-md);
  backdrop-filter: blur(4px);
  white-space: nowrap;
  --inset: clamp(12px, 1.5vw, 20px);
  scale: 1;
  transition: all var(--spring-duration) var(--spring-easing);
}

.nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255, 31, 58, 0.25), rgba(139, 0, 18, 0.18), rgba(255, 255, 255, 0.55));
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease;
  mix-blend-mode: multiply;
  z-index: -1;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 31, 58, 0), rgba(255, 31, 58, 0.45), rgba(255, 31, 58, 0));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.nav a:hover:not(:active) {
  color: var(--color-primary);
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 12px 24px rgba(255, 31, 58, 0.2);
  transition-duration: calc(var(--spring-duration) * 0.5);
  scale: 1.05;
}

.nav a:hover::before {
  opacity: 0.6;
  transform: scale(1);
}

.nav a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.nav a:active {
  transform: translateY(0);
  scale: 1.02;
  transition-duration: calc(var(--spring-duration) * 0.5);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.8),
    inset 0 -1px 2px rgba(206, 210, 226, 0.6),
    0 6px 12px rgba(12, 13, 18, 0.06);
}

.nav__icon {
  width: clamp(14px, 1.2vw, 18px);
  height: clamp(14px, 1.2vw, 18px);
  min-width: clamp(14px, 1.2vw, 18px);
  min-height: clamp(14px, 1.2vw, 18px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.85), rgba(255, 94, 127, 0.65));
  box-shadow: 0 clamp(3px, 0.5vw, 6px) clamp(7px, 1vw, 14px) rgba(255, 31, 58, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  flex-shrink: 0;
}

.nav__icon::after {
  content: "";
  width: clamp(6px, 0.6vw, 8px);
  height: clamp(6px, 0.6vw, 8px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  opacity: 1;
  transition: transform 0.35s ease;
}

/* Nav link text - aplicar shimmer effect no hover */
.nav__link-text {
  position: relative;
  z-index: 1;
  color: inherit;
  transition: color 0.2s ease;
}

.nav a:hover .nav__link-text {
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-color: var(--color-primary);
  background-image: linear-gradient(
    120deg, 
    transparent, 
    hsla(var(--glow-hue), 100%, 80%, 0.66) 40%, 
    hsla(var(--glow-hue), 100%, 90%, 0.9) 50%, 
    transparent 52%
  );
  background-repeat: no-repeat;
  background-size: 300% 300%;
  background-position: center 200%;
  animation: text-shimmer 0.66s ease-in 1 both;
}

.nav a:hover .nav__icon,
.nav a:focus-visible .nav__icon {
  transform: scale(1.18);
  box-shadow: 0 14px 26px rgba(255, 31, 58, 0.38);
  filter: brightness(1.08);
}

.nav a:hover .nav__icon::after,
.nav a:focus-visible .nav__icon::after {
  transform: scale(1.08);
}

.nav__cta {
  gap: 14px;
  padding-inline: 32px;
  border-radius: 22px;
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.92), rgba(139, 0, 18, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 22px 40px rgba(255, 31, 58, 0.28);
}

.nav__cta::before {
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.65), rgba(255, 31, 58, 0.65));
  opacity: 0.4;
  transform: scale(0.96);
}

.nav__cta::after {
  left: 20px;
  right: 20px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.05));
  opacity: 0.35;
}

.nav__icon--cta {
  width: 22px;
  height: 22px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.9), rgba(255, 94, 127, 0.75));
  min-width: 22px;
  min-height: 22px;
}

.nav__icon--cta::after {
  background: rgba(255, 255, 255, 0.9);
}

.nav__cta:hover {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 28px 46px rgba(255, 31, 58, 0.34);
  background: linear-gradient(135deg, rgba(255, 31, 58, 1), rgba(139, 0, 18, 1));
}

.nav__cta:focus-visible {
  color: #ffffff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition-base);
}

.nav a:focus-visible {
  outline: 3px solid rgba(255, 31, 58, 0.35);
  outline-offset: 4px;
}

/* Shimmer effect para links da navbar - mesmo sistema dos botões hero */
.nav a .shimmer {
  position: absolute;
  inset: calc(var(--inset) * -1);
  border-radius: inherit;
  pointer-events: none;
  mask-image: conic-gradient(
    from var(--shimmer, 0deg),
    transparent 0%,
    transparent 20%,
    black 36%,
    black 45%,
    transparent 50%,
    transparent 70%,
    black 85%,
    black 95%,
    transparent 100%
  );
  mask-size: cover;
  -webkit-mask-image: conic-gradient(
    from var(--shimmer, 0deg),
    transparent 0%,
    transparent 20%,
    black 36%,
    black 45%,
    transparent 50%,
    transparent 70%,
    black 85%,
    black 95%,
    transparent 100%
  );
  -webkit-mask-size: cover;
  mix-blend-mode: plus-lighter;
  animation: shimmer 1s linear infinite both;
}

.nav a:hover .shimmer::before,
.nav a:hover .shimmer::after {
  opacity: 1;
  animation: shine 1.2s ease-in 1 forwards;
}

.nav a .shimmer::before,
.nav a .shimmer::after {
  transition: all 0.5s ease;
  opacity: 0;
  content: "";
  border-radius: inherit;
  position: absolute;
  mix-blend-mode: color;
  inset: var(--inset);
  pointer-events: none;
}

.nav a .shimmer::before {
  box-shadow: 
    0 0 calc(var(--inset) * 0.1) 2px hsl(var(--glow-hue) 20% 95%),
    0 0 calc(var(--inset) * 0.18) 4px hsl(var(--glow-hue) 20% 80%),
    0 0 calc(var(--inset) * 0.33) 4px hsl(var(--glow-hue) 50% 70%),
    0 0 calc(var(--inset) * 0.66) 5px hsl(var(--glow-hue) 100% 70%);
  z-index: -1;
}

.nav a .shimmer::after {
  box-shadow: 
    inset 0 0 0 1px hsl(var(--glow-hue) 70% 95%),
    inset 0 0 2px 1px hsl(var(--glow-hue) 100% 80%),
    inset 0 0 5px 2px hsl(var(--glow-hue) 100% 70%);
  z-index: 2;
}

.nav::after {
  content: "";
  position: absolute;
  inset: -18px -20px;
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0));
  opacity: 0.35;
  z-index: -1;
}

/* ============================================
   NOISE BACKGROUND EFFECT (Aceternity UI Style)
   ============================================ */

/* Links normais da nav com efeito noise sutil */
.noise-link {
  position: relative;
  transition: opacity 0.3s ease;
}

.noise-link:hover {
  opacity: 0.85;
}

/* Container do botão com gradiente animado */
.noise-container {
  position: relative;
  padding: 2px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--color-primary), #2a000a, var(--color-primary-dark));
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

/* Camada de Ruído (Noise) */
.noise-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.3;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: cover;
  mix-blend-mode: overlay;
}

/* O Botão Interno */
.nav__cta-noise,
.hero__cta-noise {
  position: relative;
  z-index: 2;
  background: #030305;
  color: var(--color-white);
  padding: 10px 30px 10px 24px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav__cta-noise:hover,
.hero__cta-noise:hover {
  background: rgba(3, 3, 5, 0.9);
  transform: scale(0.98);
}

.nav__cta-noise:active,
.hero__cta-noise:active {
  transform: scale(0.96);
}

/* Botão de Login com Animação */
.login-button-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: clamp(30px, 4vw, 60px);
}

.login-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.95), rgba(255, 31, 58, 0.85));
  border: 1.5px solid rgba(255, 31, 58, 0.6);
  border-radius: 9999px;
  color: rgba(255, 255, 255, 1);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(255, 31, 58, 0.3);
  white-space: nowrap;
}

.login-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.login-button:hover {
  background: linear-gradient(135deg, rgba(255, 31, 58, 1), rgba(255, 31, 58, 0.9));
  border-color: rgba(255, 31, 58, 0.8);
  box-shadow: 0 6px 24px rgba(255, 31, 58, 0.4);
  transform: translateY(-2px);
}

.login-button:hover::before {
  opacity: 1;
}

.login-button:active {
  transform: translateY(0) scale(0.98);
}

.login-button__text {
  position: relative;
  z-index: 1;
  transition: opacity 0.15s ease;
  opacity: 1;
}

.login-button {
  border: none;
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.95), rgba(255, 31, 58, 0.85));
}

.login-button:focus {
  outline: 2px solid rgba(255, 31, 58, 0.5);
  outline-offset: 2px;
}

/* SVG da digital - inicialmente oculto */
.login-button__fingerprint {
  position: absolute;
  width: 32px;
  height: 38px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

/* Linhas da digital - mais visíveis */
.fingerprint-line {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  opacity: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Animação quando ativo - Biometria Digital */
.login-button-container.active .login-button {
  animation: loginButtonBiometric 2.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation-fill-mode: both;
}

.login-button-container.active .login-button__fingerprint {
  opacity: 1;
  visibility: visible;
  z-index: 3;
  transition: opacity 0.2s ease, visibility 0s linear 0s;
}

.login-button-container.active .login-button__text {
  opacity: 0 !important;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0s linear 0.15s;
  z-index: 0;
}

/* Restaurar texto após animação */
.login-button-container:not(.active) .login-button__text {
  opacity: 1 !important;
  visibility: visible;
  transition: opacity 0.3s ease 0.1s, visibility 0s linear 0s;
  z-index: 1;
}

/* Animação das linhas da digital */
.login-button-container.active .fingerprint-line--odd {
  animation: fingerprintScanOdd 2.5s ease-in-out;
}

.login-button-container.active .fingerprint-line--even {
  animation: fingerprintScanEven 2.5s ease-in-out;
}

@keyframes loginButtonBiometric {
  0% {
    transform: scale(1);
    background: linear-gradient(135deg, rgba(255, 31, 58, 0.95), rgba(255, 31, 58, 0.85));
    box-shadow: 0 4px 16px rgba(255, 31, 58, 0.3);
  }
  10% {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(255, 31, 58, 0.85), rgba(255, 31, 58, 0.75));
    box-shadow: 0 6px 24px rgba(255, 31, 58, 0.35);
  }
  50% {
    transform: scale(1.08);
    background: linear-gradient(135deg, rgba(255, 31, 58, 0.75), rgba(255, 31, 58, 0.65));
    box-shadow: 0 8px 32px rgba(255, 31, 58, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.15), inset 0 0 20px rgba(255, 255, 255, 0.1);
  }
  90% {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(255, 31, 58, 0.85), rgba(255, 31, 58, 0.75));
    box-shadow: 0 6px 24px rgba(255, 31, 58, 0.35);
  }
  100% {
    transform: scale(1);
    background: linear-gradient(135deg, rgba(255, 31, 58, 0.95), rgba(255, 31, 58, 0.85));
    box-shadow: 0 4px 16px rgba(255, 31, 58, 0.3);
  }
}

@keyframes fingerprintScanOdd {
  0% {
    stroke-dashoffset: 120;
    opacity: 0;
    stroke-width: 3;
  }
  3% {
    opacity: 0.6;
  }
  5% {
    opacity: 1;
    stroke-width: 3.5;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.9));
  }
  15% {
    stroke-dashoffset: 0;
    opacity: 1;
    stroke-width: 3.5;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 1));
  }
  85% {
    stroke-dashoffset: 0;
    opacity: 1;
    stroke-width: 3;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.8));
  }
  95% {
    opacity: 0.7;
    stroke-width: 2.5;
  }
  100% {
    stroke-dashoffset: -120;
    opacity: 0;
    stroke-width: 2;
  }
}

@keyframes fingerprintScanEven {
  0% {
    stroke-dashoffset: 120;
    opacity: 0;
    stroke-width: 2.5;
  }
  5% {
    opacity: 0.6;
  }
  10% {
    opacity: 1;
    stroke-width: 3;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.9));
  }
  20% {
    stroke-dashoffset: 0;
    opacity: 1;
    stroke-width: 3;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 1));
  }
  80% {
    stroke-dashoffset: 0;
    opacity: 1;
    stroke-width: 2.5;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.8));
  }
  90% {
    opacity: 0.7;
    stroke-width: 2;
  }
  100% {
    stroke-dashoffset: -120;
    opacity: 0;
    stroke-width: 1.5;
  }
}

/* Efeito de brilho adicional nas linhas durante animação */
.login-button-container.active .fingerprint-line {
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

/* Ajuste para o botão no hero */
.hero__actions .noise-container {
  margin: 0;
}

/* Animação do Gradiente de Fundo */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-xs);
  padding: var(--padding-sm) var(--padding-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--font-size-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  white-space: nowrap;
}

.button--primary {
  background: var(--color-primary-gradient);
  color: var(--color-white);
  box-shadow: 0 16px 32px rgba(255, 31, 58, 0.35);
}

.button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(255, 31, 58, 0.35);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button--ghost {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.button--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.topbar .button--ghost {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.25);
  padding: 12px 20px;
}

.topbar .button--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 32px rgba(255, 31, 58, 0.24);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
main {
  margin-top: clamp(60px, 8vw, 120px);
  position: relative;
  z-index: 1;
  width: 100%;
}

/* ============================================
   HERO - Nova Versão com Foco em Segurança
   ============================================ */
.hero {
  position: relative;
  padding: var(--padding-2xl) 0;
  overflow: hidden;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 31, 58, 0.15), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 150, 255, 0.08), transparent 50%),
    linear-gradient(180deg, #030305 0%, #0a0a0f 100%);
  z-index: 1;
  isolation: isolate;
  width: 100%;
}

/* ============================================
   HERO PORTAL - Design Profissional
   ============================================ */
.hero--portal {
  position: relative;
  min-height: clamp(600px, 90vh, 100vh);
  min-height: clamp(600px, 90dvh, 100dvh); /* Dynamic viewport height */
  display: flex;
  align-items: flex-start;
  padding-top: clamp(10px, 1.5vw, 20px);
  padding-bottom: var(--padding-2xl);
  overflow: hidden;
  width: 100%;
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 800px 600px at 25% 30%, rgba(255, 31, 58, 0.08), transparent 60%),
    radial-gradient(ellipse 600px 800px at 45% 70%, rgba(0, 200, 150, 0.06), transparent 60%),
    linear-gradient(180deg, #030305 0%, #040408 30%, rgba(4, 4, 8, 0.9) 60%, rgba(4, 4, 8, 0.6) 75%, rgba(4, 4, 8, 0.3) 88%, rgba(4, 4, 8, 0.1) 95%, transparent 100%);
  z-index: 0;
  mask-image: linear-gradient(to bottom, black 0%, black 80%, rgba(0, 0, 0, 0.7) 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 80%, rgba(0, 0, 0, 0.7) 90%, transparent 100%);
}

.hero__background::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -10%;
  width: 110%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100px 100px;
  background-position: center center;
  opacity: 0.25;
  animation: gridDrift 30s linear infinite;
}

@keyframes gridDrift {
  0% { transform: translate(-10px, 0); }
  100% { transform: translate(90px, 100px); }
}

.hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  justify-items: center;
}

@media (max-width: 968px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }
}

/* Hero Text Wrapper */
.hero__text-wrapper {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vw, 1rem);
  width: 100%;
  max-width: 100%;
  grid-column: 1;
  grid-row: 1;
  margin-top: clamp(-10px, -1.5vw, 0px);
  padding-top: 0;
}

.hero__badge-wrapper {
  display: inline-flex;
  align-self: flex-start;
}

@media (max-width: 968px) {
  .hero__badge-wrapper {
    align-self: center;
  }
}

.hero__badge-text {
  display: inline-block;
  padding: var(--padding-xs) var(--padding-sm);
  border-radius: var(--radius-sm);
  background: rgba(255, 31, 58, 0.12);
  border: 1px solid rgba(255, 31, 58, 0.25);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: clamp(0.4px, 0.05vw, 0.8px);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  /* Fade-in unificado */
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__title {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.05;
}

.hero__title-word {
  display: inline-block;
  font-size: var(--font-size-7xl);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  white-space: nowrap; /* Força uma linha única */
  overflow: visible; /* Permite que o texto completo seja visível */
  /* Fade-in unificado - todos aparecem juntos */
  opacity: 0;
  transform: translateY(0);
  visibility: visible;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cada letra individual */
.hero__title-letter {
  display: inline-block;
  /* Efeito concept-two: contorno vazio que preenche no hover */
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 1);
  text-shadow: none;
  /* Fade-in unificado */
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              -webkit-text-stroke 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              text-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.hero__title-letter--space {
  width: 0.2em;
}

/* Hover: preenche apenas a letra específica */
.hero__title-letter:hover {
  color: rgba(255, 255, 255, 1);
  -webkit-text-stroke: 2px transparent;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: scale(1.1) translateY(-2px);
}

.hero__title-subline {
  display: block;
  margin-top: var(--margin-sm);
  font-family: var(--font-sans);
  font-size: var(--font-size-xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.86);
  max-width: 44ch;
  /* Iniciar invisível para animação Anime.js */
  opacity: 0;
  transform: translateY(20px);
}

.hero__description {
  font-size: var(--font-size-lg);
  line-height: clamp(1.6, 0.2vw + 1.5, 1.7);
  color: rgba(255, 255, 255, 0.75);
  max-width: clamp(500px, 60vw, 580px);
  margin: 0;
  margin-bottom: clamp(-0.5rem, -1vw, -0.25rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Fade-in unificado */
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__bullets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  max-width: 580px;
  /* Iniciar invisível para animação Anime.js */
  opacity: 0;
  transform: translateY(15px);
}

.hero__bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: -0.01em;
}

.hero__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 31, 58, 0.95);
  box-shadow: 0 0 0 4px rgba(255, 31, 58, 0.14);
  transform: translateY(-50%);
}

@media (max-width: 968px) {
  .hero__description {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero__title-subline {
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__bullets {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 1.8vw, 18px);
  align-items: center;
  /* Fade-in unificado */
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 968px) {
  .hero__cta-group {
    justify-content: center;
  }
}

.hero__button {
  padding: clamp(14px, 1.8vw, 18px) clamp(28px, 3.5vw, 36px);
  border-radius: 10px;
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.01em;
  font-family: var(--font-sans);
  border: 1.5px solid;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  /* Transições otimizadas (não conflitam com Anime.js) */
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.hero__button:focus {
  outline: 2px solid rgba(255, 31, 58, 0.5);
  outline-offset: 2px;
}

.hero__button--primary {
  background: rgba(255, 31, 58, 0.95);
  border-color: rgba(255, 31, 58, 0.8);
  color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 16px rgba(255, 31, 58, 0.3);
}

.hero__button--primary:hover {
  background: rgba(255, 31, 58, 1);
  box-shadow: 0 6px 24px rgba(255, 31, 58, 0.4);
  transform: translateY(-2px) scale(1.02);
}

.hero__button--primary:active {
  transform: translateY(0) scale(0.98);
}

.hero__button--outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero__button--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px) scale(1.02);
}

.hero__button--outline:active {
  transform: translateY(0) scale(0.98);
}

/* Shimmer Effect para Botões Hero */
:root {
  --glow-hue: 0deg; /* Vermelho */
  --shadow-hue: 0deg;
  --spring-easing: linear(
    0, 0.002, 0.01 0.9%, 0.038 1.8%, 0.156, 0.312 5.8%, 0.789 11.1%, 1.015 14.2%,
    1.096, 1.157, 1.199, 1.224 20.3%, 1.231, 1.231, 1.226, 1.214 24.6%,
    1.176 26.9%, 1.057 32.6%, 1.007 35.5%, 0.984, 0.968, 0.956, 0.949 42%,
    0.946 44.1%, 0.95 46.5%, 0.998 57.2%, 1.007, 1.011 63.3%, 1.012 68.3%,
    0.998 84%, 1
  );
  --spring-duration: 1.33s;
}

@property --shimmer {
  syntax: "<angle>";
  inherits: false;
  initial-value: 33deg;
}

@keyframes shimmer {
  0% {
    --shimmer: 0deg;
  }
  100% {
    --shimmer: 360deg;
  }
}

@keyframes shine {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes text-shimmer {
  0% {
    background-position: 100% center;
  }    
  100% {
    background-position: -100% center;
  }    
}

.hero__button {
  --inset: 40px;
  isolation: isolate;
  scale: 1;
  transition: all var(--spring-duration) var(--spring-easing);
}

.hero__button:hover:not(:active),
.hero__button.active {
  transition-duration: calc(var(--spring-duration) * 0.5);
  scale: 1.05;
}

.hero__button:active {
  scale: 1.02;
  transition-duration: calc(var(--spring-duration) * 0.5);
}

.hero__button-text {
  position: relative;
  z-index: 1;
}

.hero__button--primary .hero__button-text {
  color: rgba(255, 255, 255, 1);
}

.hero__button--primary:hover .hero__button-text,
.hero__button--primary.active .hero__button-text {
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-color: rgba(255, 255, 255, 1);
  background-image: linear-gradient(
    120deg, 
    transparent, 
    hsla(var(--glow-hue), 100%, 80%, 0.66) 40%, 
    hsla(var(--glow-hue), 100%, 90%, 0.9) 50%, 
    transparent 52%
  );
  background-repeat: no-repeat;
  background-size: 300% 300%;
  background-position: center 200%;
}

.hero__button--outline .hero__button-text {
  color: rgba(255, 255, 255, 0.95);
}

.hero__button--outline:hover .hero__button-text,
.hero__button--outline.active .hero__button-text {
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-color: rgba(255, 255, 255, 0.95);
  background-image: linear-gradient(
    120deg, 
    transparent, 
    hsla(var(--glow-hue), 100%, 80%, 0.66) 40%, 
    hsla(var(--glow-hue), 100%, 90%, 0.9) 50%, 
    transparent 52%
  );
  background-repeat: no-repeat;
  background-size: 300% 300%;
  background-position: center 200%;
}

.hero__button:hover .hero__button-text,
.hero__button.active .hero__button-text {
  animation: text-shimmer 0.66s ease-in 1 both;
}

.hero__button .shimmer {
  position: absolute;
  inset: calc(var(--inset) * -1);
  border-radius: inherit;
  pointer-events: none;
  mask-image: conic-gradient(
    from var(--shimmer, 0deg),
    transparent 0%,
    transparent 20%,
    black 36%,
    black 45%,
    transparent 50%,
    transparent 70%,
    black 85%,
    black 95%,
    transparent 100%
  );
  mask-size: cover;
  -webkit-mask-image: conic-gradient(
    from var(--shimmer, 0deg),
    transparent 0%,
    transparent 20%,
    black 36%,
    black 45%,
    transparent 50%,
    transparent 70%,
    black 85%,
    black 95%,
    transparent 100%
  );
  -webkit-mask-size: cover;
  mix-blend-mode: plus-lighter;
  animation: shimmer 1s linear infinite both;
}

.hero__button:hover .shimmer::before,
.hero__button:hover .shimmer::after,
.hero__button.active .shimmer::before,
.hero__button.active .shimmer::after {
  opacity: 1;
  animation: shine 1.2s ease-in 1 forwards;
}

.hero__button .shimmer::before,
.hero__button .shimmer::after {
  transition: all 0.5s ease;
  opacity: 0;
  content: "";
  border-radius: inherit;
  position: absolute;
  mix-blend-mode: color;
  inset: var(--inset);
  pointer-events: none;
}

.hero__button .shimmer::before {
  box-shadow: 
    0 0 calc(var(--inset) * 0.1) 2px hsl(var(--glow-hue) 20% 95%),
    0 0 calc(var(--inset) * 0.18) 4px hsl(var(--glow-hue) 20% 80%),
    0 0 calc(var(--inset) * 0.33) 4px hsl(var(--glow-hue) 50% 70%),
    0 0 calc(var(--inset) * 0.66) 5px hsl(var(--glow-hue) 100% 70%);
  z-index: -1;
}

.hero__button .shimmer::after {
  box-shadow: 
    inset 0 0 0 1px hsl(var(--glow-hue) 70% 95%),
    inset 0 0 2px 1px hsl(var(--glow-hue) 100% 80%),
    inset 0 0 5px 2px hsl(var(--glow-hue) 100% 70%);
  z-index: 2;
}

/* Ajustes para botão primary com shimmer */
.hero__button--primary {
  background-image: linear-gradient(
    315deg,
    rgba(255, 31, 58, 0.95) -10%,
    rgba(255, 60, 80, 0.98) 50%,
    rgba(255, 31, 58, 0.95) 110%
  );
  box-shadow: 
    0 2px 3px 1px hsl(var(--glow-hue) 50% 20% / 50%), 
    inset 0 -10px 20px -10px hsla(var(--shadow-hue), 10%, 90%, 95%);
}

.hero__button--primary:hover:not(:active),
.hero__button--primary.active {
  box-shadow: 
    0 4px 8px -2px hsl(var(--glow-hue) 50% 20% / 50%), 
    inset 0 0 0 transparent;
}

/* Ajustes para botão outline com shimmer */
.hero__button--outline {
  background-image: linear-gradient(
    315deg,
    rgba(255, 255, 255, 0.08) -10%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.08) 110%
  );
  box-shadow: 
    0 2px 3px 1px hsl(var(--glow-hue) 50% 20% / 30%), 
    inset 0 -10px 20px -10px hsla(var(--shadow-hue), 10%, 90%, 95%);
}

.hero__button--outline:hover:not(:active),
.hero__button--outline.active {
  box-shadow: 
    0 4px 8px -2px hsl(var(--glow-hue) 50% 20% / 30%), 
    inset 0 0 0 transparent;
}

/* Hero Visual - Grid de Features */
.hero__visual {
  position: relative;
  margin-left: 0;
  padding-left: 0;
  width: 100%;
  max-width: 100%;
  margin-top: clamp(-1rem, -2vw, -0.5rem);
  grid-column: 1;
  grid-row: 2;
  z-index: 1;
}

/* Hero Visual - Swiper Slider */
.blog-slider {
  width: 100%;
  max-width: clamp(600px, 70vw, 800px);
  margin: 0 auto;
  position: relative;
}

.blog-slider__wrp {
  align-items: stretch;
}

.blog-slider__item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: clamp(18px, 2vw, 24px);
  padding: clamp(32px, 4vw, 48px);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  --slide-bg: none;
}

.blog-slider__content {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vw, 18px);
  position: relative;
  z-index: 1;
}

.blog-slider__item::before {
  content: '';
  position: absolute;
  inset: -12%;
  background-image: var(--slide-bg);
  background-size: cover;
  background-position: center;
  filter: blur(0.5px);
  opacity: 0.7;
  z-index: 0;
  transform: scale(1.05);
}

.blog-slider__item--leilao {
  --slide-bg: url("../img/leilao.png");
}

.blog-slider__item--telemed {
  --slide-bg: url("../img/telemedbg.png");
}

.blog-slider__item--estoque {
  --slide-bg: url("../img/gestaoestoque.png");
}

.blog-slider .swiper-slide {
  height: auto;
}

.blog-slider__pagination {
  margin-top: 16px;
  text-align: center;
}

.blog-slider__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.blog-slider__pagination .swiper-pagination-bullet-active {
  background: rgba(255, 31, 58, 0.9);
  transform: scale(1.15);
  box-shadow: 0 0 0 3px rgba(255, 31, 58, 0.2);
}

.hero__grid-visual {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: clamp(12px, 1.5vw, 16px);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__grid-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: clamp(28px, 3.5vw, 36px);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  /* Iniciar invisível para animação Anime.js */
  opacity: 0;
  transform: translateY(20px) translateZ(0);
  /* Transições suaves para expansão e hover */
  transition: flex-basis 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
  overflow: hidden;
  will-change: flex-basis, padding, transform;
}

/* Cards colapsados (padrão) */
.hero__grid-item.option {
  flex: 0 0 88px;
  flex-basis: 88px;
  min-width: 88px;
  padding: clamp(18px, 2.2vw, 22px) clamp(14px, 1.8vw, 18px);
}

/* Card expandido (ativo) */
.hero__grid-item.option.active {
  flex: 1 1 360px;
  flex-basis: 360px;
  min-width: 280px;
  padding: clamp(28px, 3.5vw, 36px);
  border-color: rgba(255, 31, 58, 0.3);
  box-shadow: 0 8px 32px rgba(255, 31, 58, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero__grid-item.option:not(.active):hover {
  border-color: rgba(255, 31, 58, 0.25);
  box-shadow: 0 6px 24px rgba(255, 31, 58, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-2px) scale(1.01);
}

.hero__grid-item.option.active:hover {
  border-color: rgba(255, 31, 58, 0.4);
  box-shadow: 0 10px 40px rgba(255, 31, 58, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero__grid-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: clamp(16px, 2vw, 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease, scale 0.3s ease;
  overflow: hidden;
}

.hero__grid-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.hero__grid-item:hover .hero__grid-icon::before,
.blog-slider__item:hover .hero__grid-icon::before {
  opacity: 1;
}

.hero__grid-item:hover .hero__grid-icon,
.blog-slider__item:hover .hero__grid-icon {
  transform: scale(1.1) rotate(5deg);
}

@keyframes biometricPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 31, 58, 0.4);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(255, 31, 58, 0);
  }
}

@keyframes biometricScan {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 31, 58, 0.6), inset 0 0 20px rgba(255, 31, 58, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 31, 58, 0.3), inset 0 0 30px rgba(255, 31, 58, 0.4);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 31, 58, 0.6), inset 0 0 20px rgba(255, 31, 58, 0.2);
  }
}

/* Animação específica para ícone de leilão (vermelho) */
.hero__grid-icon--auction {
  animation: biometricPulseRed 2s ease-in-out infinite;
}

.hero__grid-item:hover .hero__grid-icon--auction {
  animation: biometricScanRed 1.5s ease-in-out infinite;
}

@keyframes biometricPulseRed {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 31, 58, 0.4);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(255, 31, 58, 0);
  }
}

@keyframes biometricScanRed {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 31, 58, 0.6), inset 0 0 20px rgba(255, 31, 58, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 31, 58, 0.3), inset 0 0 30px rgba(255, 31, 58, 0.4);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 31, 58, 0.6), inset 0 0 20px rgba(255, 31, 58, 0.2);
  }
}

/* Animação específica para ícone de telemedicina (vermelho) */
.hero__grid-icon--telemed {
  animation: biometricPulseRed 2s ease-in-out infinite;
}

.hero__grid-item:hover .hero__grid-icon--telemed {
  animation: biometricScanRed 1.5s ease-in-out infinite;
}

@keyframes biometricPulseGreen {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 200, 150, 0.4);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(0, 200, 150, 0);
  }
}

@keyframes biometricScanGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 200, 150, 0.6), inset 0 0 20px rgba(0, 200, 150, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 200, 150, 0.3), inset 0 0 30px rgba(0, 200, 150, 0.4);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 200, 150, 0.6), inset 0 0 20px rgba(0, 200, 150, 0.2);
  }
}

/* Animação específica para ícone de estoque (vermelho) */
.hero__grid-icon--stock {
  animation: biometricPulseRed 2s ease-in-out infinite;
}

.hero__grid-item:hover .hero__grid-icon--stock {
  animation: biometricScanRed 1.5s ease-in-out infinite;
}

@keyframes biometricPulseYellow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 200, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(255, 200, 0, 0);
  }
}

@keyframes biometricScanYellow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 200, 0, 0.6), inset 0 0 20px rgba(255, 200, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 200, 0, 0.3), inset 0 0 30px rgba(255, 200, 0, 0.4);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 200, 0, 0.6), inset 0 0 20px rgba(255, 200, 0, 0.2);
  }
}

.hero__grid-icon--platform {
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.2) 0%, rgba(255, 31, 58, 0.1) 100%);
  border: 1px solid rgba(255, 31, 58, 0.3);
}

.hero__grid-icon--docs {
  background: linear-gradient(135deg, rgba(0, 200, 150, 0.2) 0%, rgba(0, 200, 150, 0.1) 100%);
  border: 1px solid rgba(0, 200, 150, 0.3);
}

.hero__grid-icon--support {
  background: linear-gradient(135deg, rgba(255, 200, 0, 0.2) 0%, rgba(255, 200, 0, 0.1) 100%);
  border: 1px solid rgba(255, 200, 0, 0.3);
}

/* Hero Icons - Variações (Leilão / Telemedicina / Estoque) */
.hero__grid-icon--auction {
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.25) 0%, rgba(255, 31, 58, 0.12) 100%);
  border: 1.5px solid rgba(255, 31, 58, 0.4);
  box-shadow: 0 4px 16px rgba(255, 31, 58, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: visible;
}

.hero__grid-icon--auction::before {
  background: radial-gradient(circle at 50% 50%, rgba(255, 31, 58, 0.2), transparent 70%);
}

.hero__grid-item:hover .hero__grid-icon--auction,
.blog-slider__item:hover .hero__grid-icon--auction {
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.35) 0%, rgba(255, 31, 58, 0.18) 100%);
  border-color: rgba(255, 31, 58, 0.7);
  box-shadow: 0 8px 32px rgba(255, 31, 58, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 20px rgba(255, 31, 58, 0.2);
  transform: scale(1.05) translateY(-2px);
}

.hero__grid-icon--telemed {
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.25) 0%, rgba(255, 31, 58, 0.12) 100%);
  border: 1.5px solid rgba(255, 31, 58, 0.4);
  box-shadow: 0 4px 16px rgba(255, 31, 58, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: visible;
}

.hero__grid-icon--telemed::before {
  background: radial-gradient(circle at 50% 50%, rgba(255, 31, 58, 0.2), transparent 70%);
}

.hero__grid-item:hover .hero__grid-icon--telemed,
.blog-slider__item:hover .hero__grid-icon--telemed {
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.35) 0%, rgba(255, 31, 58, 0.18) 100%);
  border-color: rgba(255, 31, 58, 0.7);
  box-shadow: 0 8px 32px rgba(255, 31, 58, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 20px rgba(255, 31, 58, 0.2);
  transform: scale(1.05) translateY(-2px);
}

.hero__grid-icon--stock {
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.25) 0%, rgba(255, 31, 58, 0.12) 100%);
  border: 1.5px solid rgba(255, 31, 58, 0.4);
  box-shadow: 0 4px 16px rgba(255, 31, 58, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: visible;
}

.hero__grid-icon--stock::before {
  background: radial-gradient(circle at 50% 50%, rgba(255, 31, 58, 0.2), transparent 70%);
}

.hero__grid-item:hover .hero__grid-icon--stock,
.blog-slider__item:hover .hero__grid-icon--stock {
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.35) 0%, rgba(255, 31, 58, 0.18) 100%);
  border-color: rgba(255, 31, 58, 0.7);
  box-shadow: 0 8px 32px rgba(255, 31, 58, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 20px rgba(255, 31, 58, 0.2);
  transform: scale(1.05) translateY(-2px);
}

.hero__grid-icon::after {
  content: '';
  width: 32px;
  height: 32px;
  background: currentColor;
  opacity: 0.95;
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  position: relative;
  z-index: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Remover background padrão quando usar imagem PNG */
.hero__grid-icon--auction::after,
.hero__grid-icon--telemed::after,
.hero__grid-icon--stock::after {
  background: transparent;
}

.hero__grid-item:hover .hero__grid-icon::after,
.blog-slider__item:hover .hero__grid-icon::after {
  opacity: 1;
  transform: scale(1.1);
}

.hero__grid-item:hover .hero__grid-icon--auction::after,
.blog-slider__item:hover .hero__grid-icon--auction::after {
  filter: drop-shadow(0 4px 8px rgba(255, 31, 58, 0.5)) brightness(1.2) drop-shadow(0 0 12px rgba(255, 31, 58, 0.4));
  transform: scale(1.15);
}

.hero__grid-item:hover .hero__grid-icon--telemed::after,
.blog-slider__item:hover .hero__grid-icon--telemed::after {
  filter: drop-shadow(0 4px 8px rgba(255, 31, 58, 0.5)) brightness(1.2) drop-shadow(0 0 12px rgba(255, 31, 58, 0.4));
  transform: scale(1.15);
}

.hero__grid-item:hover .hero__grid-icon--stock::after,
.blog-slider__item:hover .hero__grid-icon--stock::after {
  filter: drop-shadow(0 4px 8px rgba(255, 31, 58, 0.5)) brightness(1.2) drop-shadow(0 0 12px rgba(255, 31, 58, 0.4));
  transform: scale(1.15);
}

.hero__grid-icon--platform::after {
  background: linear-gradient(135deg, #ff1f3a, #ff4d6d);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L2 7v10c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V7l-10-5zm0 2.18l8 4v8.82c0 3.73-2.55 7.13-6 8.38-3.45-1.25-6-4.65-6-8.38V8.18l8-4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L2 7v10c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V7l-10-5zm0 2.18l8 4v8.82c0 3.73-2.55 7.13-6 8.38-3.45-1.25-6-4.65-6-8.38V8.18l8-4z'/%3E%3C/svg%3E");
}

.hero__grid-icon--docs::after {
  background: linear-gradient(135deg, #00c896, #72ffca);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E");
}

.hero__grid-icon--support::after {
  background: linear-gradient(135deg, #ffc800, #ffd700);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z'/%3E%3C/svg%3E");
}

.hero__grid-icon--auction::after {
  background-image: url("../img/leilaoreverso.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  mask-image: none;
  -webkit-mask-image: none;
  width: 40px;
  height: 40px;
  opacity: 1;
  filter: drop-shadow(0 2px 4px rgba(255, 31, 58, 0.3)) brightness(1.1);
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.hero__grid-icon--telemed::after {
  background-image: url("../img/telemedicina.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  mask-image: none;
  -webkit-mask-image: none;
  width: 40px;
  height: 40px;
  opacity: 1;
  filter: drop-shadow(0 2px 4px rgba(255, 31, 58, 0.3)) brightness(1.1);
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.hero__grid-icon--stock::after {
  background-image: url("../img/estoque.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  mask-image: none;
  -webkit-mask-image: none;
  width: 40px;
  height: 40px;
  opacity: 1;
  filter: drop-shadow(0 2px 4px rgba(255, 31, 58, 0.3)) brightness(1.1);
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.hero__grid-item h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
  margin: 0 0 clamp(8px, 1vw, 12px) 0;
  letter-spacing: -0.3px;
  white-space: nowrap;
  transition: opacity 0.4s ease, transform 0.4s ease, white-space 0.4s ease;
}

.hero__grid-item p {
  font-size: clamp(15px, 1.7vw, 17px);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Conteúdo oculto quando colapsado */
.hero__grid-item.option:not(.active) h3,
.hero__grid-item.option:not(.active) p {
  opacity: 0;
  transform: translateX(-10px);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  max-width: 0;
}

/* Conteúdo visível quando expandido */
.hero__grid-item.option.active h3 {
  white-space: normal;
  max-width: 100%;
}

.hero__grid-item.option.active h3,
.hero__grid-item.option.active p {
  opacity: 1;
  transform: translateX(0);
}

/* Ícone sempre visível mas ajustado */
.hero__grid-item.option:not(.active) .hero__grid-icon {
  opacity: 0.7;
  transform: scale(0.85);
  margin-bottom: 0;
}

.hero__grid-item.option.active .hero__grid-icon {
  opacity: 1;
  transform: scale(1);
  margin-bottom: clamp(16px, 2vw, 20px);
}

/* Cursor Follower */
.cursor-follower {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 31, 58, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: transform;
}

@media (max-width: 768px) {
  .cursor-follower {
    display: none;
  }
}

/* Responsividade */
@media (max-width: 768px) {
  .hero--portal {
    min-height: auto;
    padding: clamp(40px, 6vw, 60px) 0;
  }
  
  .hero__content {
    gap: 0;
  }
  
  .hero__title-word {
    font-size: clamp(2.5rem, 9vw, 4.5rem);
    white-space: nowrap; /* Mantém em uma linha mesmo no mobile */
  }
  
  .hero__cta-group {
    flex-direction: column;
    width: 100%;
  }
  
  .hero__button {
    width: 100%;
  }
}

/* ============================================
   HERO HEADER
   ============================================ */
.hero__header {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 1.8vw, 18px);
  margin-bottom: clamp(32px, 4vw, 48px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border: 1px solid;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.hero__badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero__badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero__badge:hover::before {
  opacity: 1;
}

.hero__badge-icon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.hero__badge--lgpd {
  background: linear-gradient(135deg, rgba(0, 200, 150, 0.15) 0%, rgba(0, 200, 150, 0.08) 100%);
  border-color: rgba(0, 200, 150, 0.35);
  color: rgba(195, 255, 239, 0.95);
  box-shadow: 0 2px 8px rgba(0, 200, 150, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero__badge--lgpd .hero__badge-icon {
  background: radial-gradient(circle, #00c896 0%, rgba(0, 200, 150, 0.3) 100%);
  box-shadow: 0 0 10px rgba(0, 200, 150, 0.6);
}

.hero__badge--security {
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.15) 0%, rgba(255, 31, 58, 0.08) 100%);
  border-color: rgba(255, 31, 58, 0.35);
  color: rgba(255, 200, 210, 0.95);
  box-shadow: 0 2px 8px rgba(255, 31, 58, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero__badge--security .hero__badge-icon {
  background: radial-gradient(circle, #ff1f3a 0%, rgba(255, 31, 58, 0.3) 100%);
  box-shadow: 0 0 10px rgba(255, 31, 58, 0.6);
}

.hero__badge--compliance {
  background: linear-gradient(135deg, rgba(255, 200, 0, 0.15) 0%, rgba(255, 200, 0, 0.08) 100%);
  border-color: rgba(255, 200, 0, 0.35);
  color: rgba(255, 240, 200, 0.95);
  box-shadow: 0 2px 8px rgba(255, 200, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero__badge--compliance .hero__badge-icon {
  background: radial-gradient(circle, #ffc800 0%, rgba(255, 200, 0, 0.3) 100%);
  box-shadow: 0 0 10px rgba(255, 200, 0, 0.6);
}

.hero__title {
  font-family: var(--font-display);
  display: grid;
  gap: clamp(8px, 1vw, 12px);
  margin-bottom: clamp(24px, 3vw, 32px);
}

.hero__title-main {
  display: block;
  font-size: clamp(2.75rem, 4.5vw + 1rem, 4.5rem);
  line-height: 1.05;
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
  letter-spacing: -0.03em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero__title-sub {
  display: block;
  font-size: clamp(2.25rem, 3.5vw + 0.8rem, 3.5rem);
  line-height: 1.1;
  font-weight: 600;
  color: rgba(240, 242, 250, 0.95);
  letter-spacing: -0.02em;
}

.hero__title-accent {
  display: block;
  font-size: clamp(2rem, 3vw + 0.6rem, 3rem);
  line-height: 1.15;
  font-weight: 700;
  background: linear-gradient(135deg, #ff1f3a 0%, #ff4d6d 50%, #00c896 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 2px 8px rgba(255, 31, 58, 0.3));
}

.hero__description {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  max-width: 920px;
  margin: 0 auto;
  font-weight: 400;
}

.hero__description strong {
  color: rgba(255, 255, 255, 0.98);
  font-weight: 600;
}

/* ============================================
   HERO GRID - Features
   ============================================ */
.hero__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
}

.hero__feature {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: clamp(28px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 24px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero__feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 31, 58, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.hero__feature::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 31, 58, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero__feature:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 31, 58, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 31, 58, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.hero__feature:hover::before {
  opacity: 1;
}

.hero__feature:hover::after {
  opacity: 1;
}

.hero__feature-header {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 20px);
  margin-bottom: clamp(4px, 0.5vw, 8px);
}

.hero__feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.hero__feature-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero__feature:hover .hero__feature-icon::before {
  opacity: 1;
}

.hero__feature-icon--shield {
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.25) 0%, rgba(255, 31, 58, 0.12) 100%);
  border: 1px solid rgba(255, 31, 58, 0.35);
  box-shadow: 0 4px 16px rgba(255, 31, 58, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero__feature-icon--shield::after {
  content: "";
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #ff1f3a, #ff4d6d);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L4 6v6c0 5.55 3.84 10.74 8 12 4.16-1.26 8-6.45 8-12V6l-8-4z'/%3E%3C/svg%3E");
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L4 6v6c0 5.55 3.84 10.74 8 12 4.16-1.26 8-6.45 8-12V6l-8-4z'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
}

.hero__feature-icon--certificate {
  background: linear-gradient(135deg, rgba(0, 200, 150, 0.25) 0%, rgba(0, 200, 150, 0.12) 100%);
  border: 1px solid rgba(0, 200, 150, 0.35);
  box-shadow: 0 4px 16px rgba(0, 200, 150, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero__feature-icon--certificate::after {
  content: "";
  width: 20px;
  height: 20px;
  border: 3px solid #00c896;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(0, 200, 150, 0.6);
}

.hero__feature-icon--layers {
  background: linear-gradient(135deg, rgba(255, 200, 0, 0.25) 0%, rgba(255, 200, 0, 0.12) 100%);
  border: 1px solid rgba(255, 200, 0, 0.35);
  box-shadow: 0 4px 16px rgba(255, 200, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero__feature-icon--layers::after {
  content: "";
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #ffc800, #ffd700);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L2 7v10c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V7l-10-5zm0 2.18l8 4v8.82c0 3.73-2.55 7.13-6 8.38-3.45-1.25-6-4.65-6-8.38V8.18l8-4z'/%3E%3C/svg%3E");
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L2 7v10c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V7l-10-5zm0 2.18l8 4v8.82c0 3.73-2.55 7.13-6 8.38-3.45-1.25-6-4.65-6-8.38V8.18l8-4z'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
}

.hero__feature-icon--key {
  background: linear-gradient(135deg, rgba(100, 150, 255, 0.25) 0%, rgba(100, 150, 255, 0.12) 100%);
  border: 1px solid rgba(100, 150, 255, 0.35);
  box-shadow: 0 4px 16px rgba(100, 150, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero__feature-icon--key::after {
  content: "";
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #6496ff, #7ab3ff);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 8h-1V6c0-2.76-2.24-5-5-5S6 3.24 6 6v2H5c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6z'/%3E%3C/svg%3E");
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 8h-1V6c0-2.76-2.24-5-5-5S6 3.24 6 6v2H5c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6z'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
}

.hero__feature:hover .hero__feature-icon {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero__feature-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 26px);
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.hero__feature-content {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.5vw, 16px);
}

.hero__feature-list {
  display: grid;
  gap: clamp(12px, 1.5vw, 16px);
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero__feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero__feature-check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(0, 200, 150, 0.2) 0%, rgba(0, 200, 150, 0.1) 100%);
  border: 1px solid rgba(0, 200, 150, 0.4);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 200, 150, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.hero__feature-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: 2px solid #00c896;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  box-shadow: 0 0 8px rgba(0, 200, 150, 0.6);
}

.hero__feature-list li:hover .hero__feature-check {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 200, 150, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero__feature-list li div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.hero__feature-list li strong {
  font-weight: 600;
  color: rgba(255, 255, 255, 1);
  font-size: clamp(16px, 1.7vw, 18px);
  letter-spacing: -0.2px;
}

.hero__feature-list li span {
  font-size: clamp(14px, 1.5vw, 16px);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* ============================================
   COMPLIANCE GRID
   ============================================ */
.hero__compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 18px);
  margin-bottom: clamp(16px, 2vw, 20px);
}

.hero__compliance-item {
  padding: clamp(16px, 2vw, 20px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero__compliance-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 200, 150, 0.4);
  box-shadow: 0 4px 16px rgba(0, 200, 150, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(0, 200, 150, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.hero__compliance-item strong {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
  letter-spacing: -0.3px;
}

.hero__compliance-item span {
  font-size: clamp(13px, 1.4vw, 15px);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
}

.hero__compliance-note {
  font-size: clamp(14px, 1.5vw, 16px);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  margin: 0;
  padding: clamp(16px, 2vw, 20px);
  background: linear-gradient(135deg, rgba(0, 200, 150, 0.12) 0%, rgba(0, 200, 150, 0.06) 100%);
  border: 1px solid rgba(0, 200, 150, 0.25);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 200, 150, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ============================================
   ARCHITECTURE VISUAL
   ============================================ */
.hero__architecture-visual {
  display: grid;
  gap: clamp(16px, 2vw, 20px);
  margin-bottom: clamp(16px, 2vw, 20px);
}

.hero__architecture-layer {
  display: grid;
  gap: 10px;
}

.hero__architecture-label {
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-family: var(--font-display);
}

.hero__architecture-bar {
  height: 10px;
  background: linear-gradient(90deg, rgba(255, 31, 58, 0.8) 0%, rgba(255, 31, 58, 0.6) 50%, rgba(0, 200, 150, 0.6) 100%);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(255, 31, 58, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.hero__architecture-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4) 50%,
    transparent
  );
  animation: shimmer 2.5s ease-in-out infinite;
}

.hero__architecture-layer:hover .hero__architecture-bar {
  box-shadow: 0 4px 16px rgba(255, 31, 58, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: scaleY(1.1);
}

@keyframes shimmer {
  0%, 100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}

.hero__architecture-description {
  font-size: clamp(14px, 1.5vw, 16px);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  margin: 0;
  font-weight: 400;
}

/* ============================================
   ACCESS STATS
   ============================================ */
.hero__access-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 18px);
  margin-bottom: clamp(20px, 2.5vw, 24px);
}

.hero__access-stat {
  padding: clamp(20px, 2.5vw, 24px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero__access-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 31, 58, 0.35);
  box-shadow: 0 6px 20px rgba(255, 31, 58, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.hero__access-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 40px);
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
  line-height: 1.1;
  margin-bottom: 8px;
  transform-origin: center;
  transition: transform 0.3s ease-out, color 0.3s ease;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero__access-stat strong.is-counting {
  color: rgba(255, 31, 58, 1);
  text-shadow: 0 0 16px rgba(255, 31, 58, 0.5);
}

.hero__access-stat span {
  display: block;
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

.hero__access-stat small {
  display: block;
  font-size: clamp(12px, 1.3vw, 14px);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.hero__access-stat--highlight {
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.2) 0%, rgba(255, 31, 58, 0.1) 100%);
  border-color: rgba(255, 31, 58, 0.4);
  box-shadow: 0 4px 16px rgba(255, 31, 58, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero__access-stat--highlight:hover {
  border-color: rgba(255, 31, 58, 0.6);
  box-shadow: 0 8px 24px rgba(255, 31, 58, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero__access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 1.5vw, 16px);
}

.hero__access-button {
  flex: 1;
  min-width: 140px;
  text-align: center;
}

/* ============================================
   HERO FOOTER - Security Notice
   ============================================ */
.hero__footer {
  margin-top: clamp(32px, 4vw, 48px);
}

.hero__security-notice {
  display: flex;
  gap: clamp(20px, 2.5vw, 24px);
  padding: clamp(24px, 3vw, 32px);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
  border: 1px solid rgba(255, 31, 58, 0.25);
  border-left: 4px solid rgba(255, 31, 58, 0.7);
  border-radius: 16px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.hero__security-notice:hover {
  border-color: rgba(255, 31, 58, 0.35);
  box-shadow: 0 6px 32px rgba(255, 31, 58, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero__security-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.25) 0%, rgba(255, 31, 58, 0.12) 100%);
  border: 1px solid rgba(255, 31, 58, 0.35);
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 16px rgba(255, 31, 58, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
}

.hero__security-icon::after {
  content: "";
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #ff1f3a, #ff4d6d);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10z'/%3E%3C/svg%3E");
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10z'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 20px;
  filter: grayscale(0.3);
}

.hero__security-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 12px);
}

.hero__security-content strong {
  font-size: clamp(17px, 1.9vw, 19px);
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
  font-family: var(--font-display);
  letter-spacing: -0.2px;
}

.hero__security-content p {
  font-size: clamp(15px, 1.6vw, 17px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
}

/* ============================================
   HERO CONTENT - Layout Principal (Legacy)
   ============================================ */
.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 64px);
  position: relative;
  z-index: 1;
  align-items: start;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 40px);
}

@media (min-width: 1600px) {
  .hero__content {
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 6vw, 72px);
    max-width: 1800px;
  }
}

/* ============================================
   HERO TEXT - Coluna Esquerda
   ============================================ */
.hero__text {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.5vw, 18px);
  position: relative;
  z-index: 2;
  max-width: 100%;
  grid-column: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 31, 58, 0.16);
  border: 1px solid rgba(255, 31, 58, 0.3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(255, 31, 58, 0.15);
  margin-bottom: clamp(4px, 0.5vw, 8px);
  white-space: nowrap;
  flex-wrap: nowrap;
}

.hero__badge-icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff1f3a 0%, rgba(255, 31, 58, 0) 70%);
  box-shadow: 0 0 12px rgba(255, 31, 58, 0.6);
}

.hero__badge-status {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.hero__headline {
  font-family: var(--font-display);
  display: grid;
  gap: clamp(4px, 0.6vw, 8px);
  max-width: 100%;
  margin: 0;
  margin-bottom: clamp(2px, 0.3vw, 6px);
}

.hero__headline-line {
  display: block;
  font-size: clamp(2rem, 3.5vw + 0.8rem, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
}

.hero__headline-line::after {
  content: "";
  flex: 1;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 31, 58, 0.4), rgba(255, 31, 58, 0));
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero__headline-line--primary {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.hero__headline-line--secondary {
  font-weight: 600;
  color: rgba(220, 223, 235, 0.9);
}

.hero__headline-line--accent {
  font-weight: 700;
  background: linear-gradient(135deg, #ff1f3a, #ff5f7a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero__headline:hover .hero__headline-line::after {
  opacity: 1;
  transform: translateX(0);
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 100%;
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.75;
  word-wrap: break-word;
  margin: 0;
}

.hero__lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.7;
  font-weight: 400;
  margin: 0;
  margin-bottom: clamp(2px, 0.3vw, 6px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 1.5vw, 18px);
  margin: 0;
}

.hero__actions .button {
  padding: clamp(13px, 1.4vw, 17px) clamp(26px, 3.5vw, 36px);
  font-size: clamp(15px, 1.6vw, 17px);
  white-space: nowrap;
}

.hero__highlights {
  display: grid;
  gap: clamp(10px, 1.2vw, 14px);
  margin: clamp(12px, 1.5vw, 18px) 0 clamp(10px, 1.2vw, 16px);
}

.hero__highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.65;
}

.hero__highlights li strong {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  display: inline;
  margin-right: 4px;
}

.hero__highlight-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: radial-gradient(circle, rgba(255, 31, 58, 0.6), rgba(255, 31, 58, 0));
  box-shadow: 0 0 8px rgba(255, 31, 58, 0.45);
}

.hero__note {
  margin-top: clamp(12px, 1.5vw, 18px);
  max-width: 100%;
  font-size: clamp(14px, 1.5vw, 16px);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  word-wrap: break-word;
  margin-bottom: 0;
  padding: clamp(12px, 1.5vw, 16px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-primary);
}

.hero__note strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

/* ============================================
   HERO STATS CARDS
   ============================================ */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 16px);
  margin: clamp(16px, 2vw, 24px) 0;
}

.hero__stat-card {
  padding: clamp(16px, 2vw, 20px);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 6px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.hero__stat-card::after {
  content: "";
  position: absolute;
  inset: -40% -10%;
  background: radial-gradient(circle, rgba(255, 31, 58, 0.18), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero__stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 31, 58, 0.4);
  box-shadow: 0 12px 24px rgba(255, 31, 58, 0.15);
}

.hero__stat-card:hover::after {
  opacity: 1;
}

.hero__stat-card strong {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.1;
  display: block;
  transform-origin: center;
  transition: transform 0.3s ease-out, color 0.3s ease;
}

.hero__stat-card strong.is-counting {
  color: rgba(255, 31, 58, 0.95);
  text-shadow: 0 0 12px rgba(255, 31, 58, 0.4);
}

.hero__stat-card span {
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hero__stat-card small {
  font-size: clamp(11px, 1.2vw, 13px);
  color: rgba(255, 255, 255, 0.6);
}

.hero__stat-card--highlight {
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.15), rgba(139, 0, 18, 0.1));
  border-color: rgba(255, 31, 58, 0.3);
}

.hero__stat-card--highlight:hover {
  border-color: rgba(255, 31, 58, 0.5);
  box-shadow: 0 12px 24px rgba(255, 31, 58, 0.25);
}

/* ============================================
   HERO VISUAL - Abaixo dos Botões
   ============================================ */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  z-index: 1;
  overflow: visible;
  grid-column: 1;
  grid-row: 2;
  margin-left: 0;
  padding-left: 0;
  margin-top: var(--gap-sm);
}

.hero__visual-card {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(8, 12, 24, 0.95), rgba(20, 24, 42, 0.98) 60%, rgba(30, 18, 30, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.hero__visual-header {
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__visual-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__visual-tab {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
  cursor: default;
}

.hero__visual-tab--active {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 31, 58, 0.2);
  border-color: rgba(255, 31, 58, 0.4);
  box-shadow: 0 2px 8px rgba(255, 31, 58, 0.15);
}

.hero__visual-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

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

.hero__visual-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 12px;
  display: grid;
  gap: 6px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero__visual-stat::after {
  content: "";
  position: absolute;
  inset: -40% -10%;
  background: radial-gradient(circle, rgba(255, 31, 58, 0.18), transparent 65%);
  opacity: 0.4;
}

.hero__visual-stat-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.65);
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 500;
}

.hero__visual-stat strong {
  font-size: clamp(22px, 2.5vw, 28px);
  font-family: var(--font-display);
  z-index: 1;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.1;
  display: inline-block;
  transform-origin: center;
  transition: transform 0.3s ease-out, color 0.3s ease;
}

.hero__visual-stat strong.is-counting {
  color: rgba(255, 31, 58, 0.95);
  text-shadow: 0 0 12px rgba(255, 31, 58, 0.4);
}

.hero__visual-stat small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  z-index: 1;
}

.hero__visual-chart {
  position: relative;
  height: 80px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.hero__visual-chart-line {
  position: absolute;
  left: 6%;
  right: 6%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 31, 58, 0), rgba(255, 31, 58, 0.6), rgba(255, 31, 58, 0));
  box-shadow: 0 8px 16px rgba(255, 31, 58, 0.15);
  animation: pulse 8s ease-in-out infinite;
  will-change: transform, opacity;
}

.hero__visual-chart-line--a {
  top: 26%;
  animation-delay: 0.2s;
}

.hero__visual-chart-line--b {
  top: 52%;
  animation-delay: 0.6s;
}

.hero__visual-chart-line--c {
  top: 78%;
  animation-delay: 1s;
}

.hero__visual-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  flex-wrap: wrap;
}

.hero__visual-footer strong {
  display: block;
  font-size: 13px;
  margin-bottom: 3px;
  line-height: 1.3;
}

.hero__visual-footer span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.hero__visual-action {
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(255, 31, 58, 0.14);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 31, 58, 0.3);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
  font-size: 13px;
}

.hero__visual-action:hover {
  background: rgba(255, 31, 58, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 31, 58, 0.2);
}

/* ============================================
   HERO DEVICES - Container dos Dispositivos
   ============================================ */
.hero__devices {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
  max-width: 100%;
  margin: 0;
  gap: clamp(8px, 1vw, 12px);
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.45));
  transition: filter 0.4s ease;
  z-index: 1;
  overflow: visible;
  flex-wrap: nowrap;
}

/* ============================================
   DEVICE LAPTOP
   ============================================ */
.device--laptop {
  margin: 0;
  flex-shrink: 0;
  width: clamp(520px, 54vw, 680px);
  max-width: 100%;
  padding: 36px 36px 48px;
  border-radius: 24px;
  position: relative;
  z-index: 1;
  order: 1;
}

/* ============================================
   DEVICE MOBILE
   ============================================ */
.device--mobile {
  position: relative;
  width: clamp(360px, 36vw, 480px);
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  flex: 0 0 auto;
  align-self: flex-end;
  z-index: 2;
  margin-left: clamp(16px, 2vw, 24px);
}

/* Tabs do navegador dentro da tela */
.device__screen .device__topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 5;
  border-radius: 12px 12px 0 0;
}

.device__tab {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: default;
}

.device__tab--active {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 31, 58, 0.2);
  border-color: rgba(255, 31, 58, 0.4);
  box-shadow: 0 2px 8px rgba(255, 31, 58, 0.15);
}

.device__screen {
  background: linear-gradient(165deg, rgba(8, 12, 24, 0.9), rgba(20, 24, 42, 0.95) 60%, rgba(30, 18, 30, 0.9));
  border-radius: 18px;
  padding: 20px;
  padding-top: 48px; /* Espaço para as tabs */
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: clamp(420px, 40vw, 520px);
  overflow: hidden;
  overflow: hidden;
  position: relative;
}

.screen__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.86);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin-top: clamp(16px, 2vw, 24px); /* Espaço entre tabs e header */
}

.screen__header strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.2;
}

.screen__header small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  line-height: 1.3;
}

.screen__badge {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(92, 222, 174, 0.35), rgba(0, 181, 148, 0.6));
  color: #c3ffef;
  border: 1px solid rgba(114, 255, 202, 0.5);
}

.screen__body {
  display: grid;
  gap: 16px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

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

.screen__stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 12px;
  display: grid;
  gap: 6px;
  position: relative;
  overflow: hidden;
  min-height: fit-content;
}

.screen__stat::after {
  content: "";
  position: absolute;
  inset: -40% -10%;
  background: radial-gradient(circle, rgba(255, 31, 58, 0.18), transparent 65%);
  opacity: 0.4;
}

.screen__stat span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.65);
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 500;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.screen__stat strong {
  font-size: clamp(22px, 2.5vw, 28px);
  font-family: var(--font-display);
  z-index: 1;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.1;
  display: inline-block;
  transform-origin: center;
  transition: transform 0.3s ease-out, color 0.3s ease;
  max-width: 100%;
  contain: layout style;
}

.screen__stat strong.is-counting {
  color: rgba(255, 31, 58, 0.95);
  text-shadow: 0 0 12px rgba(255, 31, 58, 0.4);
}

.screen__stat small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  z-index: 1;
  line-height: 1.3;
  word-wrap: break-word;
}

.screen__chart {
  position: relative;
  height: 80px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.screen__chart-line {
  position: absolute;
  left: 6%;
  right: 6%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 31, 58, 0), rgba(255, 31, 58, 0.6), rgba(255, 31, 58, 0));
  box-shadow: 0 8px 16px rgba(255, 31, 58, 0.15);
  animation: pulse 8s ease-in-out infinite;
  will-change: transform, opacity;
}

.screen__chart-line--a {
  top: 26%;
  animation-delay: 0.2s;
}

.screen__chart-line--b {
  top: 52%;
  animation-delay: 0.6s;
}

.screen__chart-line--c {
  top: 78%;
  animation-delay: 1s;
}

.screen__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 12px;
  flex-wrap: wrap;
}

.screen__footer strong {
  display: block;
  font-size: 13px;
  margin-bottom: 3px;
  line-height: 1.3;
}

.screen__footer span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  word-wrap: break-word;
}

.screen__action {
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 31, 58, 0.14);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 31, 58, 0.3);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
}

.screen__action:hover {
  background: rgba(255, 31, 58, 0.22);
  transform: translateY(-2px);
}

.screen__action[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}
.device__base {
  width: 100%;
  height: 16px;
  margin-top: 14px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(60, 60, 78, 0.45), rgba(255, 255, 255, 0.1));
  box-shadow: inset 0 -4px 12px rgba(0, 0, 0, 0.45);
}


.device--mobile::before {
  display: none;
}

.device--mobile .device__screen {
  position: relative;
  margin: 0;
  padding: clamp(18px, 1.8vw, 24px);
  border-radius: 24px;
  background: linear-gradient(210deg, rgba(36, 32, 62, 0.96), rgba(8, 6, 18, 0.96));
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.4vw, 18px);
  overflow: hidden;
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  min-height: clamp(380px, 35vw, 480px);
}

.device--mobile .device__screen::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.55);
}

.device--mobile .device__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 31, 58, 0.15));
  opacity: 0.22;
  pointer-events: none;
}

.mobile__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 1.1px;
  text-transform: uppercase;
  padding-bottom: 4px;
}

.mobile__signal,
.mobile__battery {
  width: 28px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
}

.mobile__battery::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
}

.mobile__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
  flex: 1;
  overflow: hidden;
}

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

.mobile__brand {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: 0.9px;
  font-weight: 600;
}

.mobile__indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(114, 255, 202, 0.18);
  border: 1px solid rgba(114, 255, 202, 0.45);
  font-size: 10px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: rgba(195, 255, 239, 0.9);
  font-weight: 500;
}

.mobile__indicator-dot {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #72ffca 20%, rgba(114, 255, 202, 0) 80%);
  box-shadow: 0 0 6px rgba(114, 255, 202, 0.6);
}

.mobile__cards {
  display: grid;
  gap: clamp(12px, 1.2vw, 16px);
}

.mobile-card {
  padding: clamp(14px, 1.4vw, 18px) clamp(16px, 1.6vw, 20px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  gap: clamp(6px, 0.6vw, 8px);
  position: relative;
  overflow: hidden;
}

.mobile-card::after {
  content: "";
  position: absolute;
  inset: -40% -10%;
  background: radial-gradient(circle, rgba(255, 31, 58, 0.18), transparent 65%);
  opacity: 0.35;
}

.mobile-card__label {
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.mobile-card strong {
  font-size: clamp(22px, 2.2vw, 28px);
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  display: inline-block;
  transform-origin: center;
  transition: transform 0.3s ease-out, color 0.3s ease;
  max-width: 100%;
  contain: layout style;
}

.mobile-card strong.is-counting {
  color: rgba(255, 31, 58, 0.95);
  text-shadow: 0 0 12px rgba(255, 31, 58, 0.4);
}

.mobile-card small {
  font-size: clamp(12px, 1.2vw, 14px);
  color: rgba(255, 255, 255, 0.6);
}

.mobile__timeline {
  display: grid;
  gap: clamp(6px, 0.6vw, 8px);
  padding: clamp(14px, 1.4vw, 18px) clamp(16px, 1.6vw, 20px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 8, 16, 0.6);
  position: relative;
  overflow: hidden;
}

.mobile__timeline::after {
  content: "";
  position: absolute;
  inset: -30% -10%;
  background: radial-gradient(circle, rgba(255, 31, 58, 0.18), transparent 65%);
  opacity: 0.25;
}

.mobile__timeline-label {
  font-size: clamp(11px, 1.1vw, 13px);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.5);
}

.mobile__timeline strong {
  font-size: clamp(18px, 1.8vw, 22px);
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.mobile__timeline small {
  font-size: clamp(13px, 1.3vw, 15px);
  color: rgba(255, 255, 255, 0.55);
}

.mobile__cta {
  padding: clamp(14px, 1.4vw, 18px) clamp(20px, 2vw, 24px);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.5), rgba(255, 31, 58, 0.85));
  border: 1px solid rgba(255, 31, 58, 0.45);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: clamp(14px, 1.4vw, 16px);
  cursor: pointer;
  transition: var(--transition-base);
  text-align: center;
  margin-top: auto;
}

.mobile__cta:hover {
  background: rgba(255, 31, 58, 0.35);
  transform: translateY(-2px);
}

.mobile__cta[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}
.hero__floating {
  position: absolute;
  background: rgba(255, 31, 58, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  animation: float 8s ease-in-out infinite;
  z-index: 1;
  box-shadow: 0 12px 28px rgba(255, 31, 58, 0.18);
  pointer-events: none;
  white-space: nowrap;
  will-change: transform;
  contain: layout style paint;
}

.hero__floating--1 {
  top: clamp(150px, 18vw, 240px);
  right: clamp(50px, 5vw, 100px);
  left: auto;
  bottom: auto;
  animation-delay: 0.4s;
  z-index: 10;
  transform: none;
}

/* ============================================
   HERO FLOATING ELEMENTS
   ============================================ */

.hero__floating--2 {
  position: relative;
  margin-top: clamp(16px, 2vw, 24px);
  margin-left: auto;
  margin-right: 0;
  width: fit-content;
  animation-delay: 1.8s;
  z-index: 3;
  pointer-events: none;
}

/* Garantir que hero__note fique acima do floating--2 */
.hero__note {
  position: relative;
  z-index: 6;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

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

/* ============================================
   FADE-IN UNIFICADO - Todos os elementos juntos
   ============================================ */

.fade-in-unified {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.fade-in-unified.visible {
  opacity: 1;
  will-change: auto; /* Remover will-change após animação */
}

/* Aplicar fade-in ao topbar */
.topbar.fade-in-unified {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.topbar.fade-in-unified.visible {
  opacity: 1;
}

/* Aplicar fade-in aos grid items e slider items */
.hero__grid-item.fade-in-unified,
.blog-slider__item.fade-in-unified {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__grid-item.fade-in-unified.visible,
.blog-slider__item.fade-in-unified.visible {
  opacity: 1;
}

/* Footer fade-in */
.footer.fade-in-unified {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer.fade-in-unified.visible {
  opacity: 1;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--padding-2xl) 0;
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
}

.section::before {
  content: "";
  position: absolute;
  inset: -25% -20%;
  background: radial-gradient(circle at center, rgba(255, 31, 58, 0.12), transparent 65%);
  opacity: 0.25;
  filter: blur(60px);
  pointer-events: none;
  transition: opacity 0.3s ease-out;
  contain: strict;
  will-change: opacity;
}

.section:hover::before {
  opacity: 0.35;
}

.section .container {
  position: relative;
  z-index: 2;
}

.section--dark {
  background: linear-gradient(145deg, rgba(15, 16, 21, 0.92), rgba(3, 3, 5, 0.96));
}

.section--dark::before {
  opacity: 0.25;
}

.section--gradient {
  background: var(--color-primary-gradient);
  color: var(--color-white);
  position: relative;
}

.section--gradient::before {
  background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.15), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.12), transparent 70%);
  opacity: 0.45;
}

.section--highlight {
  background: radial-gradient(circle at center, rgba(255, 31, 58, 0.22), rgba(3, 3, 5, 0.92));
}

.section--highlight::before {
  opacity: 0.4;
}

.section--parallax {
  background-attachment: fixed;
  background-image: radial-gradient(circle at top left, rgba(255, 31, 58, 0.25), rgba(0, 0, 0, 0.85));
}

.section__eyebrow {
  display: inline-flex;
  padding: var(--padding-xs) var(--padding-sm);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  letter-spacing: clamp(0.8px, 0.1vw, 1.4px);
  text-transform: uppercase;
  font-size: var(--font-size-xs);
  margin-bottom: var(--margin-lg);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--font-size-4xl);
  margin-bottom: var(--margin-md);
  line-height: 1.2;
  word-wrap: break-word;
}

.section__description {
  max-width: clamp(600px, 70vw, 720px);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--margin-xl);
  line-height: clamp(1.6, 0.2vw + 1.5, 1.7);
  word-wrap: break-word;
  font-size: var(--font-size-md);
}

/* Container pai com perspectiva para o efeito 3D ficar realista */
.section.solutions,
#solucoes {
  perspective: 2000px;
  -webkit-perspective: 2000px;
  perspective-origin: center center;
}

.solutions__header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 32px);
  align-items: stretch;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  transform-style: preserve-3d;
}

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

.solutions__card {
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  position: relative;
  overflow: visible;
  transition: box-shadow 0.3s ease, opacity 0.4s ease, filter 0.4s ease;
  height: 100%;
  min-height: clamp(600px, 65vw, 750px);
  contain: layout style;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  will-change: transform, opacity, filter;
  transform-style: preserve-3d;
  perspective: 1000px;
  /* Variáveis CSS para controle do efeito 3D */
  --x-rotation: 0deg;
  --y-rotation: 0deg;
}

.solutions__card.is-3d-hover {
  z-index: 5;
}

.solutions__card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: clamp(600px, 65vw, 750px);
  flex: 1;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  /* Transição rápida para efeito 3D (hover) */
  transition: transform 0.1s ease-out;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-origin: center center;
  will-change: transform;
}

/* Quando o JS ativa o hover, aplicamos as variáveis */
.solutions__card.is-3d-hover .solutions__card-inner {
  transform: rotateX(var(--x-rotation, 0deg)) rotateY(var(--y-rotation, 0deg)) scale3d(1.02, 1.02, 1.02);
}

/* Transição lenta apenas para o flip */
.solutions__card.is-flipped .solutions__card-inner,
.solutions__card:not(.is-3d-hover):not(.is-flipped) .solutions__card-inner {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.solutions__card-front,
.solutions__card-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: clamp(600px, 65vw, 750px);
  padding: 0;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.solutions__card-front {
  transform: rotateY(0deg);
  justify-content: flex-start;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease, border-color 0.3s ease, background 0.3s ease;
}

.solutions__card-front > * {
  transition: transform 0.2s ease-out;
  will-change: transform;
  transform-style: preserve-3d;
}

/* EFEITO DE PROFUNDIDADE (Elementos flutuando) */
.solutions__card.is-3d-hover .solutions__card-front .solutions__icon {
  transform: translateZ(60px);
}

.solutions__card.is-3d-hover .solutions__card-front h3 {
  transform: translateZ(50px);
}

.solutions__card.is-3d-hover .solutions__card-front .solutions__image {
  transform: translateZ(45px);
}

.solutions__card.is-3d-hover .solutions__card-front p {
  transform: translateZ(30px);
}

.solutions__card.is-3d-hover .solutions__card-front .solutions__tag {
  transform: translateZ(40px);
}

.solutions__card-front > * {
  transition: transform 0.2s ease-out;
  will-change: transform;
  transform-style: preserve-3d;
}

.solutions__card-header > *,
.solutions__card-body > * {
  transition: transform 0.2s ease-out;
  will-change: transform;
  transform-style: preserve-3d;
}

/* Esconder frente quando flipado */
.solutions__card.is-flipped .solutions__card-front {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.solutions__card-back {
  transform: rotateY(180deg);
  overflow-y: auto;
  overflow-x: hidden;
  justify-content: flex-start;
  padding: 0;
  position: relative;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease 0.2s, visibility 0.4s ease 0.2s, border-color 0.3s ease, background 0.3s ease;
}

/* Mostrar verso quando flipado */
.solutions__card.is-flipped .solutions__card-back {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.solutions__card-back h3 {
  margin-bottom: clamp(8px, 1vw, 12px);
  flex-shrink: 0;
}

.solutions__card-back-btn {
  position: absolute;
  top: clamp(20px, 2.5vw, 24px);
  left: clamp(20px, 2.5vw, 24px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 20;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  backdrop-filter: blur(4px);
}

.solutions__card-back-btn:hover {
  background: rgba(255, 31, 58, 0.2);
  border-color: rgba(255, 31, 58, 0.4);
  color: rgba(255, 255, 255, 1);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 31, 58, 0.3);
}

.solutions__card-back-btn:active {
  transform: scale(0.95);
}

.solutions__card-back-arrow {
  display: block;
  font-weight: 600;
  line-height: 1;
}

.solutions__card-back::-webkit-scrollbar {
  width: 4px;
}

.solutions__card-back::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 2px;
}

.solutions__card-back::-webkit-scrollbar-thumb {
  background: rgba(255, 31, 58, 0.3);
  border-radius: 2px;
}

.solutions__card-back::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 31, 58, 0.5);
}

/* Firefox scrollbar */
.solutions__card-back {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 31, 58, 0.3) transparent;
}

.solutions__card.is-flipped .solutions__card-inner {
  transform: rotateY(180deg) !important;
  /* Resetar variáveis 3D quando flipado */
  --x-rotation: 0deg;
  --y-rotation: 0deg;
}

/* Efeito 3D controlado pelo JavaScript quando não está flipado ou expandido */

/* Garantir que frente não apareça quando flipado */
.solutions__card.is-flipped .solutions__card-front {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Garantir que verso apareça quando flipado */
.solutions__card.is-flipped .solutions__card-back {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Permitir efeito 3D quando não está flipado - removido para não bloquear o JS */

/* Resetar transformação 3D quando expandido */
.solutions__card.is-expanded .solutions__card-inner {
  transform: none !important;
  /* Resetar variáveis 3D quando expandido */
  --x-rotation: 0deg;
  --y-rotation: 0deg;
}

/* Resetar translateZ quando não está em hover 3D */
.solutions__card:not(.is-3d-hover) .solutions__card-front > *,
.solutions__card:not(.is-3d-hover) .solutions__card-header > *,
.solutions__card:not(.is-3d-hover) .solutions__card-body > * {
  transform: translateZ(0);
}

.solutions__card:hover:not(.is-flipped):not(.is-expanded) .solutions__card-front {
  border-color: rgba(255, 31, 58, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 31, 58, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  transform: translateY(-4px);
}

.solutions__card:hover:not(.is-flipped):not(.is-expanded) .solutions__icon {
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.25) 0%, rgba(255, 31, 58, 0.12) 100%);
  border-color: rgba(255, 31, 58, 0.4);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 31, 58, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.solutions__card:hover:not(.is-flipped):not(.is-expanded) .solutions__image {
  border-color: rgba(255, 31, 58, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 31, 58, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.solutions__card:hover:not(.is-flipped):not(.is-expanded) .solutions__image img {
  transform: scale(1.05);
}

.solutions__card.is-flipped .solutions__card-back {
  border-color: rgba(255, 31, 58, 0.4);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 31, 58, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.solutions__card.is-expanded {
  grid-column: 1 / -1;
  z-index: 10;
  position: relative;
  animation: expandIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.solutions__card.is-expanded .solutions__card-inner {
  min-height: auto;
  height: auto;
}

.solutions__card.is-expanded .solutions__card-front,
.solutions__card.is-expanded .solutions__card-back {
  min-height: auto;
  height: auto;
  position: relative;
}

.solutions__card.is-expanded .solutions__card-back {
  transform: rotateY(0deg);
  overflow: visible;
  max-height: none;
  padding-top: clamp(60px, 7vw, 80px);
}

.solutions__card.is-expanded .solutions__card-content {
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInContent 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.2s forwards;
  opacity: 0;
}

.solutions__card.is-expanded .solutions__card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 1.5vw, 16px);
}

/* Animação de fade-in para a lista interna não aparecer de soco */
.solutions__card.is-expanded .solutions__card-list li {
  animation: slideUp 0.5s ease forwards;
  opacity: 0;
}

/* Delay escalonado para os itens da lista (Stagger) */
.solutions__card.is-expanded .solutions__card-list li:nth-child(1) { animation-delay: 0.3s; }
.solutions__card.is-expanded .solutions__card-list li:nth-child(2) { animation-delay: 0.4s; }
.solutions__card.is-expanded .solutions__card-list li:nth-child(3) { animation-delay: 0.5s; }
.solutions__card.is-expanded .solutions__card-list li:nth-child(4) { animation-delay: 0.6s; }
.solutions__card.is-expanded .solutions__card-list li:nth-child(5) { animation-delay: 0.7s; }

/* Cards não expandidos - efeito de foco visual */
.solutions__grid.has-expanded .solutions__card:not(.is-expanded) {
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}

/* Animações Keyframes */
@keyframes expandIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInContent {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@media (max-width: 768px) {
  .solutions__card.is-expanded .solutions__card-list {
    grid-template-columns: 1fr;
  }
}

.solutions__card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(32px, 4vw, 40px) clamp(32px, 4vw, 40px) clamp(24px, 3vw, 28px);
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
}

.solutions__card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 4vw, 40px);
  gap: clamp(20px, 2.5vw, 24px);
}

.solutions__card-back-header {
  padding: clamp(32px, 4vw, 40px) clamp(32px, 4vw, 40px) clamp(24px, 3vw, 28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
}

.solutions__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.15) 0%, rgba(255, 31, 58, 0.05) 100%);
  border: 1px solid rgba(255, 31, 58, 0.25);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(255, 31, 58, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.solutions__icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.solutions__card:hover .solutions__icon::before {
  opacity: 1;
}

.solutions__icon--check::before {
  content: "";
  width: 20px;
  height: 12px;
  border: 3px solid rgba(114, 255, 202, 1);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  border-radius: 2px;
  box-shadow: 0 0 16px rgba(114, 255, 202, 0.6), 0 0 8px rgba(114, 255, 202, 0.4);
  position: relative;
  z-index: 1;
}

.solutions__image {
  width: 100%;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.4s ease;
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.solutions__image--standard {
  height: clamp(260px, 30vw, 320px);
  min-height: clamp(260px, 30vw, 320px);
}

.solutions__image--standard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Proporção específica para Hub de integrações: 289.29 x 280 */
.solutions__image--hub {
  width: 100%;
  max-width: 289.29px;
  height: 280px;
  margin: clamp(12px, 1.5vw, 18px) auto;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  line-height: 0;
  font-size: 0;
}

.solutions__image--hub img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: var(--radius-sm);
}

.solutions__card:hover .solutions__image {
  border-color: rgba(255, 31, 58, 0.3);
}

.solutions__card:hover:not(.is-flipped) .solutions__image img {
  transform: scale(1.02);
}

.solutions__card h3 {
  font-size: clamp(22px, 2.6vw, 26px);
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.25;
  margin: 0;
  color: rgba(255, 255, 255, 1);
  font-family: var(--font-display);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.solutions__card-body h3 {
  margin-bottom: clamp(8px, 1vw, 12px);
}

.solutions__card-front p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin: 0;
  word-wrap: break-word;
  flex: 1;
  font-size: clamp(15px, 1.7vw, 17px);
  font-weight: 400;
}

.solutions__card-back p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  margin: 0 0 clamp(12px, 1.5vw, 16px) 0;
  word-wrap: break-word;
  font-size: clamp(14px, 1.6vw, 16px);
}

.solutions__card-content {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 24px);
  flex: 1;
  min-height: 0;
  padding: clamp(28px, 3.5vw, 36px);
  padding-top: clamp(20px, 2.5vw, 24px);
}

.solutions__card-back .solutions__card-content p {
  margin-bottom: clamp(8px, 1vw, 12px);
  flex-shrink: 0;
}

.solutions__card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vw, 10px);
  flex: 1;
  min-height: 0;
}

.solutions__card-list li {
  position: relative;
  padding-left: clamp(24px, 3vw, 28px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-size: clamp(14px, 1.7vw, 16px);
  flex-shrink: 0;
  transition: all 0.3s ease;
  padding-top: 2px;
  padding-bottom: 2px;
}

.solutions__card-list li:hover {
  color: rgba(255, 255, 255, 0.95);
  transform: translateX(4px);
}

.solutions__card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, rgba(255, 31, 58, 0.7) 100%);
  box-shadow: 0 0 12px rgba(255, 31, 58, 0.6), 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.solutions__card-list li:hover::before {
  transform: scale(1.2);
  box-shadow: 0 0 16px rgba(255, 31, 58, 0.8), 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Ajustes para responsividade dos cards */
@media (max-width: 1200px) {
  .solutions__grid {
    gap: clamp(20px, 3vw, 28px);
  }

  .solutions__card {
    min-height: clamp(580px, 62vw, 720px);
  }

  .solutions__card-inner {
    min-height: clamp(580px, 62vw, 720px);
  }

  .solutions__card-front,
  .solutions__card-back {
    min-height: clamp(580px, 62vw, 720px);
  }
}

@media (max-width: 968px) {
  .solutions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 24px);
  }
}

@media (max-width: 768px) {
  .solutions__header {
    margin-bottom: clamp(40px, 5vw, 56px);
  }

  .solutions__grid {
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 24px);
  }

  .solutions__card {
    min-height: clamp(520px, 58vw, 680px);
  }

  .solutions__card-inner {
    min-height: clamp(520px, 58vw, 680px);
  }

  .solutions__card-front,
  .solutions__card-back {
    min-height: clamp(520px, 58vw, 680px);
  }

  .solutions__card-header,
  .solutions__card-body {
    padding-left: clamp(24px, 4vw, 28px);
    padding-right: clamp(24px, 4vw, 28px);
  }

  .solutions__card-back-header,
  .solutions__card-content {
    padding-left: clamp(24px, 4vw, 28px);
    padding-right: clamp(24px, 4vw, 28px);
  }
}

@media (max-width: 540px) {
  .solutions__card {
    min-height: clamp(480px, 55vw, 620px);
  }

  .solutions__card-inner {
    min-height: clamp(480px, 55vw, 620px);
  }

  .solutions__card-front,
  .solutions__card-back {
    min-height: clamp(480px, 55vw, 620px);
  }

  .solutions__card-header {
    padding-top: clamp(24px, 4vw, 28px);
  }

  .solutions__card-header,
  .solutions__card-body {
    padding-left: clamp(20px, 4vw, 24px);
    padding-right: clamp(20px, 4vw, 24px);
  }

  .solutions__card-back-header,
  .solutions__card-content {
    padding-left: clamp(20px, 4vw, 24px);
    padding-right: clamp(20px, 4vw, 24px);
  }
}

.solutions__tag {
  padding: 8px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.2) 0%, rgba(255, 31, 58, 0.1) 100%);
  border: 1px solid rgba(255, 31, 58, 0.3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.95);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(255, 31, 58, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.solutions__card:hover .solutions__tag {
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.3) 0%, rgba(255, 31, 58, 0.15) 100%);
  border-color: rgba(255, 31, 58, 0.4);
  box-shadow: 0 4px 12px rgba(255, 31, 58, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

/* ============================================
   TECHNOLOGY SECTION
   ============================================ */
.technology {
  display: grid;
  gap: clamp(32px, 4vw, 64px);
}

.technology__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: stretch;
}

.technology__text {
  display: grid;
  gap: 24px;
}

.technology__text p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  line-height: 1.7;
  word-wrap: break-word;
}

.technology__list {
  display: grid;
  gap: 18px;
}

.technology__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  word-wrap: break-word;
}

.technology__check {
  width: 18px;
  height: 12px;
  border: 3px solid rgba(114, 255, 202, 0.9);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(114, 255, 202, 0.4);
  margin-top: 6px;
}

.technology__panel {
  display: grid;
  gap: 18px;
}

.technology__preview {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-lg);
  background: rgba(10, 12, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 24px;
  position: relative;
  overflow: hidden;
  contain: layout style;
}

.technology__preview--image {
  padding: 0;
  display: block;
  background: transparent;
}

.technology__preview-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.technology__preview::after {
  content: "";
  position: absolute;
  inset: -50% 10% 20% -10%;
  background: radial-gradient(circle at top right, rgba(255, 31, 58, 0.18), transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.technology__preview header {
  display: grid;
  gap: 8px;
}

.technology__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(114, 255, 202, 0.12);
  border: 1px solid rgba(114, 255, 202, 0.4);
  color: rgba(195, 255, 239, 0.85);
  font-size: 12px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.technology__preview header strong {
  font-size: 28px;
  font-family: var(--font-display);
}

.technology__preview header small {
  color: rgba(255, 255, 255, 0.55);
}

.technology__preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.technology__preview-metrics div {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 6px;
}

.technology__preview-metrics span {
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.technology__preview-metrics strong {
  font-size: 26px;
  font-family: var(--font-display);
}

.technology__preview-metrics small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.technology__preview footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
}

.technology__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.technology__note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.52);
}

.technology__badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.technology__badge {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 10px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  contain: layout style;
}

.technology__badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 31, 58, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.technology__badge:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 31, 58, 0.45);
  box-shadow: 0 16px 32px rgba(255, 31, 58, 0.12);
}

.technology__badge:hover::after {
  opacity: 1;
}

.technology__badge strong {
  font-size: clamp(16px, 1.8vw, 18px);
  font-family: var(--font-display);
  line-height: 1.3;
  margin: 0;
}

.technology__badge p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.6;
  word-wrap: break-word;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 24px);
}

.benefit {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 30px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  min-height: fit-content;
  contain: layout style;
}

.benefit h3 {
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.benefit p {
  margin: 0;
  word-wrap: break-word;
  line-height: 1.6;
}

.benefit:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(255, 31, 58, 0.55);
  box-shadow: 0 16px 32px rgba(255, 31, 58, 0.12);
}

.benefit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 31, 58, 0.14), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.benefit:hover::after {
  opacity: 1;
}

/* ============================================
   TIMELINE SECTION
   ============================================ */
.timeline {
  display: grid;
  gap: 28px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(255, 31, 58, 0.4), rgba(255, 255, 255, 0));
}

.timeline__item {
  display: grid;
  grid-template-columns: 80px auto;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  transition: transform 0.4s ease, border-color 0.4s ease;
  border-radius: 16px;
  padding: 10px 0;
}

.timeline__step {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.timeline__item h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  margin-bottom: 8px;
  line-height: 1.3;
  margin-top: 0;
}

.timeline__item p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  line-height: 1.7;
  word-wrap: break-word;
}

.timeline__item:hover {
  transform: translateY(-6px);
}

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

.case {
  padding: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.case:hover {
  transform: translateY(-14px) scale(1.02);
  border-color: rgba(255, 31, 58, 0.55);
  box-shadow: 0 24px 48px rgba(255, 31, 58, 0.22);
}

.case::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(255, 31, 58, 0.24), transparent 60%);
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.case:hover::after {
  opacity: 0.9;
  transform: scale(1.05);
}

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

.case__label {
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.case__metric span {
  font-size: 26px;
  font-family: var(--font-display);
  display: block;
}

.case__metric small {
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================
   RESOURCES SECTION
   ============================================ */
.resources {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
}

.resources--dossier {
  grid-template-columns: 1fr;
}

.resources__intro p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
}

.resources__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.resource {
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
  contain: layout style;
}

.resource--dossier header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.resource__chapter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.6px;
}

.resource ul {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  padding: 0;
}

.resource ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
  word-wrap: break-word;
}

.resource ul li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 31, 58, 0.7);
  margin-top: 8px;
  box-shadow: 0 0 10px rgba(255, 31, 58, 0.45);
}

.resource::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 31, 58, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.resource:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(255, 31, 58, 0.45);
}

.resource:hover::after {
  opacity: 1;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
  background: linear-gradient(145deg, rgba(15, 16, 21, 0.92), rgba(3, 3, 5, 0.96));
}

.stats__header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.stats__header .section__description {
  margin: 0 auto;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
  margin-bottom: clamp(48px, 6vw, 64px);
}

.stat-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: clamp(28px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 24px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 31, 58, 0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 31, 58, 0.5);
  box-shadow: 0 20px 40px rgba(255, 31, 58, 0.15);
}

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

.stat-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.2), rgba(255, 31, 58, 0.1));
  border: 1px solid rgba(255, 31, 58, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 31, 58, 1);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.stat-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
}

.stat-card:hover .stat-card__icon {
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.3), rgba(255, 31, 58, 0.2));
  border-color: rgba(255, 31, 58, 0.5);
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(255, 31, 58, 0.25);
}

.stat-card__content {
  position: relative;
  z-index: 1;
}

.stat-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin: 0 0 12px 0;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.95);
}

.stat-card__description {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  word-wrap: break-word;
}

.stats__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 24px);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }

  .stats__cta {
    flex-direction: column;
    width: 100%;
  }

  .stats__cta .hero__button {
    width: 100%;
  }
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  justify-content: center;
}

.partners__halo {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at center, rgba(255, 31, 58, 0.22), rgba(3, 3, 5, 0.92));
  filter: blur(12px);
  opacity: 0.75;
}

.partners__items {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
}

.partners__item {
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.45);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  backdrop-filter: blur(6px);
}

.partners__item:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 31, 58, 0.45);
  box-shadow: 0 16px 30px rgba(255, 31, 58, 0.18);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  display: grid;
  gap: 16px;
}

.faq details {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  contain: layout style;
}

.faq details[open] {
  border-color: rgba(255, 31, 58, 0.55);
  box-shadow: 0 18px 38px rgba(255, 31, 58, 0.18);
}

.faq details::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 31, 58, 0.12), transparent 75%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.faq details[open]::after {
  opacity: 1;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  line-height: 1.5;
  word-wrap: break-word;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  color: rgba(255, 255, 255, 0.75);
  margin-top: 12px;
  line-height: 1.7;
  word-wrap: break-word;
  margin-bottom: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  position: relative;
  z-index: 1;
}

.contact__form {
  position: relative;
  z-index: 5;
}

.contact__form input,
.contact__form textarea,
.contact__form button {
  pointer-events: auto;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 120%, rgba(255, 255, 255, 0.15), transparent 70%);
  opacity: 0.4;
}

.contact .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 4vw, 48px);
  position: relative;
  z-index: 1;
  align-items: start;
}

.contact__highlights {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.contact__highlight {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-base);
}

.contact__highlight strong {
  font-weight: 600;
  font-size: 15px;
}

.contact__highlight span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.contact__highlight:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 31, 58, 0.45);
  box-shadow: 0 12px 24px rgba(255, 31, 58, 0.15);
}

.contact__form {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  display: grid;
  gap: clamp(14px, 2vw, 16px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.contact__form label {
  font-weight: 500;
}

.form__field {
  display: grid;
  gap: 6px;
}

.form__field--hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.form__field label {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.form__error {
  display: none;
  font-size: 13px;
  color: rgba(255, 31, 58, 0.9);
  margin-top: 4px;
}

.form__error:not(:empty) {
  display: block;
}

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

.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: clamp(12px, 1.5vw, 14px) clamp(16px, 2vw, 18px);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  font: inherit;
  transition: var(--transition-base);
  box-sizing: border-box;
}

.contact__form input:invalid:not(:placeholder-shown),
.contact__form textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 31, 58, 0.5);
}

.contact__form input:valid:not(:placeholder-shown),
.contact__form textarea:valid:not(:placeholder-shown) {
  border-color: rgba(114, 255, 202, 0.4);
}

.form__disclaimer {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  margin-top: 12px;
  line-height: 1.6;
}

.form__disclaimer a {
  color: var(--color-primary);
  text-decoration: underline;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: rgba(255, 31, 58, 0.65);
  box-shadow: 0 20px 40px rgba(255, 31, 58, 0.25);
}

.contact__form::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255, 31, 58, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.contact__form > * {
  position: relative;
  z-index: 1;
}

.contact__form:hover::after {
  opacity: 0.7;
}

.contact__form textarea {
  resize: none;
}

.contact__form small {
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.form-status {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
  transition: var(--transition-base);
}

.form-status--success {
  border-color: rgba(114, 255, 202, 0.5);
  color: rgba(195, 255, 239, 0.9);
  background: rgba(114, 255, 202, 0.12);
}

.form-status--error {
  border-color: rgba(255, 31, 58, 0.5);
  color: rgba(255, 177, 188, 0.95);
  background: rgba(255, 31, 58, 0.12);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #020203;
  padding-top: 80px;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.footer::before {
  content: "";
  position: absolute;
  inset: -40% -20% 20%;
  background: radial-gradient(circle at center, rgba(255, 31, 58, 0.2), transparent 65%);
  opacity: 0.45;
  filter: blur(40px);
  animation: orbitGlow 40s linear infinite;
  z-index: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(2, minmax(0, 1fr)) 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
}

.footer__brand p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 260px;
}

.footer__links,
.footer__contact {
  display: grid;
  gap: 12px;
}

.footer__links a:hover {
  color: var(--color-primary);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  position: relative;
  z-index: 1;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  background: rgba(255, 31, 58, 0.85);
  color: var(--color-white);
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  box-shadow: 0 20px 40px rgba(255, 31, 58, 0.3);
  z-index: 10;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-6px);
}

.topbar .button--ghost {
  color: var(--color-primary-dark);
  border-color: rgba(12, 13, 18, 0.1);
  padding: 12px 20px;
  position: relative;
  overflow: hidden;
}

.topbar .button--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(255, 31, 58, 0.08);
  box-shadow: 0 16px 32px rgba(255, 31, 58, 0.18);
}

@keyframes pulse {
  0%,
  100% {
    transform: translateX(-5%);
    opacity: 0.5;
  }
  50% {
    transform: translateX(3%);
    opacity: 0.8;
  }
}

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

@keyframes heroPulse {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 80% 50%;
  }
}

@keyframes orbitGlow {
  0% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

@media (max-width: 1080px) {
  .topbar .container {
    gap: 18px;
    position: relative;
  }

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 260px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-base);
    flex: initial;
    justify-content: flex-start;
    transform-origin: top right;
    z-index: 1000;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: all;
    transform: translate(0);
  }

  .nav.is-open a {
    color: var(--color-ink);
    width: 100%;
    justify-content: flex-start;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 18px 36px rgba(0, 0, 0, 0.25);
  }

  .nav.is-open .nav__cta,
  .nav.is-open .nav__cta-noise {
    color: #0c0d12 !important;
    background: linear-gradient(135deg, rgba(255, 31, 58, 0.96), rgba(139, 0, 18, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 24px 40px rgba(255, 31, 58, 0.28);
  }

  .nav.is-open .nav__cta:hover,
  .nav.is-open .nav__cta:focus-visible,
  .nav.is-open .nav__cta-noise:hover,
  .nav.is-open .nav__cta-noise:focus-visible {
    color: #0c0d12 !important;
  }

  .nav.is-open .noise-container {
    width: 100%;
  }

  .nav.is-open .noise-bg {
    opacity: 0.3;
  }

  .nav.is-open a::after {
    bottom: 0;
  }

  .nav-toggle {
    display: flex;
  }

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

  .hero__text {
    align-items: flex-start;
  }

  .hero__highlights {
    width: 100%;
    gap: 12px;
  }

  .hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .hero__visual {
    min-height: auto;
    width: 100%;
    align-items: stretch;
  }

  .hero__visual-card {
    width: 100%;
  }

  .hero__visual-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: clamp(18px, 2vw, 24px);
  }

  .hero__feature {
    padding: clamp(20px, 2.5vw, 28px);
  }

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

  .hero__access-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero__access-actions {
    flex-direction: column;
  }

  .hero__access-button {
    width: 100%;
  }

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

  .technology__preview-metrics {
    grid-template-columns: 1fr;
  }

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

  .hero__devices {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.4));
  }

  .device--mobile {
    position: static; /* Reseta o posicionamento absoluto */
    right: auto;
    bottom: auto;
    margin: 0;
    width: min(260px, 90%);
    min-height: 400px;
    transform: translateY(0);
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.5);
    padding: 16px;
    transform: translateX(0); /* Reseta a sobreposição */
  }

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

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

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

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

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

  .contact .container {
    grid-template-columns: 1fr;
  }

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

  .hero__content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__text {
    align-items: center;
    text-align: center;
  }

  .hero__headline {
    max-width: 100%;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__devices {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
  }

  .device--laptop,
  .device--mobile {
    max-width: 100%;
  }

  .device--mobile {
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 14px 0;
  }

  main {
    margin-top: 74px;
  }

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

  .hero__headline-line {
    font-size: clamp(1.8rem, 5.5vw, 2.2rem);
    justify-content: center;
  }

  .hero p {
    text-align: center;
    max-width: 100%;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .hero__text {
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 18px;
  }

  .hero__actions {
    width: 100%;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero__actions .button {
    width: 100%;
    max-width: 100%;
    padding: 15px 24px;
    font-size: 16px;
  }
  
  .hero__note {
    margin-top: clamp(14px, 1.8vw, 20px);
    padding: clamp(12px, 1.5vw, 16px);
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 20px 0;
  }

  .hero__stat-card {
    padding: 18px;
  }

  .hero__highlights {
    gap: clamp(10px, 1.2vw, 14px);
    width: 100%;
    margin: clamp(12px, 1.5vw, 20px) 0 clamp(10px, 1.2vw, 16px);
  }

  .hero__visual {
    width: 100%;
    margin-top: clamp(-8px, -1vw, -4px);
    display: flex;
    justify-content: center;
    min-height: auto;
    align-items: stretch;
  }

  .hero__visual-card {
    width: 100%;
    max-width: 100%;
  }

  .hero__visual-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero__visual-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Nova estrutura do hero */
  .hero__badges {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero__grid {
    grid-template-columns: 1fr;
    gap: clamp(18px, 2vw, 24px);
  }

  .hero__feature {
    padding: clamp(20px, 2.5vw, 28px);
  }

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

  .hero__access-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero__access-actions {
    flex-direction: column;
  }

  .hero__access-button {
    width: 100%;
  }

  .hero__security-notice {
    flex-direction: column;
    text-align: center;
  }

  .hero__security-icon {
    margin: 0 auto;
  }

  .hero__devices {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(16px, 2.5vw, 24px);
  }
  
  .device--laptop {
    width: 100%;
    max-width: 480px;
  }
  
  .device--mobile {
    width: 100%;
    max-width: 260px;
    margin-left: 0;
    position: relative;
  }

  .device--laptop {
    display: none;
  }

  .device--mobile {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    padding: 18px;
    transform: none;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
  }

  .device--mobile .device__screen {
    padding: 18px;
    min-height: 300px;
  }

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

  .technology__preview {
    padding: 22px;
  }

  .technology__preview footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .solutions__card,
  .benefit,
  .resource,
  .technology__preview,
  .contact__form {
    padding: 22px;
  }

  .solutions__grid,
  .benefits,
  .cases,
  .resources {
    grid-template-columns: 1fr;
  }

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

  .timeline {
    padding-left: 0;
  }

  .timeline::before {
    left: 18px;
  }

  .timeline__item {
    grid-template-columns: 56px auto;
  }

  .section {
    padding: 50px 0;
  }

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

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

  .hero__visual {
    margin-top: clamp(-8px, -1vw, -4px);
  }

  .hero__devices {
    display: none;
  }

  .hero__mobile-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-top: 24px;
  }

  .hero__mobile-card {
    padding: 16px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: grid;
    gap: 6px;
    text-align: left;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
  }

  .hero__mobile-card strong {
    font-family: var(--font-display);
    font-size: 24px;
    color: rgba(255, 255, 255, 0.95);
    display: inline-block;
    transform-origin: center;
    transition: transform 0.3s ease-out, color 0.3s ease;
    max-width: 100%;
    contain: layout style;
  }

  .hero__mobile-card strong.is-counting {
    color: rgba(255, 31, 58, 0.95);
    text-shadow: 0 0 12px rgba(255, 31, 58, 0.4);
  }

  .hero__mobile-card span {
    font-size: 13px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.68);
  }

  .hero__mobile-card small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
  }

  .hero__mobile-card--primary {
    background: linear-gradient(145deg, rgba(255, 31, 58, 0.85), rgba(139, 0, 18, 0.85));
    border-color: rgba(255, 255, 255, 0.28);
  }

  .hero__floating {
    display: none !important;
  }

  .hero__mobile-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-top: 24px;
  }

  .hero__mobile-chips {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .hero__mobile-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 31, 58, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
  }
}

@media (max-width: 540px) {
  .topbar .container {
    flex-wrap: wrap;
    gap: 12px;
  }

  main {
    margin-top: 72px;
  }

  .brand__logo {
    width: clamp(160px, 48vw, 220px);
    justify-content: flex-start;
  }

  .nav {
    right: 16px;
    width: calc(100% - 32px);
  }

  .nav.is-open {
    gap: 12px;
  }

  .nav.is-open a {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero__visual {
    margin-top: clamp(-8px, -1vw, -4px);
  }

  .hero__text {
    gap: 18px;
  }

  .hero__badge {
    font-size: 11px;
    padding: 8px 14px;
  }

  .hero__devices {
    width: min(280px, 100%);
    gap: 14px;
  }

  .hero__headline-line::after {
    display: none;
  }

  .hero__highlights li {
    align-items: flex-start;
    line-height: 1.45;
    font-size: 14px;
  }

  .hero__note {
    font-size: 14px;
    margin-top: 18px;
  }

  .device--laptop {
    width: 100%;
    max-width: 260px;
    padding: 16px 14px 22px;
  }

  .device__screen {
    padding: 16px;
  }

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

  .screen__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .device--mobile {
    width: 160px;
    min-height: 320px;
    margin-top: 0;
    padding: 14px;
  }

  .device--mobile .device__screen {
    padding: 14px;
    min-height: 280px;
  }

  .hero__actions .button {
    max-width: 260px;
  }

  .partners__items {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .technology__badges,
  .technology__preview-metrics,
  .resources__list {
    grid-template-columns: 1fr;
  }

  .partners__item {
    font-size: 12px;
    letter-spacing: 0.4px;
    padding: 12px 18px;
    white-space: normal;
    line-height: 1.4;
  }

  .section {
    padding: 56px 0;
  }

  .section__title {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
  }

  .section__description {
    font-size: 15px;
  }

  .solutions__card,
  .benefit,
  .resource,
  .technology__preview,
  .contact__form {
    padding: 20px;
  }

  .contact__form button.button--primary {
    width: 100%;
  }

  .hero__mobile-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero__mobile-card {
    padding: 14px;
  }

  .hero__mobile-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero__mobile-chip {
    font-size: 11px;
    padding: 7px 10px;
  }
}

@media (max-width: 420px) {
  .hero__mobile-stats {
    grid-template-columns: 1fr;
  }

  .hero__mobile-card {
    padding: 12px;
  }

  .hero__mobile-card strong {
    font-size: 22px;
  }

  .hero__mobile-chip {
    font-size: 10px;
  }
}

@media (max-width: 1080px) {
  .section--parallax {
    background-attachment: scroll;
  }
}

/* ============================================
   ACESSIBILIDADE
   ============================================ */

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

  .hero {
    animation: none;
  }

  .hero__floating {
    animation: none;
  }

  .screen__chart-line {
    animation: none;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 14px 0;
  }

  .topbar .container {
    gap: 8px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
  }

  .nav-toggle span {
    width: 28px;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 64px;
  }

  .hero__visual {
    width: 100%;
    margin-top: clamp(-8px, -1vw, -4px);
    display: flex;
    justify-content: center;
  }

  .device--laptop {
    display: none;
  }

  .device--mobile {
    width: 150px;
    min-height: 260px;
    padding: 12px;
  }

  .device--mobile .device__screen {
    padding: 12px;
    min-height: 240px;
  }

  .hero__headline-line {
    font-size: clamp(1.75rem, 6.5vw, 2.1rem);
    letter-spacing: -0.01em;
  }

  .hero p {
    font-size: 15px;
  }

  .hero__highlights {
    gap: 10px;
  }

  .hero__actions {
    gap: 10px;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .hero__actions .button {
    flex: 1 1 100%;
    max-width: 240px;
    padding: 12px 0;
  }

  .section {
    padding: 52px 0;
  }

  .section__title {
    font-size: clamp(1.6rem, 5.6vw, 2rem);
  }

  .section__description {
    font-size: 15px;
  }

  .solutions__card,
  .benefit,
  .resource,
  .technology__preview,
  .contact__form {
    padding: 22px;
  }

  .contact__content {
    text-align: center;
  }

  .contact__highlights {
    gap: 12px;
  }

  .contact__highlight {
    padding: 14px 16px;
  }

  .contact__form input,
  .contact__form textarea {
    padding: 12px 14px;
  }

  .footer {
    padding-top: 56px;
  }

  .footer__bottom {
    font-size: 12px;
  }
}

.hero__mobile-stats {
  display: none;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .hero__visual {
    margin-top: clamp(-8px, -1vw, -4px);
  }

  .hero__devices {
    display: none;
  }

  .hero__mobile-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-top: 24px;
  }

  .hero__mobile-card {
    padding: 16px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: grid;
    gap: 6px;
    text-align: left;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
  }

  .hero__mobile-card strong {
    font-family: var(--font-display);
    font-size: 24px;
    color: rgba(255, 255, 255, 0.95);
    display: inline-block;
    transform-origin: center;
    transition: transform 0.3s ease-out, color 0.3s ease;
    max-width: 100%;
    contain: layout style;
  }

  .hero__mobile-card strong.is-counting {
    color: rgba(255, 31, 58, 0.95);
    text-shadow: 0 0 12px rgba(255, 31, 58, 0.4);
  }

  .hero__mobile-card span {
    font-size: 13px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.68);
  }

  .hero__mobile-card small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
  }

  .hero__mobile-card--primary {
    background: linear-gradient(145deg, rgba(255, 31, 58, 0.85), rgba(139, 0, 18, 0.85));
    border-color: rgba(255, 255, 255, 0.28);
  }
}

@media (max-width: 540px) {
  .hero__mobile-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero__mobile-card {
    padding: 14px;
  }
}

@media (max-width: 420px) {
  .hero__mobile-stats {
    grid-template-columns: 1fr;
  }

  .hero__mobile-card {
    padding: 12px;
  }

  .hero__mobile-card strong {
    font-size: 22px;
  }
}

/* ============================================
   MODAL DE LOGIN
   ============================================ */

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.login-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.login-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 3, 5, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.login-modal__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(135deg, rgba(5, 8, 16, 0.98) 0%, rgba(2, 3, 5, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 31, 58, 0.1);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.login-modal[aria-hidden="false"] .login-modal__container {
  transform: scale(1) translateY(0);
}

.login-modal__container::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(255, 31, 58, 0.15) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.login-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.login-modal__close:hover {
  background: rgba(255, 31, 58, 0.2);
  border-color: rgba(255, 31, 58, 0.4);
  color: rgba(255, 255, 255, 1);
  transform: rotate(90deg);
}

.login-modal__close:focus {
  outline: 2px solid rgba(255, 31, 58, 0.5);
  outline-offset: 2px;
}

.login-modal__header {
  text-align: center;
  margin-bottom: 32px;
}

.login-modal__logo {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.login-modal__logo img {
  max-width: 180px;
  height: auto;
}

.login-modal__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.login-modal__subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}

.login-modal__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-modal__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-modal__field label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.2px;
}

.login-modal__field input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 1);
  font-size: 15px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.login-modal__field input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.login-modal__field input:focus {
  outline: none;
  border-color: rgba(255, 31, 58, 0.6);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 31, 58, 0.1);
}

.login-modal__field input:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 31, 58, 0.5);
}

.login-modal__password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.login-modal__password-wrapper input {
  padding-right: 48px;
}

.login-modal__toggle-password {
  position: absolute;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 18px;
}

.login-modal__toggle-password:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
}

.login-modal__toggle-password:focus {
  outline: 2px solid rgba(255, 31, 58, 0.5);
  outline-offset: 2px;
}

.login-modal__error {
  font-size: 13px;
  color: rgba(255, 31, 58, 0.9);
  min-height: 18px;
  display: block;
}

.login-modal__options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.login-modal__remember {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
}

.login-modal__remember input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: rgba(255, 31, 58, 0.8);
}

.login-modal__remember span {
  user-select: none;
}

.login-modal__forgot {
  color: rgba(255, 31, 58, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.login-modal__forgot:hover {
  color: rgba(255, 31, 58, 1);
  text-decoration: underline;
}

.login-modal__submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.95), rgba(255, 31, 58, 0.85));
  border: 1.5px solid rgba(255, 31, 58, 0.6);
  border-radius: 12px;
  color: rgba(255, 255, 255, 1);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(255, 31, 58, 0.3);
  margin-top: 8px;
}

.login-modal__submit:hover {
  background: linear-gradient(135deg, rgba(255, 31, 58, 1), rgba(255, 31, 58, 0.9));
  border-color: rgba(255, 31, 58, 0.8);
  box-shadow: 0 6px 24px rgba(255, 31, 58, 0.4);
  transform: translateY(-2px);
}

.login-modal__submit:active {
  transform: translateY(0) scale(0.98);
}

.login-modal__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.login-modal__status {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  text-align: center;
  margin-top: 8px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.login-modal__status--error {
  background: rgba(255, 31, 58, 0.15);
  border: 1px solid rgba(255, 31, 58, 0.3);
  color: rgba(255, 177, 188, 0.95);
  opacity: 1;
  visibility: visible;
}

.login-modal__status--success {
  background: rgba(0, 200, 150, 0.15);
  border: 1px solid rgba(0, 200, 150, 0.3);
  color: rgba(195, 255, 239, 0.9);
  opacity: 1;
  visibility: visible;
}

.login-modal__status--loading {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  opacity: 1;
  visibility: visible;
}

/* Responsividade do Modal */
@media (max-width: 720px) {
  .login-modal {
    padding: 16px;
  }

  .login-modal__container {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .login-modal__title {
    font-size: 24px;
  }

  .login-modal__subtitle {
    font-size: 14px;
  }

  .login-modal__logo img {
    max-width: 150px;
  }
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: clamp(16px, 2vw, 24px);
  background: linear-gradient(135deg, rgba(8, 12, 24, 0.98) 0%, rgba(20, 24, 42, 0.98) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: slideUpCookie 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUpCookie {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-consent__content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 32px);
  flex-wrap: wrap;
}

.cookie-consent__text {
  flex: 1;
  min-width: 280px;
}

.cookie-consent__text h3 {
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 clamp(8px, 1vw, 12px) 0;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.cookie-consent__text p {
  font-size: clamp(13px, 1.4vw, 14px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.cookie-consent__text a {
  color: rgba(255, 31, 58, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.cookie-consent__text a:hover {
  color: rgba(255, 31, 58, 1);
}

.cookie-consent__details {
  margin-top: clamp(12px, 1.5vw, 16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: clamp(12px, 1.5vw, 16px);
}

.cookie-consent__summary {
  font-size: clamp(12px, 1.3vw, 13px);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.cookie-consent__summary::-webkit-details-marker {
  display: none;
}

.cookie-consent__summary::before {
  content: '▶';
  display: inline-block;
  margin-right: 8px;
  font-size: 10px;
  transition: transform 0.2s ease;
  color: rgba(255, 31, 58, 0.8);
}

.cookie-consent__details[open] .cookie-consent__summary::before {
  transform: rotate(90deg);
}

.cookie-consent__summary:hover {
  color: rgba(255, 255, 255, 0.9);
}

.cookie-consent__details-content {
  margin-top: clamp(12px, 1.5vw, 16px);
  padding-left: clamp(16px, 2vw, 20px);
  font-size: clamp(12px, 1.3vw, 13px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.cookie-consent__details-content p {
  margin: clamp(8px, 1vw, 10px) 0;
}

.cookie-consent__details-content p:first-child {
  margin-top: 0;
}

.cookie-consent__details-content strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.cookie-consent__details-content ul {
  margin: clamp(8px, 1vw, 10px) 0;
  padding-left: clamp(20px, 2.5vw, 24px);
  list-style-type: disc;
}

.cookie-consent__details-content li {
  margin: clamp(4px, 0.5vw, 6px) 0;
  color: rgba(255, 255, 255, 0.65);
}

.cookie-consent__actions {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 12px);
  flex-wrap: wrap;
}

.cookie-consent__button {
  padding: clamp(10px, 1.2vw, 12px) clamp(20px, 2.5vw, 24px);
  border-radius: clamp(8px, 1vw, 10px);
  font-size: clamp(13px, 1.4vw, 14px);
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-base);
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.cookie-consent__button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cookie-consent__button:hover::before {
  opacity: 1;
}

.cookie-consent__button--accept {
  background: linear-gradient(135deg, rgba(255, 31, 58, 0.9), rgba(255, 31, 58, 0.8));
  color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 12px rgba(255, 31, 58, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cookie-consent__button--accept:hover {
  background: linear-gradient(135deg, rgba(255, 31, 58, 1), rgba(255, 31, 58, 0.95));
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 31, 58, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cookie-consent__button--accept:active {
  transform: translateY(0);
}

.cookie-consent__button--reject {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cookie-consent__button--reject:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.cookie-consent__button--settings {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-consent__button--settings:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Responsividade do Cookie Consent */
@media (max-width: 768px) {
  .cookie-consent {
    padding: clamp(16px, 2vw, 20px);
  }

  .cookie-consent__content {
    flex-direction: column;
    align-items: stretch;
    gap: clamp(16px, 2vw, 20px);
  }

  .cookie-consent__text {
    min-width: 100%;
    text-align: center;
  }

  .cookie-consent__actions {
    justify-content: center;
    width: 100%;
  }

  .cookie-consent__button {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .cookie-consent__actions {
    flex-direction: column;
  }

  .cookie-consent__button {
    width: 100%;
  }
}


