/* ==========================================================================
   PREVIDFLOW — DESIGN SYSTEM & ESTILOS GLOBAIS
   Fontes: Outfit (Títulos) & Plus Jakarta Sans (Corpo/UI)
   Efeitos: Glassmorphism, Luzes Ambiente, Spotlight Interativo, Shimmer, Glow
   ========================================================================== */

:root {
  /* Cores Base & Superfícies */
  --bg: #050c16;
  --bg-deep: #03070d;
  --surface: #0a1928;
  --surface-alt: #0d2235;
  --surface-card: rgba(10, 25, 40, 0.75);
  --surface-card-hover: rgba(14, 34, 54, 0.9);
  --surface-glass-border: rgba(71, 232, 238, 0.14);
  --surface-glass-border-hover: rgba(71, 232, 238, 0.38);

  /* Acentos & Neon */
  --cyan: #47e8ee;
  --cyan-bright: #72f7fc;
  --cyan-dim: #1eaeb5;
  --cyan-dark: #0d464d;
  --cyan-glow: rgba(71, 232, 238, 0.35);
  --cyan-glow-soft: rgba(71, 232, 238, 0.12);
  --blue-accent: #2c6ff6;
  --blue-glow: rgba(44, 111, 246, 0.25);

  /* Tipografia & Contrastes */
  --text: #f0f6fa;
  --text-pure: #ffffff;
  --muted: #8fa6b6;
  --muted-light: #b9ceda;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(71, 232, 238, 0.22);

  /* Layout & Espaçamento */
  --max: 1240px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Tipografia */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Sombras */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px var(--cyan-glow);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(71, 232, 238, 0.08) 0%, transparent 60%),
    radial-gradient(rgba(71, 232, 238, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Elementos de Iluminação Ambiente de Fundo */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(71, 232, 238, 0.18), transparent 70%);
  top: 100px;
  right: -100px;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.glow-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(44, 111, 246, 0.14), transparent 70%);
  top: 1400px;
  left: -200px;
  animation: floatOrb 22s ease-in-out infinite alternate-reverse;
}

.glow-3 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(71, 232, 238, 0.12), transparent 70%);
  top: 2800px;
  right: -150px;
  animation: floatOrb 20s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.1); }
  100% { transform: translate(-30px, 30px) scale(0.95); }
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-pure);
  margin: 0;
  letter-spacing: -0.035em;
  font-weight: 700;
}

h1 {
  font-size: clamp(42px, 5.2vw, 74px);
  line-height: 1.08;
  margin: 24px 0 24px;
}

h2 {
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.15;
  margin: 16px 0 24px;
}

h3 {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 12px;
  font-weight: 600;
}

p {
  color: var(--muted);
  margin: 0 0 24px;
  font-weight: 400;
}

em {
  font-style: normal;
  background: linear-gradient(135deg, #ffffff 15%, var(--cyan) 95%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

strong {
  color: var(--text-pure);
  font-weight: 600;
}

small, .muted {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.wrap {
  width: min(var(--max), calc(100% - 80px));
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.section {
  padding-top: 120px;
  padding-bottom: 120px;
  position: relative;
}

/* Eyebrows & Badges */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(71, 232, 238, 0.08);
  border: 1px solid rgba(71, 232, 238, 0.28);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyan);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 15px rgba(71, 232, 238, 0.1);
}

.ping-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
  background-color: var(--cyan);
  border-radius: 50%;
}

.ping-dot .ping-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  animation: pingRing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingRing {
  0% { transform: scale(0.8); opacity: 1; }
  75%, 100% { transform: scale(2.5); opacity: 0; }
}

.mb-16 {
  margin-bottom: 20px;
}

/* Seções de Cabeçalho de Bloco */
.section-heading {
  max-width: 780px;
  margin-bottom: 56px;
}

.section-heading p {
  font-size: 18px;
  max-width: 650px;
}

/* Botões Modernos com Efeito Shimmer e Glow */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #47e8ee 0%, #20b8c2 100%);
  color: #04141d;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 22px rgba(71, 232, 238, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.28s ease;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}

.button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 45%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: rotate(25deg);
  opacity: 0;
  pointer-events: none;
}

