/* ══════════════════════════════════════════════════
     DESTAQUE PAGE — ESTILOS COMPLETOS
  ══════════════════════════════════════════════════ */

/* ── Hero Destaque do Mês ── */
.hero-destaque {
    background: var(--green);
    position: relative;
    overflow: hidden;
    padding: 160px 0 0;
    /* topbar(36) + header(72) + respiro(52) */
}

.hero-destaque::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/bg-banner.png') center / cover no-repeat;
    opacity: .07;
    pointer-events: none;
}

/* Bolhas decorativas */
.hero-destaque::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(241, 179, 28, .15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-destaque-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 0;
    align-items: end;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Conteúdo esquerdo */
.hero-destaque-content {
    padding: 48px 0 56px;
}

.hero-destaque-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(241, 179, 28, .18);
    border: 1px solid rgba(241, 179, 28, .35);
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero-destaque-content h1 {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 900;
    color: #fff;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
}

.hero-destaque-content h1 span {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-destaque-cargo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-destaque-cargo .empresa-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.hero-destaque-cargo .empresa-chip img {
    height: 18px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .85;
}

.hero-destaque-bio {
    font-size: 15px;
    color: rgba(255, 255, 255, .78);
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-destaque-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-ver-perfil-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--grad-gold);
    color: #fff;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 8px 24px rgba(161, 125, 36, .4);
    transition: all var(--trans-mid);
    cursor: pointer;
    border: none;
}

.btn-ver-perfil-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(161, 125, 36, .5);
}

.btn-scroll-down {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .65);
    font-size: 13px;
    font-weight: 600;
    border: none;
    background: none;
    cursor: pointer;
    transition: color var(--trans-fast);
    padding: 0;
}

.btn-scroll-down:hover {
    color: var(--gold);
}

/* Stats no hero */
.hero-destaque-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat-num {
    font-size: 26px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.hero-stat-lbl {
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
    font-weight: 500;
}

/* Foto do destaque (direita) */
.hero-destaque-foto {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    padding-top: 24px;
}

.hero-destaque-foto-wrap {
    position: relative;
    width: 360px;
}

.hero-destaque-foto img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    object-position: bottom;
    display: block;
    filter: drop-shadow(0 -8px 40px rgba(0, 0, 0, .35));
    position: relative;
    z-index: 1;
}

/* Anel decorativo atrás da foto */
.hero-foto-ring {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(241, 179, 28, .08);
    border: 1px solid rgba(241, 179, 28, .15);
    z-index: 0;
}

/* Badge flutuante */
.hero-destaque-badge {
    position: absolute;
    top: 40px;
    right: 0;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 14px 18px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.badge-icon {
    width: 36px;
    height: 36px;
    background: var(--grad-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}

.badge-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.badge-text span {
    font-size: 11px;
    color: var(--text-muted);
}

/* Breadcrumb integrado no hero */
.hero-breadcrumb {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, .15);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.hero-breadcrumb .container {
    display: flex;
    align-items: center;
    height: 44px;
}

.hero-breadcrumb nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .5);
}

.hero-breadcrumb a {
    color: rgba(255, 255, 255, .7);
    transition: color var(--trans-fast);
}

.hero-breadcrumb a:hover {
    color: var(--gold);
}

.hero-breadcrumb .sep {
    opacity: .35;
}

/* ── SECÇÃO PRINCIPAL DE PERFIS ── */
.destaque-section {
    padding: 80px 0 100px;
    background: var(--bg-light);
}

