/* ============================================================
   Vesper IA — Landing Page Contabilidade
   Reaproveita: styles.css (base, navbar, footer, tag-line) + chat.css (mockup)
   ============================================================ */

/* Seções: cabeçalho padrão */
.c-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.c-section-title {
  font-size: 2.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 18px 0 18px;
}

.c-section-sub {
  color: #a5a3ae;
  font-size: 1.2rem;
  line-height: 1.6;
}

.c-accent {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Botões */
.c-btn-primary,
.c-btn-secondary,
.c-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.22, 0.9, 0.25, 1);
}

.c-btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.c-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.55);
}

.c-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.c-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

/* ============================================================
   1. HERO
   ============================================================ */
.c-hero {
  position: relative;
  padding: 170px 0 90px;
  overflow: hidden;
}

.c-hero-container {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.c-hero-text {
  max-width: 620px;
}

.c-hero-title {
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 26px 0 24px;
  background: linear-gradient(to right, #ffffff, #c8d3e6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.c-hero-subtitle {
  font-size: 1.25rem;
  color: #a5a3ae;
  line-height: 1.6;
  margin-bottom: 34px;
}

.c-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Player de áudio */
.c-audio-player {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(45, 27, 78, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 14px 18px;
  max-width: 460px;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.c-audio-play {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.5);
  transition: transform 0.2s ease;
  position: relative;
}

.c-audio-play::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.4);
  z-index: -1;
  animation: cAudioPulse 1.8s ease-in-out infinite;
}

.c-audio-play.playing::after {
  display: none;
}

@keyframes cAudioPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}

.c-audio-play:hover {
  transform: scale(1.06);
}

.c-audio-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.c-audio-label {
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 500;
}

.c-audio-waves {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}

.c-audio-waves .c-bar {
  width: 3px;
  border-radius: 4px;
  background: rgba(165, 180, 252, 0.55);
  transition: background 0.2s ease;
}

.c-audio-waves.playing .c-bar {
  background: #a5b4fc;
  animation: cWave 0.9s ease-in-out infinite;
}

@keyframes cWave {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1.4); }
}

.c-audio-time {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 600;
  flex-shrink: 0;
}

.c-hero-note {
  margin-top: 16px;
  font-size: 0.95rem;
  color: #6b7280;
}

/* Mockup de celular / WhatsApp */
.c-hero-mock {
  display: flex;
  justify-content: center;
  position: relative;
}

.c-phone {
  width: 100%;
  max-width: 400px;
  background: rgba(20, 14, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
}

.c-phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(135deg, rgba(76, 70, 229, 0.35), rgba(124, 58, 237, 0.25));
}

.c-phone-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.c-phone-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.c-phone-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-phone-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.c-phone-meta strong {
  color: #fff;
  font-size: 0.95rem;
}

.c-phone-meta span {
  color: #cbd5e1;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.c-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

/* Ajustes do chat dentro do mockup */
.c-phone .chat-window {
  height: 480px;
  border-radius: 0 0 20px 20px;
  border: none;
  background: rgba(45, 27, 78, 0.4);
  box-shadow: none;
}

.c-phone .messages-area {
  padding: 1.25rem 1.5rem 1.5rem;
}

.c-phone .message-wrapper.message-user {
  margin-right: 0;
}

.c-phone .message-wrapper.message-ai {
  margin-left: 0;
}

/* ============================================================
   2. DORES
   ============================================================ */
.c-dores {
  padding: 110px 0 90px;
}

.c-dores-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.c-dor-card {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.06) 0%, rgba(15, 23, 42, 0.4) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px 32px;
  transition: all 0.4s cubic-bezier(0.22, 0.9, 0.25, 1);
}

.c-dor-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 18px 40px rgba(239, 68, 68, 0.12);
}

.c-dor-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  margin-bottom: 22px;
}

.c-dor-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}

.c-dor-card p {
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.65;
}

/* ============================================================
   3. SOLUÇÃO
   ============================================================ */
.c-solucao {
  position: relative;
  padding: 110px 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
}