.button:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 10px 35px rgba(71, 232, 238, 0.55), 0 0 20px rgba(71, 232, 238, 0.3);
}

.button:hover::after {
  opacity: 1;
  left: 140%;
  transition: left 0.75s ease-in-out;
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button.outline {
  background: rgba(71, 232, 238, 0.05);
  color: var(--cyan);
  border: 1px solid rgba(71, 232, 238, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.button.outline:hover {
  background: rgba(71, 232, 238, 0.16);
  border-color: var(--cyan);
  color: #ffffff;
  box-shadow: 0 6px 28px rgba(71, 232, 238, 0.35);
}

.button.small {
  padding: 11px 20px;
  font-size: 14px;
}

.btn-arrow {
  transition: transform 0.25s ease;
}

.button:hover .btn-arrow {
  transform: translateX(4px);
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 4px;
  transition: all 0.25s ease;
}

.text-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  transform: translateX(2px);
}

/* Header Fixo com Blur de Vidro */
.header {
  height: 88px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 12, 22, 0.84);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(71, 232, 238, 0.1);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.brand {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.brand:hover {
  transform: scale(1.02);
}

.brand>span:last-child {
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(71, 232, 238, 0.4);
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 38px;
  margin-right: 8px;
  color: var(--cyan);
  font-size: 32px;
  font-weight: 800;
  font-style: italic;
  filter: drop-shadow(0 0 10px rgba(71, 232, 238, 0.4));
}

.brand-mark span {
  position: absolute;
  width: 16px;
  height: 2px;
  left: -2px;
  bottom: 4px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 14.5px;
}

nav a {
  position: relative;
  font-weight: 500;
  color: var(--muted-light);
  padding: 6px 0;
  transition: color 0.2s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transition: width 0.25s ease;
}

nav a:hover {
  color: #ffffff;
}

nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  padding: 4px;
  border-radius: var(--radius-xs);
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text);
  transition: all 0.25s ease;
}

/* Barra de Progresso Superior */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-accent), var(--cyan), var(--cyan-bright));
  box-shadow: 0 0 10px var(--cyan);
  width: 0;
  z-index: 200;
}

/* Skip link */
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  background: var(--cyan);
  color: var(--bg);
  z-index: 300;
  padding: 12px 20px;
  border-radius: var(--radius-xs);
  font-weight: 700;
  transition: top 0.2s;
}

.skip:focus {
  top: 15px;
}

/* ==========================================================================
   CARDS SPOTLIGHT INTERATIVOS (LINEAR / VERCEL STYLE)
   Efeito de luz seguindo o mouse
   ========================================================================== */
.spotlight-card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    420px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(71, 232, 238, 0.14),
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.spotlight-card:hover {
  transform: translateY(-6px);
  border-color: var(--surface-glass-border-hover);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px -5px rgba(71, 232, 238, 0.18);
}

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

/* ==========================================================================
   SEÇÕES DA PÁGINA
   ========================================================================== */

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 88px);
  max-height: 1050px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroAppear 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroAppear {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, #050c16f2 0%, #050c16cf 36%, #050c1640 68%),
    linear-gradient(0deg, #050c16 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 120px;
}

.hero-content h1 {
  max-width: 690px;
}

.hero-content > p {
  max-width: 520px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted-light);
}

.hero-signature {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 48px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.hero-signature span:first-child {
  border-right: 1px solid var(--line-strong);
  padding-right: 16px;
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 700;
}

.hero-signature span:last-child {
  color: var(--muted);
}

.hero-bottom {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--muted);
}

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

.dot-accent {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.explore-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 600;
  transition: transform 0.2s ease;
}

.explore-btn:hover {
  transform: translateY(2px);
}

