/* ========================================================================
   VOLAR | PARCEIROS 2026
   Arquivo independente: não altera style.css, menu.js nem integração RAOV.
   ======================================================================== */

/* Home: vitrine compacta com logos em movimento */
#parceiros.vp-home-partners {
    position: relative;
    overflow: hidden;
    padding: 48px 0 56px;
    background: linear-gradient(110deg, #07162c 0%, #0b2543 50%, #07162c 100%);
    color: #effbff;
    isolation: isolate;
}
.vp-home-partners-heading {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
#parceiros.vp-home-partners .vp-home-partners-heading h2 {
    margin: 0;
    color: #f4fbff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -.025em;
    text-align: left;
    width: calc(100% - 40px);
    max-width: none;
    box-sizing: border-box;
}
.vp-home-partners-more {
    color: #5fe2e5;
    font: 600 .87rem 'Inter', sans-serif;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}
.vp-home-partners-more:hover,
.vp-home-partners-more:focus-visible { color: #ffffff; }
.vp-home-partners-more span { margin-left: 5px; }
.vp-marquee {
    overflow: hidden;
    width: 100%;
    padding: 6px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.vp-marquee-track {
    display: flex;
    width: max-content;
    animation: vp-partners-run 38s linear infinite;
    will-change: transform;
}
.vp-marquee-group {
    display: flex;
    flex: none;
    align-items: center;
    gap: 24px;
    padding-right: 24px; /* garante o encaixe perfeito do loop */
}
.vp-marquee-logo {
    width: 200px;
    height: 118px;
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 10px;
    background: transparent;
    transition: background .2s ease, transform .2s ease;
}
a.vp-marquee-logo:hover,
a.vp-marquee-logo:focus-visible {
    background: rgba(255, 255, 255, .065);
    transform: translateY(-2px);
    outline-offset: 3px;
}
.vp-marquee-logo img {
    display: block;
    max-width: 100%;
    max-height: 96px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.vp-marquee:hover .vp-marquee-track,
.vp-marquee:focus-within .vp-marquee-track {
    animation-play-state: paused;
}
@keyframes vp-partners-run { to { transform: translateX(-50%); } }

/* Página de apresentação institucional */
.vp-page {
    --vp-ink: #e9f5ff;
    --vp-muted: #a7b8ce;
    --vp-accent: #54dae5;
    --vp-border: rgba(134, 204, 232, .17);
    color: var(--vp-ink);
    background: radial-gradient(ellipse at 80% 4%, rgba(24, 91, 137, .27), transparent 37%),
                linear-gradient(180deg, #07142a, #071c34 57%, #061225);
    min-height: 100vh;
    padding: 104px 24px 82px;
    font-family: 'Inter', sans-serif;
}
.vp-page * { box-sizing: border-box; }
.vp-page a { text-decoration: none; }
.vp-page-hero,
.vp-directory,
.vp-partner-invite { max-width: 1160px; margin-left: auto; margin-right: auto; }
.vp-page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(255px, .8fr);
    gap: clamp(24px, 5vw, 70px);
    align-items: center;
    min-height: 420px;
    padding: 12px 0 70px;
}
.vp-breadcrumb {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--vp-muted);
    font-size: .78rem;
    margin-bottom: 42px;
}
.vp-breadcrumb a { color: #b7cde4; }
.vp-breadcrumb a:hover { color: #5bdce9; }
.vp-hero-eyebrow,
.vp-directory-eyebrow {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-size: .7rem;
    letter-spacing: .17em;
    font-weight: 800;
    color: var(--vp-accent);
}
.vp-glow-dot {
    width: 7px;
    height: 7px;
    border-radius: 100%;
    background: #52e1e4;
    box-shadow: 0 0 16px #52e1e4;
}
.vp-page-hero h1 {
    margin: 19px 0 20px;
    color: #f9fcff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.3rem, 4.7vw, 4.25rem);
    line-height: 1.12;
    letter-spacing: -.045em;
    font-weight: 800;
}
.vp-page-hero h1 span { color: #5edbe2; }
.vp-page-hero p {
    max-width: 600px;
    margin: 0 0 28px;
    font-size: 1rem;
    line-height: 1.9;
    color: #b4c5d8;
}
.vp-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #e8faff;
    font-size: .9rem;
    font-weight: 700;
    border-bottom: 1px solid #58d5e2;
    padding-bottom: 10px;
}
.vp-hero-link:hover { color: #5fe2e5; }
.vp-page-hero-aside {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 315px;
    aspect-ratio: 1 / 1;
}
.vp-page-hero-aside:before {
    content: '';
    position: absolute;
    width: 64%;
    height: 64%;
    border-radius: 100%;
    background: radial-gradient(circle, rgba(23, 183, 210, .12), transparent 70%);
    filter: blur(7px);
}
.vp-orbit {
    position: absolute;
    inset: 5%;
    border: 1px solid rgba(104, 203, 228, .17);
    border-radius: 50%;
}
.vp-orbit-two { inset: 17%; border-style: dashed; opacity: .75; }
.vp-orbit-three { inset: 28%; border-color: rgba(64, 221, 228, .45); }
.vp-center-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68%;
    z-index: 1;
    border-radius: 50%;
}
.vp-center-mark img {
    width: 100%;
    max-height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 8px 25px rgba(5, 13, 29, .8));
}
.vp-fly-beyond {
    position: absolute;
    bottom: 4%;
    color: #6d8faa;
    font-family: 'Montserrat', sans-serif;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .25em;
}
.vp-directory { scroll-margin-top: 105px; }
.vp-directory-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0 32px;
    border-top: 1px solid var(--vp-border);
}
.vp-directory-heading h2 {
    margin: 10px 0 7px;
    color: #f5fbff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3.2vw, 2.7rem);
    font-weight: 800;
}
.vp-directory-heading p { margin: 0; color: #a4b8ce; line-height: 1.5; }
.vp-partners-count {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.3rem;
    font-weight: 800;
    color: #65d9e3;
    white-space: nowrap;
}
.vp-partners-count small {
    color: #829ab4;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
}
.vp-partner-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.vp-partner-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 370px;
    padding: 20px;
    border: 1px solid var(--vp-border);
    border-radius: 15px;
    color: #edf7ff;
    background: linear-gradient(150deg, rgba(28, 57, 85, .75), rgba(9, 29, 52, .82));
    box-shadow: 0 10px 32px rgba(0, 0, 0, .12);
    transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.vp-partner-card:hover,
.vp-partner-card:focus-visible {
    transform: translateY(-5px);
    border-color: rgba(72, 222, 230, .65);
    box-shadow: 0 18px 32px rgba(0, 10, 28, .35);
    outline-offset: 3px;
}
.vp-partner-category {
    display: block;
    color: #92cbda;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .085em;
    text-transform: uppercase;
    min-height: 30px;
}
.vp-partner-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 126px;
    margin-bottom: 15px;
}
.vp-partner-image {
    display: block;
    max-width: 90%;
    width: auto;
    height: auto;
    max-height: 112px;
    object-fit: contain;
}
.vp-partner-image.vp-logo-round { max-height: 102px; max-width: 102px; border-radius: 50%; }
.vp-partner-info { display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.vp-partner-name {
    display: block;
    color: #ffffff;
    font: 800 1.07rem 'Montserrat', sans-serif;
    overflow-wrap: anywhere;
}
.vp-partner-description {
    display: block;
    color: #b6c5d6;
    font-size: .78rem;
    line-height: 1.65;
}
.vp-partner-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 19px;
    padding-top: 13px;
    border-top: 1px solid rgba(120, 181, 217, .15);
    color: #68dfe7;
    font-size: .78rem;
    font-weight: 700;
}
.vp-partner-cta span { font-size: 1rem; }
.vp-partner-invite {
    margin-top: 65px;
    padding: 38px 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-radius: 17px;
    border: 1px solid rgba(84, 218, 229, .24);
    background: linear-gradient(105deg, rgba(11, 67, 94, .6), rgba(9, 41, 72, .75));
}
.vp-partner-invite h2 {
    margin: 12px 0;
    color: #fff;
    font: 800 clamp(1.45rem, 2.8vw, 2rem) 'Montserrat', sans-serif;
}
.vp-partner-invite p { margin: 0; color: #b1cadd; line-height: 1.75; max-width: 650px; }
.vp-invite-button {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
    background: #5bdce6;
    color: #062036;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 800;
    font-size: .88rem;
    transition: background .2s ease, transform .2s ease;
}
.vp-invite-button:hover { background: #a5f5f5; transform: translateY(-2px); }
@media (max-width: 1060px) {
    .vp-partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
    .vp-page-hero { grid-template-columns: 1fr; min-height: 0; padding-bottom: 40px; }
    .vp-page-hero-aside { display: none; }
    .vp-partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
    #parceiros.vp-home-partners {
        width: calc(100% - 24px);
    }
    .vp-home-partners-heading { width: calc(100% - 30px); gap: 10px; flex-wrap: wrap; }
    .vp-home-partners-more { font-size: .8rem; }
    .vp-marquee-logo { width: 164px; flex-basis: 164px; height: 98px; }
    .vp-marquee-logo img { max-height: 80px; }
    .vp-page { padding: 92px 16px 48px; }
    .vp-breadcrumb { margin-bottom: 26px; }
    .vp-page-hero h1 { font-size: clamp(2.1rem, 9.3vw, 3rem); }
    .vp-directory-heading { align-items: start; }
    .vp-partners-count { font-size: 1.45rem; }
    .vp-partners-count small { display: none; }
    .vp-partner-grid { grid-template-columns: 1fr; }
    .vp-partner-card { min-height: 0; }
    .vp-partner-invite { padding: 30px 22px; flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .vp-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .vp-marquee-track { animation: none; will-change: auto; }
    .vp-marquee-group[aria-hidden="true"] { display: none; }
    .vp-partner-card, .vp-invite-button, .vp-marquee-logo { transition: none; }
}

/* ============================================
   VOLAR - QUADRO PREMIUM PARCEIROS NA HOME
   ============================================ */

   #parceiros.vp-home-partners {
       width: calc(100% - 40px);
       max-width: none;
       box-sizing: border-box;
   
       margin: 32px auto 50px;
       padding: 30px 0 28px;
   
       border: 1px solid rgba(79, 211, 231, 0.28);
       border-radius: 18px;
   
       background: linear-gradient(
           120deg,
           #0c1e38 0%,
           #102b45 50%,
           #0b1c32 100%
       );

    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.20);
    overflow: hidden;
}


    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.20);
    overflow: hidden;
}

/* Cabeçalho dentro do quadro */
#parceiros .vp-home-partners-heading {
    width: calc(100% - 48px);
    margin-bottom: 18px;
}

/* Ajustes para celulares */
@media (max-width: 580px) {
    #parceiros.vp-home-partners {
        width: calc(100% - 24px);
        margin: 24px auto 38px;
        padding: 22px 0 24px;
        border-radius: 14px;
    }

    #parceiros .vp-home-partners-heading {
        width: calc(100% - 30px);
    }
}
