/* Estilos personalizados além do Tailwind */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Golos+Text:wght@400..900&display=swap');

body {
  font-family: 'Golos', sans-serif;
  background-color: #0f172a;
  color: #e2e8f0;
  font-size: 18px;
}

h1,
h2,
.forja,
.numbers-desc,
.pain-item-title,
.pain-market-data,
.pain-frase {
  font-family: 'Bebas Neue', sans-serif;
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Hero Section com imagem de fundo */
.hero-section {
  background-color: #0F172A;
  background-image: 
    /* linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), */
    url('../assets/bg-home.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

/* Garantir que o conteúdo fique acima do overlay */
.hero-section > * {
  position: relative;
  z-index: 2;
}

.approach-section {
  background-color: #0F172A;
  background-image:
    linear-gradient(rgba(6, 12, 27, 0.5), rgba(6, 12, 27, 0.5)),
    url('../assets/bg-laranja-1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

.pain-section {
  background-color: #0F172A;
  background-image:
    linear-gradient(rgba(11, 22, 51, 0.5), rgba(11, 22, 51, 0.5)),
    url('../assets/bg-roxo-2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.services-section {
  background-color: #0F172A;
  background-image:
    linear-gradient(rgba(11, 22, 51, 0.5), rgba(11, 22, 51, 0.5)),
    url('../assets/bg-roxo-1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.why-us-section {
  background-color: #0F172A;
  background-image:
    /* linear-gradient(rgba(6, 12, 27, 0.5), rgba(6, 12, 27, 0.5)), */
    url('../assets/bg-laranja-2.png');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative; 
}

.faq-section {
  background-color: #0F172A;
  background-image:
    linear-gradient(rgba(11, 22, 51, 0.5), rgba(11, 22, 51, 0.5)),
    url('../assets/bg-roxo-3.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.cta-button {
    animation: pulse 2s infinite;
}

/* Estilos para os cards de serviços */
.service-card:hover {
    transform: translateY(-5px);
}

/* Estilos para o FAQ */
.faq-button[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.active {
    max-height: 800px;
}

/* Estilos para o formulário */
input:focus, textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Estilos para os badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-blue {
    background-color: #1e3a8a;
    color: #93c5fd;
}

.badge-green {
    background-color: #064e3b;
    color: #6ee7b7;
}

.badge-yellow {
    background-color: #78350f;
    color: #fbbf24;
}

/* Estilos para os ícones */
.icon-container {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.icon-blue {
    background-color: #1e3a8a;
    color: #93c5fd;
}

.icon-green {
    background-color: #064e3b;
    color: #6ee7b7;
}

/* Estilos para o contador regressivo */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-size: 1.5rem;
    font-weight: 700;
    background-color: #1e40af;
    color: white;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    margin-bottom: 0.25rem;
}

.countdown-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
}

/* Estilos para gráficos e elementos visuais */
.chart-container {
    position: relative;
    margin: auto;
    height: 300px;
    width: 100%;
}

/* Estilos para dispositivos móveis */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-section {
        background-attachment: scroll;
        background-size: cover;
    }
    
    .countdown {
        gap: 0.5rem;
    }
    
    .countdown-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }

    .lottie {
        display: none;
    }
}

/* Efeito de hover nos links */
a.hover-effect {
    position: relative;
}

a.hover-effect::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #3b82f6;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

a.hover-effect:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Estilos para os testimonials */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(59, 130, 246, 0.1);
    font-family: serif;
}

/* Estilos para os ícones de benefícios */
.benefit-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    margin-bottom: 1rem;
    background-color: #1e3a8a;
    color: #93c5fd;
}

.plus {
    font-size: 0.6em;
    line-height: 0.3em;
}

/* Estilos específicos para tema dark */
.dark-card {
    background-color: #1e293b;
    border-color: #334155;
}

.dark-card:hover {
    background-color: #334155;
}

.dark-border {
    border-color: #334155;
}

.dark-bg-secondary {
    background-color: #1e293b;
}

.dark-bg-tertiary {
    background-color: #334155;
}

.dark-text-primary {
    color: #f1f5f9;
}

.dark-text-secondary {
    color: #cbd5e1;
}

.dark-text-muted {
    color: #94a3b8;
}