/* Scoped Reset para garantir que o tema pai não quebre o layout */
.instituto-wrapper {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    /* Variáveis baseadas na identidade (sujeito a aprovação de design system) */
    --aiba-primary: #004D40; /* Exemplo: Verde escuro institucional */
    --aiba-secondary: #D4A017; /* Exemplo: Tom terra/dourado */
    --text-primary: #1a1a1a;
    --bg-light: #f4f4f4;
}

/* Garante que as seções ocupem a tela toda se necessário */
.instituto-wrapper section {
    width: 100%;
    position: relative;
}

/* --- HEADER & NAVEGAÇÃO --- */

/* Base Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background-color: transparent; /* Começa transparente */
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Estado "Scrolled" (Fundo Sólido ao rolar) */
.site-header.scrolled {
    background-color: rgba(0, 20, 15, 0.95); /* Verde Profundo com Blur */
    padding: 15px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo-img {
    height: 50px; /* Ajuste conforme proporção do logo */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.site-header.scrolled .logo-img {
    height: 42px; /* Reduz levemente no scroll */
}

/* Navegação Desktop */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

/* Underline animado no hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--aiba-secondary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Botão Header (Transparência) */
.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-header:hover {
    background: var(--aiba-secondary);
    border-color: var(--aiba-secondary);
    color: #000;
}

/* --- MOBILE MENU & TOGGLE --- */

.menu-toggle {
    display: none; /* Escondido no Desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
    width: 30px;
    height: 2px;
    background-color: #fff;
    border-radius: 4px;
    position: absolute;
    transition: transform 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hamburger-inner::before, 
.hamburger-inner::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background-color: #fff;
    border-radius: 4px;
    position: absolute;
    transition: transform 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hamburger-inner::before { top: -10px; }
.hamburger-inner::after { bottom: -10px; }

/* Animação Hamburger -> X */
.menu-toggle.is-active .hamburger-inner { background-color: transparent !important; }
.menu-toggle.is-active .hamburger-inner::before { transform: translateY(10px) rotate(45deg); }
.menu-toggle.is-active .hamburger-inner::after { transform: translateY(-10px) rotate(-45deg); }

/* Mobile Overlay Fullscreen */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #051410; /* Fundo Escuro */
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-link {
    display: block;
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.mobile-link.highlight {
    color: var(--aiba-secondary);
    font-size: 1.5rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

/* Animação Staggered (Cascata) para os links mobile */
.mobile-overlay.is-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
.mobile-overlay.is-open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-overlay.is-open .mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-overlay.is-open .mobile-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-overlay.is-open .mobile-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-overlay.is-open .mobile-link:nth-child(5) { transition-delay: 0.5s; }

/* Responsividade */
@media (max-width: 992px) {
    .desktop-only { display: none !important; }
    .menu-toggle { display: block; }
}

/* --- ATO 1: HERO SECTION --- */

.hero-section {
    position: relative;
    height: 100vh; /* Full screen */
    width: 100%;
    display: flex;
    align-items: center; /* Centraliza verticalmente */
    justify-content: center;
    overflow: hidden;
    color: #fff;
}

/* Background Video Wrapper */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que cubra tudo sem distorcer */
}

/* Overlay para garantir leitura sobre o vídeo */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente suave: Escuro embaixo (texto) -> Transparente em cima */
    background: linear-gradient(180deg, rgba(0,20,15,0.85) 0%, rgba(0,30,20,0.4) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

/* Container de Conteúdo */
.hero-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-content {
    max-width: 800px; /* Limita largura para leitura confortável */
}

/* Tipografia */
.hero-tagline {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--aiba-secondary); /* Dourado/Terra */
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-title {
    /* Tipografia Fluida: Min 2.5rem, Ideal 5vw, Max 5rem */
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-family: 'Playfair Display', serif; /* Serifada para elegância */
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    font-style: italic;
    color: #E0E0E0; /* Leve contraste */
}

.hero-description {
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    line-height: 1.6;
    opacity: 0.9;
    max-width: 60ch; /* 60 caracteres por linha (regra de ouro de leitura) */
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Botão Magnético (Estilo Base) */
.btn-magnetic {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.btn-magnetic:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #fff, transparent);
}

/* Animações de Entrada (Fade In Up) */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    to { opacity: 0.7; }
}

/* Delays escalonados para efeito "Cascata" */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1.5s; }

/* --- ATO 2: IMPACTO (BENTO GRID) --- */

.section-padding {
    padding: 100px 0;
}

.section-header {
    max-width: 600px;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-primary { color: var(--aiba-primary); }
.text-dark { color: var(--text-primary); }
.text-muted { color: #666; font-size: 1.1rem; }
.bg-primary { background-color: var(--aiba-primary); }
.bg-secondary { background-color: var(--aiba-secondary); }
.bg-light { background-color: #f9f9f9; }

/* Grid Layout */
.bento-grid {
    display: grid;
    gap: 20px;
    /* Mobile First: 1 coluna */
    grid-template-columns: 1fr;
}

/* Tablet e Desktop */
@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, minmax(250px, auto));
    }

    /* Card Legacy (10 Anos): Ocupa 2 colunas de altura total (vertical pillar) ou destaque lateral */
    .card-legacy {
        grid-column: 1 / 2;
        grid-row: 1 / 3; /* Ocupa a altura toda à esquerda */
    }

    .card-people {
        grid-column: 2 / 4; /* Ocupa 2 colunas no topo */
        grid-row: 1 / 2;
    }

    .card-projects {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .card-transparency {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
    }
}

/* Card Styles */
.bento-card {
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.bento-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    opacity: 0.8;
}

/* Tipografia dos Números */
.counter-wrapper {
    font-size: clamp(3rem, 4vw, 5rem);
    font-weight: 700;
    line-height: 1;
    margin: 1.5rem 0;
    font-family: 'Playfair Display', serif; /* Serifada para números traz autoridade */
    display: flex;
    align-items: baseline;
}

.counter-suffix {
    font-size: 0.5em; /* Metade do tamanho do número */
    margin-left: 5px;
}

.bento-heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bento-desc {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Estilo Específico: Card Transparência */
.border-dashed {
    background-color: #fff;
    border: 2px dashed #ddd;
}

.link-arrow {
    text-decoration: none;
    color: var(--aiba-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.link-arrow .arrow {
    transition: transform 0.2s ease;
}

.link-arrow:hover .arrow {
    transform: translateX(5px);
}

/* Ícone de fundo decorativo */
.card-icon-bg {
    position: absolute;
    bottom: -20px;
    right: -20px;
    opacity: 0.1;
    width: 150px;
    height: 150px;
    pointer-events: none;
}

/* --- ATO 3: PILARES (STICKY HORIZONTAL) --- */

.strategic-section {
    position: relative;
    width: 100%;
    background-color: #1a1a1a; /* Fundo escuro para contraste elegante */
    color: #fff;
}

.sticky-viewport {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden; /* Esconde o que sai da tela */
    display: flex;
    align-items: center;
}

.horizontal-track {
    display: flex;
    gap: 0; /* Espaço gerenciado pelo padding dos itens */
    height: 100%;
    width: max-content; /* Largura baseada no conteúdo total */
    padding-left: 10vw; /* Espaço inicial */
    will-change: transform; /* Otimização de GPU */
}

/* Bloco de Texto Introdutório */
.pillar-intro {
    width: 30vw;
    min-width: 300px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 4rem;
}

.eyebrow {
    color: var(--aiba-secondary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.strategic-section .section-title {
    color: #fff;
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 1.5rem;
}

.section-desc {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    max-width: 400px;
}

.drag-indicator {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
    font-size: 0.9rem;
    text-transform: uppercase;
    animation: bounceRight 2s infinite;
}

@keyframes bounceRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* Lista de Cards */
.pillars-list {
    display: flex;
    gap: 20px;
    align-items: center;
    height: 100%;
    padding-right: 10vw; /* Espaço final */
}

/* Estilo do Card Individual */
.pillar-card {
    width: 400px; /* Largura fixa para consistência */
    height: 60vh; /* Altura relativa à viewport */
    background: rgba(255,255,255,0.05); /* Vidro escuro */
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background 0.3s ease;
}

.pillar-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
}

.card-number {
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    color: rgba(255,255,255,0.1);
    font-weight: 700;
}

.card-icon svg {
    width: 48px;
    height: 48px;
    color: var(--aiba-secondary);
    margin-bottom: 1.5rem;
}

.pillar-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.pillar-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
}

/* Responsividade Mobile: Desativa o scroll horizontal complexo e vira vertical */
@media (max-width: 768px) {
    .strategic-section {
        height: auto !important; /* Reseta altura */
        padding: 80px 0;
    }
    
    .sticky-viewport {
        position: relative;
        height: auto;
        top: auto;
        display: block;
    }

    .horizontal-track {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
        transform: none !important; /* Remove transformação JS */
    }

    .pillar-intro {
        width: 100%;
        margin-bottom: 3rem;
        padding-right: 0;
    }

    .pillars-list {
        flex-direction: column;
        width: 100%;
        padding-right: 0;
    }

    .pillar-card {
        width: 100%;
        height: auto;
        min-height: 300px;
    }

    .drag-indicator {
        display: none;
    }
}

/* --- ATO 4: PROGRAMAS (ZIG-ZAG) --- */

.programs-section {
    padding: 120px 0;
    background-color: #f0f4f8; /* Tom azul/cinza muito suave */
    position: relative;
    overflow: hidden;
}

/* Background Decorativo (Opcional: Elemento de água abstrato) */
.programs-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,77,64,0.05) 0%, transparent 70%);
    z-index: 0;
}

.programs-section .section-header {
    position: relative;
    z-index: 2;
}

.header-line {
    width: 60px;
    height: 3px;
    background-color: var(--aiba-secondary);
    margin-top: 1.5rem;
}

/* Wrapper Geral */
.zigzag-wrapper {
    display: flex;
    flex-direction: column;
    gap: 80px; /* Espaço entre os itens */
    margin-top: 4rem;
}

/* Item do Programa */
.program-item {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

/* Inverte a ordem para criar o Zig-Zag */
.program-item.reverse {
    flex-direction: row-reverse;
}

/* Imagem */
.program-image-wrapper {
    flex: 1;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.program-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Efeito de Zoom suave no hover da imagem */
.program-image-wrapper:hover .program-img {
    transform: scale(1.05);
}

/* Decoração da Imagem (Borda deslocada) */
.img-decoration {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--aiba-secondary);
    border-radius: 16px;
    z-index: -1; /* Fica atrás da imagem */
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.program-item:hover .img-decoration {
    opacity: 1;
    transform: translate(10px, 10px);
}

/* Conteúdo de Texto */
.program-content {
    flex: 1;
    padding: 0 1rem;
}

.program-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--aiba-primary);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.program-lead {
    font-size: 1.1rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Accordion (Conteúdo Oculto Inicialmente) */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.accordion-content.active {
    opacity: 1;
    margin-bottom: 1.5rem;
}

.accordion-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.program-list {
    list-style: none;
    padding: 0;
}

.program-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--aiba-primary);
    font-weight: 600;
}

.program-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--aiba-secondary);
}

/* Botão Expandir */
.btn-expand {
    background: none;
    border: none;
    padding: 0;
    color: var(--aiba-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.btn-expand:hover {
    color: var(--aiba-secondary);
}

.icon-plus {
    transition: transform 0.3s ease;
}

/* Estado Ativo do Botão */
.btn-expand.active .icon-plus {
    transform: rotate(45deg); /* Vira um 'X' */
}

.btn-expand.active .label-open { display: none; }
.btn-expand .label-close { display: none; }
.btn-expand.active .label-close { display: inline; }

/* Responsividade */
@media (max-width: 992px) {
    .program-item, .program-item.reverse {
        flex-direction: column; /* Empilha tudo no mobile */
        gap: 30px;
    }

    .program-image-wrapper {
        width: 100%;
    }

    .program-img {
        height: 300px;
    }

    .zigzag-wrapper {
        gap: 60px;
    }
}

/* --- ATO 5: HUMANO (CARD REVEAL) --- */

.human-section {
    padding: 120px 0;
    background-color: #111; /* Fundo escuro para destacar as fotos */
    color: #fff;
}

.text-secondary { color: var(--aiba-secondary); }
.text-white { color: #fff; }

.human-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    height: 600px; /* Altura fixa para o grid */
}

/* Card Container */
.human-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    /* Para mobile: permite foco */
    outline: none; 
}

/* Imagem de Fundo */
.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease; /* Zoom lento */
}

/* Overlay Escuro (Gradiente) */
.overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.95) 100%);
    z-index: 2;
}

