/* 
 * Snaplar - CSS Personalizado
 * Cores principais: Purple #6B4EFF | Teal #00D9C0 | Dark #1A1A1A
 */

/* ============================================
   VARIÁVEIS E RESET
   ============================================ */
:root {
    --snaplar-purple: #6B4EFF;
    --urban-teal: #00D9C0;
    --snaplar-dark: #1A1A1A;
    --alert-yellow: #FFD93D;
    --bg-showcase: #F8FAFC;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1A1A1A;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   SEÇÕES PRINCIPAIS E LAYOUT GERAL
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, #6B4EFF 0%, #503AA8 100%);
    color: white;
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

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

.py-section {
    padding: 90px 0;
}

@media (max-width: 768px) {
    .py-section {
        padding: 60px 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.showcase-section {
    background: #F8FAFC;
}

.pricing-section {
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    color: white;
}

.footer-wrapper {
    background: #1A1A1A;
    color: white;
}

.footer {
    padding: 60px 0 30px;
}

/* ============================================
   ELEMENTOS DE TEXTO E TÍTULOS
   ============================================ */

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 32px;
}

.section-badge {
    display: inline-block;
    background: rgba(107, 78, 255, 0.1);
    color: #6B4EFF;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1A1A1A;
    line-height: 1.3;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
}

.section-title-main {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .section-title-main {
        font-size: 2rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.section-description {
    font-size: 1.125rem;
    color: #64748B;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   BOTÕES
   ============================================ */

.btn-hero-primary {
    background: white;
    color: #6B4EFF;
    border: 2px solid white;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #503AA8;
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.btn-pricing {
    background: linear-gradient(135deg, #6B4EFF, #503AA8);
    color: white;
    border: none;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(107, 78, 255, 0.4);
}

/* ============================================
   PROVAS SOCIAIS E MICRO-ELEMENTOS
   ============================================ */

.micro-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.micro-proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.95;
}

.micro-proof-item i {
    font-size: 1.1rem;
}

.micro-case {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
}

.micro-case-title {
    font-size: 1.25rem;
    line-height: 1.7;
    color: white;
    margin-bottom: 16px;
    font-weight: 500;
}

.micro-case-result {
    color: #00D9C0;
    font-weight: 600;
    font-size: 1rem;
}

/* ============================================
   PROBLEMA / SOLUÇÃO
   ============================================ */

.problem-solution-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.problem-tag {
    display: inline-block;
    background: #FEE2E2;
    color: #DC2626;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.solution-tag {
    display: inline-block;
    background: #D1FAE5;
    color: #059669;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.problem-text {
    font-size: 1.125rem;
    color: #DC2626;
    font-weight: 600;
    line-height: 1.7;
}

.solution-text {
    font-size: 1rem;
    color: #059669;
    line-height: 1.7;
}

/* ============================================
   SHOWCASE E DESTAQUES
   ============================================ */

.showcase-image {
    max-width: 520px;
    margin: 0 auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.showcase-highlight {
    border-left: 4px solid #00D9C0;
    padding-left: 24px;
    background: white;
    padding: 20px 24px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* ============================================
   CARROSSEL DE CARDS
   ============================================ */

.carousel-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.carousel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: linear-gradient(135deg, #6B4EFF, #503AA8);
    overflow: hidden;
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(107, 78, 255, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
}

.card-content {
    padding: 24px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-description {
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 16px;
}

.card-highlight {
    background: rgba(107, 78, 255, 0.05);
    border-left: 4px solid #6B4EFF;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
}

.card-highlight-text {
    color: #6B4EFF;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ============================================
   CONTROLES DO CARROSSEL (BOOTSTRAP)
   ============================================ */

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #6B4EFF;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
    color: #1A1A1A;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    color: white;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    opacity: 0.5;
    border: none;
}

.carousel-indicators button.active {
    opacity: 1;
    background: #00D9C0;
}

/* ============================================
   ACCORDION (FAQ)
   ============================================ */

.accordion-item {
    border: 1px solid #E2E8F0;
    border-radius: 12px !important;
    margin-bottom: 16px;
    overflow: hidden;
}

.accordion-button {
    background: white;
    color: #1A1A1A;
    font-weight: 600;
    padding: 20px 24px;
    font-size: 1.125rem;
}

.accordion-button:not(.collapsed) {
    background: #F8FAFC;
    color: #6B4EFF;
    box-shadow: none;
}

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

.accordion-body {
    padding: 20px 24px;
    color: #64748B;
    line-height: 1.7;
}

/* ============================================
   CARDS GENÉRICOS
   ============================================ */

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(107, 78, 255, 0.2);
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.value-anchor {
    background: white;
    padding: 48px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 48px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

/* ============================================
   TABELA DE COMPARAÇÃO DE PLANOS
   ============================================ */

.table {
    margin-bottom: 0;
}

.table thead th {
    background: #F8FAFC;
    color: #1A1A1A;
    font-weight: 700;
    border: none;
    padding: 20px;
}

.table tbody td {
    padding: 16px 20px;
    vertical-align: middle;
    border-color: #E2E8F0;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Destaque do plano recomendado (última coluna) */
.table thead th:last-child {
    background: rgba(107, 78, 255, 0.1);
    color: #6B4EFF;
    border: 2px solid #6B4EFF;
}

.table tbody td:last-child {
    background: rgba(107, 78, 255, 0.02);
    border-right: 2px solid rgba(107, 78, 255, 0.2);
    border-left: 2px solid rgba(107, 78, 255, 0.2);
}

.table tbody tr:last-child td:last-child {
    border-bottom: 2px solid rgba(107, 78, 255, 0.2);
}

/* ============================================
   MENSAGEM ROTATIVA / BANNER DE ATENÇÃO
   ============================================ */

.rotating-message {
    background: linear-gradient(90deg, 
        rgba(107, 78, 255, 0.1) 0%, 
        rgba(107, 78, 255, 0.2) 50%, 
        rgba(107, 78, 255, 0.1) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
    border: 2px solid rgba(107, 78, 255, 0.3);
    border-radius: 12px;
    padding: 20px 32px;
    text-align: center;
    color: #6B4EFF;
    font-weight: 600;
    margin: 24px 0;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.rotating-message-icon {
    display: inline-block;
    animation: pulse 2s infinite;
    margin-right: 12px;
}

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

/* ============================================
   CLASSES UTILITÁRIAS / OUTRAS
   ============================================ */

.badge {
    backdrop-filter: blur(10px);
}

.position-relative {
    position: relative;
}

@media (max-width: 768px) {
    .position-relative {
        height: auto !important;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Hover opacity utility */
.hover-opacity {
    transition: opacity 0.3s ease;
}

.hover-opacity:hover {
    opacity: 0.8;
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Efeitos e Animações Extras */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}