/* ==========================================================================
   RACHADEL INVESTIMENTOS - CLEAN & CORPORATE DESIGN (AZUL CLARO SÓLIDO SEM EFEITOS)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Cores Principais Institucionais (Azul Mais Claro, Vibrante e Sofisticado) */
  --primary-dark: #0E2047;
  --primary-blue: #1D66FF;
  --primary-blue-hover: #004BEE;

  /* Neutros Escuros (Azul Marinho Mais Claro e Elegante, Sem Ser Fundo Preto) */
  --bg-dark: #0B1938;
  --bg-card-dark: #13254E;
  --text-white: #FFFFFF;

  /* Neutros Claros / Brancos */
  --bg-light-white: #FFFFFF;
  --bg-light-soft: #F8FAFC;
  --text-dark: #000000F2;
  --text-dark-title: #0F172A;
  --text-subdark: #1E293B;
  --text-muted: #94A3B8;

  /* Bordas e Sombras */
  --border-light: rgba(255, 255, 255, 0.16);
  --border-card-white: #E2E8F0;
  --border-input: #CBD5E1;
  --border-focus: #1D66FF;

  /* Fontes (Estilo Notion/Inter/Apple) */
  --font-main: 'NotionInter', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ==========================================================================
   MICRO-ANIMAÇÕES ULTRA-LÉVEIS & FLUTUAÇÃO
   ========================================================================== */
.motion-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.motion-delay-1 { transition-delay: 0.08s; }
.motion-delay-2 { transition-delay: 0.16s; }
.motion-delay-3 { transition-delay: 0.24s; }

/* Efeito de Flutuação Sutil (Floating) */
.float-animation {
  animation: floatSmooth 4s ease-in-out infinite;
  will-change: transform;
}

@keyframes floatSmooth {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Efeito de Brilho (Shimmer / Sheen Sweep) para Logos Menores */
.shimmer-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 12px;
}

.shimmer-wrapper::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -150%;
  width: 100%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 70%
  );
  transform: rotate(25deg);
  pointer-events: none;
  opacity: 0;
}