/* Toolbar: pesquisa + filtros + contador + ordenação */
.destaque-toolbar {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 20px 24px;
    margin-bottom: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.toolbar-row-top {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Campo de pesquisa melhorado */
.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 240px;
    max-width: 400px;
    padding: 10px 16px;
    background: var(--bg-light);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.search-field:focus-within {
    border-color: var(--gold-dark);
    box-shadow: 0 0 0 3px rgba(161, 125, 36, .1);
    background: #fff;
}

.search-field i {
    color: var(--text-muted);
    font-size: 14px;
    flex-shrink: 0;
}

.search-field input {
    border: none;
    outline: none;
    background: none;
    font-size: 14px;
    color: var(--text-dark);
    width: 100%;
    font-family: var(--font-primary);
}

.search-field input::placeholder {
    color: var(--text-light);
}

.search-clear {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 13px;
    padding: 2px;
    border-radius: 50%;
    display: none;
    transition: color var(--trans-fast);
}

.search-clear:hover {
    color: var(--text-dark);
}

.search-clear.visible {
    display: block;
}

/* Ordenação */
.sort-select {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-left: auto;
}

.sort-select label {
    font-weight: 600;
    white-space: nowrap;
}

.sort-select select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 32px 8px 12px;
    font-size: 13px;
    font-family: var(--font-primary);
    color: var(--text-dark);
    background: var(--bg-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color var(--trans-fast);
}

.sort-select select:focus {
    border-color: var(--gold-dark);
}

/* Filtros por empresa */
.toolbar-row-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-label-txt {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text-mid);
    cursor: pointer;
    transition: all var(--trans-fast);
    white-space: nowrap;
}

.chip:hover {
    border-color: var(--gold-dark);
    color: var(--gold-dark);
}

.chip.active {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: #fff;
}

.chip img {
    height: 16px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .6;
    transition: filter var(--trans-fast), opacity var(--trans-fast);
}

.chip.active img {
    filter: brightness(0) invert(1);
    opacity: .9;
}

/* Contador de resultados */
.results-count {
    font-size: 12.5px;
    color: var(--text-muted);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.results-count strong {
    color: var(--text-dark);
    font-weight: 700;
}

/* ── GRID DE CARDS ── */
.perfis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ── CARD UNIFORME ── */
.perfil-card-v2 {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--trans-mid), box-shadow var(--trans-mid), border-color var(--trans-mid);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
}

.perfil-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(161, 125, 36, .3);
}

/* Foto + overlay de hover */
.card-foto-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--bg-light);
    flex-shrink: 0;
}

.card-foto-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform var(--trans-slow);
    display: block;
}

.perfil-card-v2:hover .card-foto-wrap img {
    transform: scale(1.07);
}

/* Overlay gradiente que aparece no hover */
.card-foto-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(51, 95, 70, .92) 0%,
            rgba(51, 95, 70, .4) 50%,
            transparent 100%);
    opacity: 0;
    transition: opacity var(--trans-mid);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.perfil-card-v2:hover .card-foto-overlay {
    opacity: 1;
}

.overlay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 11px;
    background: var(--gold);
    color: #222;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background var(--trans-fast);
    letter-spacing: .2px;
}

.overlay-btn:hover {
    background: #fff;
}

.overlay-social {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.overlay-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    font-size: 12px;
    transition: all var(--trans-fast);
}

.overlay-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #222;
}

/* Badge de cargo no canto superior */
.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
    backdrop-filter: blur(8px);
}

.card-badge.presidente {
    background: rgba(241, 179, 28, .9);
    color: #5a3a00;
}

.card-badge.vice {
    background: rgba(51, 95, 70, .9);
    color: #fff;
}

.card-badge.membro {
    background: rgba(255, 255, 255, .85);
    color: var(--text-mid);
}

/* Body do card */
.card-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.card-nome {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    letter-spacing: -.3px;
}

.card-cargo-linha {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--text-muted);
}

.card-cargo-linha i {
    color: var(--gold-dark);
    font-size: 11px;
}

/* Chip de empresa */
.card-empresa-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.card-empresa-chip img {
    height: 18px;
    width: auto;
    object-fit: contain;
}

.card-empresa-chip span {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-mid);
}

/* Separador */
.card-divider {
    height: 1px;
    background: var(--border);
    margin: 2px 0;
}

/* Botão ver perfil no card */
.card-ver-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--bg-light);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-mid);
    cursor: pointer;
    transition: all var(--trans-fast);
    width: 100%;
    text-align: left;
}

.card-ver-btn:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: #fff;
}

.card-ver-btn i {
    transition: transform var(--trans-fast);
}

.card-ver-btn:hover i {
    transform: translateX(4px);
}

/* Estado vazio (sem resultados) */
.no-results {
    display: none;
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
}

.no-results.visible {
    display: block;
}

.no-results i {
    font-size: 48px;
    color: var(--text-light);
    margin-bottom: 16px;
    display: block;
}

