/* ==============================
   Global background
================================ */
body {
    background: linear-gradient(180deg, #eef3ff, #f8f9ff);
}

/* ==============================
   Card container
================================ */
.role-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    height: auto;
    border: 1px solid #6b61b771;
    border-radius: 20px;
    display: flex;
    align-items: center;
}

.maxheight {
    max-height: 500px;
}

/* Destaque visual (opcional) */
.role-card.active {
    box-shadow: 0 12px 30px rgba(59, 108, 255, 0.2);
}

/* Hover suave */
.role-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(59, 108, 255, 0.22);
}

/* ==============================
   Card body
================================ */
.role-card .card-body {
    padding: 30px;
    text-align: center;

}

/* ==============================
   CoVE label
================================ */
.role-tag {
    display: inline-block;
    padding: 5px 12px;
    margin-bottom: 8px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    background: #bebbde;
    color: #534d75;
    box-shadow: 2px 4px 30px rgba(59, 108, 255, 0.32);
    width: auto;
    letter-spacing: 1px;
    width: 90px;
}

.role-tag2 {
    display: inline-block;
    padding: 5px 12px;
    margin-bottom: 18px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    background: #615ce185;
    color: #534d75;
    box-shadow: 2px 4px 30px rgba(59, 108, 255, 0.32);
    width: auto;
    letter-spacing: 1px;
    width: 60%;
}

.role-tag3 {
    display: inline-block;
    padding: 5px 12px;
    margin-bottom: 8px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    background: #aa5ce185;
    color: #534d75;
    box-shadow: 2px 4px 30px rgba(59, 108, 255, 0.32);
    width: auto;
    letter-spacing: 1px;
    width: 60%;
}

.role-tag4 {
    display: inline-block;
    padding: 5px 12px;
    margin-bottom: 8px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    background: #598deda1;
    color: #534d75;
    box-shadow: 2px 4px 30px rgba(59, 108, 255, 0.32);
    width: auto;
    letter-spacing: 1px;
    width: 60%;
}


.role-tagmodal1 {
    display: inline-block;
    padding: 5px 12px;
    margin-bottom: 8px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    background: #aa5ce185;
    color: #534d75;
    box-shadow: 2px 4px 30px rgba(59, 108, 255, 0.32);
    width: auto;
    width: auto;
    font-family: Calcutta-Regular;
}

.role-tagmodal2 {
    display: inline-block;
    padding: 5px 12px;
    margin-bottom: 8px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    background: #598deda1;
    color: #534d75;
    box-shadow: 2px 4px 30px rgba(59, 108, 255, 0.32);
    width: auto;
    width: auto;
    font-family: Calcutta-Regular;
}


/* ==============================
   Title
================================ */
.role-card h5 {
    margin: 7px 0 8px;
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.4;
    color: #4d4094;
}

/* ==============================
   Method / Tool
================================ */
.role-card small {
    display: block;
    margin-bottom: 12px;
    font-size: 12.5px;
    color: #5648db;
    font-weight: bold;
}

/* ==============================
   Description
================================ */
.role-card p {
    font-size: 13px !important;
    line-height: 1.55;
    color: #374151;
    margin: 0 0 14px;
    text-align: justify;
    margin-top: 15px !important;
    text-align: center !important;
}

/* ==============================
   Quote
================================ */
.role-card blockquote {
    font-size: 13px;
    line-height: 1.5;
    color: #4d4094;
    font-style: italic;
    text-align: justify;

    margin: 14px 0 18px;
    padding-left: 12px;
    border-left: 3px solid #dbe3ff;

    max-height: none;
    /* REMOVE QUALQUER LIMITE */
    overflow: visible;
}

.blockquotemodal {
    font-size: 13px;
    line-height: 1.5;
    color: #4d4094;
    font-style: italic;
    text-align: justify;

    margin: 14px 0 18px;
    padding-left: 12px;
    border-left: 3px solid #dbe3ff;

    max-height: none;
    /* REMOVE QUALQUER LIMITE */
    overflow: visible;
}

.text-bold {
    font-weight: 800 !important;
    font-family: Calcutta-Bold !important;
}

/* ==============================
   Grid spacing helper (opcional)
   Garante boa separação vertical
================================ */
#content-block .row {
    margin-bottom: 10px;
}

