@font-face {
    font-family: 'Montech';
    src: url('https://5455473.fs1.hubspotusercontent-na1.net/hubfs/5455473/fonts/montech/MONTECHV02-Regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}

.ctf-partners-grid-module {
    background-color: #F2F2F2 !important;
    padding: 120px 0;
    width: 100vw; !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.p-inner-limit {
    max-width: 1285px;
    margin: 0 auto;
    padding: 0 24px;
}

.montech { font-family: 'Montech', sans-serif !important; text-transform: uppercase; }

/* TÍTULO - CORRIGIDO PARA PRETO CTF */
.p-main-title {
    font-size: 32px !important;
    letter-spacing: 8px !important;
    text-align: center; !important;
  line-height: 1.5 !important;
  min-height: 3em;
  font-weight: 400 !important;
    color: #060118 !important; /* Força a cor preta sobre o global do HubSpot */
    margin-bottom: 80px;
    line-height: 1.4;
    min-height: 2.2em;
    display: block;
}

.p-tiers-stack { display: flex; flex-direction: column; gap: 24px; width: 100%; }

.p-tier-row { display: flex; gap: 24px; min-height: 224px; width: 100%; }

.p-tier-label {
    width: 202px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF !important;
    font-size: 16px;
    letter-spacing: 2.5px;
    border-radius: 8px;
    flex-shrink: 0;
    padding: 20px;
    line-height: 1.2;
}

.p-tier-content { display: flex; gap: 24px; flex: 1; }

.p-logo-card {
    flex: 1;
    background-color: #FFFFFF;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

/* CARDS DE BANNER (FOTOS) */
.p-logo-card.p-banner {
    padding: 0 !important;
}

.p-logo-card img.img-fill {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

.p-logo-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.p-logo-card img:not(.img-fill) {
    max-width: 85%;
    max-height: 70px;
    object-fit: contain;
}

.p-logo-card.p-dual { gap: 40px; }
.p-logo-card.p-dual img { max-height: 40px; }

.p-link-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.p-module-footer {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.p-footer-text { 
    font-size: 24px; 
    letter-spacing: 0.3em; 
    color: #060118 !important; /* Força a cor preta */
    text-align: center; 
    min-height: 1.5em; 
}

.p-action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #6613D0;
    color: #FFFFFF !important;
    padding: 20px 45px;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.p-action-btn:hover { background-color: #1CFE92; color: #060118 !important; }

.p-btn-arrow { width: 22px; height: 22px; transition: transform 0.3s ease; }
.p-action-btn:hover .p-btn-arrow { transform: translateX(10px); }

.p-grid-cursor { 
    display: inline-block; width: 10px; height: 1.1em; background: #1CFE92; 
    margin-left: 8px; animation: p-grid-blink 1s step-end infinite; vertical-align: middle; 
}
@keyframes p-grid-blink { 50% { opacity: 0; } }

@media (max-width: 1024px) {
    .p-tier-row { flex-direction: column; min-height: auto; gap: 12px; }
    .p-tier-label { width: 100%; height: 60px; }
    .p-tier-content { flex-direction: column; gap: 12px; }
    .p-logo-card { height: 200px; }
    .p-main-title { font-size: 32px !important; margin-bottom: 50px; }
}