.c-solucao-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.c-solucao > *:not(.c-solucao-bg) {
  position: relative;
  z-index: 1;
}

.c-timeline {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.c-step {
  position: relative;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(30, 41, 59, 0.5) 100%);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 22px;
  padding: 40px 28px 32px;
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.22, 0.9, 0.25, 1);
}

.c-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
  border-radius: 22px 22px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.c-step:hover::before {
  transform: scaleX(1);
}

.c-step:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.18);
}

.c-step-num {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #8b5cf6;
  margin-bottom: 18px;
}

.c-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  margin-bottom: 22px;
  box-shadow: 0 8px 22px rgba(99, 102, 241, 0.4);
}

.c-step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}

.c-step p {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.6;
}

.c-solucao-cta {
  text-align: center;
  margin-top: 56px;
}

/* ============================================================
   4. INTEGRAÇÕES
   ============================================================ */
.c-integracoes {
  padding: 100px 0;
}

.c-integra-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.c-integra-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  transition: all 0.3s ease;
}

.c-integra-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.07);
}

.c-integra-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: all 0.3s ease;
}

.c-integra-card:hover .c-integra-icon {
  transform: scale(1.08);
}

.c-integra-card span {
  font-size: 1rem;
  font-weight: 500;
  color: #e2e8f0;
}

/* Cores por integração */
.c-i-whatsapp { background: rgba(37, 211, 102, 0.15); color: #25d366; }
.c-i-asaas { background: rgba(0, 200, 150, 0.15); color: #00c896; }
.c-i-omie { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.c-i-contaazul { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.c-i-supabase { background: rgba(62, 207, 142, 0.15); color: #3ecf8e; }
.c-i-receita { background: rgba(250, 204, 21, 0.15); color: #facc15; }
.c-i-sistemas { background: rgba(168, 85, 247, 0.15); color: #a855f7; }

.c-integra-more {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.12));
  border-color: rgba(99, 102, 241, 0.3);
}

.c-integra-more .c-integra-icon {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

/* ============================================================
   5. CTA FINAL
   ============================================================ */
.c-cta-final {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #14072b 0%, #1a0b2e 100%);
}

.c-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.c-cta-bg .ai-race-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 65%);
}

.c-cta-container {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 30px;
  text-align: center;
}

.c-cta-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 20px 0 24px;
}

.c-cta-text {
  font-size: 1.2rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 20px;
}

.c-cta-text-strong {
  color: #e2e8f0;
}

.c-cta-text strong {
  color: #fff;
}

.c-cta-buttons {
  margin: 36px 0 16px;
}

.c-btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  font-size: 1.15rem;
  padding: 18px 40px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.c-btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(37, 211, 102, 0.55);
}

.c-cta-note {
  font-size: 0.95rem;
  color: #94a3b8;
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 1024px) {
  .c-hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .c-hero-text {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .c-hero-buttons,
  .c-audio-player {
    margin-left: auto;
    margin-right: auto;
  }

  .c-hero-title {
    font-size: 3rem;
  }

  .c-dores-grid,
  .c-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .c-integra-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .c-hero {
    padding-top: 140px;
  }

  .c-hero-container,
  .c-dores-grid,
  .c-timeline,
  .c-integra-grid {
    padding-left: 20px;
    padding-right: 20px;
  }

  .c-hero-title {
    font-size: 2.4rem;
  }

  .c-hero-subtitle {
    font-size: 1.1rem;
  }

  .c-section-title,
  .c-cta-title {
    font-size: 2rem;
  }

  .c-section-sub {
    font-size: 1.05rem;
  }

  .c-dores-grid,
  .c-timeline {
    grid-template-columns: 1fr;
  }

  .c-integra-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .c-hero-buttons .c-btn-primary,
  .c-hero-buttons .c-btn-secondary {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .c-hero-title {
    font-size: 2rem;
  }

  .c-audio-player {
    padding: 12px 14px;
    gap: 12px;
  }

  .c-audio-play {
    width: 42px;
    height: 42px;
  }

  .c-cta-text {
    font-size: 1.05rem;
  }

  .c-btn-whatsapp {
    width: 100%;
  }
}
