.about-page {
    padding: 0;
    min-height: 100vh;
    background-color: #000000;
    position: relative;
}

/* Mobile: ajustes de padding */
@media (max-width: 768px) {
    .about-page {
        padding: 1rem 0; /* Reduzido significativamente */
    }
    
    /* Reduz espaçamento entre elementos no mobile */
    .about-page-content {
        margin-bottom: 1rem; /* Reduzido significativamente */
    }
    
    /* Headings no mobile - alinhamento com o grid (sem padding lateral) */
    .about-page-content .container > h1,
    .about-page-content .container > h2,
    .about-page-content .container > h3,
    .about-page-content .container > h4,
    .about-page-content .container > h5,
    .about-page-content .container > h6,
    .about-page-content .container > .wp-block-heading,
    .about-page-content h1,
    .about-page-content h2,
    .about-page-content h3,
    .about-page-content h4,
    .about-page-content h5,
    .about-page-content h6,
    .about-page-content .wp-block-heading[data-level="1"],
    .about-page-content .wp-block-heading[data-level="2"],
    .about-page-content .wp-block-heading[data-level="3"],
    .about-page-content .wp-block-heading[data-level="4"],
    .about-page-content .wp-block-heading[data-level="5"],
    .about-page-content .wp-block-heading[data-level="6"],
    .about-page-content .wp-block-heading.is-style-h1,
    .about-page-content .wp-block-heading.is-style-h2,
    .about-page-content .wp-block-heading.is-style-h3,
    .about-page-content .wp-block-heading.is-style-h4,
    .about-page-content .wp-block-heading.is-style-h5,
    .about-page-content .wp-block-heading.is-style-h6,
    .about-page-content h1.wp-block-heading,
    .about-page-content h2.wp-block-heading,
    .about-page-content h3.wp-block-heading,
    .about-page-content h4.wp-block-heading,
    .about-page-content h5.wp-block-heading,
    .about-page-content h6.wp-block-heading {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .about-page-content h1,
    .about-page-content .wp-block-heading[data-level="1"],
    .about-page-content .wp-block-heading.is-style-h1,
    .about-page-content h1.wp-block-heading {
        padding-top: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .about-page-content h2,
    .about-page-content h3,
    .about-page-content h4,
    .about-page-content h5,
    .about-page-content h6,
    .about-page-content .wp-block-heading:not([data-level="1"]):not(.is-style-h1) {
        margin-bottom: 0.5rem;
    }
    
    .about-page-content p,
    .about-page-content .wp-block-paragraph {
        margin-bottom: 0.25rem; /* Reduzido significativamente */
    }
    
    .about-page-content .wp-block-group,
    .about-page-content .wp-block-columns {
        margin-bottom: 0.5rem; /* Reduzido significativamente */
    }
    
    /* Reduz espaçamento entre blocos de colunas */
    .about-page-content .wp-block-columns + .wp-block-columns {
        margin-top: 0.5rem;
    }
    
    /* Padding lateral de 24px apenas para h1 (primeiro elemento) dentro do vbbVideoContent no mobile */
    .about-page .wp-block-vbb-video-bg .vbbVideoContent > h1:first-child,
    .about-page .wp-block-vbb-video-bg .vbbVideoContent > .wp-block-heading[data-level="1"]:first-child,
    .about-page .wp-block-vbb-video-bg .vbbVideoContent > .wp-block-heading.is-style-h1:first-child,
    .about-page .wp-block-vbb-video-bg .vbbVideoContent > h1.wp-block-heading:first-child {
        padding-left: 24px !important;
        padding-right: 24px !important;
        box-sizing: border-box !important;
    }
    
    /* Eliminar margin de 64px do elemento wp-block-columns específico na seção de princípios no mobile */
    .about-page-content .wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-9d6595d7.wp-block-columns-is-layout-flex {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Video Background Block - 100vw e 100vh na página Sobre Nós */
.about-page .wp-block-vbb-video-bg {
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 100vh !important;
    height: 100vh !important;
    position: relative !important;
    top: 0 !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    z-index: 0 !important;
    overflow: hidden;
    pointer-events: none;
    margin-bottom: 0;
}

.about-page .wp-block-vbb-video-bg .vbbVideoContent {
    pointer-events: auto;
}

.about-page .wp-block-vbb-video-bg .vbbVideoPlayer {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 0 !important;
}

.about-page .wp-block-vbb-video-bg .vbbVideoOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0.5 !important;
    background: transparent !important;
}

.about-page .wp-block-vbb-video-bg .vbbVideoContent {
    position: relative;
    z-index: 0.5 !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

/* Conteúdo dentro do vídeo deve seguir o grid do site */
.about-page .wp-block-vbb-video-bg .vbbVideoContent > * {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.about-page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    opacity: 0;
    transition: opacity 0.5s ease, background-color 0.2s ease;
    pointer-events: none;
    z-index: 1 !important;
    will-change: opacity, background-color;
}

.about-page-content {
    position: relative;
    z-index: 2;
    background-color: transparent !important;
    background: none !important;
    margin-top: 0;
    padding-top: 0;
}

/* Conteúdo que vem depois do vídeo deve ter z-index correto e não sobrepor */
.about-page .wp-block-vbb-video-bg ~ * {
    position: relative;
    z-index: 2;
}

/* Conteúdo dentro do vídeo deve ficar abaixo do overlay de transições */
.about-page .wp-block-vbb-video-bg .vbbVideoContent {
    z-index: 0.5 !important;
}

/* Conteúdo da página (fora do vídeo) deve ficar acima do overlay e do vídeo */
.about-page > *:not(.about-page-overlay):not(.wp-block-vbb-video-bg) {
    position: relative;
    z-index: 2;
}

.about-page-content,
.about-page .wp-block-columns:not(.wp-block-vbb-video-bg .wp-block-columns),
.about-page .wp-block-group:not(.wp-block-vbb-video-bg .wp-block-group),
.about-page section:not(.wp-block-vbb-video-bg section) {
    position: relative;
    z-index: 2;
}

.about-page .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 1600px !important;
}

.about-page > section .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.about-page .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.about-page-content {
    margin-bottom: 4rem;
}

.about-page-content:first-of-type .container {
    padding-top: 0 !important;
}

.about-page-content .container {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    width: 100%;
}

.about-page-content .container > * {
    max-width: 100%;
}

.about-page-content .wp-block-group.has-background,
.about-page-content .wp-block-cover,
.about-page-content .wp-block-group::before,
.about-page-content .wp-block-group::after,
.about-page-content .wp-block-cover::before,
.about-page-content .wp-block-cover::after {
    background-color: transparent !important;
    background-image: none !important;
}

.about-page-content .wp-block-group.has-background:not(.alignfull) {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.about-page-content h1,
.about-page-content .wp-block-heading[data-level="1"],
.about-page-content .wp-block-heading.is-style-h1,
.about-page-content h1.wp-block-heading {
    font-size: clamp(3.5rem, 5vw, 5rem);
    font-weight: 200;
    letter-spacing: -0.06em;
    padding-top: 100px;
    margin-bottom: 1rem;
    padding-left: 0;
    padding-right: 0;
    line-height: 1.25;
    color: #ffffff; /* Branco inicial - será atualizado pelo JS */
    transition: color 0.5s ease;
}

.about-page-content p,
.about-page-content .wp-block-paragraph {
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    line-height: 1.7;
    letter-spacing: 0.02em;
    color: #ffffff; /* Branco inicial - será atualizado pelo JS */
    margin-top: 0;
    transition: color 0.5s ease;
}

/* Garante que todos os textos dentro de about-page mudem de cor, exceto estilos de parágrafos e pilulas */
.about-page-content *:not(.is-style-box-light-grey):not(.is-style-box-black):not(.is-style-box-yellow):not(.is-style-box-white):not(.headcore-pill-yellow):not(.headcore-pill-black):not(.headcore-pill-grey) {
    transition: color 0.5s ease;
}

/* Remove fundo branco de sections e grupos dentro de about-page */
.about-page section,
.about-page .about-page-content,
.about-page .wp-block-group:not(.has-background),
.about-page .wp-block-group.has-background,
.about-page .wp-block-columns,
.about-page .wp-block-column {
    background-color: transparent !important;
    background: none !important;
}

/* Garante que estilos de parágrafos mantenham suas cores originais e animações */
/* Maior especificidade para sobrescrever regras globais */
.about-page-content .wp-block-paragraph.is-style-box-light-grey,
.about-page-content p.is-style-box-light-grey,
.about-page-content .wp-block-paragraph.is-style-box-black,
.about-page-content p.is-style-box-black,
.about-page-content .wp-block-paragraph.is-style-box-yellow,
.about-page-content p.is-style-box-yellow,
.about-page-content .wp-block-paragraph.is-style-box-white,
.about-page-content p.is-style-box-white {
    color: inherit !important;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, color 0.5s ease !important;
    opacity: 0 !important;
    transform: translateY(40px) !important;
}

/* Permite que o texto dentro de box-white mude de cor */
.about-page-content .is-style-box-white *:not(.headcore-pill-yellow):not(.headcore-pill-black):not(.headcore-pill-grey):not(span.headcore-pill-yellow):not(span.headcore-pill-black):not(span.headcore-pill-grey) {
    transition: color 0.5s ease !important;
}

/* Pilula amarela: mantém estilo original sem animação */
.about-page-content .headcore-pill-yellow,
.about-page-content span.headcore-pill-yellow,
.about-page-content .headcore-pill-yellow *,
.about-page-content span.headcore-pill-yellow * {
    color: #000000 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: 1.5 !important;
    border: none !important;
    white-space: nowrap !important;
    display: inline-block !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.about-page-content .headcore-pill-yellow,
.about-page-content span.headcore-pill-yellow {
    background-color: #FFBE00 !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 50px !important;
}

.about-page-content .headcore-pill-yellow *,
.about-page-content span.headcore-pill-yellow * {
    background-color: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.about-page-content .headcore-pill-yellow a,
.about-page-content span.headcore-pill-yellow a,
.about-page-content .headcore-pill-yellow a *,
.about-page-content span.headcore-pill-yellow a * {
    color: #000000 !important;
    text-decoration: none !important;
}

/* Pilula preta: mantém estilo original sem animação */
.about-page-content .headcore-pill-black,
.about-page-content span.headcore-pill-black,
.about-page-content .headcore-pill-black *,
.about-page-content span.headcore-pill-black * {
    color: #ffffff !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: 1.5 !important;
    border: none !important;
    white-space: nowrap !important;
    display: inline-block !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.about-page-content .headcore-pill-black,
.about-page-content span.headcore-pill-black {
    background-color: #000000 !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 50px !important;
}

.about-page-content .headcore-pill-black *,
.about-page-content span.headcore-pill-black * {
    background-color: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.about-page-content .headcore-pill-black a,
.about-page-content span.headcore-pill-black a,
.about-page-content .headcore-pill-black a *,
.about-page-content span.headcore-pill-black a * {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Pilula cinza claro: mantém estilo original sem animação */
.about-page-content .headcore-pill-grey,
.about-page-content span.headcore-pill-grey,
.about-page-content .headcore-pill-grey *,
.about-page-content span.headcore-pill-grey * {
    color: #000000 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: 1.5 !important;
    border: none !important;
    white-space: nowrap !important;
    display: inline-block !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.about-page-content .headcore-pill-grey,
.about-page-content span.headcore-pill-grey {
    background-color: #E5E5E5 !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 50px !important;
}

.about-page-content .headcore-pill-grey *,
.about-page-content span.headcore-pill-grey * {
    background-color: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.about-page-content .headcore-pill-grey a,
.about-page-content span.headcore-pill-grey a,
.about-page-content .headcore-pill-grey a *,
.about-page-content span.headcore-pill-grey a * {
    color: #000000 !important;
    text-decoration: none !important;
}

/* Pilulas dentro de box-black: mantêm suas cores originais */
.about-page-content .is-style-box-black .headcore-pill-yellow,
.about-page-content .is-style-box-black span.headcore-pill-yellow,
.about-page-content .is-style-box-black .headcore-pill-yellow *,
.about-page-content .is-style-box-black span.headcore-pill-yellow *,
.about-page-content p.is-style-box-black .headcore-pill-yellow,
.about-page-content p.is-style-box-black span.headcore-pill-yellow,
.about-page-content p.is-style-box-black .headcore-pill-yellow *,
.about-page-content p.is-style-box-black span.headcore-pill-yellow * {
    color: #000000 !important;
}

.about-page-content .is-style-box-black .headcore-pill-black,
.about-page-content .is-style-box-black span.headcore-pill-black,
.about-page-content .is-style-box-black .headcore-pill-black *,
.about-page-content .is-style-box-black span.headcore-pill-black *,
.about-page-content p.is-style-box-black .headcore-pill-black,
.about-page-content p.is-style-box-black span.headcore-pill-black,
.about-page-content p.is-style-box-black .headcore-pill-black *,
.about-page-content p.is-style-box-black span.headcore-pill-black * {
    color: #ffffff !important;
}

.about-page-content .is-style-box-black .headcore-pill-grey,
.about-page-content .is-style-box-black span.headcore-pill-grey,
.about-page-content .is-style-box-black .headcore-pill-grey *,
.about-page-content .is-style-box-black span.headcore-pill-grey *,
.about-page-content p.is-style-box-black .headcore-pill-grey,
.about-page-content p.is-style-box-black span.headcore-pill-grey,
.about-page-content p.is-style-box-black .headcore-pill-grey *,
.about-page-content p.is-style-box-black span.headcore-pill-grey * {
    color: #000000 !important;
}

/* Animações quando a classe headcore-animated é adicionada */
.about-page-content .wp-block-paragraph.is-style-box-light-grey.headcore-animated,
.about-page-content p.is-style-box-light-grey.headcore-animated,
.about-page-content .wp-block-paragraph.is-style-box-black.headcore-animated,
.about-page-content p.is-style-box-black.headcore-animated,
.about-page-content .wp-block-paragraph.is-style-box-yellow.headcore-animated,
.about-page-content p.is-style-box-yellow.headcore-animated,
.about-page-content .wp-block-paragraph.is-style-box-white.headcore-animated,
.about-page-content p.is-style-box-white.headcore-animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Box-black: texto branco sempre - maior especificidade */
.about-page-content .wp-block-paragraph.is-style-box-black,
.about-page-content p.is-style-box-black,
.about-page-content .wp-block-paragraph.is-style-box-black *,
.about-page-content p.is-style-box-black *,
.about-page-content .wp-block-paragraph.is-style-box-black p,
.about-page-content p.is-style-box-black p {
    color: #ffffff !important;
}

/* Box-black: links brancos */
.about-page-content .wp-block-paragraph.is-style-box-black a,
.about-page-content p.is-style-box-black a,
.about-page-content .wp-block-paragraph.is-style-box-black p a,
.about-page-content p.is-style-box-black p a {
    color: #ffffff !important;
}

.about-page-content h2,
.about-page-content h3,
.about-page-content h4,
.about-page-content h5,
.about-page-content h6,
.about-page-content .wp-block-heading {
    color: #ffffff; /* Branco inicial - será atualizado pelo JS */
    transition: color 0.5s ease;
}

.about-page-content a {
    color: #ffffff; /* Branco inicial - será atualizado pelo JS */
    transition: color 0.5s ease;
}

