:root {
    --primary-color: #7c3aed; /* Roxo Vibrante (Violet 600) */
    --secondary-color: #000000; /* Preto */
    --accent-color: #a78bfa; /* Roxo Claro (Violet 400) */
    --text-dark: #0f172a;
    --text-muted: #475569;
    --bg-light: #edf2f8;
    --card-bg-dark: #f8fafc;
    --border-light: rgba(100, 116, 139, 0.24);
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    --animate-duration: 1s; /* Animações mais lentas e elegantes */
}

/* Aplica o fundo de "Estrelas Pretas" em fundo branco */
body {
    background-color: #e8eef6;
    background-image:
        linear-gradient(180deg, #e8eef6 0%, #f3f6fb 100%),
        radial-gradient(circle at 8% 0%, rgba(124, 58, 237, 0.06), transparent 34%),
        radial-gradient(circle at 92% 10%, rgba(37, 99, 235, 0.05), transparent 30%);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
}

.landing-page section {
    position: relative;
}

.landing-page section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.1) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.17;
    pointer-events: none;
    z-index: 0;
}

.landing-page .hero-section::after {
    display: none;
}

.landing-page section > * {
    position: relative;
    z-index: 1;
}

/* --- TIPOGRAFIA RESPONSIVA --- */
h1, .display-4 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.12);
    color: #5b21b6;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 auto 14px auto;
}

.hero-brand-inline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    justify-content: center;
    color: #1f2937;
    font-weight: 600;
    font-size: 0.98rem;
}

.hero-bullets i {
    color: #7c3aed;
    margin-right: 6px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: center;
    align-items: center;
}

.hero-proof-badge {
    background: rgba(124, 58, 237, 0.12);
    color: #4c1d95;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
}

.hero-proof-metric {
    color: #334155;
    font-weight: 600;
    font-size: 0.95rem;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .brand-name, .navbar-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800; /* Extra Bold */
    color: #000000;
    letter-spacing: -0.02em;
}

h2, .display-5 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p, .lead, .btn, li, span, small, a, .text-muted {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400; /* Regular */
    color: #334155; /* Slate 700 - Mais escuro para melhor contraste */
    line-height: 1.6;
}

.text-muted {
    color: var(--text-muted) !important;
}

p.lead {
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    max-width: 800px;
    margin: 1.5rem auto 2.5rem auto; /* Centraliza e dá espaço */
}

/* Navbar Limpa e Branca */
.floating-navbar {
    background-color: rgba(241, 245, 249, 0.82) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(148, 163, 184, 0.24);
    padding: 15px 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: calc(100% - 24px);
    left: 12px;
    right: 12px;
    top: 20px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

/* Centralização absoluta dos links em Desktop */


.navbar-scrolled {
    background-color: rgba(248, 250, 252, 0.95) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    top: 10px;
}

@media (min-width: 992px) {
    .floating-navbar .container {
        max-width: 1700px;
        padding-left: 22px;
        padding-right: 22px;
        position: relative;
    }

    .navbar-collapse {
        position: static;
        display: flex !important;
        align-items: center;
    }
    .navbar-nav.mx-auto {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0 !important;
        flex-wrap: nowrap;
        gap: 2px;
    }
    .navbar-buttons-group {
        position: static;
        top: auto;
        right: auto;
        transform: none;
        margin-left: auto !important;
        z-index: 2;
    }

    /* Dropdown Menu Customization (Glass Effect) */
    .dropdown-menu {
        border: 1px solid rgba(255, 255, 255, 0.5);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .dropdown-item:hover {
        background-color: rgba(124, 58, 237, 0.1);
        color: var(--primary-color);
    }
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    margin: 0 6px;
    position: relative;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Brand Logo (Estilo Dashboard) */
.brand-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), #818cf8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    transition: transform 0.3s ease;
    margin-right: 12px;
}

.navbar-brand:hover .brand-logo {
    transform: rotate(10deg) scale(1.05);
}

/* Brand Name (Igual Dashboard) */
.brand-name {
    font-weight: 800;
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero-section {
    padding: 160px 20px 120px 20px; /* Ajuste de padding */
    position: relative;
    z-index: 1;
    min-height: 80vh; /* Altura ajustada */
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centraliza verticalmente */
    background:
        radial-gradient(circle at 16% 12%, rgba(124, 58, 237, 0.22), transparent 34%),
        radial-gradient(circle at 86% 24%, rgba(124, 58, 237, 0.16), transparent 30%),
        linear-gradient(180deg, #050509 0%, #0a0b12 100%);
    perspective: 1000px; /* Necessário para o efeito 3D dos cards */
}

/* Partículas Animadas no Hero */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.24;
    pointer-events: none;
    z-index: 0;
}


.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    display: block;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.24) 0%, rgba(124, 58, 237, 0) 65%);
    filter: blur(20px);
    pointer-events: none;
    z-index: 0;
}