/* Problema */
.problem-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.problem-list article {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.card-icon-wrap svg {
  color: var(--cyan);
  padding: 10px;
  background: rgba(71, 232, 238, 0.08);
  border: 1px solid rgba(71, 232, 238, 0.2);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
}

.card-number {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.card-body h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.card-body p {
  font-size: 15.5px;
  margin: 0;
  line-height: 1.6;
}

/* Solução */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.solution {
  background: linear-gradient(145deg, #071928, #05101a);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.solution-highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  margin: 28px 0 36px;
  background: rgba(71, 232, 238, 0.06);
  border: 1px solid rgba(71, 232, 238, 0.2);
  border-radius: var(--radius-sm);
  color: var(--muted-light);
  font-size: 15px;
}

.solution-highlight svg {
  color: var(--cyan);
  flex-shrink: 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pillar-card {
  padding: 30px;
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--cyan);
}

.pillar-header span {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.pillar-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 15px;
  margin: 0;
  line-height: 1.55;
}

/* Apresentação de Vídeo */
.video-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 44px;
}

.video-heading > p {
  max-width: 380px;
  margin-bottom: 16px;
  font-size: 17px;
}

.video-wrapper {
  position: relative;
}

.video-ambient-glow {
  position: absolute;
  inset: 5%;
  background: radial-gradient(circle, rgba(71, 232, 238, 0.22), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.video-shell {
  position: relative;
  z-index: 1;
  background: #000;
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.75), 0 0 35px rgba(71, 232, 238, 0.15);
}

.video-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: #091a27;
  border-bottom: 1px solid var(--line);
}

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

.window-dot.red { background: #ff5f56; }
.window-dot.yellow { background: #ffbd2e; }
.window-dot.green { background: #27c93f; }

.video-title {
  margin-left: 12px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-body);
}

video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

/* Método D.E.E.P. */
.method {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 50% 50%, rgba(13, 34, 53, 0.6) 0%, transparent 80%);
}

.method-timeline {
  position: relative;
  margin-top: 30px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.method-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.method-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}

.letter {
  display: block;
  font-family: var(--font-display);
  font-size: 82px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #7cf8fc 0%, #29b8c0 50%, #0d565c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(71, 232, 238, 0.25));
}

.time-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyan);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(71, 232, 238, 0.08);
  border: 1px solid rgba(71, 232, 238, 0.25);
}

.method-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.method-card p {
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

/* Diagnóstico 360° */
.diagnostic-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  margin: 24px 0 36px;
  background: rgba(71, 232, 238, 0.06);
  border: 1px solid rgba(71, 232, 238, 0.22);
  border-radius: var(--radius-sm);
}

.diagnostic-badge svg {
  color: var(--cyan);
  flex-shrink: 0;
}

.diagnostic-badge strong {
  display: block;
  font-size: 15px;
  color: #fff;
}

.diagnostic-badge span {
  font-size: 13px;
  color: var(--muted);
}

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

.deliverable-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
}

.check-box {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(71, 232, 238, 0.12);
  border: 1px solid rgba(71, 232, 238, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}

.deliverable-step {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 2px;
}

.deliverable-item h3 {
  font-size: 18px;
  margin: 0;
}

/* Showcase (Tabs) */
.showcase {
  background: #061320;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tabs-nav-wrapper {
  margin-bottom: 36px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.tabs {
  display: inline-flex;
  gap: 10px;
  padding: 6px;
  background: rgba(10, 25, 40, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
}

.tabs button {
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.tab-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s;
}

.tabs button[aria-selected="true"] {
  background: rgba(71, 232, 238, 0.16);
  color: #ffffff;
  border: 1px solid rgba(71, 232, 238, 0.35);
  box-shadow: 0 0 16px rgba(71, 232, 238, 0.2);
}

.tabs button[aria-selected="true"] .tab-indicator {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.front-panel {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 50px;
  align-items: center;
  padding: 48px;
}

.front-info h3 {
  font-size: 32px;
  margin: 16px 0 16px;
}

.front-info p {
  font-size: 17px;
  line-height: 1.65;
}

.front-note-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 10px;
}

.front-note-badge svg {
  color: var(--cyan);
  flex-shrink: 0;
}

.front-visual {
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #081622;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.window-decor {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: #0b1f30;
  border-bottom: 1px solid var(--line);
}

.preview-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-transform: uppercase;
}

.image-open {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
}

.image-open img {
  width: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-open:hover img {
  transform: scale(1.025);
}

.image-open-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: #0a1b2a;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  border-top: 1px solid var(--line);
  transition: background 0.2s ease;
}

.image-open:hover .image-open-label {
  background: #0e2438;
}

/* Simulação de Conversão (Dashboard Executivo) */
.align-start {
  align-items: flex-start;
}

.simulation-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  margin: 24px 0 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.simulation-alert svg {
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.simulation-alert p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.calculator {
  padding: 40px;
}

.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.calc-header h3 {
  margin: 0;
  font-size: 22px;
}

.calc-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(71, 232, 238, 0.1);
  border: 1px solid rgba(71, 232, 238, 0.25);
  text-transform: uppercase;
}

.calc-group {
  margin-bottom: 24px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14.5px;
  font-weight: 500;
}

.calc-label-row output {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--cyan);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--cyan) 0%, var(--cyan) var(--pct, 25%), #0c2030 var(--pct, 25%), #0c2030 100%);
  outline: none;
  cursor: pointer;
  margin: 8px 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--cyan);
  box-shadow: 0 0 12px rgba(71, 232, 238, 0.6);
  cursor: pointer;
  transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-rates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}

