﻿
:root {
    --primary-color: #1E4356;
    --accent-color: #68A4C4;
    --primary-light: #f3f6f3;
    --text-dark: #1a2519;
    --text-muted: #606c5f;
    --bg-global: #fafbfa;
    --card-bg: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.at-every-step {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-global);
    color: var(--text-dark);
    line-height: 1.6;
    padding: 80px 20px;
}

.header-section {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

    .header-section h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 16px;
        color: var(--text-dark);
        letter-spacing: -0.5px;
    }

    .header-section p {
        color: var(--text-muted);
        font-size: 1.05rem;
    }

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.process-card {
    background-color: var(--card-bg);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

    .process-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(30, 67, 86, 0.08);
    }

    /* Destaque para o primeiro card */
    .process-card.featured {
        background-color: var(--primary-color); /* #1E4356 */
        color: #ffffff;
    }

        .process-card.featured .step-number {
            color: rgba(255, 255, 255, 0.3);
        }

        .process-card.featured .step-title {
            color: #ffffff;
        }

        .process-card.featured .step-description {
            color: rgba(255, 255, 255, 0.85);
        }

.card-header-flow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: #e2e8e2;
    line-height: 1;
}

.step-icon {
    font-size: 1.2rem;
    opacity: 0.6;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.step-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.badge-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: var(--bg-global);
    color: var(--text-muted);
}

/* Badge do card featured → #68A4C4 */
.process-card.featured .badge-pill {
    background-color: var(--accent-color);
    color: #ffffff;
    border: none;
}

/* Área Visual Interna dos Cards */
.preview-box {
    background-color: var(--primary-light);
    border-radius: 16px;
    padding: 20px;
    margin-top: auto;
}

.process-card.featured .preview-box {
    background-color: rgba(0, 0, 0, 0.15);
}

/* Customizações específicas dos elementos visuais internos */
.chat-sim {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.85rem;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 80%;
}

    .chat-bubble.in {
        background-color: #ffffff;
        color: var(--text-dark);
        align-self: flex-start;
    }

    /* Bubble de resposta → #68A4C4 */
    .chat-bubble.out {
        background-color: var(--accent-color);
        color: #ffffff;
        align-self: flex-end;
    }

.payment-sim {
    display: flex;
    gap: 15px;
}

.pay-col {
    flex: 1;
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.02);
}

    /* Coluna TOTAL → #1E4356 */
    .pay-col.filled {
        background-color: var(--primary-color);
        color: white;
    }

.pay-val {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 5px;
}

.list-sim {
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.list-item {
    background: #ffffff;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Status dots → #68A4C4 */
.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.footer-note {
    grid-column: span 2;
    text-align: left;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: -10px;
    padding-left: 10px;
}



.btn-convite-pi {
    background-color: #66A1C0 !important;
    border-color: #66A1C0 !important;
}
/* Smartphone Outer Frame (Carcaça Externa) */

.preview-panel {
    /* Dimensões externas = Tela (290x590) + Padding das bordas (12px de cada lado) */
    width: 314px; /*290px + 24px de padding */
    height: 614px; /* 590px + 24px de padding */
    background: #1a1a1a;
    border-radius: 45px;
    padding: 12px;
    position: relative;
    margin: 10px auto; /* Centraliza o painel no container */
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.30);
    /* Animação de exibição */
    opacity: 0;
    visibility: hidden;
    transform: scale(.75);
    transition: opacity .4s ease, transform .4s ease, visibility .4s;
}

    /* Quando visível (toggle via JS) */
    .preview-panel.show {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

/* Área da tela do Smartphone (Área útil interna) */
.preview-screen {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: 290px; /* Garante a largura exata da tela */
    height: 590px; /* Garante a altura exata da tela */
    border-radius: 34px;
    overflow: hidden;
    background: #fff;
}

    /* Iframe ocupando 100% da área da tela */
    .preview-screen iframe {
        width: 100% !important;
        height: 100% !important;
        border: none;
        display: inline-grid;
    }

/* Iframe fim Ts */

/* Responsividade para Tablets e Smartphones */
@@media (max-width: 868px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .footer-note {
        grid-column: span 1;
    }

    .at-every-step {
        padding: 40px 16px;
    }
}

/* Botão de Destaque */
/* Container pai com contexto de posicionamento estrito */
#banner-home .banner-wrapper {
    position: relative !important;
    width: 100% !important;
    display: block !important;
}

    /* Força a imagem a definir a altura do container */
    #banner-home .banner-wrapper img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Posicionamento dos botões DENTRO da imagem */
.banner-acoes-container {
    position: absolute !important;
    bottom: 12% !important; /* Mantém sempre dentro do banner */
    left: 25.5% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

/* Botão Principal Verde */
.btn-destaque {
    background-color: #83c635 !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 6px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
}

/* Botão Secundário Transparente Dourado */
.btn-secundario {
    background-color: transparent !important;
    color: #e5c378 !important;
    border: 1.5px solid #e5c378 !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6.5px 18px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* Ajustes para telemóveis e ecrãs pequenos */
@media (max-width: 768px) {
    .banner-acoes-container {
        bottom: 8% !important;
        gap: 6px !important;
    }

    .btn-destaque, .btn-secundario {
        padding: 4px 8px !important;
        font-size: 0.65rem !important;
    }
}
