/* ==========================================================================
   PH TECH CARD - DESIGN SYSTEM & STYLESHEET
   Especificação Técnica & Identidade Visual Versão 1.0
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GOOGLE FONTS & CSS VARIABLES
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Cores da Marca (Identidade Visual - Seção 6) */
  --color-red-primary: #C91212;   /* Marca, botões e destaques */
  --color-red-vivid: #FF1B1B;     /* Ações e pequenos acentos */
  --color-black: #171719;         /* Fundos premium e contraste */
  --color-gray-dark: #2D3438;     /* Textos e superfícies */
  --color-off-white: #F8F7F5;     /* Seções leves e fundos alternados */
  --color-lavender: #E1C0DD;      /* Acento opcional e discreto */
  --color-border: #E7E2DD;        /* Cards, campos e separadores */

  /* Cores Derivadas para UI Dark Mode */
  --color-bg-dark: #0f0f11;
  --color-surface-card: #1c1d22;
  --color-surface-glass: rgba(23, 23, 25, 0.75);
  --color-border-glass: rgba(255, 255, 255, 0.08);
  --color-text-white: #FFFFFF;
  --color-text-muted: #A3A8B1;
  --color-text-subtle: #6E7480;

  /* Tipografia */
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Raio de Borda (12px a 32px conforme especificação) */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Sombras & Efeitos Visuais */
  --shadow-red-glow: 0 10px 30px rgba(201, 18, 18, 0.4);
  --shadow-red-glow-hover: 0 12px 35px rgba(255, 27, 27, 0.55);
  --shadow-card: 0 24px 48px rgba(0, 0, 0, 0.6);
  --shadow-badge: 0 12px 28px rgba(0, 0, 0, 0.45);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. RESET CSS COMPLETO E ACESSÍVEL
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  background-color: var(--color-black);
  color: var(--color-text-white);
  line-height: 1.5;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

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

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

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. LAYOUT BASE & CONTAINER
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --------------------------------------------------------------------------
   4. HEADER / NAVBAR
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
  background: var(--color-off-white);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-glass);
}

.header.scrolled {
  padding: 0.9rem 0;
  background: var(--color-off-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

/* Logo PH TECH CARD */
.brand-logo {
  display: inline-flex;
  align-items: center;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  transition: var(--transition);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-logo-image {
  display: block;
  width: 68px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

/* Nav Menu Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--color-black);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-red-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-red-primary);
  transition: var(--transition);
  border-radius: var(--radius-pill);
}

.nav-link:hover::after {
  width: 100%;
}

/* Header Button CTA */
.btn-header-cta {
  background-color: var(--color-red-primary);
  color: var(--color-text-white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  box-shadow: var(--shadow-red-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-header-cta:hover {
  background-color: var(--color-red-vivid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red-glow-hover);
}

/* Hamburger Menu Toggle (Mobile) */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 1100;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--color-gray-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION (PRIMEIRA DOBRA)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 8rem;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 75% 45%, rgba(201, 18, 18, 0.15) 0%, rgba(23, 23, 25, 0) 55%),
              linear-gradient(180deg, #171719 0%, #171719 100%);
}

/* Fundo com textura/iluminação ambiente */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 18, 18, 0.2) 0%, rgba(201, 18, 18, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Coluna da Esquerda: Conteúdo Hero */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Badge Selo Superior */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border-glass);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}

.hero-tag-dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-red-vivid);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-red-vivid);
}

/* Título H1 */
.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.2px;
  color: var(--color-text-white);
  margin-bottom: 1.25rem;
}

/* Texto de Apoio */
.hero-description {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: 2.25rem;
}

/* Botões de Ação CTAs */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  width: 100%;
}

.btn-primary-cta {
  background-color: var(--color-red-primary);
  color: var(--color-text-white);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  box-shadow: var(--shadow-red-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-primary-cta:hover {
  background-color: var(--color-red-vivid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red-glow-hover);
}

.btn-secondary-cta {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--color-text-white);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-secondary-cta:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Nota Legal Obrigatória */
.hero-disclaimer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.775rem;
  color: var(--color-text-subtle);
  margin-bottom: 3rem;
}

.hero-disclaimer svg {
  flex-shrink: 0;
  color: var(--color-red-primary);
}

/* Pilares de Confiança no Rodapé da 1ª Dobra */
.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border-glass);
  width: 100%;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.trust-icon {
  width: 20px;
  height: 20px;
  background-color: rgba(201, 18, 18, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red-vivid);
  flex-shrink: 0;
}

.trust-icon svg {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

/* Container da Imagem de Fundo e Gradiente do Banner */
.hero-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.9;
}

/* Gradiente no PC: Metade escura sólida na esquerda (texto), degradê suave para transparente na direita (imagem) + brilho radial vermelho sutil atrás do cartão */
.hero-banner-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 50%, rgba(201, 18, 18, 0.22) 0%, rgba(23, 23, 25, 0) 50%),
              linear-gradient(90deg, 
                #171719 0%, 
                #171719 42%, 
                rgba(23, 23, 25, 0.8) 60%, 
                rgba(23, 23, 25, 0.15) 100%
              );
  z-index: 2;
}

/* --------------------------------------------------------------------------
   6. COLUNA DIREITA - VISUAL MOCKUP DO CARTÃO E BADGES
   -------------------------------------------------------------------------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
  z-index: 3;
}

/* Mockup do Cartão PH Tech Card */
.card-mockup-wrapper {
  position: relative;
  z-index: 3;
  perspective: 1000px;
  width: 100%;
  max-width: 390px;
}

