.ctv2 .material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

.ctv2 .ctv2-architectural-grid {
    background-image: radial-gradient(circle, #e2e2e2 1px, transparent 1px);
    background-size: 40px 40px;
}

.ctv2 .ctv2-blocks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background-color: rgba(228, 190, 185, 0.35);
}

@media (min-width: 768px) {
    .ctv2 .ctv2-blocks-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ctv2 .ctv2-block-panel {
    background-color: #f9f9f9;
    min-height: 100%;
}

.ctv2 .ctv2-block-panel--low {
    background-color: #f3f3f3;
}

.ctv2 .ctv2-block-panel--mid {
    background-color: #eeeeee;
}

/* Painéis das 3 colunas → hover bordô, texto e ícones brancos */
.ctv2 .ctv2-block-panel-hover {
    position: relative;
    z-index: 0;
    overflow: hidden;
    transition:
        background-color 0.38s ease,
        box-shadow 0.38s ease,
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: default;
}

.ctv2 .ctv2-block-panel-hover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.38s ease;
    pointer-events: none;
    z-index: 0;
}

.ctv2 .ctv2-block-panel-hover > * {
    position: relative;
    z-index: 1;
}

.ctv2 .ctv2-block-panel-hover:hover,
.ctv2 .ctv2-block-panel-hover:focus-within {
    background-color: #71130d !important;
    box-shadow: 0 20px 56px rgba(113, 19, 13, 0.3), 0 2px 8px rgba(113, 19, 13, 0.18);
    transform: translateY(-3px);
    z-index: 2;
}

.ctv2 .ctv2-block-panel-hover:hover::after,
.ctv2 .ctv2-block-panel-hover:focus-within::after {
    opacity: 1;
}

.ctv2 .ctv2-block-panel-hover [class*='text-'],
.ctv2 .ctv2-block-panel-hover p,
.ctv2 .ctv2-block-panel-hover strong,
.ctv2 .ctv2-block-panel-hover a,
.ctv2 .ctv2-block-panel-hover .material-symbols-outlined {
    transition: color 0.38s ease, border-color 0.38s ease, text-decoration-color 0.38s ease;
}

.ctv2 .ctv2-block-panel-hover:hover [class*='text-'],
.ctv2 .ctv2-block-panel-hover:focus-within [class*='text-'],
.ctv2 .ctv2-block-panel-hover:hover p,
.ctv2 .ctv2-block-panel-hover:focus-within p,
.ctv2 .ctv2-block-panel-hover:hover strong,
.ctv2 .ctv2-block-panel-hover:focus-within strong,
.ctv2 .ctv2-block-panel-hover:hover a,
.ctv2 .ctv2-block-panel-hover:focus-within a,
.ctv2 .ctv2-block-panel-hover:hover .material-symbols-outlined,
.ctv2 .ctv2-block-panel-hover:focus-within .material-symbols-outlined {
    color: #ffffff !important;
    text-decoration-color: rgba(255, 255, 255, 0.45) !important;
}

.ctv2 .ctv2-block-panel-hover:hover .border-outline-variant,
.ctv2 .ctv2-block-panel-hover:focus-within .border-outline-variant,
.ctv2 .ctv2-block-panel-hover:hover .border-surface-container-highest,
.ctv2 .ctv2-block-panel-hover:focus-within .border-surface-container-highest {
    border-color: rgba(255, 255, 255, 0.28) !important;
}

.ctv2 .ctv2-block-panel-hover:hover .ctv2-portal-card,
.ctv2 .ctv2-block-panel-hover:focus-within .ctv2-portal-card {
    background-color: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    box-shadow: none;
}

.ctv2 .ctv2-portal-link {
    transition: gap 0.3s ease, color 0.38s ease;
}

.ctv2 .ctv2-block-panel-hover:hover .ctv2-portal-link .material-symbols-outlined,
.ctv2 .ctv2-block-panel-hover:focus-within .ctv2-portal-link .material-symbols-outlined {
    transform: translateX(3px);
    transition: color 0.38s ease, transform 0.3s ease;
}

.ctv2 .ctv2-block-panel-hover:hover .opacity-40,
.ctv2 .ctv2-block-panel-hover:focus-within .opacity-40 {
    opacity: 1 !important;
}

.ctv2 .ctv2-badge-img {
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.35s ease;
}

.ctv2 .ctv2-badge-wrap:hover .ctv2-badge-img {
    filter: grayscale(0%);
    transform: scale(1.04);
}

.ctv2 .ctv2-reveal {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 0.85s ease, transform 0.85s ease;
}

.ctv2 .ctv2-reveal.ctv2-reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .ctv2 .ctv2-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .ctv2 .ctv2-badge-img {
        filter: none;
    }
    .ctv2 .ctv2-block-panel-hover:hover,
    .ctv2 .ctv2-block-panel-hover:focus-within {
        transform: none;
    }
}