/* Ajuste para centralizar o texto (Sobrescreve colunas do Bootstrap) */
.hero-section .row {
    justify-content: center;
    
}

.hero-section .col-lg-6, .hero-section .col-md-6 {
    flex: 0 0 100% !important;
    max-width: 900px !important;
    width: 100% !important;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section .hero-tagline {
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(167, 139, 250, 0.34);
    color: #ddd6fe;
}

.hero-section h1,
.hero-section .text-dark,
.hero-section #hero-text-1 {
    color: #f8fafc !important;
}

.hero-section #hero-subtitle,
.hero-section .text-muted {
    color: #cbd5e1 !important;
}

.hero-section .brand-name {
    background: linear-gradient(135deg, #f8fafc 0%, #c4b5fd 45%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section .btn-outline-custom {
    border-color: rgba(255, 255, 255, 0.7);
    color: #f8fafc;
}

.hero-section .btn-outline-custom::before {
    background-color: #ffffff;
}

.hero-section .btn-outline-custom:hover {
    color: #0f172a !important;
    border-color: #ffffff;
}

.hero-section .btn-outline-custom:hover i,
.hero-section .btn-outline-custom:hover span {
    color: #0f172a !important;
}

/* --- BACKGROUNDS ANIMADOS (NOVO) --- */

.price-card {
    background: linear-gradient(180deg, #fdfefe 0%, #f5f8fc 100%);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01), 0 2px 4px -1px rgba(0, 0, 0, 0.01); /* Sombra ultra suave */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efeito elástico */
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
    border-color: rgba(124, 58, 237, 0.3); /* Brilho roxo na borda */
}


/* --- PREÇOS --- */
.price-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.price-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 3rem !important;
}

.price-card ul {
    flex-grow: 1;
    padding-left: 0;
    list-style: none;
    margin-top: 1.5rem;
}

.price-card li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    color: var(--text-muted);
    font-size: 1rem;
}

/* Destaque para o plano PRO */
.price-card.pro-plan {
    border: 2px solid var(--primary-color);
    box-shadow: 0 20px 40px -10px rgba(124, 58, 237, 0.15);
    position: relative;
    transform: scale(1.05);
    z-index: 10;
    background: linear-gradient(180deg, #f9f8ff 0%, #eff3ff 100%);
    margin-top: 15px; /* Espaço extra para a etiqueta não cortar */
    overflow: visible; /* Permite que a etiqueta saia do card */
}

.price-card.pro-plan:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 30px 60px -10px rgba(124, 58, 237, 0.15);
}

/* Etiqueta "Recomendado" (Estilo Tag Externa) */
.price-card.pro-plan::before {
    content: "RECOMENDADO";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #111827 0%, #4338ca 100%);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.25);
    border: 3px solid #eef2ff;
    padding: 7px 22px;
    border-radius: 999px;
    white-space: nowrap;
}
/* Esconde badges antigos internos para evitar duplicação e remover o português */
.price-card.pro-plan .badge {
    display: none !important;
}

/* Estilo para o preço ARS */
.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    vertical-align: middle;
    margin-right: 5px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.5px;
}

/* Botões */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), #6d28d9);
    border: none;
    color: white;
    padding: 12px 36px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #6d28d9, var(--primary-color));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