.no-results h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-mid);
    margin-bottom: 8px;
}

.no-results p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ══════════════════════════════════════════════════
     MODAL "VER PERFIL" — REDESENHO COMPLETO
     Layout split: painel esquerdo fixo | painel direito com tabs
  ══════════════════════════════════════════════════ */

/* ── Overlay ── */
.perfil-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 10, .78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.perfil-modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* ── Setas laterais de navegação (fora do modal) ── */
.modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, .1);
    border: 1.5px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all .2s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
    flex-shrink: 0;
}

.modal-arrow:hover:not(:disabled) {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-50%) scale(1.08);
}

.modal-arrow:disabled {
    opacity: .2;
    cursor: default;
}

.modal-arrow-left {
    left: -72px;
}

.modal-arrow-right {
    right: -72px;
}

/* ── Contentor do modal ── */
.perfil-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    position: relative;
    transform: translateY(32px) scale(.96);
    transition: transform .32s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 32px 80px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .06);
}

.perfil-modal-overlay.open .perfil-modal {
    transform: translateY(0) scale(1);
}

/* ══ PAINEL ESQUERDO (fixo, verde) ══ */
.modal-panel-left {
    width: 300px;
    flex-shrink: 0;
    background: var(--green);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Foto da pessoa como background desfocado */
.modal-left-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: top center;
    opacity: .22;
    filter: blur(16px) saturate(1.3);
    transform: scale(1.15);
    z-index: 0;
    transition: background-image .4s ease;
}

/* Gradiente verde por cima */
.modal-left-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(51, 95, 70, .55) 0%,
            rgba(38, 74, 55, .88) 55%,
            rgba(30, 58, 44, 1) 100%);
    z-index: 1;
}

/* Padrão decorativo */
.modal-left-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 10%, rgba(241, 179, 28, .12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(241, 179, 28, .08) 0%, transparent 45%);
    z-index: 1;
    pointer-events: none;
}

/* Conteúdo do painel esquerdo */
.modal-left-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 20px 20px;
    flex: 1;
    text-align: center;
    width: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(241, 179, 28, .35) transparent;
}

.modal-left-content::-webkit-scrollbar {
    width: 3px;
}

.modal-left-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-left-content::-webkit-scrollbar-thumb {
    background: rgba(241, 179, 28, .35);
    border-radius: 10px;
    transition: background .2s ease;
}

.modal-left-content::-webkit-scrollbar-thumb:hover {
    background: rgba(241, 179, 28, .75);
}

/* Avatar grande */
.modal-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid rgba(241, 179, 28, .6);
    box-shadow: 0 0 0 6px rgba(241, 179, 28, .12), 0 12px 32px rgba(0, 0, 0, .35);
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
    flex-shrink: 0;
    margin-bottom: 14px;
    transition: box-shadow .25s ease;
}

.modal-avatar:hover {
    box-shadow: 0 0 0 8px rgba(241, 179, 28, .22), 0 16px 40px rgba(0, 0, 0, .4);
}

.modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Nome e cargo no painel esq */
.modal-left-nome {
    font-size: 19px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.4px;
    line-height: 1.15;
    margin-bottom: 4px;
}

.modal-left-cargo {
    font-size: 12px;
    color: rgba(255, 255, 255, .65);
    font-weight: 500;
    line-height: 1.45;
    margin-bottom: 12px;
}

/* Chip empresa no painel esq */
.modal-left-empresa {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 14px;
    backdrop-filter: blur(4px);
}

.modal-left-empresa img {
    height: 16px;
    width: auto;
    object-fit: contain;
    /*filter: brightness(0) invert(1);*/
    opacity: .85;
}

/* Tags no painel esq */
.modal-left-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 16px;
}

.modal-left-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2px;
}

.modal-left-tag.gold {
    background: rgba(241, 179, 28, .2);
    color: var(--gold);
    border: 1px solid rgba(241, 179, 28, .35);
}

.modal-left-tag.green {
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .85);
    border: 1px solid rgba(255, 255, 255, .2);
}

.modal-left-tag.blue {
    background: rgba(147, 197, 253, .12);
    color: #93c5fd;
    border: 1px solid rgba(147, 197, 253, .25);
}