.shimmer-wrapper.shimmer-active::after {
  animation: shineSweep 1.1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes shineSweep {
  0% { left: -150%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 150%; opacity: 0; }
}

/* ==========================================================================
   HEADER / NAVEGAÇÃO
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 13, 30, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--text-white);
}

.nav-cta {
  background: var(--primary-blue);
  color: var(--text-white) !important;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background-color 0.2s ease;
}

.nav-cta:hover {
  background: var(--primary-blue-hover);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION (FUNDO MAIS CLARO E ILUMINADO)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 130px;
  padding-bottom: 90px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(to right, rgba(11, 25, 56, 0.55) 0%, rgba(11, 25, 56, 0.25) 50%, rgba(11, 25, 56, 0.40) 100%), url('../images/HERO SECTION.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(11, 25, 56, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  width: fit-content;
  font-size: 0.85rem;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 0px 0px 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero-badge-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #3B82F6;
}

.hero-logo-symbol {
  width: 65px;
  height: auto;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.hero-headline {
  font-family: var(--font-main);
  font-size: 2.65rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-white);
  letter-spacing: -0.02em;
  margin: 0px 0px 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* Cor Azul Claro Sólida Limpa (Sem degradê e Sem animação/brilho) */
.hero-headline span {
  color: #60A5FA !important;
  background: none !important;
  -webkit-text-fill-color: #60A5FA !important;
  animation: none !important;
  filter: none !important;
  display: inline;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.hero-subheadline {
  font-size: 1.15rem;
  color: #F1F5F9;
  font-weight: 500;
  max-width: 600px;
  line-height: 1.6;
  margin: 0px 0px 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #FFFFFF;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
  font-weight: 500;
}

.benefit-item svg {
  width: 18px;
  height: 18px;
  color: #60A5FA;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* ==========================================================================
   FORMULÁRIO KOMMO CRM (CLIP CIRÚRGICO DO ESPAÇO VAGO E SEM CAIXA DUPLA)
   ========================================================================== */
.hero-form-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.hero-form-card {
  background: transparent !important;
  color: inherit !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  position: relative;
  z-index: 10;
  border: none !important;
  width: 100%;
  max-width: 430px;
  margin: 0 0 0 auto;
}

/* Contêiner de Recorte Cirúrgico do Formulário Kommo */
.kommo-form-clip {
  width: 100%;
  max-width: 430px;
  height: 415px !important;
  max-height: 415px !important;
  overflow: hidden !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4) !important;
  margin: 0 0 0 auto;
  position: relative;
  background: #FFFFFF;
}

/* Força o Iframe dentro do Recorte com Espaçamento Perfeito no Topo */
.kommo-form-clip iframe,
iframe[id^="amoforms_iframe"],
.amoforms_iframe {
  width: 100% !important;
  max-width: 100% !important;
  height: 500px !important;
  border: none !important;
  margin-top: 5px !important; /* Espaçamento ideal para não cortar no topo */
  margin-bottom: 0 !important;
  box-shadow: none !important;
  display: block !important;
  position: relative !important;
}

/* Skeleton de Carregamento Instantâneo */
.form-skeleton {
  width: 100%;
  max-width: 430px;
  height: 415px;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 2rem 1.75rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-left: auto;
}

.skeleton-field {
  width: 100%;
  height: 44px;
  background: #F1F5F9;
  border-radius: 8px;
  animation: skeletonPulse 1.2s ease-in-out infinite alternate;
}

.skeleton-btn {
  width: 100%;
  height: 46px;
  background: #1D66FF;
  border-radius: 8px;
  margin-top: 0.3rem;
  opacity: 0.85;
}

@keyframes skeletonPulse {
  0% { opacity: 0.5; }
  100% { opacity: 0.9; }
}

.form-header {
  text-align: left;
  margin-bottom: 1.5rem;
}

.form-header h3 {
  font-family: var(--font-main);
  font-size: 1.45rem;
  font-weight: 700;
  color: #0F172A !important;
  letter-spacing: -0.01em;
  margin: 0px 0px 6px;
}

.form-header p {
  font-size: 0.9rem;
  color: #475569 !important;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1E293B !important;
}

.form-input, .form-select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  background: #F8FAFC !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 8px;
  color: #0F172A !important;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-input::placeholder {
  color: #94A3B8 !important;
}

.form-input:focus, .form-select:focus {
  outline: none;
  background: #FFFFFF !important;
  border-color: #0052FF !important;
  box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.18) !important;
}

.form-select option {
  background: #FFFFFF !important;
  color: #0F172A !important;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-blue);
  margin-top: 3px;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.78rem;
  color: #475569 !important;
  line-height: 1.4;
  cursor: pointer;
}

.checkbox-group a {
  color: #0052FF !important;
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  padding: 0.95rem;
  background: #0052FF !important;
  color: #FFFFFF !important;
  border: none;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.35);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: #0043D1 !important;
  box-shadow: 0 6px 18px rgba(0, 82, 255, 0.5);
}

.form-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #64748B !important;
  margin-top: 0.5rem;
}