/* Efeito Premium Shine (Substitui Liquid) */
.btn-primary-custom.btn-liquid {
    background: linear-gradient(135deg, #7c3aed, #4c1d95) !important; /* Roxo Premium */
    color: #ffffff !important;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.btn-primary-custom.btn-liquid:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.6); /* Glow intenso */
    background: linear-gradient(135deg, #8b5cf6, #5b21b6) !important;
}

/* Feixe de Luz (Shine) */
.btn-primary-custom.btn-liquid::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    transition: none;
    z-index: 2;
}

.btn-primary-custom.btn-liquid:hover::after {
    left: 100%;
    transition: left 0.5s ease;
}

/* Garante que o ícone e o texto fiquem visíveis */
.btn-primary-custom.btn-liquid i,
.btn-primary-custom.btn-liquid span {
    color: inherit !important;
    position: relative;
    z-index: 3;
}

/* Remove o efeito antigo */
.btn-primary-custom.btn-liquid::before {
    display: none;
}

.btn-outline-custom {
    background-color: transparent;
    border: 2px solid #000000;
    color: #000000;
    padding: 12px 36px;
    border-radius: 50px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: #000000;
    /* Atraso leve (0.1s) para a cor mudar logo que o líquido começa a subir */
    transition: color 0.1s ease 0.1s, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efeito líquido para o botão de demonstração */
.btn-outline-custom::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #000000;
    z-index: -1;
    transition: height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-outline-custom:hover::before {
    height: 100%;
}

/* Configuração do Ícone e Texto */
.btn-outline-custom i, 
.btn-outline-custom span {
    position: relative;
    z-index: 2;
    transition: color 0.1s ease 0.1s;
}

.btn-outline-custom i {
    color: var(--primary-color); /* Roxo no estado normal */
}

.btn-outline-custom:hover i,
.btn-outline-custom:hover span {
    color: #ffffff !important;
}

/* Animações Scroll Refinadas */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- NOVOS ESTILOS PREMIUM SAAS --- */

.tracking-tight {
    letter-spacing: -0.03em;
}

/* --- DESTAQUE TIPO MARCA TEXTO (REPLICADO DO HERO) --- */
.text-highlight-marker {
    position: relative;
    display: inline-block;
    z-index: 1;
}
.text-highlight-marker::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: -2px;
    width: calc(100% + 4px);
    height: 25%;
    background-color: var(--primary-color);
    opacity: 0.25;
    z-index: -1;
    transform: skewX(-10deg);
}

/* --- NOVAS SEÇÕES (FAQ & CTA) --- */

/* --- SPOTLIGHT (Luz que segue o mouse) --- */
.card-spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Gradiente radial suave roxo */
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y), 
        rgba(140, 82, 255, 0.1), 
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

/* Garante que o conteúdo fique acima do spotlight */
.price-card > :not(.card-spotlight),
.feature-card > :not(.card-spotlight) {
    position: relative;
    z-index: 1;
}

.price-card:hover .card-spotlight,
.feature-card:hover .card-spotlight {
    opacity: 1;
}