.card-mockup {
  width: 100%;
  aspect-ratio: 1.586 / 1;
  background: linear-gradient(135deg, #1f0505 0%, #a80c0c 50%, #4a0303 100%);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-card), 0 0 40px rgba(201, 18, 18, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotate(-4deg) rotateY(6deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.card-mockup:hover {
  box-shadow: var(--shadow-card), 0 0 50px rgba(255, 27, 27, 0.45);
}

/* Camada de Reflexo Metálico Dinâmico (Parallax) */
.card-mockup::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--shine-x, 50%) var(--shine-y, 50%),
    rgba(255, 255, 255, var(--shine-opacity, 0)) 0%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.2s ease;
}

/* Topo do Cartão */
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-brand-badge {
  background-color: var(--color-red-vivid);
  color: var(--color-text-white);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.card-contactless {
  color: rgba(255, 255, 255, 0.7);
}

/* Meio do Cartão (Chip + Logo PH TECH CARD) */
.card-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.card-chip {
  width: 44px;
  height: 32px;
  background: linear-gradient(135deg, #e6ca65 0%, #9e7f24 100%);
  border-radius: 6px;
  position: relative;
  box-shadow: inset 0 0 2px rgba(0,0,0,0.5);
}

.card-chip::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 3px;
}

.card-logo-name {
  text-align: right;
}

.card-logo-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
}

.card-logo-subtitle {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-top: 2px;
}

/* Rodapé do Cartão */
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.card-number {
  font-size: 0.85rem;
  font-family: monospace;
  letter-spacing: 2px;
  color: var(--color-text-white);
}

/* Floating Badges (Conforme Imagem de Referência) */
.floating-badge {
  position: absolute;
  z-index: 4;
  background: rgba(28, 29, 34, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.floating-badge:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
}

.floating-badge-top {
  top: 15px;
  left: -20px;
}

.floating-badge-bottom {
  bottom: 20px;
  right: -15px;
}

.badge-icon-box {
  width: 34px;
  height: 34px;
  background-color: rgba(201, 18, 18, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red-vivid);
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-white);
  line-height: 1.2;
}