/* ==========================================================================
   CARDS COM NÚMERO PERFEITAMENTE CENTRALIZADO & ELEGANTE
   ========================================================================== */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.giant-number-card {
  position: relative;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 1.6rem 2rem 1.6rem 6.5rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-height: 105px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.giant-number-card:hover {
  transform: translateY(-3px);
  border-color: #0052FF;
  box-shadow: 0 14px 30px rgba(0, 82, 255, 0.12);
}

.giant-number-card .bg-number {
  position: absolute;
  left: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 4.6rem;
  font-weight: 900;
  font-family: var(--font-main);
  line-height: 1;
  color: #0052FF;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.04em;
  text-align: center;
  width: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.giant-number-card .card-content {
  position: relative;
  z-index: 2;
}

.giant-number-card .card-content h4 {
  color: #0F172A;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.giant-number-card .card-content p {
  color: #334155;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.5;
}

/* --- CARDS AZUL MARINHO DISCRETO COM NÚMERO BRANCO METALIZADO E CENTRALIZADO --- */
.blue-card-white-number {
  background: linear-gradient(135deg, #0B1938 0%, #13254E 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 10px 25px rgba(11, 25, 56, 0.18) !important;
}

.blue-card-white-number:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.4) !important;
  box-shadow: 0 14px 30px rgba(7, 19, 48, 0.22) !important;
}

.blue-card-white-number .bg-number {
  background: linear-gradient(180deg, #FFFFFF 0%, #CBD5E1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
  opacity: 0.95;
}

.blue-card-white-number .card-content h4 {
  color: #FFFFFF !important;
  font-weight: 700;
}

.blue-card-white-number .card-content p {
  color: #CBD5E1 !important;
  font-weight: 400;
}

/* ==========================================================================
   ESTILO DE TÍTULOS PREMIUM & ESPAÇAMENTO DIFERENCIADO
   ========================================================================== */
.section {
  padding: 110px 0 100px 0;
  position: relative;
  scroll-margin-top: 80px;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 4.5rem auto;
}

.section-subtitle-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 82, 255, 0.08);
  border: 1px solid rgba(0, 82, 255, 0.2);
  color: #0052FF;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  padding: 0.45rem 1.35rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.section-dark .section-subtitle-badge {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.3);
  color: #60A5FA;
}

.section-title-premium {
  font-family: var(--font-main);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-light-white .section-title-premium,
.section-light-soft .section-title-premium {
  color: #0F172A;
}

.section-dark .section-title-premium {
  color: #FFFFFF;
}

.title-accent-bar {
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #0052FF, #60A5FA);
  border-radius: 4px;
  margin: 1.25rem auto 0 auto;
}

.section-desc-premium {
  font-size: 1.12rem;
  line-height: 1.7;
  max-width: 740px;
  margin: 0 auto;
  font-weight: 400;
}

.section-light-white .section-desc-premium,
.section-light-soft .section-desc-premium {
  color: #334155;
}

.section-dark .section-desc-premium {
  color: #94A3B8;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.feature-card {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.feature-card img {
  display: block;
  margin: 0 auto 1.5rem auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  align-self: center;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 82, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  color: #3B82F6;
  flex-shrink: 0;
}

.feature-title {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  width: 100%;
  text-align: center;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}

/* --- SEÇÃO CLARA / BRANCA --- */
.section-light-white {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
}

/* --- SEÇÃO CLARA SUAVE --- */
.section-light-soft {
  background-color: #F8FAFC !important;
  color: #0F172A !important;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

/* --- SEÇÃO ESCURA --- */
.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-white);
}

/* CTA Centrado */
.cta-block {
  text-align: center;
  margin-top: 3.5rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: #0052FF;
  color: #FFFFFF;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.3);
}

.btn-cta:hover {
  background: #0043D1;
  transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #040814;
  border-top: 1px solid var(--border-light);
  padding: 60px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 400px;
}

.footer-title {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-white);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.disclaimer-text {
  font-size: 0.78rem;
  color: #64748B;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .hero-subheadline {
    max-width: 100%;
  }

  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-title-premium {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 100px;
    padding-bottom: 60px;
    background-position: center center;
  }

  .main-nav {
    display: none;
  }

  .hero-headline {
    font-size: 2.1rem;
  }

  .hero-subheadline {
    font-size: 1rem;
  }

  .hero-form-card {
    padding: 1.5rem 1.25rem;
  }

  .section-title-premium {
    font-size: 1.85rem;
  }

  .giant-number-card {
    padding: 1.5rem 1.5rem 1.5rem 4.8rem;
  }

  .giant-number-card .bg-number {
    font-size: 3.8rem;
    left: 1rem;
    width: 2.5rem;
  }
}
