/* Estilos específicos para a página Sobre e Linha do Tempo */

/* SEÇÃO LINHA DO TEMPO (HISTÓRIA) */
.timeline-section {
    padding: 8rem 2rem;
    background-color: #ffffff;
    overflow: hidden;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.timeline-wrapper {
    position: relative;
    padding: 2rem 0;
}

/* Linha pontilhada central */
.timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    border-left: 1px dotted #999;
    transform: translateX(-50%);
    z-index: 1;
    /* Mantém a linha na base */
}

.timeline-item {
    position: relative;
    width: 100%;
    margin-bottom: 8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Centraliza o conteúdo verticalmente em relação ao Dot */
    z-index: 2;
    /* Garante que o item e seus filhos fiquem ACIMA da linha */
    transition: filter 0.4s ease;
    /* Transição de opacidade movida para .timeline-content */
}

/* Estado inativo (opaco) */
.timeline-item:not(.active) {
    filter: grayscale(1);
    cursor: pointer;
}

.timeline-item:not(.active) .timeline-content {
    opacity: 0.2;
    /* Apenas o conteúdo (texto/imagem) fica transparente */
    transition: opacity 0.4s ease;
}

.timeline-item.active {
    /* opacity: 1; - Removido pois opacidade agora está em .timeline-content */
    filter: none;
}

/* Círculo do Ano */
.year-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    /* Garante centralização vertical exata */
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: #f9f9f9;
    /* Cor sólida de fundo para tapar a linha */
    color: #999;
    /* Cor do texto quando inativo */
    border: 2px solid #ccc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 800;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.timeline-item.active .year-dot {
    background-color: #0A1ECD;
    color: #fff;
    border-color: #0A1ECD;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(10, 30, 205, 0.3);
}

/* Conteúdo */
.timeline-content {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 140px;
    /* Maior espaço para o Dot central */
    align-items: center;
    /* Alinha texto e imagem na mesma altura horizontalmente */
}

.timeline-content.side-left {
    direction: ltr;
}

.timeline-content.side-right {
    direction: ltr;
    /* Mantenho ltr mas mudo a ordem no grid se necessário, ou uso flex order */
}

/* Posicionamento Esquerda/Direita */
.side-left .text-content {
    grid-column: 1;
    text-align: left;
}

.side-left .image-content {
    grid-column: 2;
}

/* Reordenar para itens da direita */
.side-right .text-content {
    grid-column: 2;
    text-align: left;
}

.side-right .image-content {
    grid-column: 1;
    grid-row: 1;
}

/* Tipografia */
.text-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 2rem;
}

.text-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.5rem;
}

.stats {
    background: transparent;
    margin-top: 2rem;
}

.stats strong {
    display: block;
    margin-bottom: 0.8rem;
    color: #000;
}

.stats ul {
    list-style: none;
    padding: 0;
}

.stats li {
    font-size: 1.2rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 0.3rem;
}

/* Moldura da Imagem (Frame Azul Grosso) */
.image-content {
    display: flex;
    justify-content: center;
    width: 100%;
}

.img-frame {
    position: relative;
    border-radius: 20px;
    background-color: transparent;
    padding: 0;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 550px;
}

.timeline-item.active .img-frame {
    background-color: transparent !important;
}

.timeline-item.active .img-frame img {
    box-shadow: none !important;
}

.img-frame img {
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    mix-blend-mode: multiply;
}

/* Responsividade */
@media (max-width: 1024px) {
    .timeline-content {
        gap: 80px;
    }
}

@media (max-width: 768px) {
    .timeline-wrapper::before {
        left: 40px;
    }

    .year-dot {
        left: 40px;
        width: 60px;
        height: 60px;
        font-size: 1rem;
        transform: translate(0, -50%);
    }

    .timeline-item.active .year-dot {
        transform: translate(0, -50%) scale(1.1);
    }

    .timeline-content {
        grid-template-columns: 1fr;
        padding-left: 100px;
        gap: 2.5rem;
    }

    .side-left .text-content,
    .side-right .text-content {
        grid-column: 1;
        order: 1;
    }

    .side-left .image-content,
    .side-right .image-content {
        grid-column: 1;
        order: 2;
    }

    .side-right .image-content {
        grid-row: 2;
    }

    .text-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .text-content p {
        font-size: 1rem;
    }

    .stats li {
        font-size: 1rem;
    }

    .img-frame {
        padding: 12px;
    }

    .timeline-item {
        margin-bottom: 4rem;
    }
}