.badge-sub {
  font-size: 0.675rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   7. RESPONSIVIDADE (BREAKPOINTS CONFORME ESPECIFICAÇÃO PÁG. 14)
   -------------------------------------------------------------------------- */

/* Tablet (681px - 1023px) */
@media (max-width: 1023px) {
  /* Gradiente Vertical no Tablet/Mobile (Preto no topo para o texto, degradê suave para a foto/cartão embaixo) + brilho radial vermelho sutil */
  .hero-banner-gradient {
    background: radial-gradient(circle at 50% 85%, rgba(201, 18, 18, 0.22) 0%, rgba(23, 23, 25, 0) 45%),
                linear-gradient(180deg, 
                  #171719 0%, 
                  #171719 45%, 
                  rgba(23, 23, 25, 0.85) 70%, 
                  rgba(23, 23, 25, 0.3) 100%
                );
  }

  .hero-bg-img {
    object-position: center center;
    opacity: 0.85;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-description {
    max-width: 600px;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-bar {
    justify-content: center;
    gap: 1.5rem;
  }

  .hero-visual {
    min-height: 420px;
  }

  .floating-badge-top {
    left: 10px;
  }

  .floating-badge-bottom {
    right: 10px;
  }
}

/* Mobile (≤ 680px) */
@media (max-width: 680px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-off-white);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
    border-left: 1px solid var(--color-border-glass);
  }

  .nav-menu.open {
    right: 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-cta-item {
    width: 100%;
  }

  .btn-header-cta {
    width: 100%;
  }

  .hero {
    padding-top: 7rem;
    padding-bottom: 2.5rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary-cta,
  .btn-secondary-cta {
    width: 100%;
  }

  .hero-trust-bar {
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
  }

  .card-mockup-wrapper {
    max-width: 310px;
  }

  .floating-badge {
    padding: 0.6rem 0.85rem;
  }

  .floating-badge-top {
    top: -10px;
    left: 0;
  }

  .floating-badge-bottom {
    bottom: -10px;
    right: 0;
  }
}

/* ==========================================================================
   8. SEÇÃO 03 - VANTAGENS (Grid de Diferenciais 3D no Scroll)
   ========================================================================== */
.advantages {
  height: 750vh; /* Trilha de scroll expandida para controle de velocidade ultra-preciso */
  position: relative;
  background-color: #171719;
  background-image: 
    linear-gradient(180deg, #171719 0%, rgba(23, 23, 25, 0.78) 12%, rgba(17, 18, 21, 0.92) 88%, #111215 100%),
    radial-gradient(circle at 50% 50%, rgba(201, 18, 18, 0.22) 0%, transparent 60%),
    url('advantages-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Container Sticky que mantém cabeçalho, cartas e disclaimer fixos na tela */
.advantages-sticky-container {
  position: sticky;
  top: 75px;
  height: calc(100vh - 75px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  gap: 1.25rem;
  overflow: hidden;
  box-sizing: border-box;
}

.advantages-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.advantages-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.8px;
  color: var(--color-text-white);
  margin-bottom: 0.75rem;
}

.advantages-subtitle {
  font-size: 0.975rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Wrapper 3D para empilhamento das Cartas */
.advantages-stack-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  height: 310px; /* Altura dedicada para a rotação e sombras */
  margin: 0.75rem auto;
  perspective: 1200px;
  transform-style: preserve-3d;
}

/* Card Estilo Carta Física 3D (Posicionamento Absoluto) */
.advantage-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(23, 23, 25, 0.85); /* Fundo vidro fosco escuro */
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform-origin: bottom center;
  will-change: transform, opacity;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease, border-color 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

.advantage-card:hover {
  border-color: rgba(201, 18, 18, 0.45);
}

/* Ícone de Dois Tons */
.advantage-icon-wrap {
  width: 48px;
  height: 48px;
  background-color: rgba(201, 18, 18, 0.12); /* Vermelho translúcido */
  border: 1px solid rgba(201, 18, 18, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red-vivid); /* Traço linear */
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.advantage-card:hover .advantage-icon-wrap {
  background-color: rgba(201, 18, 18, 0.2);
  border-color: rgba(201, 18, 18, 0.45);
  transform: scale(1.05);
}

.advantage-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.3px;
}

.advantage-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* Rodapé de Disclaimer Fixo na Tela */
.advantages-disclaimer {
  text-align: center;
  font-size: 0.775rem;
  line-height: 1.5;
  color: var(--color-text-subtle);
  max-width: 600px;
  margin: 0 auto;
}

/* Responsividade Adaptada */
@media (max-width: 1023px) {
  .advantages-sticky-container {
    padding: 4rem 1.5rem 1.5rem 1.5rem;
    gap: 1rem;
  }
  .advantages-stack-wrapper {
    max-width: 500px;
    height: 270px;
    margin: 0.5rem auto;
  }
  .advantage-card {
    padding: 1.75rem 1.5rem;
  }
}

@media (max-width: 680px) {
  .advantages-sticky-container {
    padding: 3.5rem 1rem 1.25rem 1rem;
    gap: 0.75rem;
  }
  .advantages-stack-wrapper {
    max-width: 100%;
    height: 260px;
    margin: 0.5rem auto;
  }
  .advantage-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-lg);
  }
  .advantage-card h3 {
    font-size: 1.1rem;
  }
  .advantage-card p {
    font-size: 0.85rem;
  }
  .advantages-disclaimer {
    font-size: 0.7rem;
    padding: 0 0.5rem;
  }
}

@media (max-height: 780px) {
  .advantages-sticky-container {
    padding: 3.5rem 1rem 1rem 1rem;
    gap: 0.5rem;
  }
  .advantages-stack-wrapper {
    height: 245px;
    margin: 0.5rem auto;
  }
  .advantage-card {
    padding: 1.25rem 1.25rem;
  }
  .advantage-icon-wrap {
    margin-bottom: 0.75rem;
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   9. SUPER-SEÇÃO UNIFICADA: JORNADA PH TECH CARD (Seções 04 e 05)
   ========================================================================== */
.integrated-journey {
  position: relative;
  background-color: #111215; /* Fundo dark premium contínuo */
  color: var(--color-text-white);
  padding: 8rem 0 0 0;
}

/* Fundo com iluminação ambiente sutil */
.journey-bg-ambient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(201, 18, 18, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(201, 18, 18, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

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

.journey-badge-pill {
  display: inline-block;
  background-color: rgba(201, 18, 18, 0.12);
  color: var(--color-red-vivid);
  border: 1px solid rgba(201, 18, 18, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* --- PARTE 1: PARA QUEM É (GLASS CARDS) --- */
.target-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem auto;
}

.target-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: var(--color-text-white);
  margin-bottom: 1rem;
}

.target-subtitle {
  font-size: 1.025rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.target-card.glass-card {
  background: rgba(23, 24, 28, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.target-card.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 18, 18, 0.4);
  box-shadow: 0 24px 48px rgba(201, 18, 18, 0.15);
}

.target-card-top-icon {
  width: 46px;
  height: 46px;
  background: rgba(201, 18, 18, 0.15);
  border: 1px solid rgba(201, 18, 18, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red-vivid);
  margin-bottom: 1.25rem;
}

.target-badge {
  background-color: rgba(201, 18, 18, 0.15);
  color: var(--color-red-vivid);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.target-card-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-text-white);
  margin-bottom: 0.4rem;
  letter-spacing: -0.5px;
}

.target-card-sub {
  font-size: 1.025rem;
  font-weight: 600;
  color: var(--color-red-vivid);
  margin-bottom: 0.85rem;
}

.target-card-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.target-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.target-tag {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-muted);
  font-size: 0.775rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
}

.target-cta-wrap {
  text-align: center;
}

/* --- CONECTOR FLUIDO ENTRE AS DUAS SEÇÕES --- */
.journey-connector-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 0 0.75rem 0;
  position: relative;
  z-index: 2;
}

.connector-line-track {
  width: 3px;
  height: 55px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.connector-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #C91212 0%, #FF1B1B 100%);
  box-shadow: 0 0 12px var(--color-red-vivid);
  transition: height 0.1s linear;
}

.connector-pulse-dot {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background-color: var(--color-red-vivid);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 15px var(--color-red-vivid);
  transition: top 0.1s linear;
}

.connector-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  animation: bounceVertical 2s infinite ease-in-out;
}

.connector-label svg {
  color: var(--color-red-vivid);
}

@keyframes bounceVertical {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* --- PARTE 2: COMO FUNCIONA (TRILHA REFORMULADA EM FORMATO DE JORNADA DIGITAL) --- */
.how-sticky-track {
  height: 380vh; /* Pista de scroll estendida mantendo a tela fixa na seção */
  position: relative;
}

.how-sticky-container {
  position: sticky;
  top: 75px;
  height: calc(100vh - 75px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}

.how-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.how-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: var(--color-text-white);
  margin-bottom: 1rem;
}

.how-subtitle {
  font-size: 1.025rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.journey-steps-container {
  position: relative;
  margin-bottom: 4rem;
}

/* Linha de progresso que cruza os 4 passos no desktop */
.journey-steps-path {
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  z-index: 1;
}

.journey-steps-path-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #C91212 0%, #FF1B1B 100%);
  box-shadow: 0 0 10px rgba(201, 18, 18, 0.5);
  transition: width 0.2s ease-out;
}

.journey-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.journey-step-card {
  background: rgba(23, 24, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  position: relative;
}

.journey-step-card.active {
  transform: translateY(-8px);
  border-color: rgba(201, 18, 18, 0.5);
  box-shadow: 0 20px 40px rgba(201, 18, 18, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.step-icon-box {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.journey-step-card.active .step-icon-box {
  background: rgba(201, 18, 18, 0.2);
  border-color: rgba(201, 18, 18, 0.4);
  color: var(--color-red-vivid);
  transform: scale(1.08);
}

.step-number-badge {
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1;
  transition: var(--transition);
}

.journey-step-card.active .step-number-badge {
  color: var(--color-red-vivid);
  text-shadow: 0 0 12px rgba(255, 27, 27, 0.6);
}

.step-body {
  margin-bottom: 1.5rem;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: 0.6rem;
  letter-spacing: -0.3px;
}

.step-desc {
  font-size: 0.885rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.step-footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-subtle);
  transition: var(--transition);
}

.journey-step-card.active .step-footer-pill {
  background: rgba(201, 18, 18, 0.1);
  border-color: rgba(201, 18, 18, 0.25);
  color: var(--color-red-vivid);
}

.how-cta-wrap {
  text-align: center;
}

/* Otimização para Notebooks / Computadores com Tela de Altura Menor */
@media (max-height: 850px), (max-width: 1400px) {
  .how-header {
    margin-bottom: 1.75rem;
  }
  .how-title {
    font-size: clamp(1.75rem, 2.8vw, 2.25rem);
    margin-bottom: 0.5rem;
  }
  .how-subtitle {
    font-size: 0.95rem;
  }
  .journey-steps-container {
    margin-bottom: 2rem;
  }
  .journey-step-card {
    padding: 1.35rem 1.1rem;
  }
  .step-head {
    margin-bottom: 0.85rem;
  }
  .step-icon-box {
    width: 38px;
    height: 38px;
  }
  .step-number-badge {
    font-size: 1.25rem;
  }
  .step-body {
    margin-bottom: 0.85rem;
  }
  .step-title {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
  }
  .step-desc {
    font-size: 0.825rem;
    line-height: 1.45;
  }
  .journey-steps-path {
    top: 34px;
  }
}

/* Responsividade Adaptada */
@media (max-width: 1023px) {
  .integrated-journey {
    padding: 3rem 0;
  }
  .target-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .how-header {
    margin-bottom: 2rem;
  }
  .journey-steps-container {
    margin-bottom: 2.5rem;
  }
  .journey-steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
  }
  .journey-step-card {
    padding: 1.5rem 0.9rem;
  }
  .step-head {
    margin-bottom: 1rem;
  }
  .step-icon-box {
    width: 38px;
    height: 38px;
  }
  .step-number-badge {
    font-size: 1.25rem;
  }
  .step-body {
    margin-bottom: 1rem;
  }
  .step-title {
    font-size: 1.025rem;
    margin-bottom: 0.35rem;
  }
  .step-desc {
    font-size: 0.8rem;
    line-height: 1.45;
  }
  .step-footer-pill {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
  }
  .journey-steps-path {
    top: 34px;
    left: 8%;
    right: 8%;
  }
}

@media (max-width: 680px) {
  .integrated-journey {
    padding: 3.5rem 0;
  }
  .how-sticky-track {
    height: auto !important;
  }
  .how-sticky-container {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    overflow: visible !important;
    padding: 2rem 0;
  }
  .target-card.glass-card {
    padding: 2rem 1.25rem;
  }
  .journey-steps-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .journey-steps-path {
    display: none;
  }
  .journey-step-card {
    padding: 1.5rem 1.25rem;
  }
  .journey-connector-flow {
    padding: 1.25rem 0 0.5rem 0;
  }
  .connector-line-track {
    height: 40px;
  }
}

/* ==========================================================================
   SEÇÃO 06: APLICATIVO (APLICATIVO SHOWCASE INTERATIVO)
   ========================================================================== */
.app-showcase {
  position: relative;
  padding: 7rem 0;
  background-color: var(--color-black);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-glass);
}

.app-bg-glow {
  position: absolute;
  top: 30%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, rgba(201, 18, 18, 0.05) 50%, rgba(0, 0, 0, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.app-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--color-text-white);
  line-height: 1.2;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.app-description {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* Lista de Recursos Interativos */
.app-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.app-feature-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.app-feature-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(6px);
}

.app-feature-card.active {
  background: linear-gradient(135deg, rgba(201, 18, 18, 0.1) 0%, rgba(23, 23, 25, 0.8) 100%);
  border-color: rgba(201, 18, 18, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateX(8px);
}

.app-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: var(--transition);
}

.app-feature-card.active .app-feature-icon,
.app-feature-card:hover .app-feature-icon {
  background: var(--color-red-primary);
  color: var(--color-text-white);
  box-shadow: 0 6px 16px rgba(201, 18, 18, 0.4);
}

.app-feature-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-white);
  margin-bottom: 0.35rem;
}

.app-feature-info p {
  font-size: 0.938rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.app-feature-indicator {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-red-vivid);
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.app-feature-card.active .app-feature-indicator {
  opacity: 1;
}

/* Smartphone Mockup CSS (Apple / Next-Gen Style) */
.app-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.phone-frame-wrapper {
  position: relative;
  width: 320px;
  animation: phoneFloat 6s ease-in-out infinite alternate;
}

@keyframes phoneFloat {
  0% { transform: translateY(0px) rotate(-1deg); }
  100% { transform: translateY(-14px) rotate(1deg); }
}

.phone-frame {
  position: relative;
  width: 100%;
  padding: 12px;
  background: linear-gradient(145deg, #2a2c32, #121316);
  border-radius: 44px;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(0, 242, 254, 0.1),
    inset 0 0 2px rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 580px;
  background-color: #0c0d10;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

/* Status Bar Topo Celular */
.phone-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 4px 18px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-white);
  z-index: 10;
}

.phone-notch {
  width: 90px;
  height: 18px;
  background: #000;
  border-radius: 12px;
  margin-top: -4px;
}

.phone-icons {
  display: flex;
  gap: 6px;
  opacity: 0.8;
}

/* App Header Interno */
.phone-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-user-greeting {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-red-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(201, 18, 18, 0.4);
}

.phone-welcome-text {
  display: block;
  font-size: 0.688rem;
  color: var(--color-text-muted);
}

.phone-user-name {
  font-size: 0.813rem;
  color: var(--color-text-white);
}

.phone-bell-icon {
  color: var(--color-text-muted);
}

/* Conteúdo das Abas Internas do App */
.phone-tab-content {
  display: none;
  padding: 16px 18px;
  flex: 1;
  overflow-y: auto;
  animation: fadeInAppTab 0.4s ease forwards;
}

.phone-tab-content.active {
  display: block;
}

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

/* Aba 1: Limite */
.phone-card-mini {
  background: linear-gradient(135deg, rgba(201, 18, 18, 0.25) 0%, rgba(30, 31, 38, 0.9) 100%);
  border: 1px solid rgba(255, 27, 27, 0.3);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.phone-card-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phone-limit-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 4px 0 10px 0;
}

.phone-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.phone-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff1b1b, #00f2fe);
  border-radius: 3px;
  transition: width 1s ease-in-out;
}

.phone-limit-sub {
  display: flex;
  justify-content: space-between;
  font-size: 0.688rem;
  color: var(--color-text-muted);
}

.badge-status-ok {
  color: #00e676;
  font-weight: 600;
}

.phone-feed-title {
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--color-text-white);
  margin-bottom: 10px;
}

.phone-feed-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-feed-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.feed-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.feed-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feed-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-white);
}

.feed-date {
  font-size: 0.65rem;
  color: var(--color-text-subtle);
}

.feed-amount {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ff5252;
}

/* Aba 2: Fatura */
.phone-invoice-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 18px;
}

.invoice-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.invoice-tag {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.invoice-status-paid {
  font-size: 0.688rem;
  font-weight: 600;
  color: #ffb300;
  background: rgba(255, 179, 0, 0.15);
  padding: 2px 8px;
  border-radius: 10px;
}

.invoice-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.invoice-due {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  margin-bottom: 12px;
}

.btn-download-invoice {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  background: rgba(201, 18, 18, 0.2);
  border: 1px solid rgba(201, 18, 18, 0.4);
  border-radius: 10px;
  color: var(--color-text-white);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.phone-chart-bars {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 80px;
  padding-top: 10px;
}

.bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.bar-fill {
  width: 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.bar-col.active .bar-fill {
  background: var(--color-red-primary);
}

.bar-col span {
  font-size: 0.65rem;
  color: var(--color-text-subtle);
}

/* Aba 3: Ajuda */
.phone-help-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.help-avatar-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.help-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.help-online-sub {
  display: block;
  font-size: 0.688rem;
  color: var(--color-red-vivid);
}

.help-chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.75rem;
  line-height: 1.4;
  max-width: 85%;
}

.text-bot {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-white);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.text-user {
  background: var(--color-red-primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.phone-btn-help-cta {
  display: block;
  text-align: center;
  padding: 10px;
  background: var(--color-red-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 10px;
  margin-top: 10px;
  box-shadow: 0 4px 12px rgba(201, 18, 18, 0.4);
}

/* Bottom Nav Celular */
.phone-nav-bar {
  display: flex;
  justify-content: space-around;
  padding: 10px 0 14px 0;
  background: rgba(18, 19, 23, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.65rem;
  color: var(--color-text-subtle);
  cursor: pointer;
  transition: var(--transition);
}

.phone-nav-item.active {
  color: var(--color-red-vivid);
}

/* ==========================================================================
   SEÇÃO 07: ATENDIMENTO (SUPPORT BANNER & PARCERIA)
   ========================================================================== */
.support-hero {
  position: relative;
  padding: 6.5rem 0;
  background-color: var(--color-black);
  overflow: hidden;
}

.support-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('support-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.support-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--color-black) 0%,
    rgba(23, 23, 25, 0.3) 25%,
    rgba(23, 23, 25, 0.3) 75%,
    var(--color-black) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.support-ambient-light {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 18, 18, 0.15) 0%, rgba(255, 27, 27, 0.05) 40%, rgba(0, 0, 0, 0) 75%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 2;
}

.support-banner {
  position: relative;
  z-index: 3;
  background: linear-gradient(135deg, rgba(28, 29, 34, 0.85) 0%, rgba(18, 19, 23, 0.95) 100%);
  border: 1px solid rgba(255, 27, 27, 0.25);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(201, 18, 18, 0.15);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  overflow: hidden;
}

.support-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-red-vivid) 50%, transparent 100%);
}

.support-banner-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.support-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 27, 27, 0.08);
  border: 1px solid rgba(255, 27, 27, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-red-vivid);
  margin-bottom: 1.25rem;
}

.status-dot-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--color-red-vivid);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 27, 27, 0.7);
  animation: dotPulseRed 2s infinite;
}