.rate-input-box label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--muted-light);
}

.input-with-pct {
  position: relative;
}

.input-with-pct input {
  width: 100%;
  padding: 12px 36px 12px 16px;
  background: #061522;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--text-pure);
  font-size: 16px;
  font-weight: 600;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-with-pct input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(71, 232, 238, 0.3);
  outline: none;
}

.input-with-pct span {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-weight: 600;
}

.calc-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.result-box {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: #081827;
  border: 1px solid var(--line);
}

.result-box.simulated-box {
  background: rgba(71, 232, 238, 0.08);
  border-color: rgba(71, 232, 238, 0.35);
  box-shadow: 0 0 20px rgba(71, 232, 238, 0.12);
}

.res-tag {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 8px;
}

.res-tag-glow {
  color: var(--cyan);
}

.result-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.simulated-box strong {
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(71, 232, 238, 0.3);
}

.result-box small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}

.difference-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, rgba(71, 232, 238, 0.15), rgba(44, 111, 246, 0.1));
  border: 1px solid rgba(71, 232, 238, 0.3);
}

.diff-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cyan);
  color: #04141d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(71, 232, 238, 0.5);
}

.diff-text span {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.diff-text small {
  display: block;
  font-size: 12.5px;
  color: var(--muted-light);
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: flex-start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-sm);
  background: var(--surface-card);
  transition: all 0.3s ease;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  font-size: 17.5px;
  font-weight: 600;
  color: var(--text-pure);
  list-style: none;
}

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

.faq-chevron {
  color: var(--cyan);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-item[open] {
  border-color: rgba(71, 232, 238, 0.35);
  background: rgba(13, 30, 48, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.faq-content {
  padding: 0 26px 24px;
}

.faq-content p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted-light);
}

/* Galeria de Slides */
.archive {
  padding-top: 40px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  animation: fadeIn 0.4s ease;
}

.gallery[hidden] {
  display: none;
}

.gallery button {
  padding: 0;
  border: 1px solid var(--surface-glass-border);
  background: var(--surface-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-align: left;
  transition: all 0.3s ease;
}

.gallery button:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(71, 232, 238, 0.2);
}

.gallery img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery button:hover img {
  transform: scale(1.03);
}

.gallery span {
  display: block;
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted-light);
  border-top: 1px solid var(--line);
}

/* Fechamento / CTA Final */
.closing {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, #154552 0%, #061622 70%);
  padding: 130px 0;
  border-top: 1px solid var(--line-strong);
  overflow: hidden;
}

.closing-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(71, 232, 238, 0.25), transparent 70%);
  filter: blur(100px);
  pointer-events: none;
}

.closing .wrap {
  max-width: 860px;
  text-align: center;
}

.closing h2 {
  font-size: clamp(36px, 4.2vw, 60px);
  margin-bottom: 20px;
}

.closing p {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 19px;
  color: var(--muted-light);
}

/* Rodapé */
.footer {
  background: #03080f;
  border-top: 1px solid var(--line);
  padding: 70px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr;
  gap: 50px;
  align-items: flex-start;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--cyan);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.brand-col .tagline {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--muted);
  font-size: 14.5px;
  transition: color 0.2s;
}

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

