/* ===========================
   AJUSTES ESPECÍFICOS PARA PCA
   (Glass Cloud Base herdada de servicos.css)
=========================== */

/* GRID MAIS AMPLO PARA PORTAIS */
.pca-grid {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto 70px;
    padding: 20px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

/* CARTÕES PCA — HERDAM O GLASS CLOUD DO SERVIÇOS, MAS COM AJUSTES */
.pca-card {
    padding: 30px 32px;
    border-radius: 18px;

    background: radial-gradient(circle at top left,
                rgba(102,204,255,0.28),
                rgba(0,0,0,0.78));
    background-color: rgba(0,0,0,0.55);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(102,204,255,0.55);
    box-shadow:
        0 0 26px rgba(102,204,255,0.55),
        inset 0 0 20px rgba(102,204,255,0.28);

    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

/* VISIBILIDADE (JS adiciona esta classe) */
.pca-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* HOVER PREMIUM */
.pca-card:hover {
    background: radial-gradient(circle at top left,
                rgba(102,204,255,0.45),
                rgba(0,0,0,0.88));
    border-color: #66ccff;
    box-shadow:
        0 0 32px rgba(102,204,255,0.75),
        0 0 60px rgba(102,204,255,0.55),
        inset 0 0 22px rgba(102,204,255,0.35);
    transform: translateY(-4px);
}

/* TÍTULOS DOS PORTAIS */
.pca-card h2 {
    font-family: "Evo2", Arial, sans-serif;
    font-size: clamp(22px, 2.4vw, 34px);
    font-weight: 900;
    margin-bottom: 18px;
    color: #66ccff;
    text-shadow:
        0 0 12px rgba(102,204,255,0.75),
        0 0 22px rgba(102,204,255,0.55);
}

/* LISTAS */
.pca-card ul {
    padding-left: 22px;
    margin: 0;
}

.pca-card li {
    font-size: clamp(15px, 1.5vw, 19px);
    color: #e6f7ff;
    margin-bottom: 10px;
    line-height: 1.55;
}

/* LICENCIAMENTO */
.pca-licenciamento {
    margin-top: 60px;
    padding: 30px;
    border-radius: 16px;

    background: rgba(0,0,0,0.45);
    border-left: 4px solid #66ccff;
    box-shadow: inset 0 0 18px rgba(102,204,255,0.35);
}

.pca-licenciamento h2 {
    font-size: clamp(20px, 2.2vw, 30px);
    color: #66ccff;
    margin-bottom: 15px;
}

.pca-licenciamento li {
    font-size: clamp(15px, 1.5vw, 19px);
    color: #ffffff;
    margin-bottom: 10px;
}

/* CONTACTO */
.pca-contacto {
    margin-top: 50px;
    text-align: center;
}

.pca-contacto p {
    font-size: clamp(16px, 1.8vw, 20px);
    color: #ffffff;
}

.contact-highlight {
    font-weight: bold;
    color: #66ccff;
    cursor: pointer;
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(102,204,255,0.75);
}

/* ===========================
   MODAL GLASS CLOUD
=========================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    padding: 30px;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;

    border: 1px solid rgba(102,204,255,0.55);
    box-shadow:
        0 0 26px rgba(102,204,255,0.55),
        inset 0 0 20px rgba(102,204,255,0.28);

    animation: modalFade 0.35s ease-out;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #66ccff;
    cursor: pointer;
    float: right;
    text-shadow: 0 0 12px rgba(102,204,255,0.75);
}

@keyframes modalFade {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVIDADE */
@media (max-width: 480px) {
    .pca-card {
        padding: 22px;
    }
}

/* ===========================
   LINKS-CARTÃO (SEM SUBLINHADO, SEM AZUL)
=========================== */

/* Remove azul e sublinhado do link principal */
.pca-link,
.pca-link:link,
.pca-link:visited,
.pca-link:hover,
.pca-link:active {
    color: inherit !important;
    text-decoration: none !important;
    display: block;
}

/* Remove sublinhado e cor azul dos elementos internos */
.pca-link * {
    color: inherit !important;
    text-decoration: none !important;
}

/* Mantém hover premium */
.pca-link:hover {
    transform: translateY(-4px);
}