@keyframes dotPulseRed {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 27, 27, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 27, 27, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 27, 27, 0); }
}

.support-title {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--color-text-white);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.support-description {
  font-size: 1.063rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Faixa de Pilares em Formato Banner Chips */
.support-features-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.support-feature-chip {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.support-feature-chip:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 27, 27, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.feature-chip-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(201, 18, 18, 0.25) 0%, rgba(255, 27, 27, 0.1) 100%);
  border: 1px solid rgba(255, 27, 27, 0.2);
  color: var(--color-red-vivid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-chip-text {
  display: flex;
  flex-direction: column;
}

.feature-chip-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: 0.2rem;
}

.feature-chip-text span {
  font-size: 0.813rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

/* Banner Footer (CTA + Specialist Preview) */
.support-banner-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.support-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.btn-support-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.125rem 2.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-red-glow);
  transition: var(--transition);
}

.btn-support-banner:hover {
  box-shadow: var(--shadow-red-glow-hover);
  transform: translateY(-2px);
}

.support-sub-note {
  font-size: 0.844rem;
  color: var(--color-text-subtle);
}

.support-specialist-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
}

.specialist-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--color-red-vivid);
}

.online-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background-color: var(--color-red-vivid);
  border: 2px solid var(--color-surface-card);
  border-radius: 50%;
}