/* Divisor no painel esq */
.modal-left-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, .1);
    margin-bottom: 14px;
}

/* Info rápida no painel esq */
.modal-left-infos {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.modal-left-info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}

.modal-left-info-row .mli-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(241, 179, 28, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 11px;
    flex-shrink: 0;
    margin-top: 1px;
}

.modal-left-info-row .mli-text {
    flex: 1;
}

.modal-left-info-row .mli-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: rgba(255, 255, 255, .4);
    display: block;
    margin-bottom: 1px;
}

.modal-left-info-row .mli-value {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .88);
    line-height: 1.3;
}

/* Redes sociais no painel esq */
.modal-left-social {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: auto;
    padding-top: 12px;
    flex-shrink: 0;
}

.modal-left-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    transition: all .2s ease;
}

.modal-left-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    transform: translateY(-3px);
}

/* Botão fechar no painel esq */
.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 20;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .75);
    font-size: 12px;
    cursor: pointer;
    transition: all .2s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, .22);
    color: #fff;
    transform: rotate(90deg);
}

/* ══ PAINEL DIREITO (scroll) ══ */
.modal-panel-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

/* ── Tab bar ── */
.modal-tabs-bar {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: #fff;
    padding: 0 32px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.modal-tab-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 16px 4px;
    margin-right: 28px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 2.5px solid transparent;
    transition: color .18s ease, border-color .18s ease;
    font-family: var(--font-primary);
    white-space: nowrap;
}

.modal-tab-btn i {
    font-size: 12px;
}

.modal-tab-btn:hover {
    color: var(--text-dark);
}

.modal-tab-btn.active {
    color: var(--gold-dark);
    border-bottom-color: var(--gold-dark);
}

/* ── Conteúdo das tabs ── */
.modal-tab-content {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
    scrollbar-width: thin;
    scrollbar-color: rgba(161, 125, 36, .25) transparent;
}

.modal-tab-content::-webkit-scrollbar {
    width: 3px;
}

.modal-tab-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-tab-content::-webkit-scrollbar-thumb {
    background: rgba(161, 125, 36, .25);
    border-radius: 10px;
    transition: background .2s ease;
}

.modal-tab-content::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark, #a17d24);
}

.modal-tab-panel {
    display: none;
}

.modal-tab-panel.active {
    display: block;
}

/* ── Separador de secção ── */
.modal-section-title {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-section-title .mst-icon {
    width: 24px;
    height: 24px;
    background: var(--grad-gold);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    flex-shrink: 0;
}

.modal-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ── TAB 1: SOBRE ── */
/* Indicador de experiência */
.modal-exp-bar-wrap {
    margin-bottom: 28px;
}

.modal-exp-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.modal-exp-label span:first-child {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: .6px;
}

.modal-exp-label span:last-child {
    font-size: 13px;
    font-weight: 800;
    color: var(--gold-dark);
}

.modal-exp-track {
    height: 7px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.modal-exp-fill {
    height: 100%;
    background: var(--grad-gold);
    border-radius: 4px;
    width: 0;
    transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Biografia */
.modal-bio-txt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.82;
    margin-bottom: 28px;
}

.modal-bio-txt p {
    margin-bottom: 12px;
}

.modal-bio-txt p:last-child {
    margin-bottom: 0;
}

/* Grid de info rápida (tab Sobre) */
.modal-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 0;
}

.modal-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: border-color .18s ease;
}

.modal-info-item:hover {
    border-color: rgba(161, 125, 36, .3);
}

.modal-info-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(161, 125, 36, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-size: 12px;
    flex-shrink: 0;
}

.modal-info-text {
    flex: 1;
    min-width: 0;
}

.modal-info-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: var(--text-light);
    display: block;
    margin-bottom: 2px;
}

.modal-info-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modal-info-value img {
    height: 16px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

/* ── TAB 2: CARREIRA (timeline) ── */
.modal-timeline {
    position: relative;
    padding-left: 24px;
}

/* linha vertical */
.modal-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: linear-gradient(to bottom,
            var(--gold) 0%,
            rgba(161, 125, 36, .3) 80%,
            transparent 100%);
    border-radius: 2px;
}