/* SEÇÃO PARCEIROS */
.partners-section {
    padding: 4rem 2rem;
    background-color: #e9e9e9;
    /* Tom de cinza claro como na imagem */
    text-align: center;
    max-width: 1200px;
    width: 90%;
    margin: 5rem auto 4rem;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
}

.partners-title {
    font-size: 2.8rem; /* Reduzido levemente de 3.5rem */
    font-weight: 800;
    color: #FFA51F;
    margin-bottom: 3rem;
}

.partners-rows {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    /* Espaço entre as linhas */
}

.partners-row {
    display: flex;
    justify-content: center;
    gap: 7rem;
    align-items: center;
}

.partner-logo {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 210px; /* Aumentado de 180px para 210px */
    transition: all 0.3s ease;
}

.partner-logo img {
    max-width: 100%;
    max-height: 160px; /* Aumentado de 140px para 160px */
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-logo img:hover {
    transform: scale(1.1);
}

/* Ênfase especial para São Miguel do Anta */
.partner-logo.featured {
    width: 260px; /* Aumentado de 220px para 260px */
}

.partner-logo.featured img {
    max-height: 200px; /* Aumentado de 170px para 200px */
    transform: scale(1.1);
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
}

.partner-logo.featured img:hover {
    transform: scale(1.2);
}

@media (max-width: 1024px) {
    .partners-title {
        font-size: 2.3rem;
    }

    .partners-row {
        gap: 3.5rem;
    }

    .partner-logo {
        width: 150px;
    }

    .partner-logo.featured {
        width: 160px;
    }

    .partner-logo.featured img {
        max-height: 125px;
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 3rem 1.5rem;
        margin: 3rem auto;
    }

    .partners-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .partners-rows {
        gap: 2.5rem;
    }

    .partners-row {
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
    }

    .partner-logo {
        width: 110px;
    }

    .partner-logo.featured {
        width: 130px;
    }

    .partner-logo.featured img {
        max-height: 105px;
    }
}

@media (max-width: 480px) {
    .partner-logo {
        width: 90px;
    }

    .partner-logo.featured {
        width: 105px;
    }

    .partner-logo.featured img {
        max-height: 85px;
    }

    .partners-row {
        gap: 1.5rem;
    }
}

/* SEÇÃO BENEFÍCIOS */
.benefits-section {
    padding: 8rem 2rem;
    background-color: #fff;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-content {
    display: flex;
    gap: 5rem;
    /* Reduzi o gap para dar mais espaço ao texto */
    align-items: center;
}

.benefits-text {
    flex: 1;
    min-width: 0;
}

.benefits-title {
    font-size: 3.5rem;
    /* Aumentei o tamanho como na imagem */
    font-weight: 800;
    color: #FFA51F;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    position: relative;
    display: block;
    /* Garante que a linha ocupe a largura do container */
}

.benefits-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 4px;
    background-color: #FFA51F;
}

.benefits-description {
    font-size: 1.1rem;
    color: #333;
    margin-top: 2rem;
    margin-bottom: 4rem;
    line-height: 1.6;
}

/* Accordion */
.accordion {
    border-top: 1px solid #ccc;
}