/* Ajuste de tamanho dos preços */
.price-card h5 {
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

/* --- BOTÕES FLUTUANTES (WhatsApp e Tradução) --- */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.btn-whatsapp {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
}

.btn-whatsapp:hover {
    transform: scale(1.1) rotate(10deg);
    color: white;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* Tooltip do WhatsApp */
.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: #ffffff;
    color: #111827;
    padding: 16px 20px;
    border-radius: 16px;
    border-bottom-right-radius: 4px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    width: 260px;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    border: 1px solid rgba(15, 23, 42, 0.08);
    font-weight: 500;
}

.whatsapp-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

.hover-lift { transition: transform 0.2s; }
.hover-lift:hover { transform: translateY(-3px); }
.tracking-wide { letter-spacing: 1px; }
.tracking-wider { letter-spacing: 2px; }

/* --- SOCIAL PROOF AVATARS --- */
.avatar-group {
    display: flex;
    align-items: center;
}

.avatar-group img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -12px;
    object-fit: cover;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.avatar-group img:first-child {
    margin-left: 0;
}

.avatar-group img:hover {
    transform: translateY(-3px);
    z-index: 2;
}

/* --- HERO FLOATING CARDS (GLASSMORPHISM DARK) --- */

/* O Card em si */
.glass-card {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 280px; /* Ajustado para não ficar muito grande */
    padding: 16px 20px;
    
    /* Efeito Glassmorphism Branco (White Glass) */
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    /* Bordas sutis simulando reflexo de luz */
    border: 1px solid rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    box-shadow: 0 22px 44px rgba(124, 58, 237, 0.14); /* Sombra suave roxa */
    
    position: absolute;
    z-index: 0; /* Atrás do conteúdo principal se sobrepor, ou ajuste conforme necessário */
    pointer-events: none;
}

/* Posicionamento Lateral */
.glass-card.pos-1 {
    top: 12%;
    left: 5%;
    transform: rotateX(10deg) rotateY(15deg) rotateZ(-4deg);
    animation: enterCard1 1.2s ease-out, floatCard1 8s ease-in-out infinite 1.2s;
}

.glass-card.pos-2 {
    top: 12%;
    right: 5%;
    transform: rotateX(10deg) rotateY(-15deg) rotateZ(4deg);
    animation: enterCard2 1.4s ease-out, floatCard2 9s ease-in-out infinite 1.4s;
}

.glass-card.pos-3 {
    bottom: 20%;
    left: 5%;
    transform: rotateX(10deg) rotateY(15deg) rotateZ(2deg);
    animation: enterCard3 1.2s ease-out, floatCard3 10s ease-in-out infinite 1.2s;
}

.glass-card.pos-4 {
    bottom: 20%;
    right: 5%;
    transform: rotateX(10deg) rotateY(-15deg) rotateZ(-2deg);
    animation: enterCard4 1.4s ease-out, floatCard4 11s ease-in-out infinite 1.4s;
}


/* Animações de Flutuação 3D */
@keyframes floatCard1 {
    0%, 100% { transform: translateY(0) rotateX(10deg) rotateY(15deg) rotateZ(-4deg); }
    50% { transform: translateY(-20px) rotateX(10deg) rotateY(15deg) rotateZ(-4deg); }
}

@keyframes floatCard2 {
    0%, 100% { transform: translateY(0) rotateX(10deg) rotateY(-15deg) rotateZ(4deg); }
    50% { transform: translateY(-25px) rotateX(10deg) rotateY(-15deg) rotateZ(4deg); }
}

@keyframes floatCard3 {
    0%, 100% { transform: translateY(0) rotateX(10deg) rotateY(15deg) rotateZ(2deg); }
    50% { transform: translateY(-15px) rotateX(10deg) rotateY(15deg) rotateZ(2deg); }
}

@keyframes floatCard4 {
    0%, 100% { transform: translateY(0) rotateX(10deg) rotateY(-15deg) rotateZ(-2deg); }
    50% { transform: translateY(-20px) rotateX(10deg) rotateY(-15deg) rotateZ(-2deg); }
}


/* Animações de Entrada (FadeInDownBig / FadeInUp) */
@keyframes enterCard1 {
    0% { opacity: 0; transform: translateY(-200px) rotateX(10deg) rotateY(15deg) rotateZ(-4deg); }
    100% { opacity: 1; transform: translateY(0) rotateX(10deg) rotateY(15deg) rotateZ(-4deg); }
}

@keyframes enterCard2 {
    0% { opacity: 0; transform: translateY(-200px) rotateX(10deg) rotateY(-15deg) rotateZ(4deg); }
    100% { opacity: 1; transform: translateY(0) rotateX(10deg) rotateY(-15deg) rotateZ(4deg); }
}

@keyframes enterCard3 {
    0% { opacity: 0; transform: translateY(200px) rotateX(10deg) rotateY(15deg) rotateZ(2deg); }
    100% { opacity: 1; transform: translateY(0) rotateX(10deg) rotateY(15deg) rotateZ(2deg); }
}

@keyframes enterCard4 {
    0% { opacity: 0; transform: translateY(200px) rotateX(10deg) rotateY(-15deg) rotateZ(-2deg); }
    100% { opacity: 1; transform: translateY(0) rotateX(10deg) rotateY(-15deg) rotateZ(-2deg); }
}


/* Caixa do Ícone */
.glass-card .icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: rgba(124, 58, 237, 0.1); /* Fundo roxo claro */
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 14px;
    flex-shrink: 0;
}

/* Estilo do Ícone (SVG) */
.glass-card .document-icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--primary-color); /* Ícone Roxo */
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Container das linhas de skeleton */
.glass-card .skeleton-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
    min-width: 0;
}

.glass-card .card-text-line {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    display: block;
    white-space: normal;
    padding: 0;
}

.glass-card .card-text-line.small {
    font-weight: 600;
    font-size: 0.82rem;
    color: rgba(124, 58, 237, 0.85);
    padding: 0;
}

/* Barras simulando texto */
.glass-card .skeleton-line {
    background: rgba(0, 0, 0, 0.06); /* Cinza claro para contraste no branco */
    border-radius: 8px;
    height: 12px;
}