.modal-tl-item {
    position: relative;
    padding: 0 0 28px 28px;
    opacity: 0;
    transform: translateX(12px);
    transition: opacity .35s ease, transform .35s ease;
}

.modal-tl-item.tl-visible {
    opacity: 1;
    transform: translateX(0);
}

.modal-tl-item:last-child {
    padding-bottom: 0;
}

/* Dot da timeline */
.modal-tl-dot {
    position: absolute;
    left: -24px;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--gold-dark);
    z-index: 1;
    box-shadow: 0 2px 8px rgba(161, 125, 36, .2);
}

.modal-tl-dot.first {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

/* Conteúdo de cada item */
.modal-tl-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.modal-tl-card:hover {
    border-color: rgba(161, 125, 36, .35);
    box-shadow: 0 4px 16px rgba(161, 125, 36, .08);
}

.modal-tl-year {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--gold-dark);
    letter-spacing: .8px;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-tl-year::before {
    content: '';
    width: 18px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    flex-shrink: 0;
}

.modal-tl-titulo {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.3;
}

.modal-tl-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── TAB 3: CONQUISTAS ── */
.modal-conquistas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 32px;
}

.conquista-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all .2s ease;
    cursor: default;
}

.conquista-card:hover {
    border-color: var(--gold-dark);
    background: rgba(161, 125, 36, .04);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(161, 125, 36, .1);
}

.conquista-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--grad-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(161, 125, 36, .25);
}

.conquista-card-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

/* ── FOOTER do modal ── */
.modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 32px;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.modal-footer-counter {
    font-size: 12px;
    color: var(--text-muted);
}

.modal-footer-counter strong {
    color: var(--text-dark);
    font-weight: 700;
}

/* Dots de navegação */
.modal-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.modal-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
    transition: all .2s ease;
    cursor: pointer;
    border: none;
    padding: 0;
}

.modal-dot.active {
    background: var(--gold-dark);
    width: 18px;
    border-radius: 3px;
}

/* Botão Junte-se */
.modal-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: var(--grad-gold);
    color: #fff;
    border-radius: var(--radius-md);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all .2s ease;
    text-decoration: none;
    font-family: var(--font-primary);
}

.modal-footer-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(161, 125, 36, .35);
}

/* Botões outline (prev/next inline do footer) */
.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--text-mid);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s ease;
    font-family: var(--font-primary);
}

.btn-outline-dark:hover:not(:disabled) {
    border-color: var(--gold-dark);
    color: var(--gold-dark);
}

.btn-outline-dark:disabled {
    opacity: .3;
    cursor: default;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 12px;
}

/* ── Swipe hint mobile ── */
.modal-swipe-hint {
    display: none;
}

/* ── Tags para hero (fora do modal) ── */
.perfil-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: .3px;
}

.perfil-tag.gold {
    background: rgba(241, 179, 28, .2);
    border: 1px solid rgba(241, 179, 28, .4);
    color: var(--gold);
}

.perfil-tag.green {
    background: rgba(51, 95, 70, .2);
    border: 1px solid rgba(51, 95, 70, .4);
    color: #a7f3c9;
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
    .modal-arrow {
        display: none;
    }

    .perfil-modal {
        max-width: 100%;
    }

    .modal-panel-left {
        width: 240px;
    }

    .modal-left-nome {
        font-size: 17px;
    }

    .modal-tabs-bar {
        padding: 0 20px;
    }

    .modal-tab-content {
        padding: 24px 20px;
    }

    .modal-footer {
        padding: 12px 20px;
    }

    .modal-conquistas-grid {
        grid-template-columns: 1fr;
    }

    .modal-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .perfil-modal {
        flex-direction: column;
        max-height: 95vh;
    }

    .modal-panel-left {
        width: 100%;
        padding: 0;
    }

    .modal-left-content {
        flex-direction: row;
        align-items: center;
        padding: 20px;
        text-align: left;
        gap: 16px;
    }

    .modal-avatar {
        width: 72px;
        height: 72px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .modal-left-middle {
        flex: 1;
        min-width: 0;
    }

    .modal-left-nome {
        font-size: 16px;
    }

    .modal-left-cargo {
        margin-bottom: 6px;
    }

    .modal-left-empresa {
        margin-bottom: 0;
    }

    .modal-left-tags,
    .modal-left-divider,
    .modal-left-infos,
    .modal-left-social {
        display: none;
    }

    .modal-tabs-bar {
        padding: 0 16px;
        overflow-x: auto;
    }

    .modal-tab-btn {
        margin-right: 18px;
        font-size: 12px;
    }

    .modal-tab-content {
        padding: 20px 16px;
    }

    .modal-footer {
        padding: 10px 16px;
    }

    .modal-footer-cta span {
        display: none;
    }

    .modal-conquistas-grid {
        grid-template-columns: 1fr;
    }

    .modal-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Redes sociais na tab conquistas */
.modal-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-mid);
    font-size: 13px;
    font-weight: 600;
    transition: all .18s ease;
    text-decoration: none;
    background: #fff;
}

