/* ============================================
   APP SHOWCASE & BOTÃO FLUTUANTE
   Promoção do PWA no site
   ============================================ */

/* ============================================
   SEÇÃO SHOWCASE DO APP
   ============================================ */
.app-showcase {
    background: linear-gradient(135deg, #035A85 0%, #024a6e 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.app-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 212, 35, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.app-showcase .container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

/* Conteúdo de Texto */
.app-showcase-content {
    flex: 1;
    color: var(--branco-neve);
}

.app-showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249, 212, 35, 0.2);
    color: var(--dourado-solar);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.app-showcase-badge svg {
    width: 18px;
    height: 18px;
}

.app-showcase h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.app-showcase h2 span {
    color: var(--dourado-solar);
}

.app-showcase-description {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Lista de Funcionalidades */
.app-features-list {
    list-style: none;
    margin-bottom: 35px;
}

.app-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
}

.app-features-list li svg {
    width: 24px;
    height: 24px;
    color: var(--dourado-solar);
    flex-shrink: 0;
}

/* Botões */
.app-showcase-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.app-showcase .btn-app {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--dourado-solar);
    color: var(--azul-oceano);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(249, 212, 35, 0.35);
}

.app-showcase .btn-app:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(249, 212, 35, 0.45);
    background: #fff;
}

.app-showcase .btn-app svg {
    width: 22px;
    height: 22px;
}

/* Mockup do Celular */
.app-showcase-mockup {
    flex: 0 0 320px;
    position: relative;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.4),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    animation: floatPhone 4s ease-in-out infinite;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #035A85 0%, #024a6e 50%, #035A85 100%);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Notch do celular */
.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 0 0 18px 18px;
    z-index: 10;
}

/* Conteúdo da tela do app */
.phone-app-content {
    padding: 40px 15px 25px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.phone-app-logo {
    width: 140px;
    height: 55px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: none;
}

.phone-app-logo img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.phone-app-logo svg {
    width: 40px;
    height: 40px;
    color: var(--azul-oceano);
}

.phone-app-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
}

.phone-app-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    margin-bottom: 10px;
}

/* Cards de preview do app */
.phone-preview-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phone-preview-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-preview-card-icon {
    width: 32px;
    height: 32px;
    background: var(--dourado-solar);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-preview-card-icon svg {
    width: 18px;
    height: 18px;
    color: var(--azul-oceano);
}

.phone-preview-card-text {
    text-align: left;
}

.phone-preview-card-text strong {
    display: block;
    color: #fff;
    font-size: 0.8rem;
    margin-bottom: 1px;
}

.phone-preview-card-text span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.65rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    display: block;
}

/* Animação do celular flutuando */
@keyframes floatPhone {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ============================================
   BOTÃO FLUTUANTE DO APP
   ============================================ */
.app-float-btn {
    position: fixed;
    left: 25px;
    bottom: 30px;
    z-index: 997;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #035A85, #024a6e);
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 8px 25px rgba(3, 90, 133, 0.4);
    transition: all 0.3s ease;
    animation: pulseApp 2s ease-in-out infinite;
}

.app-float-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(3, 90, 133, 0.5);
    animation: none;
}

.app-float-btn-icon {
    width: 32px;
    height: 32px;
    background: var(--dourado-solar);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-float-btn-icon svg {
    width: 20px;
    height: 20px;
    color: var(--azul-oceano);
}

.app-float-btn-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.2;
}

.app-float-btn-text small {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Badge NOVO */
.app-float-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    animation: bounceIn 0.5s ease;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
}

@keyframes pulseApp {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(3, 90, 133, 0.4);
    }

    50% {
        box-shadow: 0 8px 35px rgba(3, 90, 133, 0.6), 0 0 20px rgba(249, 212, 35, 0.3);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .app-showcase .container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .app-showcase-mockup {
        flex: none;
        margin-bottom: 20px;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
        margin: 0 auto;
    }

    .app-showcase h2 {
        font-size: 2.2rem;
    }

    .app-features-list li {
        justify-content: center;
    }

    .app-showcase-buttons {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .app-showcase {
        padding: 60px 0;
    }

    .app-showcase h2 {
        font-size: 1.8rem;
    }

    .app-showcase-description {
        font-size: 1rem;
    }

    .phone-mockup {
        width: 260px;
        height: 480px;
        padding: 10px;
    }

    .phone-notch {
        width: 80px;
        height: 20px;
    }

    .phone-app-content {
        padding: 35px 12px 12px;
    }

    .phone-app-logo {
        width: 120px;
        height: 45px;
    }

    .phone-app-logo svg {
        width: 28px;
        height: 28px;
    }

    .phone-preview-card {
        padding: 8px 10px;
    }

    /* Botão flutuante no topo para mobile */
    .app-float-btn {
        position: fixed;
        left: 55%;
        transform: translateX(-50%);
        top: 30px;
        bottom: auto;
        padding: 8px 16px;
        font-size: 0.8rem;
        border-radius: 25px;
        z-index: 1001;
        gap: 8px;
        animation: none;
    }

    /* Hover sem deslocamento no mobile */
    .app-float-btn:hover {
        transform: translateX(-50%) scale(1.02);
        box-shadow: 0 8px 25px rgba(3, 90, 133, 0.5);
    }

    .app-float-btn-icon {
        width: 26px;
        height: 26px;
    }

    .app-float-btn-icon svg {
        width: 14px;
        height: 14px;
    }

    .app-float-btn-text {
        flex-direction: row;
        gap: 6px;
    }

    .app-float-btn-text small {
        font-size: 0.75rem;
        display: none;
    }

    .app-float-btn-text span {
        font-size: 0.8rem;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .app-showcase h2 {
        font-size: 1.5rem;
    }

    .phone-mockup {
        width: 180px;
        height: 360px;
    }

    .app-showcase .btn-app {
        padding: 12px 24px;
        font-size: 1rem;
    }

    /* Botão ainda mais compacto */
    .app-float-btn .app-float-btn-text span:last-child {
        display: none;
    }

    .app-float-btn {
        padding: 10px 12px;
    }
}