:root {
    --dark-bg: #0D0C0F;
    --glass-bg: rgba(18, 16, 20, 0.5);
    --gold-primary: #a47e43;
    --gold-secondary: #e69e32;
    --text-primary: rgba(255, 255, 255, 0.9);
    --text-secondary: rgba(255, 255, 255, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --glow-color: rgba(230, 158, 50, 0.4);
}

#sobreNosSec {
    width: 100%;
    padding: 6rem 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6rem;
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden; 
}

#sobreNosSec::before,
#sobreNosSec::after {
    content: '';
    position: absolute;
    z-index: 0;
    will-change: transform;
    animation: aurora-flow 30s ease-in-out infinite;
    filter: blur(50px);
}

#sobreNosSec::before {
    top: -30%;
    left: -25%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle at center, rgba(164, 126, 67, 0.2), transparent 60%);
}

#sobreNosSec::after {
    bottom: -30%;
    right: -25%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(230, 158, 50, 0.15), transparent 70%);
    animation-delay: -15s;
}

#sobreNosSec > h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: -2rem;
    text-shadow: 0 0 20px var(--glow-color);
    opacity: 0;
    transform: scale(0.95) rotate(-2deg);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition-delay: 0.1s;
}

.quemSomos {
    position: relative;
    z-index: 2;
    max-width: 850px;
    width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 2.5rem;
    padding: 2.5rem;
    background: var(--border-color);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 40px var(--shadow-color);
    opacity: 0;
    transform: scale(0.95) rotate(-2deg);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition-delay: 0.2s;
}

.imagem-quemSomos {
    width: 150px;
    height: auto;
    overflow: hidden;
    box-sizing: border-box;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.imagem-quemSomos img {
    width: 9rem;
    height: 9rem;
    object-fit: contain;
}

.texto-quemSomos h3 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    background: linear-gradient(90deg, var(--gold-secondary), var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.texto-quemSomos p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.topicos-quemSomos {
    list-style-type: none;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.topicos-quemSomos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--gold-primary), transparent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1s ease-out;
    transition-delay: 0.4s;
    transform-origin: top;
}

.topicos-quemSomos li {
    padding: 2.5rem 0;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.topicos-quemSomos li:nth-child(1) { transition-delay: 0.2s; }
.topicos-quemSomos li:nth-child(2) { transition-delay: 0.6s; }
.topicos-quemSomos li:nth-child(3) { transition-delay: 0.7s; }

.topicos-quemSomos li:nth-child(odd) {
    float: left;
    clear: both;
    text-align: right;
    padding-right: 45px;
    transform: translateX(-30px) scale(0.9);
}

.topicos-quemSomos li:nth-child(even) {
    float: right;
    clear: both;
    text-align: left;
    padding-left: 45px;
    transform: translateX(30px) scale(0.9);
}

/* --- A CLASSE MÁGICA QUE O JS VAI ADICIONAR --- */

/* Estado final (visível) para o H2 e o card "Quem Somos" */
#sobreNosSec > h2.is-visible,
.quemSomos.is-visible {
    opacity: 1;
    transform: scale(1) rotate(0);
}

/* Estado final (visível) para a linha da timeline */
.topicos-quemSomos.is-visible::before {
    transform: scaleY(1);
}

/* Estado final (visível) para os itens da timeline */
.topicos-quemSomos.is-visible li {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.topicos-quemSomos li::before {
    content: '';
    position: absolute;
    top: 3.5rem;
    width: 18px;
    height: 18px;
    background-color: var(--dark-bg);
    border: 3px solid var(--gold-primary);
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 15px var(--glow-color);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.topicos-quemSomos li:nth-child(odd)::before {
    right: 0;
    transform: translateX(50%);
}

.topicos-quemSomos li:nth-child(even)::before {
    left: 0;
    transform: translateX(-50%);
}

.topicos-quemSomos li:hover::before {
    transform: scale(1.3) translateX(var(--translateX, 50%));
    background-color: var(--gold-primary);
}

.topicos-quemSomos li:nth-child(even):hover::before {
    --translateX: -50%;
}

.topico-card {
    background: rgba(25, 23, 28, 0.7);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(5px);
    display: inline-block;
    width: 100%;
}

.topicos-quemSomos li:hover .topico-card {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.topicos-quemSomos img {
    display: none;
}

.topicos-quemSomos h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-secondary);
    margin: 0 0 0.5rem 0;
}

.topicos-quemSomos p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}