/* Área de Informação */
.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    z-index: 3;
    transform: translateY(100px); /* Esconde o corpo do texto inicialmente */
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card-header {
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.card-subtitle {
    display: block;
    margin-top: 5px;
    color: var(--aiba-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Corpo do texto (Escondido inicialmente) */
.card-body {
    opacity: 0;
    transition: opacity 0.3s ease 0.1s; /* Delay leve */
}

.card-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
}

.card-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--aiba-secondary);
    padding-bottom: 2px;
    transition: color 0.2s;
}

.card-link:hover {
    color: var(--aiba-secondary);
}

/* --- INTERAÇÃO (HOVER & FOCUS) --- */

/* No hover ou foco, a mágica acontece */
.human-card:hover .card-bg img,
.human-card:focus .card-bg img,
.human-card.active-mobile .card-bg img {
    transform: scale(1.1); /* Zoom na imagem */
}

.human-card:hover .card-info,
.human-card:focus .card-info,
.human-card.active-mobile .card-info {
    transform: translateY(0); /* Sobe o texto */
}

.human-card:hover .card-body,
.human-card:focus .card-body,
.human-card.active-mobile .card-body {
    opacity: 1; /* Revela descrição */
}

/* Responsividade */
@media (max-width: 992px) {
    .human-grid {
        grid-template-columns: 1fr; /* Empilha */
        height: auto;
        gap: 20px;
    }

    .human-card {
        height: 450px; /* Altura fixa por card no mobile */
    }

    /* No mobile, talvez queiramos mostrar sempre ou facilitar a interação */
    .card-info {
        transform: translateY(0); /* Mostra sempre no mobile ou ajusta conforme UX */
        background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 20%, rgba(0,0,0,1) 100%);
    }
    
    .card-body {
        opacity: 1; /* Texto sempre visível no mobile para facilitar leitura */
    }
}