.specialist-info {
  display: flex;
  flex-direction: column;
}

.specialist-info strong {
  font-size: 0.875rem;
  color: var(--color-text-white);
  font-weight: 700;
}

.specialist-info span {
  font-size: 0.775rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   SEÇÃO 08: DÚVIDAS FREQUENTES / FAQ
   ========================================================================== */
.faq-section {
  position: relative;
  padding: 7rem 0;
  background-color: var(--color-black);
}

.faq-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  align-items: start;
}

.faq-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-text-white);
  line-height: 1.2;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.faq-subtitle {
  font-size: 1.063rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.faq-trust-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

.trust-box-icon {
  font-size: 1.5rem;
}

.trust-box-text strong {
  display: block;
  font-size: 0.938rem;
  color: var(--color-text-white);
  margin-bottom: 0.25rem;
}

.trust-box-text p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.faq-direct-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-red-vivid);
  transition: var(--transition);
}

.faq-direct-link:hover {
  text-decoration: underline;
  transform: translateX(4px);
}

/* Accordion Glassmorphic List */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-accordion-item {
  background: rgba(23, 25, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s ease;
}

.faq-accordion-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(28, 30, 36, 0.8);
}

.faq-accordion-item.active {
  background: linear-gradient(145deg, rgba(28, 30, 36, 0.95), rgba(201, 18, 18, 0.08));
  border-color: rgba(201, 18, 18, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.faq-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

.faq-question-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.faq-category-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-red-vivid);
}