.glass-card .line-1 {
    width: 85%;
}

.glass-card .line-2 {
    width: 50%;
}

/* Esconde cards em telas menores para não poluir */
@media (max-width: 1200px) {
    .glass-card {
        display: none;
    }
}

/* --- RECURSOS SECTION BACKGROUND (NOVO) --- */
#recursos {
    color: var(--text-dark);
}

.recursos-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: transparent;
}

/* Partículas no fundo de Recursos (Igual ao Hero) */
#recursos::before {
    display: none;
}

#recursos h2 {
    color: var(--text-dark) !important;
}

/* --- PAINEL SHOWCASE PREMIUM --- */
.painel-premium {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #e9edf6 0%, #dde5ef 100%);
}

.painel-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.09) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.16;
    pointer-events: none;
}

.painel-premium .container {
    position: relative;
    z-index: 1;
}

.painel-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 auto 12px auto;
}

.painel-title-accent {
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.painel-frame {
    background: #f8fafc;
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.painel-visual {
    position: relative;
}

.painel-robot {
    position: absolute;
    right: -50px;
    bottom: -25px;
    width: 160px;
    max-width: 20%;
    height: auto;
    filter: drop-shadow(0 16px 30px rgba(15, 23, 42, 0.18));
    pointer-events: none;
    z-index: 3;
}

.painel-frame-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    background: #f1f5f9;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.painel-dots {
    display: inline-flex;
    gap: 6px;
}

.painel-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5f5;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.painel-dots span:nth-child(1) { background: #fca5a5; }
.painel-dots span:nth-child(2) { background: #fcd34d; }
.painel-dots span:nth-child(3) { background: #86efac; }

.painel-url {
    font-size: 0.9rem;
    color: #475569;
    text-align: center;
    font-weight: 600;
}

.painel-badge {
    background: #0f172a;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 999px;
}

.painel-media {
    background: #f4f7fb;
    padding: 18px;
}

.painel-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}







.painel-float-wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.painel-float-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(180deg, #fdfefe 0%, #f2f6fb 100%);
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.painel-float-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.painel-float-wrap .painel-float-card.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.25s ease;
}

.painel-float-wrap .painel-float-card.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.painel-float-wrap .painel-float-card.reveal-on-scroll:nth-child(2) {
    transition-delay: 0.12s;
}

.painel-float-wrap .painel-float-card.reveal-on-scroll:nth-child(3) {
    transition-delay: 0.24s;
}

.float-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
    color: #2563eb;
    font-size: 1.2rem;
}

.float-title {
    font-weight: 700;
    color: #0f172a;
}

.float-text {
    font-size: 0.95rem;
    color: #475569;
}

@media (max-width: 991px) {
    .painel-float-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .painel-frame-bar {
        grid-template-columns: auto 1fr;
    }

    .painel-badge {
        display: none;
    }

}

/* --- RESPONSIVIDADE E ADAPTAÇÕES MOBILE --- */

/* Tablets e Desktops Menores (max-width: 991px) */
@media (max-width: 991px) {
    .hero-section {
        padding-bottom: 80px;
        padding-top: 120px;
        text-align: center;
    }

    .waves-container svg {
        height: 60px;
    }

    /* Navbar Mobile */
    .navbar-collapse {
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
        margin-top: 15px;
        border: 1px solid rgba(0,0,0,0.05);
    }

    .navbar-nav .nav-item {
        margin-bottom: 10px;
        text-align: center;
    }

    .navbar-nav .btn {
        width: 100%;
        margin-top: 10px;
    }

    .price-card {
        margin-bottom: 24px;
    }
}

/* Tablets e Celulares Grandes (max-width: 768px) */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .btn-whatsapp {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
}

/* Celulares Pequenos (max-width: 576px) */
@media (max-width: 576px) {
    .hero-section {
        padding-top: 90px;
        padding-bottom: 40px;
    }

    .btn-primary-custom, .btn-outline-custom {
        width: 100%;
        margin-bottom: 12px;
        display: block;
        padding: 14px 20px;
    }

    .price-card .card-body {
        padding: 2rem 1.5rem !important;
    }

    .price-amount {
        font-size: 2rem;
    }

    h1, .display-4 {
        font-size: 2.2rem; /* Fallback/Override if clamp isn't enough */
    }
}

/* --- VANTAGENS SECTION BACKGROUND --- */
#vantagens {
    position: relative;
    overflow: hidden;
}

.vantagens-bg {
    position: absolute;
    top: 0;
    right: -18%;
    width: 70%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.40;
    background-image:
        linear-gradient(to left, rgba(255,255,255,1) 15%, rgba(255,255,255,0) 65%),
        url("../img/painel-dashboard.2ea7b78cce79.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    opacity: 0.6;
}

.vantagens-content {
    position: relative;
    z-index: 2;
}

/* --- ANIMAÇÃO PARA O TEXTO "IA ATIVA" --- */
.typing-effect {
    overflow: hidden;
    border-right: .15em solid orange;
    white-space: nowrap;
    margin: 0 auto;
    animation:
        typing 3.5s steps(40, end),
        blink-caret .75s step-end infinite;
    display: inline-block;
    width: 0; /* Start at 0 */
    animation-fill-mode: forwards; /* Keep the final state */
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: orange }
}

/* Ajuste das Ondas para conectar com a próxima seção (branca/clara) */
.waves-container .shape-fill {
    fill: #f8fafc !important; /* Cor do fundo da página (Claro) */
}

/* Camadas de ondas coloridas para maior visibilidade */
.parallax > use:nth-child(1) {
    fill: rgba(124, 58, 237, 0.3) !important;
}
.parallax > use:nth-child(2) {
    fill: rgba(124, 58, 237, 0.15) !important;
}
.parallax > use:nth-child(3) {
    fill: rgba(124, 58, 237, 0.05) !important;
}
.parallax > use:nth-child(4) {
    fill: #f8fafc !important;
}

/* Oculta elementos que serão animados via Animate.css ao rolar */
.scroll-animate {
    opacity: 0;
}

.robo-img {
    position: absolute;
    bottom: -75px;
    right: -300px;
    width: 90%;
    width: 38%;
    z-index: 2;
    transform: scaleX(-1);
}

/* --- Premium "Como Funciona" cards v2 --- */
#como-funciona {
    position: relative;
    z-index: 1;
}

