/*--------------------------------------------------------------
# OrbiMaps Custom Stylesheet
--------------------------------------------------------------*/

/* === Globals & Resets === */
:root {
    --bs-primary: #0d6efd; /* Cor primária Bootstrap (pode personalizar) */
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-body-font-family: 'Inter', sans-serif;
    --bs-gradient: linear-gradient(135deg, rgba(13, 110, 253, 1) 0%, rgba(0, 194, 255, 1) 100%); /* Exemplo Gradiente */

    /* Cores Suaves para fundos de cards */
    --bs-primary-soft: rgba(13, 110, 253, 0.1);
    --bs-success-soft: rgba(25, 135, 84, 0.1);
    --bs-info-soft: rgba(13, 202, 240, 0.1);
    --bs-warning-soft: rgba(255, 193, 7, 0.1);
}

body {
    font-family: var(--bs-body-font-family);
    color: #444;
    line-height: 1.6;
}

a {
    color: var(--bs-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0a58ca; /* Tom mais escuro do primário */
    text-decoration: none; /* Mantém sem sublinhado no hover */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600; /* Semi-bold para títulos */
    color: var(--bs-dark);
}

/* === Helper Classes === */
.text-gradient {
    background: var(--bs-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block; /* Necessário para o gradiente funcionar corretamente */
}

.z-index-1 { z-index: 1; }
.z-index-2 { z-index: 2; }

.opacity-75 { opacity: 0.75; }
.opacity-50 { opacity: 0.5; }
.opacity-25 { opacity: 0.25; }
.opacity-10 { opacity: 0.10; }

.hover-opacity-100:hover { opacity: 1 !important; }

.rounded-top-extra { /* Para cards com header colorido */
    border-top-left-radius: 1.5rem !important;
    border-top-right-radius: 1.5rem !important;
    margin-top: -1.5rem; /* Puxa para cima */
    padding-top: 2rem; /* Compensa o puxão */
}


/* === Navbar === */
.navbar {
    transition: padding 0.3s ease, background-color 0.3s ease;
}
/* Pode adicionar um efeito de encolher/mudar bg no scroll com JS */
.navbar .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--bs-primary);
}
.navbar-brand img {
    max-height: 45px; /* Ajuste conforme necessário */
}

/* === Hero Section === */
.hero-section {
    position: relative; /* Para posicionar elementos filhos */
}
.hero-section::before { /* Overlay adicional se necessário */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.1); /* Overlay sutil extra */
    z-index: 0;
}
.hero-section .hero-content {
    position: relative;
    z-index: 1;
}
.hero-section .subtitle {
    font-weight: 300;
    opacity: 0.9;
}
.hero-section .stat-number {
    /* font-family: 'Seu_Fonte_Display', sans-serif; /* Opcional: fonte diferente para números */
}
.hero-section .stat-label {
    font-weight: 400;
    opacity: 0.8;
}
.scroll-indicator i {
    animation: bounce 2s infinite;
}

