/* ==========================================================================
   ESTILOS ESPECÍFICOS DA PÁGINA LANCES
   ========================================================================== */

/* ==========================================================================
   SEÇÃO DE BENEFÍCIOS PARA A MARCA (FUNDO ROXO)
   ========================================================================== */
.beneficios-marca-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #0f172a;
}

.beneficios-marca-section::before {
    opacity: 0.15;
}

.beneficios-marca-section .section-title {
    color: #ffffff;
}

.beneficios-marca-section .planos-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 768px) {
    .beneficios-marca-section .planos-home-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CARIMBO GRÁTIS - LANCE DO INSTAGRAM
   ========================================================================== */
.section-title-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.gratis-badge {
    display: inline-block;
    position: absolute;
    top: -20px;
    right: -30px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-weight: 900;
    font-size: 1.65rem;
    padding: 0.75rem 1.8rem;
    border-radius: 10px;
    transform: rotate(12deg);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4),
                0 2px 4px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 10;
    animation: pulse-gratis 2s ease-in-out infinite;
}

.gratis-badge::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    border-radius: 8px;
    z-index: -1;
}

@keyframes pulse-gratis {
    0%, 100% {
        transform: rotate(12deg) scale(1);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4),
                    0 2px 4px rgba(0, 0, 0, 0.2),
                    inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: rotate(12deg) scale(1.05);
        box-shadow: 0 6px 16px rgba(16, 185, 129, 0.6),
                    0 3px 6px rgba(0, 0, 0, 0.3),
                    inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

@media (max-width: 768px) {
    .gratis-badge {
        position: relative;
        top: 0;
        right: 0;
        display: block;
        margin: 1rem auto 0;
        transform: rotate(0deg);
        font-size: 1.4rem;
        padding: 0.6rem 1.5rem;
    }
    
    .gratis-badge::before {
        display: none;
    }
    
    @keyframes pulse-gratis {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
    }
}

/* ==========================================================================
   SEÇÃO DE DOWNLOAD DO APLICATIVO
   ========================================================================== */
.app-download-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px; /* Espaço para o header fixo ao fazer scroll para esta seção */
}

.app-download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid-app" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23cbd5e1" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid-app)"/></svg>');
    opacity: 0.5;
}

.app-download-section header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.app-download-section header img {
    /* Garante que a logo tenha fundo transparente */
    background: transparent;
    /* Remove qualquer borda ou sombra que possa aparecer */
    border: none;
    box-shadow: none;
    /* Garante que a imagem seja renderizada com transparência */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.app-download-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.app-download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    border: 2px solid transparent;
}

.app-download-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.app-download-btn i {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.app-store-btn {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
}

.app-store-btn:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.google-play-btn {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    color: white;
}

.google-play-btn:hover {
    background: linear-gradient(135deg, #34a853 0%, #4285f4 100%);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.app-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.app-btn-label {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 400;
}

.app-btn-store {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .app-download-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .app-download-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .app-download-section {
        padding: 4rem 0;
    }
}

/* ==========================================================================
   ESPAÇAMENTO ESPECÍFICO PARA CTA NA PÁGINA LANCES
   ========================================================================== */
.app-download-section + .cta-section {
    margin-top: 4rem;
}

.beneficios-marca-section + .app-download-section {
    margin-top: 4rem;
}

/* ==========================================================================
   SEÇÃO DE REDES SOCIAIS
   ========================================================================== */
.social-media-section {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px;
}

.social-media-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid-social" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23e2e8f0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid-social)"/></svg>');
    opacity: 0.4;
}

.social-media-section header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.social-media-section header img {
    /* Garante que a logo tenha fundo transparente */
    background: transparent;
    /* Remove qualquer borda ou sombra que possa aparecer */
    border: none;
    box-shadow: none;
    /* Garante que a imagem seja renderizada com transparência */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.social-media-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.social-media-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    border: 2px solid transparent;
}

.social-media-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.social-media-btn i {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.youtube-btn {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    color: white;
}

.youtube-btn:hover {
    background: linear-gradient(135deg, #CC0000 0%, #FF0000 100%);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.instagram-btn {
    background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCB045 100%);
    color: white;
}

.instagram-btn:hover {
    background: linear-gradient(135deg, #FCB045 0%, #FD1D1D 50%, #833AB4 100%);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.social-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.social-btn-label {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 400;
}

.social-btn-platform {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .social-media-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .social-media-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .social-media-section {
        padding: 4rem 0;
    }
}

/* Espaçamento entre seções */
.app-download-section + .social-media-section {
    margin-top: 0;
}

.app-header {
    text-align: center;
}

.app-logo-large {
    height: 120px;
    width: auto;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    /* Garante que a imagem mantenha transparência */
    background: transparent;
    /* Remove qualquer fundo branco que possa aparecer */
    mix-blend-mode: normal;
}

/* Ajuste responsivo para mobile */
@media (max-width: 768px) {
    .app-logo-large {
        height: 90px;
        margin-bottom: 1rem;
    }
}

/* Ajuste para telas muito pequenas */
@media (max-width: 480px) {
    .app-logo-large {
        height: 70px;
    }
}