.disclaimer-col p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.copyright {
  color: rgba(255, 255, 255, 0.3) !important;
  font-size: 12px !important;
}

/* Modais / Dialogs */
dialog {
  color: var(--text);
  background: #0a1b2a;
  border: 1px solid rgba(71, 232, 238, 0.35);
  border-radius: var(--radius-md);
  padding: 44px;
  width: min(580px, calc(100% - 32px));
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.8), 0 0 30px rgba(71, 232, 238, 0.15);
  animation: dialogScale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dialogScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

dialog::backdrop {
  background: rgba(3, 7, 13, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dialog-close {
  position: absolute;
  right: 18px;
  top: 16px;
  font-size: 20px;
  color: var(--muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.2s;
}

.dialog-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.dialog-header {
  margin-bottom: 28px;
}

.dialog-header h2 {
  font-size: 32px;
  line-height: 1.2;
}

form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--muted-light);
}

form input, form select, textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: #061420;
  color: var(--text-pure);
  padding: 14px 16px;
  font-size: 15px;
  transition: all 0.2s ease;
}

form input:focus, form select:focus, textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(71, 232, 238, 0.3);
  outline: none;
}

form .button {
  width: 100%;
  margin-top: 12px;
}

textarea {
  min-height: 150px;
  margin-bottom: 20px;
  font-family: inherit;
  resize: vertical;
}

#image-dialog {
  width: min(1300px, calc(100% - 40px));
  padding: 44px 16px 16px;
}

#image-dialog img {
  width: 100%;
  border-radius: var(--radius-sm);
}

/* Animações de Scroll (IntersectionObserver) */
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay para listas e grids */
.motion-ready .problem-list article:nth-child(1) { transition-delay: 0.05s; }
.motion-ready .problem-list article:nth-child(2) { transition-delay: 0.15s; }
.motion-ready .problem-list article:nth-child(3) { transition-delay: 0.25s; }

.motion-ready .method-grid article:nth-child(1) { transition-delay: 0.05s; }
.motion-ready .method-grid article:nth-child(2) { transition-delay: 0.15s; }
.motion-ready .method-grid article:nth-child(3) { transition-delay: 0.25s; }
.motion-ready .method-grid article:nth-child(4) { transition-delay: 0.35s; }

/* Mensagem NoScript */
.noscript-msg {
  padding: 16px;
  background: #331515;
  color: #ff9999;
  border-radius: 4px;
  margin: 20px auto;
  text-align: center;
}

/* ==========================================================================
   RESPONSIVIDADE (TABLET & MOBILE)
   ========================================================================== */

@media (max-width: 1024px) {
  .wrap {
    width: calc(100% - 50px);
  }
  .header {
    padding: 0 30px;
  }
  nav {
    gap: 20px;
  }
  .two-col {
    gap: 50px;
  }
  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .front-panel {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  .disclaimer-col {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .header {
    height: 74px;
    padding: 0 20px;
  }
  .brand {
    font-size: 23px;
  }
  .menu-toggle {
    display: flex;
  }
  nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    background: #061320;
    padding: 28px 24px;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--surface-glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    gap: 20px;
  }
  nav.open {
    display: flex;
    animation: fadeIn 0.25s ease;
  }
  .hero {
    min-height: 800px;
    max-height: none;
    align-items: flex-end;
  }
  .hero-art {
    height: 60%;
    object-position: right center;
  }
  .hero-shade {
    background: linear-gradient(0deg, #050c16 0%, #050c16 48%, rgba(5, 12, 22, 0.2) 80%);
  }
  .hero-content {
    padding: 300px 0 100px;
  }
  .hero-content h1 {
    font-size: 40px;
  }
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .explore-btn {
    display: none;
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .actions .button {
    width: 100%;
  }
  .problem-list, .pillars-grid, .two-col, .faq {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .method-grid {
    grid-template-columns: 1fr;
  }
  .video-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .video-heading > p {
    max-width: none;
  }
  .calculator {
    padding: 24px;
  }
  .calc-rates, .calc-result {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .disclaimer-col {
    grid-column: auto;
  }
  dialog {
    padding: 32px 20px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