.faq-question-text {
  font-size: 1.188rem;
  font-weight: 600;
  color: var(--color-text-white);
  line-height: 1.35;
}

.faq-toggle-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.faq-accordion-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background: var(--color-red-primary);
  color: #fff;
}

.faq-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.75rem;
}

.faq-accordion-item.active .faq-accordion-body {
  max-height: 300px;
  padding: 0 1.75rem 1.75rem 1.75rem;
}

.faq-accordion-body p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.faq-answer-footer {
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.faq-answer-action {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-red-vivid);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.faq-answer-action:hover {
  transform: translateX(4px);
}

/* Otimização de Compactação Vertical para Notebooks / Computadores Menores */
@media (max-height: 850px), (max-width: 1400px) {
  /* Seção 06: Aplicativo */
  .app-showcase {
    padding: 2.5rem 0;
  }
  .app-title {
    font-size: clamp(1.65rem, 2.5vw, 2.1rem);
    margin-top: 0.35rem;
    margin-bottom: 0.6rem;
  }
  .app-description {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 1.25rem;
  }
  .app-features-list {
    gap: 0.65rem;
  }
  .app-feature-card {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }
  .app-feature-icon {
    width: 36px;
    height: 36px;
  }
  .app-feature-info h3 {
    font-size: 0.975rem;
    margin-bottom: 0.15rem;
  }
  .app-feature-info p {
    font-size: 0.825rem;
    line-height: 1.35;
  }
  .phone-frame-wrapper {
    width: 250px;
  }
  .phone-frame {
    padding: 8px;
    border-radius: 36px;
  }
  .phone-screen {
    height: 440px;
    border-radius: 28px;
  }

  /* Seção 07: Atendimento */
  .support-hero {
    padding: 2.25rem 0;
  }
  .support-banner {
    padding: 1.75rem 2rem;
    gap: 1.25rem;
  }
  .support-status-pill {
    padding: 0.35rem 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.775rem;
  }
  .support-title {
    font-size: clamp(1.55rem, 2.3vw, 2rem);
    margin-bottom: 0.4rem;
  }
  .support-description {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  .support-features-strip {
    gap: 0.75rem;
  }
  .support-feature-chip {
    padding: 0.75rem 1rem;
    gap: 0.65rem;
  }
  .feature-chip-icon {
    width: 36px;
    height: 36px;
  }
  .feature-chip-text strong {
    font-size: 0.875rem;
  }
  .feature-chip-text span {
    font-size: 0.75rem;
  }
  .support-banner-footer {
    padding-top: 0.85rem;
    gap: 1.25rem;
  }
  .btn-support-banner {
    padding: 0.85rem 1.6rem;
    font-size: 0.925rem;
  }
  .specialist-avatar-wrap {
    width: 36px;
    height: 36px;
  }

  /* Seção 08: Dúvidas Frequentes (FAQ) */
  .faq-section {
    padding: 2.5rem 0;
  }
  .faq-grid {
    grid-template-columns: 300px 1fr;
    gap: 2rem;
  }
  .faq-title {
    font-size: clamp(1.65rem, 2.5vw, 2.1rem);
    margin-top: 0.35rem;
    margin-bottom: 0.5rem;
  }
  .faq-subtitle {
    font-size: 0.925rem;
    line-height: 1.45;
    margin-bottom: 1rem;
  }
  .faq-trust-box {
    padding: 0.85rem;
    margin-bottom: 1rem;
  }
  .faq-accordion-list {
    gap: 0.6rem;
  }
  .faq-accordion-header {
    padding: 0.85rem 1.15rem;
  }
  .faq-question-text {
    font-size: 0.95rem;
  }
  .faq-category-tag {
    font-size: 0.7rem;
  }
  .faq-toggle-icon {
    width: 30px;
    height: 30px;
  }
  .faq-accordion-body p {
    font-size: 0.875rem;
    line-height: 1.45;
    margin-bottom: 0.75rem;
  }
  .faq-answer-footer {
    padding-top: 0.65rem;
  }

  /* Seção 3.8: Formulário */
  .lead-form-section {
    padding: 2.5rem 0;
  }
  .lead-form-container {
    gap: 2rem;
  }
  .lead-form-title {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    margin: 0.5rem 0;
  }
  .lead-form-subtitle {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
  }
  .form-benefits-list {
    gap: 0.55rem;
    margin-bottom: 1rem;
  }
  .form-benefit-item {
    padding: 0.6rem 0.85rem;
    gap: 0.65rem;
  }
  .form-benefit-icon {
    width: 32px;
    height: 32px;
  }
  .form-benefit-text strong {
    font-size: 0.85rem;
  }
  .form-benefit-text span {
    font-size: 0.775rem;
  }
  .form-compliance-card {
    padding: 0.75rem 0.85rem;
    margin-top: 0.25rem;
  }
  .form-compliance-card p {
    font-size: 0.775rem;
    line-height: 1.4;
  }
  .lead-form-card {
    padding: 1.5rem 1.5rem;
  }
  .lead-form {
    gap: 0.75rem;
  }
  .form-group {
    gap: 0.25rem;
  }
  .form-label {
    font-size: 0.825rem;
  }
  .form-input, .form-select {
    padding: 0.6rem 0.85rem 0.6rem 2.5rem;
    font-size: 0.875rem;
  }
  .input-icon {
    left: 0.75rem;
  }
  .btn-submit-form {
    padding: 0.85rem 1.5rem;
    font-size: 0.925rem;
  }
  .form-privacy-note {
    font-size: 0.75rem;
    margin-top: 0.25rem;
  }
}

@media (max-width: 1023px) {
  .app-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .app-visual {
    order: -1;
  }
  .support-features-strip {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .support-banner-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  .support-cta-wrap {
    align-items: center;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 680px) {
  .app-showcase, .support-hero, .faq-section {
    padding: 4rem 0;
  }
  .support-banner {
    padding: 2.5rem 1.25rem;
    gap: 2rem;
  }
  .support-feature-chip {
    padding: 1rem 1.125rem;
  }
  .btn-support-banner {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }
  .phone-frame-wrapper {
    width: 290px;
  }
  .phone-screen {
    height: 520px;
  }
  .faq-accordion-header {
    padding: 1.25rem 1.25rem;
  }
  .faq-accordion-item.active .faq-accordion-body {
    padding: 0 1.25rem 1.25rem 1.25rem;
  }
}

/* ==========================================================================
   SEÇÃO 3.8: FORMULÁRIO (CAPTURA DE LEADS & QUALIFICAÇÃO)
   ========================================================================== */
.lead-form-section {
  padding: 7rem 0;
  background: radial-gradient(circle at top right, rgba(201, 18, 18, 0.08) 0%, rgba(12, 13, 16, 0.95) 60%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-glass);
}

.lead-form-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.lead-form-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.lead-form-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: var(--color-text-white);
  margin: 1.25rem 0 1rem 0;
}

.lead-form-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.form-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  width: 100%;
}

.form-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.form-benefit-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(201, 18, 18, 0.3);
  transform: translateX(4px);
}

.form-benefit-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(201, 18, 18, 0.15);
  border: 1px solid rgba(201, 18, 18, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red-vivid);
  flex-shrink: 0;
}