/* Animação Pulse para botão */
.pulse {
  animation: pulse-animation 1.5s infinite;
}
@keyframes pulse-animation {
  0% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7); } /* Cor primária com alpha */
  70% { box-shadow: 0 0 0 15px rgba(13, 110, 253, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

/* Animação Bounce para scroll indicator */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* === Clients Section / Logo Marquee === */
.clients-section {
    overflow: hidden; /* Esconde o conteúdo que sai da tela */
}
.logo-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.marquee-track {
    display: flex;
    width: fit-content; /* Largura baseada no conteúdo */
    animation: marquee-animation 40s linear infinite; /* Ajuste a duração */
    will-change: transform; /* Otimização para animação */
}
.client-logo {
    max-height: 40px; /* Altura máxima dos logos */
    width: auto;
    filter: grayscale(100%); /* Logos em cinza */
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes marquee-animation {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Metade da largura total dos logos (incluindo duplicatas) */
        /* O JS pode calcular isso ou ajuste manualmente */
        transform: translateX(-50%);
    }
}

/* === Sections Headers === */
.section-header {
    margin-bottom: 4rem;
}
.section-subtitle {
    letter-spacing: 1px;
    font-size: 0.8rem;
    display: inline-block; /* Para padding funcionar bem */
    padding: 5px 15px;
    background-color: var(--bs-primary-soft); /* Cor primária suave */
    border-radius: 50px; /* Pílula */
    color: var(--bs-primary);
}
.section-title {
    margin-top: 0.5rem;
}
.section-description {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


/* === Card Styles (Profile, Features, Pricing, Testimonials) === */
.profile-card, .feature-card, .pricing-card, .testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.75rem; /* Bordas mais arredondadas */
}
.profile-card:hover, .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important; /* Sombra mais pronunciada no hover */
}

.profile-card-header {
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    padding: 1rem 0;
}
/* Cores suaves para fundos de header */
.bg-primary-soft { background-color: var(--bs-primary-soft); }
.bg-success-soft { background-color: var(--bs-success-soft); }
.bg-info-soft { background-color: var(--bs-info-soft); }
.bg-warning-soft { background-color: var(--bs-warning-soft); }


/* === Demo Section === */
.interactive-demo .feature-item i {
    width: 20px; /* Alinhar ícones */
}
.browser-mockup {
    border: 1px solid #e0e0e0;
}
.browser-mockup .demo-image {
    display: block; /* Remove espaço extra abaixo da imagem */
}
.browser-mockup .play-button {
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.browser-mockup:hover .play-button {
    transform: scale(1.1) translate(-50%, -50%);
    background-color: #0a58ca !important; /* Escurece no hover */
}

/* === Pricing Section === */
.pricing-card {
    position: relative; /* Para o badge */
}
.pricing-card .price .cents {
    font-weight: 600;
    position: relative;
    top: -0.5em; /* Alinha a vírgula */
}
.pricing-card ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}
.pricing-card ul li i {
    width: 20px; /* Largura fixa para ícones check/times */
    text-align: center;
}

.pricing-card.featured {
    border-width: 2px;
    transform: scale(1.03); /* Destaca um pouco */
    z-index: 1; /* Fica acima dos outros */
}
.featured-badge {
    font-size: 0.75rem;
    font-weight: 600;
}

/* === Testimonials Section === */
.testimonial-card .author img {
    border: 2px solid var(--bs-light); /* Pequena borda na imagem */
}
.testimonial-card blockquote::before { /* Adiciona aspas estilizadas */
    content: "\f10d"; /* Ícone de aspas Font Awesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--bs-primary);
    font-size: 1.5rem;
    margin-right: 0.5rem;
    opacity: 0.3;
    position: relative;
    top: 0.2em;
}

/* === Final CTA Section === */
.final-cta .cta-card {
   /* background: linear-gradient(135deg, var(--bs-primary), #0a58ca); /* Gradiente */
}
.final-cta input::placeholder {
    color: #a0a0a0;
}

/* === Footer === */
.main-footer {
    background-color: #212529; /* Tom de cinza escuro */
}
.footer-link {
    color: rgba(255, 255, 255, 0.65); /* Branco com opacidade */
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}
.footer-link:hover {
    color: rgba(255, 255, 255, 1);
    opacity: 1;
}
.footer-column h3 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}
.social-links a {
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block; /* Para transform funcionar */
}
.social-links a:hover {
    color: var(--bs-primary);
    transform: translateY(-2px);
}

/* === Back to Top Button === */
#backToTopBtn {
    z-index: 1030; /* Abaixo de modais, acima da maioria */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* === Responsive Adjustments === */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto; /* Altura automática em telas menores */
        padding: 6rem 0 4rem 0; /* Ajuste padding */
    }
    .navbar-nav {
        text-align: center; /* Centraliza links no mobile */
        margin-top: 1rem;
    }
    .pricing-card.featured {
        transform: none; /* Remove destaque de escala no mobile */
    }
    .footer-column {
        margin-bottom: 2rem; /* Mais espaço entre colunas no mobile */
    }
     .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .hero-section .display-3 {
        font-size: 2.8rem; /* Título menor no mobile */
    }
    .hero-section .lead {
        font-size: 1rem;
    }
    .hero-stats .stat-number {
        font-size: 1.8rem;
    }
     .section-title.display-5 {
        font-size: 2.2rem; /* Títulos de seção menores */
    }
    .marquee-track {
        animation-duration: 25s; /* Animação mais rápida no mobile */
    }
    .client-logo {
        max-height: 30px; /* Logos menores */
        margin: 0 1rem !important; /* Menos espaço */
    }
}