.accordion-item {
    border-bottom: 1px solid #ccc;
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header .arrow {
    color: #0A1ECD;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-header h3 {
    flex: 1;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
}

.accordion-header .icon {
    font-size: 1.5rem;
    color: #000;
    font-weight: bold;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content p {
    padding-bottom: 1.5rem;
    padding-left: 3rem;
    color: #666;
    line-height: 1.6;
    font-size: 1.05rem;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    /* Ajustável */
}

.accordion-item.active .accordion-header .arrow {
    transform: rotate(0);
    /* Ajuste se necessário */
}

/* Image */
.benefits-image {
    flex: 0 0 40%;
    /* Reduzi a largura da imagem */
}

.benefits-image img {
    width: 100%;
    border-radius: 20px;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .benefits-content {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }

    .benefits-text {
        display: contents; /* Desaparece o container para ordenar os filhos diretamente no flex principal */
    }

    .benefits-title {
        order: 1;
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .benefits-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
    }

    .benefits-description {
        order: 2;
        text-align: center;
        font-size: 1rem;
        margin-top: 1rem;
        margin-bottom: 2rem;
    }

    .benefits-image {
        order: 3;
        width: 100%;
        max-width: 600px;
        align-self: center;
    }

    .accordion {
        order: 4;
        width: 100%;
    }

    .accordion-header h3 {
        font-size: 1.1rem;
    }
}

/* SEÇÃO CARROSSEL KIDS */
.kids-carousel-section {
    padding: 2.8rem 2rem 4.2rem;
    background-color: #FFA51F;
    /* Amarelo do fundo */
    overflow: hidden;
    max-width: 1520px;
    width: 96%;
    margin: 4rem auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.carousel-container-kids {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 4rem;
}

.carousel-track-container-kids {
    overflow: hidden;
    width: 100%;
}

.carousel-track-kids {
    display: flex;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2rem;
}

.carousel-card-kids {
    flex: 0 0 calc(33.333% - 1.34rem);
    /* 3 cards visíveis */
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.4s ease, opacity 0.4s ease;
    cursor: pointer;
    position: relative;
}

/* Efeito de sobreposição amarela para cards laterais */
.carousel-card-kids::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 165, 31, 0.5);
    /* Overlay amarela */
    transition: opacity 0.4s ease;
}

/* Card central ou ativo (via JS) */
.carousel-card-kids.active {
    transform: scale(1.1);
    z-index: 5;
}

.carousel-card-kids.active::after {
    opacity: 0;
}

.carousel-card-kids img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* Botões Customizados */
.carousel-container-kids .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 2px solid #ffffff;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-container-kids .carousel-btn:hover {
    background: #ffffff;
    color: #FFA51F;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn-kids {
    left: 0;
}

.next-btn-kids {
    right: 0;
}

@media (max-width: 768px) {
    .carousel-card-kids {
        flex: 0 0 100%;
    }

    .carousel-container-kids {
        padding: 0 3rem;
    }
}

/* SEÇÃO EQUIPE */
.team-section {
    padding: 8rem 2rem;
    background-color: #fff;
    text-align: center;
}

.team-container {
    max-width: 1400px;
    margin: 0 auto;
}

.team-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 4rem;
    line-height: 1.2;
}

.team-title span {
    font-size: 3.5rem;
    font-weight: 800;
    color: #FFA51F;
}

.team-carousel-wrapper {
    overflow-x: auto;
    padding: 2rem 0;
    cursor: grab;
    scrollbar-width: none;
    /* Firefox */
}

.team-carousel-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, etc */
}

.team-carousel-wrapper:active {
    cursor: grabbing;
}

.team-track {
    display: flex;
    gap: 2rem;
    padding-bottom: 1rem;
    width: max-content;
}

.team-card {
    flex: 0 0 320px;
    background-color: #f1f1f1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.team-card img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
}

.team-card.larger img {
    object-fit: cover;
    object-position: top;
}

.card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    text-align: center;
}

.card-footer h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.card-footer p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Scrollbar Customizada */
.scrollbar-container {
    width: 100%;
    max-width: 500px;
    margin: 3rem auto 0;
    background: #eee;
    height: 10px;
    /* Um pouco mais alto para facilitar o clique */
    border-radius: 5px;
    position: relative;
    cursor: pointer;
}

.scrollbar-track {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.scrollbar-thumb {
    position: absolute;
    top: 50%;
    left: 0;
    height: 100%;
    width: 20%;
    background: #FFA51F;
    border-radius: 5px;
    transform: translateY(-50%);
    transition: left 0.1s ease-out, background 0.3s ease;
    cursor: grab;
}

.scrollbar-thumb:active {
    cursor: grabbing;
    background: #f0a800;
}

@media (max-width: 768px) {
    .team-card {
        flex: 0 0 280px;
    }

    .team-title span {
        font-size: 2.2rem;
    }
}

/* SEÇÃO TOUR 360 GRAUS */
.tour-360-section {
    padding: 8rem 0;
    background-color: #f1f1f1;
}

.tour-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.tour-header {
    margin-bottom: 4rem;
}

.tour-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 0.5rem;
}