.form-benefit-text {
  display: flex;
  flex-direction: column;
}

.form-benefit-text strong {
  font-size: 0.95rem;
  color: var(--color-text-white);
  margin-bottom: 0.2rem;
}

.form-benefit-text span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.form-compliance-card {
  padding: 1.25rem;
  background: rgba(201, 18, 18, 0.05);
  border: 1px solid rgba(201, 18, 18, 0.2);
  border-radius: var(--radius-md);
  margin-top: 0.5rem;
}

.compliance-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-red-vivid);
  margin-bottom: 0.5rem;
}

.form-compliance-card p {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Card do Formulário */
.lead-form-card {
  background: rgba(23, 24, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(201, 18, 18, 0.08);
  position: relative;
}

.lead-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-red-vivid), transparent);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-white);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.required-star {
  color: var(--color-red-vivid);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--color-text-subtle);
  pointer-events: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 2.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-text-white);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238F92A1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.form-select option {
  background-color: #17181C;
  color: var(--color-text-white);
  padding: 0.5rem;
}

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

.form-input:focus,
.form-select:focus {
  border-color: var(--color-red-vivid);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(201, 18, 18, 0.2);
}

.input-wrapper:focus-within .input-icon {
  color: var(--color-red-vivid);
}

.form-input.invalid,
.form-select.invalid {
  border-color: #ff5252;
  background: rgba(255, 82, 82, 0.05);
}