.modal-social-link:hover {
    border-color: var(--gold-dark);
    color: var(--gold-dark);
    background: rgba(161, 125, 36, .04);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(161, 125, 36, .1);
}

.modal-social-link i {
    font-size: 14px;
}

/* ── Quote band ── */
.destaque-quote-band {
    background: var(--green);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}

.destaque-quote-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/bg-banner.png') center / cover no-repeat;
    opacity: .05;
}

.destaque-quote {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.destaque-quote-icon {
    font-size: 32px;
    color: var(--gold);
    opacity: .6;
    margin-bottom: 20px;
    display: block;
}

.destaque-quote p {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 600;
    color: #fff;
    line-height: 1.55;
    font-style: italic;
    margin-bottom: 24px;
    letter-spacing: -.2px;
}

.destaque-quote footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.destaque-quote cite {
    font-size: 15px;
    font-weight: 800;
    color: var(--gold);
    font-style: normal;
    letter-spacing: .3px;
}

.destaque-quote footer span {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .55);
    font-weight: 500;
}

/* Focus ring acessível nas cards */
.perfil-card-v2:focus {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(241, 179, 28, .18), var(--shadow-md);
}

/* Animação staggered de entrada — gerida via JS IntersectionObserver */

/* Dots indicador de posição no modal */
.modal-dots {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    padding: 12px 0 0;
}

.modal-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
    transition: all var(--trans-fast);
    cursor: pointer;
    border: none;
    padding: 0;
}

.modal-dot.active {
    background: var(--gold-dark);
    width: 20px;
    border-radius: 3px;
}

/* Indicador de swipe no mobile */
@media (max-width: 640px) {
    .modal-swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-size: 11px;
        color: var(--text-light);
        padding: 8px 0 0;
    }
}

.modal-swipe-hint {
    display: none;
}

/* Melhorar secção hero com wave divider */
.hero-destaque-wave {
    display: block;
    width: 100%;
    height: 48px;
    overflow: hidden;
    line-height: 0;
    position: relative;
    z-index: 2;
    background: var(--bg-light);
    margin-top: -2px;
}

.hero-destaque-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Chip hover com logo colorida */
.chip:hover img {
    filter: none;
    opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .perfis-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-destaque-foto-wrap {
        width: 300px;
    }
}

@media (max-width: 900px) {
    .hero-destaque {
        padding: 108px 0 0;
    }

    /* header(64) + respiro(44) */
}

@media (max-width: 768px) {
    .hero-destaque {
        padding: 96px 0 0;
    }

    /* header(64) + respiro(32) */
    .hero-destaque-inner {
        grid-template-columns: 1fr;
    }

    .hero-destaque-foto {
        display: none;
    }

    .hero-destaque-content {
        padding: 36px 0 40px;
    }

    .hero-destaque-stats {
        gap: 20px;
    }

    .perfis-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .toolbar-row-top {
        flex-direction: column;
        align-items: stretch;
    }

    .search-field {
        max-width: 100%;
    }

    .sort-select {
        margin-left: 0;
        justify-content: space-between;
    }

    .modal-tab-content {
        padding: 20px;
    }

    .modal-footer {
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .perfis-grid {
        grid-template-columns: 1fr;
    }

    .filter-chips {
        gap: 6px;
    }

    .card-foto-wrap {
        aspect-ratio: 4 / 3;
    }
}