/* --- ATO 6: CONFIANÇA (TRUST SECTION) --- */

.trust-section {
    padding: 100px 0;
    background-color: #fff; /* Fundo limpo para finalizar */
    border-top: 1px solid #eee;
    color: var(--text-primary);
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split 50/50 */
    gap: 60px;
    margin-bottom: 80px;
}

/* Colunas de Conteúdo */
.trust-column {
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: box-shadow 0.3s ease;
}

.trust-column:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.column-icon {
    color: var(--aiba-primary);
    margin-bottom: 1.5rem;
}

.trust-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
}

.trust-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

.trust-desc strong {
    color: var(--aiba-primary);
}

/* Badge ODS */
.ods-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 50px;
    border: 1px solid #eee;
}

.badge-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #666;
}

.ods-dots {
    display: flex;
    gap: 5px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.d-red { background-color: #E5243B; }
.d-gold { background-color: #DDA63A; }
.d-green { background-color: #4C9F38; }
.d-blue { background-color: #26BDE2; }

/* Botão Texto */
.btn-text {
    text-decoration: none;
    color: var(--aiba-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: margin-left 0.3s ease;
}

.btn-text:hover {
    margin-left: 5px;
}

/* --- PARTNERS LOGO GRID --- */

.partners-wrapper {
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 60px;
}

.partners-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #999;
    margin-bottom: 30px;
    display: block;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 60px; /* Gap Vertical / Horizontal */
}

.partner-logo {
    height: 40px; /* Altura padrão para alinhar visualmente */
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Responsividade */
@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr; /* Empilha */
    }

    .logos-grid {
        gap: 30px;
    }
    
    .partner-logo {
        height: 30px;
    }
}

/* --- FOOTER INSTITUCIONAL --- */

.site-footer {
    background-color: #0d1f1a; /* Verde Profundo Quase Preto (Base AIBA) */
    color: #e0e0e0;
    padding: 80px 0 30px;
    font-size: 0.95rem;
}

.footer-top {
    margin-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Coluna da marca é mais larga */
    gap: 60px;
}

/* Identidade */
.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #a0a0a0;
    margin-bottom: 2rem;
    max-width: 350px;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: #ccc;
}

.footer-contact strong {
    color: #fff;
}

/* Colunas de Links */
.footer-heading {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Pequeno detalhe decorativo abaixo do título */
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--aiba-secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--aiba-secondary); /* Dourado da marca no hover */
    padding-left: 5px; /* Movimento sutil */
}

/* Destaque para Links Externos (Ecossistema) */
.link-external {
    font-weight: 500;
    color: #ccc !important;
}

.link-external:hover {
    color: #fff !important;
}

.icon-arrow {
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.2s ease;
}

.link-external:hover .icon-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Rodapé Inferior */
.footer-divider {
    height: 1px;
    background-color: rgba(255,255,255,0.1);
    margin: 40px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #888;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #fff;
}

/* Responsividade */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* Tablet */
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Mobile */
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}