.error-msg {
  font-size: 0.775rem;
  color: #ff5252;
  display: none;
  margin-top: 0.2rem;
}

.form-group.has-error .error-msg,
.form-consent-group.has-error .error-msg {
  display: block;
}

/* Checkbox de Consentimento */
.form-consent-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.consent-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.consent-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.custom-checkbox {
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.consent-checkbox:checked + .custom-checkbox {
  background: var(--color-red-primary);
  border-color: var(--color-red-vivid);
  box-shadow: 0 0 10px rgba(201, 18, 18, 0.4);
}

.consent-checkbox:checked + .custom-checkbox::after {
  content: '✓';
  color: #FFFFFF;
  font-size: 14px;
  font-weight: bold;
}

.consent-checkbox:focus + .custom-checkbox {
  border-color: var(--color-red-vivid);
  box-shadow: 0 0 0 3px rgba(201, 18, 18, 0.25);
}

.consent-text {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.consent-link {
  color: var(--color-red-vivid);
  text-decoration: underline;
  transition: var(--transition);
}

.consent-link:hover {
  color: #FFFFFF;
}

/* Botão de Envio */
.btn-submit-form {
  width: 100%;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(135deg, var(--color-red-primary) 0%, var(--color-red-vivid) 100%);
  border: none;
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(201, 18, 18, 0.35);
  transition: all 0.35s ease;
  margin-top: 0.5rem;
}

.btn-submit-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 18, 18, 0.5);
  background: linear-gradient(135deg, #d31616 0%, #ff2e2e 100%);
}

.btn-submit-form:active {
  transform: translateY(0);
}

.btn-submit-form:disabled,
.btn-submit-form[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  background: linear-gradient(135deg, #3a3b40 0%, #25262a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  transform: none !important;
  color: #8f92a1;
}

.form-privacy-note {
  text-align: center;
  font-size: 0.775rem;
  color: var(--color-text-subtle);
  margin-top: 0.25rem;
}

/* Mensagem de Sucesso */
.form-success-message {
  display: none;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(0, 230, 118, 0.05);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: var(--radius-lg);
  animation: fadeInSuccess 0.4s ease forwards;
}

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

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #00e676;
  color: #0c0d10;
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.4);
}

.form-success-message h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.form-success-message p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}


/* ==========================================================================
   SEÇÃO 05: FOOTER INSTITUCIONAL, LGPD & COMPLIANCE
   ========================================================================== */
.footer-site {
  background-color: #08090b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5rem 0 3rem 0;
  color: var(--color-text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand-col .brand-logo-image {
  width: 76px;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.footer-company-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 1.25rem 0;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.footer-company-details strong {
  color: var(--color-text-white);
}

.footer-security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.sec-badge svg {
  color: var(--color-red-vivid);
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.885rem;
  color: var(--color-text-muted);
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-red-vivid);
  transform: translateX(3px);
}

/* Links do Ecossistema PH */
.footer-ecosystem-links a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.footer-ecosystem-links a:hover {
  background: rgba(201, 18, 18, 0.08);
  border-color: rgba(201, 18, 18, 0.3);
  transform: translateX(0);
}

.footer-ecosystem-links strong {
  font-size: 0.825rem;
  color: var(--color-text-white);
}

.eco-url {
  font-size: 0.725rem;
  color: var(--color-red-vivid);
  font-family: monospace;
}

/* Divisor */
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin-bottom: 2.5rem;
}

/* Caixa de Compliance */
.footer-compliance-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.compliance-notice-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.925rem;
  color: var(--color-text-white);
}

.compliance-notice-title svg {
  color: #ffb300;
}

.compliance-notice-text {
  font-size: 0.813rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.compliance-validation-banner {
  font-size: 0.8rem;
  background: rgba(255, 179, 0, 0.08);
  border: 1px solid rgba(255, 179, 0, 0.25);
  color: #ffd54f;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

/* Rodapé Inferior */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.813rem;
  color: var(--color-text-subtle);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1.75rem;
}

.footer-legal-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dot-separator {
  color: rgba(255, 255, 255, 0.2);
}

.footer-legal-info a,
.footer-lgpd-channel a {
  color: var(--color-text-muted);
  text-decoration: underline;
  transition: var(--transition);
}

.footer-legal-info a:hover,
.footer-lgpd-channel a:hover {
  color: var(--color-red-vivid);
}

/* Responsividade das Seções 3.8 e 5 */
@media (max-width: 1023px) {
  .lead-form-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 680px) {
  .lead-form-section {
    padding: 4rem 0;
  }
  .lead-form-card {
    padding: 2rem 1.25rem;
  }
  .footer-site {
    padding: 3.5rem 0 2rem 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