.tour-header p {
    font-size: 1.2rem;
    color: #666;
}

.tour-container {
    width: 100%;
    height: 600px;
    background-color: #333;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.tour-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../assets/img/anglo.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.tour-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.play-360-btn {
    background: transparent;
    border: none;
    width: 110px;
    height: 110px;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-360-btn:hover {
    transform: scale(1.15);
}

.vr-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    display: none;
    /* Oculto até o tour começar */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
}

.vr-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.vr-btn svg {
    width: 24px;
    height: 24px;
}

.vr-btn.visible {
    display: flex;
}

/* --- BANNERS ESTÁTICOS ESCALONADOS (Sobre) --- */
.hero-visuals.about-static-banners {
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: center;
    align-items: center;
    height: 500px;
    /* Container de altura fixa */
    overflow: visible;
    padding-top: 20px;
}

.static-banner-sobre {
    width: 220px;
    height: auto;
    border-radius: 100px;
    /* Formato de pílula */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.static-banner-sobre.left {
    transform: translateY(15%);
    /* Empurrar para baixo */
}

.static-banner-sobre.right {
    transform: translateY(-15%);
    /* Puxar para cima */
}

@media (max-width: 768px) {
    .hero-visuals.about-static-banners {
        height: 300px;
        flex-direction: row;
        /* Keep them together side-by-side */
        gap: 15px;
        padding: 20px 0;
        justify-content: center;
    }

    .static-banner-sobre {
        width: 120px;
        /* Much smaller on mobile */
        border-radius: 60px;
    }

    .static-banner-sobre.left {
        transform: translateY(10%);
    }

    .static-banner-sobre.right {
        transform: translateY(-10%);
    }
}

.play-360-btn svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}


@media (max-width: 768px) {
    .tour-container {
        height: 400px;
    }

    .tour-header h2 {
        font-size: 2rem;
    }

    .play-360-btn {
        width: 80px;
        height: 80px;
    }
}

/* --- MODOS VR (VR BOX / DESKTOP) --- */

/* Container do Overlay VR */
#vr-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 9999;
    display: none;
    /* Oculto por padrão */
    flex-direction: row;
}

.vr-portrait-warning {
    display: none;
}

@media (orientation: portrait) {
    .vr-portrait-warning {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #000000;
        z-index: 10100;
        color: #ffffff;
        text-align: center;
        padding: 2rem;
        box-sizing: border-box;
    }

    .vr-portrait-warning svg {
        margin-bottom: 1.5rem;
        animation: rotatePhone 2.5s infinite ease-in-out;
    }

    .vr-portrait-warning p {
        font-family: Arial, sans-serif;
        font-size: 1.2rem;
        font-weight: bold;
        line-height: 1.4;
        max-width: 280px;
        color: #ffffff;
    }
}

@keyframes rotatePhone {
    0% {
        transform: rotate(0deg);
    }
    30% {
        transform: rotate(-90deg);
    }
    70% {
        transform: rotate(-90deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

#vr-overlay.active {
    display: flex;
}

/* Duas metades */
.vr-half {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-right: 2px solid #000;
    /* Linha divisória */
}

.vr-half:last-child {
    border-right: none;
    border-left: 2px solid #000;
}

/* Botão Sair do VR */
#exit-vr {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    background: rgba(255, 0, 0, 0.7);
    color: white;
    border: 2px solid white;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    pointer-events: auto;
    /* Garantir que é clicável */
    display: flex;
    align-items: center;
    gap: 8px;
}

#exit-vr:hover {
    background: red;
}

/* Mira central (opcional, ajuda no foco) */
.vr-reticle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 5;
}

/* Força a exibição dos cargos na equipe */
.card-footer p {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
}

/* ================================================= */
/* BANNER SOBRE - HERO COMPLETO */
/* ================================================= */