/* ==============================
   Responsive tuning
================================ */
@media (max-width: 991px) {
    .role-card .card-body {
        padding: 20px 18px;
    }
}

@media (max-width: 575px) {
    .role-card h5 {
        font-size: 16px;
    }

    .role-card p {
        font-size: 13.5px;
    }

    .arrow-btn {
        width: 72px;
    }
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Tablet */
@media (max-width: 991px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 575px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}


.cta-button {
    display: inline-block;
    padding: 10px 10px !important;

    border: 1.5px solid #1f2937;
    border-radius: 999px;

    background: transparent;
    color: #1f2937;
    margin-top: 8px !important;
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    width: 85% !important;
    transition: all 0.25s ease;
}

/* Hover */
.cta-button:hover {
    background: #1f2937;
    color: #ffffff;
}


/* Cards grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Tablet */
@media (max-width: 991px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 769px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}



/* ==============================


Modal overlay
Modal overlay
Modal overlay
Modal overlay


================================ */




/* ==============================
   Modal overlay
================================ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 30, 0.7);
    z-index: 9999;

    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 18, 40, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

/* ==============================
   Modal content
================================ */

.mt3modal {
    margin-top: 15px;
}

/*
.modal-content {
    background: #ffffff;
    border-radius: 20px;
    max-width: 820px;
    width: 100%;
    max-height: 90vh;

    padding: 40px 35px;
    overflow-y: auto;

    position: relative;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.08) !important;
}*/

.modal-content {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 860px;
    max-height: 80vh;          
    overflow-y: auto;       
    padding: 32px 34px;
    position: relative;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.08) !important;
}



/* Close button */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;

    background: none;
    border: none;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #3c3c6e;
}

/* Typography inside modal */
.modal-content h3 {
    margin-bottom: 16px;
    color: #4d4094;
}

.modal-content h4,
.modal-content h5 {
    margin-top: 24px;
    color: #4d4094;
}

.modal-content p,
.modal-content li {
    font-size: 14px;
    line-height: 1.65;
    color: #374151;
}

.modal-content ul {
    padding-left: 18px;
}

/* Mobile */
@media (max-width: 575px) {
    .modal-content {
        padding: 28px 22px;
    }
}

.modalhr {
    border: 1px solid #6b61b771 !important;
}

/* Lists with icons – top aligned */
.accordion-content ul {
    list-style: none;
    padding-left: 0;
    margin: 8px 0;
}

.accordion-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: Calcutta-Regular;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 2px;
    margin-left: 20px;
}

/* Icon / bullet */
.accordion-content ul li::before {
    content: "●";
    /* podes trocar por SVG ou icon font */
    font-size: 10px;
    line-height: 1.6;
    color: #4d4094;
    margin-top: 4px;
    /* ajusta alinhamento fino ao topo */
}

/* Download button inside accordion */
.accordion-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 16px;
    padding: 8px 16px;

    font-size: 12px;
    font-weight: 600;

    color: #4d4094;
    border: 1.5px solid #4d4094;
    border-radius: 999px;

    text-decoration: none !important;
    background: transparent;

    transition: all 0.25s ease;
    font-family: Calcutta-Regular;
}

.accordion-download-btn:hover {
    background: #4d4094;
    color: #ffffff;
    font-weight: bold;
}


.reference-block::before {
    content: none !important;
    display: none !important;
}



/* ==============================
   Accordion
================================ */

.accordion {
    margin-top: 20px;
}

.accordion-item {
    border: 1px solid rgba(77, 64, 148, 0.2);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

/* Header */
.accordion-header {
    width: 100%;
    padding: 16px 18px;

    background: #f4f3ff;
    border: none;
    outline: none;

    font-size: 14px;
    font-weight: 600;
    color: #4d4094;

    display: flex;
    justify-content: space-between;
    align-items: center;

    cursor: pointer;
}

/* Icon */
.accordion-icon {
    font-size: 20px;
    transition: transform 0.25s ease;
}

/* Content – CLOSED by default */
.accordion-content {
    display: none;
    padding: 18px;
    background: #ffffff;
}

.accordion-content p,
.accordion-content li {
    font-size: 14px;
    line-height: 1.65;
    color: #374151;
}

/* Open state */
.accordion-item.active .accordion-content {
    display: block;
    padding: 22px 20px !important;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    /* + vira X */
}