.step-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.12);
}

.step-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
    margin-bottom: 1.5rem;
}

.step-card-icon-wrapper {
    width: 80px; /* Increased size */
    height: 80px; /* Increased size */
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card-icon-wrapper i {
    font-size: 2.8rem; /* Increased size */
    color: #1d4ed8;
}

.step-card-icon-img {
    width: 80px; /* Set size */
    height: 80px; /* Set size */
    object-fit: cover;
    border-radius: 16px;
}

.step-card-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.step-card p {
    line-height: 1.6;
    color: #475569;
}

/* --- Floating Medical Icons --- */
.floating-icon-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.05);
    position: absolute;
    transform-style: preserve-3d;
}

.medical-icon {
    width: 36px;
    height: 36px;
    stroke: var(--primary-color);
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Fill icons need fill color and no stroke */
.medical-icon.fill {
    fill: var(--primary-color);
    stroke: none;
    opacity: 0.7;
}

/* Positioning */
.floating-icon.pos-a { top: 10%; left: 15%; animation: floatIcon 10s ease-in-out infinite; }
.floating-icon.pos-b { top: 20%; right: 12%; animation: floatIcon 12s ease-in-out infinite 2s; }
.floating-icon.pos-c { bottom: 25%; left: 20%; animation: floatIcon 11s ease-in-out infinite 1s; }
.floating-icon.pos-d { bottom: 15%; right: 18%; animation: floatIcon 9s ease-in-out infinite 3s; }
.floating-icon.pos-e { top: 60%; left: 10%; animation: floatIcon 13s ease-in-out infinite 2.5s; }


@keyframes floatIcon {
    0% { transform: translateY(0px) rotateZ(0deg) scale(1); opacity: 0.8; }
    25% { transform: translateY(-20px) rotateZ(8deg) scale(1.05); opacity: 1; }
    50% { transform: translateY(0px) rotateZ(0deg) scale(1); opacity: 0.8; }
    75% { transform: translateY(20px) rotateZ(-8deg) scale(0.95); opacity: 0.7; }
    100% { transform: translateY(0px) rotateZ(0deg) scale(1); opacity: 0.8; }
}

/* --- Seção de Funcionalidades Detalhadas --- */
#detailed-features {
    background:
        radial-gradient(circle at 12% 0%, rgba(124, 58, 237, 0.22), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(124, 58, 237, 0.14), transparent 30%),
        linear-gradient(180deg, #050509 0%, #090910 100%);
    color: #f8fafc;
}

#detailed-features::after {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
    opacity: 0.24;
}

