/* ════════════════════════════════════════
   HECT PESSOAS — Grid / Flip Cards
════════════════════════════════════════ */

.hect-pessoas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 0;
    align-items: start;
}

.hect-pessoa-card {
    height: 380px;
    perspective: 1000px;
    cursor: pointer;
}

/* ── Flip container ─────────────────── */
.hect-pessoa-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

/* Desktop: hover */
@media (hover: hover) {
    .hect-pessoa-card:hover .hect-pessoa-inner {
        transform: rotateY(180deg);
    }
}

/* Mobile: click */
.hect-pessoa-inner.flipped {
    transform: rotateY(180deg);
}

/* ── Faces ──────────────────────────── */
.hect-pessoa-front,
.hect-pessoa-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 4px;
}

/* ── Front ──────────────────────────── */
.hect-pessoa-front {
    background-size: cover;
    background-position: center top;
    background-color: #161929;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}

.hect-pessoa-front::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,10,30,0.92) 0%, rgba(0,10,30,0.2) 55%, transparent 100%);
    border-radius: 4px;
    pointer-events: none;
}

.hect-pessoa-front h3 {
    position: relative;
    z-index: 2;
    color: #fff !important;
    padding: 0 20px 6px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0 !important;
    line-height: 1.2;
}

.hect-pessoa-front-cargo {
    position: relative;
    z-index: 2;
    color: #4A9FD4 !important;
    padding: 0 20px 20px;
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin: 0 !important;
}

/* ── Back ───────────────────────────── */
.hect-pessoa-back {
    background-color: #0f141a;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 28px;
    gap: 24px;
    pointer-events: none;
    -webkit-backface-visibility: hidden;
}

.hect-pessoa-inner.flipped .hect-pessoa-back,
.hect-pessoa-card:hover .hect-pessoa-back {
    pointer-events: all;
}

.hect-pessoa-inner.flipped .hect-pessoa-front {
    pointer-events: none;
}

.hect-pessoa-back-bio {
    color: #cce8ff;
    font-size: 13px;
    line-height: 1.85;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hect-pessoa-saiba-mais {
    display: inline-block;
    padding: 10px 24px;
    background-color: #3a8fc7;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: background 0.3s;
    white-space: nowrap;
}

.hect-pessoa-saiba-mais:hover {
    background-color: #2a6fa0;
}

/* ── Responsive ─────────────────────── */
@media (max-width: 1100px) {
    .hect-pessoas-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .hect-pessoas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .hect-pessoas-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   HECT PESSOAS — Hero escuro (estilo "Sobre")
════════════════════════════════════════ */

.hect-pessoa-hero {
    background: #0E1120;
    padding: 80px 24px 60px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.hect-pessoa-hero-cargo {
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #4A9FD4;
    margin: 0 0 12px;
}

.hect-pessoa-hero-nome {
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #EEF1F8;
    margin: 0;
    line-height: 1.1;
}

/* ════════════════════════════════════════
   HECT PESSOAS — Corpo (tema claro)
════════════════════════════════════════ */

.hect-pessoa-single {
    background: #F2F5FA;
    padding-bottom: 1px; /* evita colapso de margem */
}

.hect-pessoa-single-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

/* ── Foto + intro ────────────────────── */
.hect-pessoa-single-header {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid #D6DDE8;
}

.hect-pessoa-single-foto {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.hect-pessoa-single-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.hect-pessoa-single-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #2E6EA6;
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.2s;
}

.hect-pessoa-single-email:hover { color: #1a4f7a; }

.hect-pessoa-single-bio {
    font-size: 15px;
    color: #3D4460;
    line-height: 1.9;
}

/* ── Accordion (tema claro) ─────────── */
.hect-pessoa-accordion {
    margin-bottom: 56px;
}

.hect-acc-item {
    border-bottom: 1px solid #D6DDE8;
}

.hect-acc-item:first-child {
    border-top: 1px solid #D6DDE8;
}

.hect-acc-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #1A1E35;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: left;
    gap: 16px;
    transition: color 0.2s;
}

.hect-acc-btn:hover { color: #2E6EA6; }

.hect-acc-btn svg {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: #2E6EA6;
}

.hect-acc-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.hect-acc-panel {
    padding: 4px 0 28px;
    color: #3D4460;
    font-size: 14px;
    line-height: 1.85;
}

.hect-acc-panel[hidden] { display: none; }

.hect-acc-panel p {
    margin: 0 0 12px;
}

.hect-acc-panel p:last-child { margin-bottom: 0; }

.hect-acc-panel ul,
.hect-acc-panel ol {
    padding-left: 20px;
    margin: 0 0 12px;
}

.hect-acc-panel ul { list-style: none; padding-left: 0; }

.hect-acc-panel ul li {
    padding-left: 16px;
    position: relative;
    margin-bottom: 8px;
}

.hect-acc-panel ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 1px;
    background: #2E6EA6;
}

.hect-acc-panel strong { color: #1A1E35; }

/* ── Voltar ─────────────────────────── */
.hect-pessoa-single-back {
    padding-top: 8px;
}

.hect-pessoa-single-back a {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #7A8099;
    text-decoration: none;
    transition: color 0.2s;
}

.hect-pessoa-single-back a:hover { color: #2E6EA6; }

/* ── Responsive single ──────────────── */
@media (max-width: 700px) {
    .hect-pessoa-single-header {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hect-pessoa-single-foto {
        max-width: 220px;
    }
}