.hero.sobre-hero {
    background-color: #FFA51F !important;
    background-image: none !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    height: clamp(530px, 36vw, 680px) !important;
    min-height: clamp(530px, 36vw, 680px) !important;
    max-height: clamp(530px, 36vw, 680px) !important;
}

.hero.sobre-hero::before {
    display: none !important;
}

.hero.sobre-hero::after {
    content: '' !important;
    position: absolute !important;
    background-image: url('../assets/img/efeito.png') !important;
    background-repeat: no-repeat !important;
    z-index: 2 !important;
    pointer-events: none !important;
    right: -1% !important;
    top: -6% !important;
    width: 60% !important;
    height: 112% !important;
    background-size: contain !important;
    background-position: right center !important;
}

.sobre-hero-text {
    position: absolute !important;
    left: clamp(6%, 8%, 12%) !important;
    top: 26% !important;
    max-width: clamp(400px, 32%, 600px) !important;
    z-index: 10 !important;
    text-align: left !important;
}

.sobre-hero-text h1 {
    margin: 0 !important;
    font-size: clamp(28px, 2.8vw, 48px) !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    color: #ffffff !important;
}

.sobre-hero-text h1 span {
    color: #1f6dff !important;
    font-size: clamp(22px, 2.2vw, 38px) !important;
    display: block !important;
}

.sobre-hero-line {
    width: 450px !important;
    max-width: 100% !important;
    height: 2px !important;
    background-color: #1f6dff !important;
    margin: 12px 0 14px !important;
}

.sobre-hero-text p {
    margin: 0 !important;
    font-size: clamp(16px, 1.6vw, 26px) !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    color: #ffffff !important;
}

/* Menina */
.sobre-hero-image {
    position: absolute !important;
    right: clamp(2%, 4%, 8%) !important;
    bottom: 0 !important;
    height: 100% !important;
    z-index: 4 !important;
    display: flex !important;
    align-items: flex-end !important;
}

.sobre-hero-image img {
    height: 525px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain !important;
    display: block !important;
}

/* Barra inferior */
.sobre-hero-bottom {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 90px !important;
    z-index: 8 !important;
    background: rgba(0, 0, 0, 0.18) !important; /* Glassmorphism transparente */
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
}

/* Imagem das opções */
.sobre-hero-bottom img {
    width: 100% !important;
    max-width: 1120px !important;
    height: auto !important;
    max-height: 70px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
}

@media (max-width: 900px) {
    .hero.sobre-hero {
        min-height: 600px !important;
        height: 600px !important;
        max-height: none !important;
        position: relative !important;
        overflow: hidden !important;
        padding: 0 !important;
        display: block !important;
    }

    .sobre-hero-text {
        position: absolute !important;
        left: 20px !important;
        right: 20px !important;
        top: 90px !important;
        max-width: none !important;
        text-align: center !important;
        z-index: 10 !important;
        transform: none !important;
    }

    .sobre-hero-text h1 {
        font-size: 32px !important;
        text-align: center !important;
    }

    .sobre-hero-text h1 span {
        font-size: 26px !important;
    }

    .sobre-hero-text p {
        font-size: 17px !important;
        text-align: center !important;
    }

    .sobre-hero-line {
        width: 100% !important;
        margin: 12px auto !important;
    }

    .sobre-hero-image {
        position: absolute !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        margin: 0 auto !important;
        height: 365px !important; /* Girl image touching the bottom and larger */
        width: 320px !important; /* Largura ajustada para 320px para não cortar os ombros/robô */
        overflow: hidden !important;
        z-index: 4 !important;
    }

    .sobre-hero-image img {
        position: absolute !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 100% !important;
        width: auto !important;
        max-width: none !important;
        display: block !important;
    }

    .hero.sobre-hero::after {
        right: -20% !important;
        top: 18% !important;
        width: 100% !important;
        height: 70% !important;
    }

    .sobre-hero-bottom {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 60px !important;
        z-index: 10 !important;
    }

    .sobre-hero-bottom img {
        width: 96% !important;
        max-height: 42px !important;
    }
}

@media (max-width: 768px) {
    .sobre-hero-image {
        height: 350px !important;
        width: 300px !important;
    }
}