#detailed-features .text-dark,
#detailed-features h2 {
    color: #f8fafc !important;
}

#detailed-features .lead {
    color: rgba(226, 232, 240, 0.9) !important;
}

#detailed-features .feature-card {
    background: linear-gradient(180deg, #0f1016 0%, #07080d 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.5rem; /* Bordas mais arredondadas */
    padding: 2.5rem;
    text-align: left; /* Alinhado à esquerda para um visual mais profissional */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#detailed-features .feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(167, 139, 250, 0.6);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.55), 0 0 24px rgba(124, 58, 237, 0.34);
}

#detailed-features .feature-icon {
    font-size: 2.2rem;
    color: #a78bfa;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(124, 58, 237, 0.08));
    width: 60px;
    height: 60px;
    border-radius: 18px;
    line-height: 60px;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.28), 0 8px 20px rgba(124, 58, 237, 0.28);
}

#detailed-features .feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #f8fafc;
}

#detailed-features .feature-description {
    color: #cbd5e1;
    font-size: 0.95rem;
    flex-grow: 1;
}

#detailed-features .feature-card .card-spotlight {
    background: radial-gradient(
        320px circle at var(--mouse-x) var(--mouse-y),
        rgba(124, 58, 237, 0.42),
        rgba(124, 58, 237, 0.16) 35%,
        transparent 72%
    );
}

.detailed-accent {
    background: linear-gradient(135deg, #ddd6fe 0%, #a78bfa 45%, #7c3aed 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Seção de Próxima Funcionalidade --- */
#upcoming-feature {
    background: linear-gradient(180deg, #f8fafd 0%, #edf2f8 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

#como-funciona {
    background: linear-gradient(180deg, #eef3f9 0%, #e6edf8 100%);
}

#testimonials {
    background: linear-gradient(180deg, #eef3f9 0%, #e6edf8 100%);
}

#faq {
    background: linear-gradient(180deg, #e6edf8 0%, #eef3f9 100%) !important;
}

.bg-primary-soft {
    background-color: rgba(124, 58, 237, 0.1);
    font-weight: 600;
}

.text-primary-dark {
    color: #5b21b6;
}

.image-fade-container {
    position: relative;
}

.image-fade-container img {
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

/* --- Seção de FAQ --- */
#faq .accordion-item {
    background-color: #f8fbff;
    border: 1px solid var(--border-light);
    border-radius: 1rem !important; /* Important para sobrescrever Bootstrap */
    margin-bottom: 1rem;
    overflow: hidden; /* Garante que o conteúdo interno respeite as bordas arredondadas */
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: box-shadow 0.3s ease;
}

#faq .accordion-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

#faq .accordion-header {
    margin: 0;
}

#faq .accordion-button {
    font-weight: 600;
    color: var(--text-dark);
    background-color: #f8fbff;
    padding: 1.5rem;
    font-size: 1.1rem;
}

#faq .accordion-button:not(.collapsed) {
    background-color: rgba(124, 58, 237, 0.08);
    color: var(--primary-color);
    box-shadow: inset 0 -1px 0 var(--border-light);
}

#faq .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

#faq .accordion-button::after {
    /* Ícone de "mais" e "menos" customizado */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2364748b'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

#faq .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237c3aed'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

#faq .accordion-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.testimonial-title-container {
    position: relative;
    display: inline-block;
}


.star {
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="gold"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>');
    background-size: contain;
    opacity: 0;
    transform: scale(0);
}

.testimonial-title-container.animate .star {
    animation: pop 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards, twinkle 3s ease-in-out infinite 1s;
}

.star.star-1 { top: -20px; left: -30px; animation-delay: 0.1s; }
.star.star-2 { top: 0; right: -40px; animation-delay: 0.2s; }
.star.star-3 { bottom: -10px; left: 50%; animation-delay: 0.3s; }
.star.star-4 { top: 50%; right: -80px; animation-delay: 0.4s; }
.star.star-5 { bottom: 0; left: -50px; animation-delay: 0.5s; }

@keyframes pop {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.5) rotate(15deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}





