﻿@charset "UTF-8";

:root{
    --cor-escura:#2d2217;
    --cor-terra:#8e6a3a;
    --cor-dia:#c8a56f;
    --cor-luz:#eee0cf;
    --cor-papel:#f2e9dc;
    --cor-branco:#faf6f0;
    --cor-accent:#b87b27;
    --fonte-display: 'Italianno', cursive;
    --fonte-texto: 'Oswald', sans-serif;
}

*{
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    min-height: 100vh;
    font-family: var(--fonte-texto);
    color: var(--cor-escura);
    background: radial-gradient(circle at top left, rgba(242,233,220,0.95), transparent 25%),
                radial-gradient(circle at bottom right, rgba(142,106,58,0.18), transparent 25%),
                linear-gradient(180deg, #fbf2ea 0%, #e8d4bf 100%);
}

button, .button{
    font-family: inherit;
}

header{
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(45,34,23,0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    z-index: 1001;
    margin-bottom: 0px;
}

.brand{
    display: flex;
    align-items: center;
    gap: 20px;
    height: 90%;
}

#logo{
    width: 200px;
    height: 80%;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.116);
    background: rgba(255,255,255,0.12);
}

.brand-text{
    display: flex;
    flex-direction: column;
}

.brand-eyebrow,
.eyebrow,
#social_media p{
    font-size: 12pt;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(156, 156, 156, 0.78);
}

.brand-eyebrow{
    position: absolute;
    bottom: 0px;
}

.brand h1{
    position: absolute;
    bottom: 5px;
    font-size: 30pt;
    color: var(--cor-luz);
}

#menu_hamburguer{
    position: absolute;
    top: 130px;
    left: 30px;
    width: 45px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background: rgb(194, 144, 87);
    color: var(--cor-luz);
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.171);
    transition: transform 0.25s;
    z-index: -3;
}

#menu_hamburguer:hover{
    transform: scale(1.1);
    background: linear-gradient(315deg, rgb(255, 205, 139), rgb(194, 144, 87), rgb(194, 144, 87));
}

#simbolo_menu{
    font-size: 28px;
}

#menu_container{
    position: absolute;
    top: 210px;
    left: 0px;
    width: 20%;
    height: 350px;
    padding: 24px 16px;
    display: none;
    flex-direction: column;
    gap: 18px;
    border-radius: 28px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 30px 80px rgba(0,0,0,0.16);
    transform: translateX(-48px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 1001;
    margin-top: 0px;
}

#menu_container.open{
    display: flex;
    opacity: 1;
    transform: translateX(30px);
}

.menu-link{
    display: flex;
    align-items: center;
    align-self: center;
    width: 100%;
    text-align: center;
    text-decoration: none;
    gap: 12px;
    color: var(--cor-escura);
    font-size: 1rem;
    padding: 12px 16px;
    border-radius: 18px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.menu-link:hover{
    background: rgba(216,198,163,0.35);
    transform: translateX(4px);
}

#social_media{
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.social-icons{
    display: flex;
    gap: 10px;
    justify-content: center;

}

.logo-social{
    width: 34px;
    transition: transform 0.25s ease;
    cursor: pointer;
}

.logo-social:hover{
    transform: scale(1.15);
}

#main_principal{
    padding: 15px 32px 48px;
    margin: auto;
}

.hero{
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    min-height: calc(100vh - 160px);
    padding: 28px 0;
}

.hero-copy{
    max-width: 640px;
}

.hero-copy h2{
    margin: 0.6rem 0 1rem;
    font-size: clamp(2.9rem, 4vw, 4.8rem);
    line-height: 1.02;
    color: var(--cor-escura);
}

.hero-copy p{
    margin: 0;
    max-width: 590px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4c3827;
}

.hero-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button:hover{
    transform: translateY(-2px);
}

.button.primary{
    background: linear-gradient(135deg, var(--cor-terra), var(--cor-accent));
    color: var(--cor-branco);
    box-shadow: 0 14px 36px rgba(184,123,39,0.22);
}

.button.secondary{
    background: rgba(45,34,23,0.08);
    color: var(--cor-escura);
    border: 1px solid rgba(45,34,23,0.18);
}

.hero-visual{
    display: flex;
    justify-content: center;
}

.hero-image-frame{
    position: relative;
    width: min(490px, 100%);
    height: 450px;
    border-radius: 42px;
    background: rgba(255, 255, 255, 0.555);
    box-shadow: 0 36px 80px rgba(74,50,24,0.16);
    overflow: hidden;
}

.hero-image-frame img{
    width: 100%;
    height: 100%;
    display: block;
    animation: float 8s ease-in-out infinite;
    align-self: center;
}

.hero-glow{
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240,216,172,0.42), transparent 65%);
    top: 18%;
    right: -12%;
    pointer-events: none;
}

.features{
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 28px;
    margin-top: 48px;
}

.feature-card{
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 32px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(242,233,220,0.88) 100%);
    border: 2px solid rgba(184,123,39,0.15);
    box-shadow: 0 10px 32px rgba(45,34,23,0.08),
                inset 0 1px 0 rgba(255,255,255,0.6);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    min-height: 280px;
}

.feature-card::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(184,123,39,0.05) 0%, rgba(225,191,138,0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card::after{
    content: '';
    position: absolute;
    top: -100%;
    right: -100%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(184,123,39,0.1) 0%, transparent 70%);
    transition: all 0.6s ease;
    pointer-events: none;
}

.feature-card:hover{
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 24px 48px rgba(45,34,23,0.16),
                inset 0 1px 0 rgba(255,255,255,0.8),
                0 0 24px rgba(184,123,39,0.12);
    border-color: rgba(184,123,39,0.3);
}

.feature-card:hover::before{
    opacity: 1;
}

.feature-card:hover::after{
    top: -50%;
    right: -50%;
}

.feature-card > *{
    position: relative;
    z-index: 1;
}

.feature-card .feature-icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--cor-accent) 0%, rgba(184,123,39,0.8) 100%);
    color: white;
    font-size: 2.4rem;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(184,123,39,0.25),
                inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.feature-card:hover .feature-icon{
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 28px rgba(184,123,39,0.35),
                inset 0 1px 0 rgba(255,255,255,0.4);
}

.feature-card h3{
    margin: 0 0 14px;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--cor-escura);
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.feature-card:hover h3{
    color: var(--cor-accent);
}

.feature-card p{
    margin: 0 0 auto;
    line-height: 1.75;
    color: #6b5a4d;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.feature-card:hover p{
    color: #5a4536;
}

.feature-arrow{
    display: inline-flex;
    margin-top: 16px;
    color: var(--cor-accent);
    font-size: 1.5rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    align-self: flex-start;
}

.feature-card:hover .feature-arrow{
    opacity: 1;
    transform: translateX(0);
}

.story-section{
    margin-top: 64px;
}

.section-title{
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 600px;
    margin-bottom: 28px;
}

.section-title span{
    color: rgba(45,34,23,0.72);
}

.section-title h2{
    margin: 0;
    font-size: clamp(2rem, 2.8vw, 3.4rem);
    line-height: 1.05;
    color: var(--cor-escura);
}

.story-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 24px;
}

.story-card{
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(242,233,220,0.95));
    border: 1px solid rgba(181,133,72,0.16);
    box-shadow: 0 24px 48px rgba(74,50,24,0.08);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.story-card:hover{
    transform: translateY(-8px);
    border-color: rgba(184,123,39,0.22);
}

.story-card h4{
    margin: 0 0 14px;
    font-size: 1.4rem;
}

.story-card p{
    margin: 0;
    line-height: 1.85;
    color: #5c4736;
}

.documental-card{
    padding: 0;
    overflow: hidden;
    min-height: 390px;
    position: relative;
}

.objects-card{
    padding: 0;
    overflow: hidden;
    min-height: 390px;
    position: relative;
}

.objects-carousel{
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 390px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(242,233,220,0.95));
    isolation: isolate;
}

.objects-slides{
    position: absolute;
    inset: 0;
}

.objects-slide{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.75s ease, transform 1.1s ease;
}

.objects-slide.active{
    opacity: 1;
    transform: scale(1);
}

.objects-carousel::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(35,25,16,0.12) 15%, rgba(35,25,16,0.36) 52%, rgba(35,25,16,0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

.objects-overlay{
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 140px 26px 26px;
    color: var(--cor-branco);
}

.objects-overlay h4{
    margin: 0 0 10px;
    font-size: 1.4rem;
    color: var(--cor-luz);
}

.objects-overlay p{
    margin: 0;
    color: rgba(250,246,240,0.95);
    line-height: 1.75;
    font-size: 1rem;
}

.imaterial-card{
    padding: 0;
    overflow: hidden;
    min-height: 390px;
    position: relative;
}

.imaterial-carousel{
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 390px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(242,233,220,0.95));
    isolation: isolate;
}

.imaterial-slides{
    position: absolute;
    inset: 0;
}

.imaterial-slide{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.75s ease, transform 1.1s ease;
}

.imaterial-slide.active{
    opacity: 1;
    transform: scale(1);
}

.imaterial-carousel::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(35,25,16,0.12) 15%, rgba(35,25,16,0.36) 52%, rgba(35,25,16,0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

.imaterial-overlay{
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 140px 26px 26px;
    color: var(--cor-branco);
}

.imaterial-overlay h4{
    margin: 0 0 10px;
    font-size: 1.4rem;
    color: var(--cor-luz);
}

.imaterial-overlay p{
    margin: 0;
    color: rgba(250,246,240,0.95);
    line-height: 1.75;
    font-size: 1rem;
}

.imaterial-carousel:hover .documental-nav,
.imaterial-carousel:focus-within .documental-nav{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

.documental-carousel{
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 390px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(242,233,220,0.95));
    isolation: isolate;
}

.documental-slides{
    position: absolute;
    inset: 0;
}

.documental-slide{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.75s ease, transform 1.1s ease;
}

.documental-slide.active{
    opacity: 1;
    transform: scale(1);
}

.documental-carousel::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(35,25,16,0.12) 15%, rgba(35,25,16,0.36) 52%, rgba(35,25,16,0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

.documental-overlay{
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 140px 26px 26px;
    color: var(--cor-branco);
}

.documental-overlay h4{
    margin: 0 0 10px;
    font-size: 1.4rem;
    color: var(--cor-luz);
}

.documental-overlay p{
    margin: 0;
    color: rgba(250,246,240,0.95);
    line-height: 1.75;
    font-size: 1rem;
}

.documental-overlay-link,
.objects-overlay-link,
.imaterial-overlay-link{
    position: absolute;
    inset: 0;
    display: block;
    z-index: 2;
    color: inherit;
    text-decoration: none;
}

.documental-overlay-link:focus-visible,
.objects-overlay-link:focus-visible,
.imaterial-overlay-link:focus-visible{
    outline: 2px solid var(--cor-branco);
    outline-offset: -4px;
    border-radius: 28px;
}

.documental-nav{
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(242,233,220,0.92);
    color: var(--cor-escura);
    box-shadow: 0 12px 28px rgba(45,34,23,0.28);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.9);
    transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.documental-prev{
    left: 14px;
}

.documental-next{
    right: 14px;
}

.documental-carousel:hover .documental-nav,
.documental-carousel:focus-within .documental-nav{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

.objects-carousel:hover .documental-nav,
.objects-carousel:focus-within .documental-nav{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

/* Garante que as imagens do carrossel de objetos fiquem por cima do overlay */
.objects-carousel img.objects-slide {
    z-index: 2;
}

.documental-nav:hover{
    background: var(--cor-dia);
}

.documental-nav:focus-visible{
    outline: 2px solid var(--cor-branco);
    outline-offset: 3px;
}

.location{
    margin-top: 72px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: 40px;
    align-items: center;
    padding: 52px clamp(20px, 4vw, 48px);
    background: linear-gradient(135deg, rgba(255,255,255,0.86), rgba(242,233,220,0.76));
    border-radius: 40px;
    border: 1px solid rgba(184,123,39,0.2);
    box-shadow: 0 24px 56px rgba(55,36,18,0.1);
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.location::before,
.location::after{
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: float 12s ease-in-out infinite;
}

.location::before{
    width: 220px;
    height: 220px;
    top: -90px;
    left: -70px;
}

.location::after{
    width: 260px;
    height: 260px;
    right: -90px;
    bottom: -120px;
    animation-duration: 15s;
}

.location:hover,
.location:focus-within{
    transform: translateY(-4px);
    border-color: rgba(184,123,39,0.35);
    box-shadow: 0 34px 72px rgba(55,36,18,0.16);
}

#location_eyebrow{
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(90,66,41,0.78);
    margin: 0 0 10px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(184,123,39,0.28);
    background: rgba(255,255,255,0.62);
    backdrop-filter: blur(3px);
    transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.location:hover #location_eyebrow,
.location:focus-within #location_eyebrow{
    transform: translateY(-2px);
    background: rgba(255,255,255,0.9);
    border-color: rgba(184,123,39,0.4);
}

.location-copy{
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.location-copy h2{
    margin: 0 0 14px;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.08;
    width: auto;
    text-align: center;
    text-wrap: balance;
    color: var(--cor-escura);
}

.location-line{
    margin: 0;
    line-height: 1.8;
    color: #5c4736;
    width: 100%;
    max-width: 530px;
    text-align: center;
    font-size: 1.03rem;
}

.location-line + .location-line{
    margin-top: 2px;
}

.map-frame{
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 28px 60px rgba(55,36,18,0.14);
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    border: 1px solid rgba(184,123,39,0.26);
    background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(242,233,220,0.8));
    transition: transform 0.42s ease, box-shadow 0.42s ease, border-color 0.42s ease;
}

.map-frame::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(45,34,23,0.16), transparent 42%, rgba(45,34,23,0.09));
    pointer-events: none;
    z-index: 2;
    opacity: 0.72;
    transition: opacity 0.4s ease;
}

.map-frame::after{
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 14px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(242,233,220,0.95), transparent);
    opacity: 0.7;
    pointer-events: none;
    z-index: 3;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.map-frame:focus-visible{
    outline: 2px solid var(--cor-accent);
    outline-offset: 4px;
}

.location:hover .map-frame,
.location:focus-within .map-frame{
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 36px 70px rgba(55,36,18,0.2);
    border-color: rgba(184,123,39,0.42);
}

.location:hover .map-frame::before,
.location:focus-within .map-frame::before{
    opacity: 0.36;
}

.location:hover .map-frame::after,
.location:focus-within .map-frame::after{
    opacity: 1;
    transform: scaleX(1.03);
}

#localizacao{
    display: block;
    width: 100%;
    min-height: 380px;
    border: 0;
    transition: transform 0.8s ease, filter 0.8s ease;
}

.location:hover #localizacao,
.location:focus-within #localizacao{
    transform: scale(1.035);
    filter: saturate(1.05) contrast(1.02);
}

footer{
    margin-top: 80px;
    padding: 20px 0px 20px 0px;
    background: linear-gradient(180deg,transparent, rgba(45, 34, 23, 0.527));
    border-top: 1px solid rgba(107, 91, 67, 0.158);
    color: var(--cor-escura);
}

.footer-container{
    max-width: 1300px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    padding-bottom: 32px;
}

.footer-section{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section h3{
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0px 0px 10px;
    color: var(--cor-terra);
    font-weight: 600;
}

.footer-section h4{
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 8px;
    color: var(--cor-terra);
    font-weight: 600;
    align-self: center;
}

.footer-section p{
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(45,34,23,0.82);
    align-self: center;
}

.footer-section a:hover{
    color: var(--cor-accent);
    cursor: pointer;
}

.footer-section a{
    color: rgba(45,34,23,0.82);
    text-decoration: none;
    transition: color 0.25s ease;
    font-size: 0.95rem;
    display: inline-flex;
    gap: 5px;
    align-self: center;
}

.footer-section img{
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

.footer-small{
    font-size: 0.85rem;
    color: rgba(45,34,23,0.7);
    margin-top: 2px;
    text-decoration: none;
    list-style: none;
}

/* ========== ACERVO PAGE STYLES ========== */

#barra_progresso_container{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(45,34,23,0.1);
    z-index: 1000;
}

#barra_progresso_valor{
    height: 100%;
    background: linear-gradient(90deg, var(--cor-terra), var(--cor-accent));
    width: 0%;
    transition: width 0.25s ease;
}

#main_acervo{
    margin: 40px auto;
}

.acervo-hero{
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
    min-height: calc(100vh - 160px);
    padding: 30px 30px 50px 30px;
    background-image: linear-gradient(to bottom, transparent, transparent,transparent, rgba(54, 27, 4, 0.295));
}

.acervo-hero-content{
    max-width: 500px;
    margin-left: 100px;
}

.acervo-hero-content h2{
    margin: 0.6rem 0 1.2rem;
    font-size: 40pt;
    line-height: 1.02;
    color: var(--cor-escura);
}

.acervo-hero-content p{
    margin: 0 0 2rem;
    max-width: 620px;
    font-size: 14pt;
    line-height: 1.8;
    color: #4c3827d8;
}
.acervo-hero-visual{
    margin-right: 100px;
}
.acervo-stats{
    display: flex;
    gap: 32px;
    margin-top: 2rem;
}

.stat-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number{
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cor-accent);
    font-family: var(--fonte-display);
}

.stat-label{
    font-size: 0.9rem;
    color: rgba(45,34,23,0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
#infinite_simbol{
    margin-top: -12px;
}

.acervo-hero-visual{
    display: flex;
    justify-content: center;
}

.hero-collage{
    position: relative;
    width: min(450px, 100%);
    height: 450px;
    margin-top: -28px;
}

.collage-item{
    position: absolute;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(74,50,24,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collage-item:hover{
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(74,50,24,0.3);
}

.collage-top{
    top: 0;
    left: 0;
    width: 280px;
    height: 200px;
    object-fit: cover;
    z-index: 3;
}

.collage-middle{
    top: 120px;
    right: 0;
    width: 240px;
    height: 180px;
    object-fit: cover;
    z-index: 2;
}

.collage-bottom{
    bottom: 0;
    left: 80px;
    width: 260px;
    height: 200px;
    object-fit: cover;
    z-index: 1;
}

.acervo-navigation{
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    margin: 0;
}

.nav-tabs{
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 5px;
    background: rgba(255,255,255);
    box-shadow: 0 8px 24px rgba(55,36,18,0.08);
    width: 100%;
}

.nav-tab{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    border: none;
    background: transparent;
    color: var(--cor-escura);
    font-family: var(--fonte-texto);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.nav-tab:hover{
    background: rgba(184,123,39,0.1);
    color: var(--cor-accent);
}

.nav-tab.active{
    background: linear-gradient(135deg, var(--cor-terra), var(--cor-accent));
    color: var(--cor-branco);
    box-shadow: 0 4px 16px rgba(184,123,39,0.3);
}

.nav-tab .material-symbols-outlined{
    font-size: 1.2rem;
}

.tab-count{
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 4px;
}

.nav-tab:not(.active) .tab-count{
    background: rgba(45,34,23,0.1);
    color: var(--cor-escura);
}

.acervo-gallery{
    margin-top: 0px;
    padding: 40px;
}

.gallery-section{
    display: none;
}

.gallery-section.active{
    display: block;
}

.gallery-header{
    width: 100%;
    margin: 0px auto 40px auto;
    text-align: center;
}

.gallery-header .section-title{
    margin-bottom: 16px;
    margin: auto;
}

.gallery-description{
    max-width: 600px;
    margin: 5px auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #5a4536af;
}

.gallery-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.gallery-item{
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 12px 24px rgba(55,36,18,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item:hover{
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(55,36,18,0.15);
}

.gallery-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img{
    transform: scale(1.05);
}

.gallery-item-open-indicator{
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(45,34,23,0.78);
    color: var(--cor-branco);
    z-index: 3;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
}

.gallery-item-open-indicator:hover{
    transform: scale(1.08);
    background: rgba(45,34,23,0.9);
}

.gallery-item-open-indicator .material-symbols-outlined{
    font-size: 22px;
}

.gallery-item-overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(45,34,23,0.8));
    padding: 40px 20px 20px;
    color: var(--cor-branco);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay{
    transform: translateY(0);
}

.gallery-item-title{
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--cor-luz);
}

.gallery-item-category{
    font-size: 0.9rem;
    color: rgba(238,224,207,0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gallery-controls{
    display: flex;
    justify-content: center;
}

.load-more-btn{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border: 2px solid var(--cor-terra);
    background: transparent;
    color: var(--cor-terra);
    font-family: var(--fonte-texto);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.load-more-btn:hover{
    background: var(--cor-terra);
    color: var(--cor-branco);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184,123,39,0.3);
}

.load-more-btn .material-symbols-outlined{
    font-size: 1.2rem;
    transition: transform 0.25s ease;
}

.load-more-btn:hover .material-symbols-outlined{
    transform: translateY(2px);
}

/* Modal Styles */
.modal{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45,34,23,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal[aria-hidden="false"]{
    opacity: 1;
    visibility: visible;
}

.modal-overlay{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.modal-content{
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--cor-branco);
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 2001;
}

.modal-close{
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(45,34,23,0.8);
    color: var(--cor-branco);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2002;
    transition: background 0.25s ease;
}

.modal-close:hover{
    background: var(--cor-escura);
}

.modal-fullscreen{
    position: absolute;
    top: 20px;
    right: 72px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(45,34,23,0.8);
    color: var(--cor-branco);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2002;
    transition: background 0.25s ease;
}

.modal-fullscreen:hover{
    background: var(--cor-escura);
}

.modal-image-container{
    position: relative;
    max-height: 70vh;
    overflow: hidden;
}

.modal-image-container img{
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.modal-info{
    padding: 24px;
    background: var(--cor-papel);
}

.modal-info h3{
    margin: 0 0 8px;
    font-size: 1.5rem;
    color: var(--cor-escura);
}

.modal-info p{
    margin: 0;
    color: #5a4536;
    line-height: 1.6;
}

.modal-info p.modal-description-scroll{
    max-height: var(--descricao-max-height, 90px);
    overflow-y: auto;
    padding-right: 8px;
}

.modal-info p.modal-description-scroll::-webkit-scrollbar{
    width: 8px;
}

.modal-info p.modal-description-scroll::-webkit-scrollbar-track{
    background: rgba(45,34,23,0.08);
    border-radius: 999px;
}

.modal-info p.modal-description-scroll::-webkit-scrollbar-thumb{
    background: rgba(142,106,58,0.65);
    border-radius: 999px;
}

.modal-info p.modal-description-scroll{
    scrollbar-width: thin;
    scrollbar-color: rgba(142,106,58,0.65) rgba(45,34,23,0.08);
}

.modal-navigation{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--cor-luz);
    border-top: 1px solid rgba(45,34,23,0.1);
}

.modal-nav-btn{
    width: 44px;
    height: 44px;
    border: none;
    background: var(--cor-terra);
    color: var(--cor-branco);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
}

.modal-nav-btn:hover{
    background: var(--cor-accent);
    transform: scale(1.1);
}

.modal-nav-btn:disabled{
    background: rgba(45,34,23,0.3);
    cursor: not-allowed;
    transform: none;
}

.modal-content:fullscreen{
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    border-radius: 0;
}

.modal-content:fullscreen .modal-image-container{
    flex: 1;
    max-height: none;
}

.modal-content:fullscreen .modal-image-container img{
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
}

.modal-content:-webkit-full-screen{
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    border-radius: 0;
}

.modal-content:-webkit-full-screen .modal-image-container{
    flex: 1;
    max-height: none;
}

.modal-content:-webkit-full-screen .modal-image-container img{
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
}

.modal-counter{
    font-weight: 600;
    color: var(--cor-escura);
}

/* Responsive Design */
@media (max-width: 768px){
    .acervo-hero{
        grid-template-columns: 1fr;
        gap: 48px;
        background-image: none;
    }
    .acervo-hero-content .eyebrow{margin-left: -120px;}
    .acervo-hero-content h2{margin-left: -120px;}
    .acervo-hero-content p{margin-left: -120px;}
    .hero-visual{ padding: 0px;}
    .hero-image-frame{
        background: rgba(247, 247, 247, 0.651);
    };
    .hero-image-frame img{border-radius: 10px;}

    #main_principal{
        margin-top: 80px;
    }
    #main_acervo{
        margin-top: -30px;
    }

    .acervo-stats{
        margin-left: -95px;
    }

    .hero-collage{
        display: none;
    }

    .collage-top, .collage-middle, .collage-bottom{
        position: static;
        width: 100%;
        height: 150px;
        margin-bottom: 16px;
    }

    .acervo-navigation{
        margin-top: -50px;
        position: relative;
    }

    .nav-tabs{
        background-color: transparent;
        box-shadow: none;
        width: 100%;
        display: grid;
        justify-content: center;
    }
    .nav-tab{
        text-align: center;
        justify-content: center;
        width: 350px;
    }

    .gallery-header{
        width: 100%;
        justify-content: center;
        font-size: 20px;
    }

    #gallery_h2{
        font-size: 50px;
    }

    .gallery-grid{
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 16px;
    }

    .modal-content{
        max-width: 95vw;
        max-height: 95vh;
    }

    .modal-fullscreen{
        top: 19px;
        right: 70px;
        width: 45px;
        height: 45px;
    }

    .modal-info{
        padding: 16px;
    }

    .modal-navigation{
        padding: 12px 16px;
    }
}

@media (max-width: 480px){
    .gallery-grid{
        grid-template-columns: 1fr;
    }

    .acervo-stats{
        flex-direction: column;
        gap: 16px;
    }

    .stat-item{
        align-items: center;
    }
}

/* Animation classes */
[data-reveal].visible{
    opacity: 1;
    transform: translateY(0);
}

[data-reveal]{
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Feature Card specific animation */
.feature-card[data-reveal]{
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.feature-card[data-reveal].visible{
    opacity: 1;
    transform: translateX(0);
}

.footer-links{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.footer-links a{
    color: rgba(45,34,23,0.82);
    text-decoration: none;
    transition: color 0.25s ease;
    font-size: 0.95rem;
}

#span_abrir{
    font-size: 16px;
    color: rgba(45,34,23,0.6);
    transition: color 0.25s ease;
}

.footer-links a:hover{
    color: var(--cor-accent);
}

.footer-socials{
    display: flex;
    gap: 16px;
    align-items: center;
    align-self: center;
}

.footer-social-link{
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(200,165,111,0.2);
    transition: transform 0.25s ease, background 0.25s ease;
    text-decoration: none;
}

.footer-social-link:hover{
    background: rgba(200,165,111,0.4);
    transform: scale(1.1);
}

.footer-social-link img{
    width: 35px;
    height: 35px;
    transition: transform 0.25s ease;
}
.footer-social-link img:hover{
    transform: scale(1.05);
}
.footer-bottom{
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}
.footer-bottom img{
    max-width: 80px;
    margin: 0px 8px 0;
    vertical-align: middle;
}

.footer-credit{
    margin: 0 0 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cor-terra);
}

.footer-note{
    margin-top: 0px;
    font-size: 0.85rem;
    color: rgba(45,34,23,0.65);
}

/* ============================================================ */
/* WELCOME SECTION - SPLASH SCREEN COM UI/UX PROFISSIONAL */
/* ============================================================ */

#div_welcome {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: grid;
    place-items: center;
    z-index: 3000;
    opacity: 1;
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    padding: clamp(8px, 2.2vh, 20px);
    overflow: hidden;
}

.welcome-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(142, 106, 58, 0.25) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(45, 34, 23, 0.15) 0%, transparent 50%),
                linear-gradient(135deg, rgba(45, 34, 23, 0.92) 0%, rgba(45, 34, 23, 0.88) 100%);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.welcome-container {
    position: relative;
    z-index: 2;
    width: 50%;
    height: 95dvh;
    max-height: 95dvh;
    animation: welcomeSlideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    overflow: visible;
}

@keyframes welcomeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-card {
    text-align: center;
    padding: clamp(30px, 4.9vh, 56px) clamp(14px, 3vw, 24px) clamp(24px, 3.8vh, 42px);
    border-radius: 20px;
    background: linear-gradient(135deg,
        rgba(250, 246, 240, 0.98) 0%,
        rgba(242, 233, 220, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                0 32px 64px rgba(45, 34, 23, 0.15),
                inset 0 1px 1px rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: clamp(8px, 1.5vh, 16px);
    --welcome-scale: 1;
    transform: scale(var(--welcome-scale));
    transform-origin: top center;
    transition: transform 0.2s ease;
}

/* Efeito de luz decorativa */
.welcome-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Decoracoes visuais */
.welcome-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    pointer-events: none;
}

.decoration-top {
    top: -100px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--cor-terra), transparent);
}

.decoration-bottom {
    bottom: -150px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--cor-escura), transparent);
}

/* Header com Logo */
.welcome-header {
    margin-bottom: clamp(10px, 2.1vh, 28px);
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-logo-section {
    display: flex;
    justify-content: center;
    gap: 12px;
    align-items: center;
    width: 190px;
    height: 190px;
    margin: auto;
}

.welcome-logo {  
    width: 100%;
    height: 100%;
    display: block;
    box-sizing: border-box;
    border-radius: 12px;
    border: 2px solid rgba(142, 106, 58, 0.3);
    background: rgba(200, 165, 111, 0.1);
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.welcome-logo:hover {
    border-color: rgba(142, 106, 58, 0.6);
    background: rgba(200, 165, 111, 0.2);
}

/* Conteudo */
.welcome-content {
    position: relative;
    z-index: 1;
    margin-top: clamp(8px, 1.8vh, 22px);
}

.welcome-label {
    display: inline-block;
    margin-bottom: 6px;
    padding: 6px 12px;
    font-size: clamp(0.82rem, 1.75vh, 1rem);
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--cor-terra);
    background: rgba(142, 106, 58, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(142, 106, 58, 0.2);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-title {
    margin: 8px 0 2px;
    font-family: var(--fonte-display);
    font-size: clamp(2.45rem, 5.4vw, 3.95rem);
    font-weight: 400;
    color: var(--cor-escura);
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    background: linear-gradient(135deg, var(--cor-escura) 0%, var(--cor-terra) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-subtitle {
    margin: 4px 0 0;
    font-size: clamp(0.92rem, 2.1vh, 1.14rem);
    font-weight: 600;
    color: var(--cor-terra);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.welcome-description {
    margin: 12px auto 0;
    max-width: 520px;
    line-height: 1.55;
    color: var(--cor-escura);
    font-size: clamp(1rem, 2.25vh, 1.18rem);
    opacity: 0.85;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Features - secoes destaque */
.welcome-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 10px;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 8px;
    border-radius: 10px;
    background: linear-gradient(135deg,
        rgba(200, 165, 111, 0.1) 0%,
        rgba(142, 106, 58, 0.08) 100%);
    border: 1px solid rgba(142, 106, 58, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
    background: linear-gradient(135deg,
        rgba(200, 165, 111, 0.2) 0%,
        rgba(142, 106, 58, 0.15) 100%);
    border-color: rgba(142, 106, 58, 0.3);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 22px;
    color: var(--cor-terra);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    color: var(--cor-accent);
    transform: scale(1.12);
}

.feature-text {
    font-size: clamp(0.78rem, 1.7vh, 0.92rem);
    font-weight: 600;
    color: var(--cor-escura);
    text-align: center;
    line-height: 1.2;
}

/* Barra de progresso */
.welcome-progress-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(45, 34, 23, 0.1);
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(45, 34, 23, 0.08);
}

.progress-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--cor-terra) 0%, var(--cor-accent) 100%);
    border-radius: 2px;
    animation: progressFill 6s linear forwards;
}

@keyframes progressFill {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

.progress-text {
    font-size: 0.88rem;
    color: var(--cor-terra);
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* Botoes de acao */
.welcome-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin: 8px 0 0;
    animation: fadeInUp 0.8s ease-out 0.9s both;
}

.welcome-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 16px;
    border: none;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    outline-offset: 2px;
    white-space: nowrap;
}

.welcome-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
    z-index: 0;
}

.welcome-btn:hover::before {
    left: 100%;
}

.welcome-btn:focus {
    outline: 2px solid var(--cor-accent);
}

.welcome-btn span {
    position: relative;
    z-index: 1;
}

.btn-icon {
    font-size: 18px;
}

/* Botao primario */
.welcome-btn.primary {
    width: 100%;
    background: linear-gradient(135deg, var(--cor-terra) 0%, var(--cor-accent) 100%);
    color: white;
    box-shadow: 0 6px 14px rgba(142, 106, 58, 0.28);
    border: 1px solid var(--cor-accent);
}

.welcome-btn.primary:hover {
    box-shadow: 0 9px 18px rgba(142, 106, 58, 0.32);
    transform: translateY(-1px);
}

.welcome-btn.primary:active {
    transform: translateY(0);
}

/* Botao secundario (skip) */
.welcome-btn.secondary {
    min-width: 96px;
    padding-inline: 14px;
    background: transparent;
    color: var(--cor-terra);
    border: 2px solid var(--cor-terra);
    font-size: 0.82rem;
}

.welcome-btn.secondary:hover {
    background: rgba(142, 106, 58, 0.08);
    border-color: var(--cor-accent);
    color: var(--cor-accent);
}

.welcome-btn.secondary:active {
    background: rgba(142, 106, 58, 0.12);
}

/* Footer */
.welcome-footer {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(45, 34, 23, 0.1);
    animation: fadeInUp 0.8s ease-out 1s both;
}

.welcome-tagline {
    margin: 0;
    font-size: clamp(0.72rem, 1.5vh, 0.84rem);
    color: var(--cor-terra);
    font-weight: 500;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tagline-icon {
    font-size: 1rem;
    animation: taglineFloat 3s ease-in-out infinite;
}

@keyframes taglineFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* Fade out animation */
#div_welcome.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

#div_welcome.fade-out .welcome-container {
    animation: welcomeSlideDown 0.7s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

@keyframes welcomeSlideDown {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-40px) scale(0.95);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    #div_welcome {
        padding: 10px;
    }

    .welcome-container {
        width: min(95vw, 700px);
        height: auto;
        max-height: 95dvh;
    }

    .welcome-card {
        padding: 18px 14px;
        border-radius: 16px;
        max-height: 95dvh;
        overflow-y: auto;
    }

    .welcome-logo-section {
        width: 150px;
        height: 150px;
    }

    .welcome-title {
        font-size: clamp(1.82rem, 6.1vw, 2.55rem);
    }

    .welcome-description {
        font-size: 0.96rem;
        line-height: 1.45;
        margin-top: 10px;
    }

    .welcome-features {
        gap: 8px;
        margin: 12px 0 8px;
    }

    .feature-item {
        padding: 8px 6px;
    }

    .feature-icon {
        font-size: 19px;
    }

    .feature-text {
        font-size: 0.72rem;
    }

    .welcome-progress-section {
        gap: 7px;
        margin: 8px 0;
    }

    .welcome-actions {
        gap: 6px;
        margin-top: 6px;
    }

    .welcome-btn {
        min-height: 36px;
        padding: 8px 12px;
        font-size: 0.84rem;
        border-radius: 9px;
    }

    .btn-icon {
        font-size: 16px;
    }

    .welcome-footer {
        margin-top: 6px;
        padding-top: 8px;
    }

    .welcome-tagline {
        font-size: 0.74rem;
    }
}

@media (max-width: 560px) {
    .welcome-container {
        width: 100%;
    }

    .welcome-logo-section {
        width: 128px;
        height: 128px;
    }

    .welcome-logo {
        width: 100%;
        height: 100%;
    }

    .welcome-label {
        padding: 5px 10px;
        font-size: 0.72rem;
        letter-spacing: 0.08em;
    }

    .welcome-title {
        font-size: clamp(1.62rem, 7.5vw, 2.2rem);
        margin: 6px 0 2px;
    }

    .welcome-subtitle {
        font-size: 0.82rem;
        margin-top: 2px;
    }

    .welcome-description {
        font-size: 0.9rem;
    }

    .welcome-actions {
        grid-template-columns: 1fr;
    }

    .welcome-btn.primary,
    .welcome-btn.secondary {
        width: 100%;
    }

    .welcome-btn.secondary {
        min-width: 0;
    }
}

@media (min-width: 1024px) and (min-height: 761px) {
    .welcome-logo {
        width: 100%;
        height: 100%;
    }
}

@media (max-height: 760px) {
    .welcome-card {
        padding: 14px 12px;
        gap: 6px;
    }

    .welcome-header {
        margin-bottom: 6px;
    }

    .welcome-logo {
        width: 100%;
        height: 100%;
    }

    .welcome-title {
        margin: 6px 0 1px;
    }

    .welcome-description {
        margin-top: 8px;
        line-height: 1.4;
    }

    .welcome-features {
        margin: 8px 0 6px;
        gap: 6px;
    }

    .feature-item {
        padding: 7px 6px;
    }

    .feature-icon {
        font-size: 18px;
    }

    .feature-text {
        font-size: 0.74rem;
    }

    .welcome-progress-section {
        margin: 6px 0;
        gap: 5px;
    }

    .welcome-actions {
        margin-top: 4px;
    }

    .welcome-btn {
        min-height: 33px;
        padding: 7px 10px;
        font-size: 0.8rem;
    }

    .welcome-footer {
        margin-top: 4px;
        padding-top: 6px;
    }
    .welcome-tagline {
        font-size: 0.7rem;
    }
}

@media (max-height: 640px) {
    .welcome-card {
        padding: 12px 10px;
    }

    .welcome-title {
        font-size: clamp(1.45rem, 5.4vh, 2.1rem);
    }

    .welcome-description {
        font-size: 0.84rem;
    }

    .welcome-label {
        font-size: 0.66rem;
    }

    .welcome-actions {
        gap: 5px;
    }
}

.skip-link{
    position: absolute;
    top: -60px;
    left: 16px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--cor-escura);
    color: var(--cor-branco);
    text-decoration: none;
    z-index: 140;
    transition: top 0.2s ease;
}

.skip-link:focus{
    top: 12px;
}

.barra-leitura{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(45,34,23,0.14);
    z-index: 130;
}

/*Sobre*/

#barra_progresso_valor{
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--cor-dia), var(--cor-accent));
    transition: width 0.1s linear;
}

.sobre-main{
    padding: 42px;
    margin-top: 60px;
}

.sobre-hero{
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    gap: 32px;
    align-items: stretch;
}

.sobre-hero-copy{
    padding: 34px;
    border-radius: 34px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(181,133,72,0.2);
    box-shadow: 0 26px 56px rgba(74,50,24,0.1);
}

.sobre-hero-copy .eyebrow{
    color: rgba(74,50,24,0.7);
    margin: 100px 0px 0px 0px;
    display: block;
}

.sobre-hero-copy h2{
    margin: 15px 0 14px;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    color: var(--cor-escura);
}

.sobre-hero-copy p{
    margin: 0;
    line-height: 1.9;
    font-size: 1.08rem;
    color: #5c4736;
}

.sobre-ferramentas{
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.sobre-ferramentas .button{
    min-width: 185px;
}

.sobre-hero-visual{
    margin: 0;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(242,233,220,0.95));
    border: 1px solid rgba(181,133,72,0.18);
    box-shadow: 0 28px 58px rgba(74,50,24,0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.sobre-hero-visual img{
    width: 100%;
    border-radius: 24px;
    display: block;
    animation: float 8s ease-in-out infinite;
}

.sobre-hero-legenda{
    margin: 0;
    text-align: center;
    color: #6d553e;
    line-height: 1.6;
    font-size: 0.96rem;
}

.sobre-indice{
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255,255,255,0.76);
    border: 1px solid rgba(181,133,72,0.14);
}

.sobre-indice a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--cor-escura);
    background: rgba(200,165,111,0.2);
    border: 1px solid rgba(184,123,39,0.18);
    transition: transform 0.22s ease, background 0.22s ease;
}

.sobre-indice a:hover{
    transform: translateY(-2px);
    background: rgba(200,165,111,0.36);
}

.sobre-indice a:focus-visible,
.sobre-tab:focus-visible,
.sobre-detalhe summary:focus-visible,
#botao_leitura_sobre:focus-visible{
    outline: 2px solid var(--cor-accent);
    outline-offset: 3px;
}

.sobre-bloco{
    margin-top: 32px;
    padding: 34px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(242,233,220,0.94));
    border: 1px solid rgba(181,133,72,0.16);
    box-shadow: 0 24px 50px rgba(74,50,24,0.08);
}

.sobre-bloco h2{
    margin: 0 0 14px;
    font-size: clamp(1.7rem, 2.2vw, 2.5rem);
    line-height: 1.15;
    color: var(--cor-escura);
}

.sobre-bloco p{
    margin: 0 0 14px;
    line-height: 1.9;
    color: #5c4736;
    font-size: 1.04rem;
}

.sobre-bloco p:last-child{
    margin-bottom: 0;
}

.resumo-institucional{
    margin: 10px 0 22px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(184,123,39,0.22);
    background: linear-gradient(135deg, rgba(200,165,111,0.22), rgba(255,255,255,0.9));
    box-shadow: 0 18px 34px rgba(74,50,24,0.08);
}

.resumo-institucional a{
    color: var(--cor-terra);
    text-decoration: none;
    border-bottom: 1px dashed rgba(184,123,39,0.45);
    transition: color 0.22s ease, border-color 0.22s ease;
}

.resumo-institucional a:hover{
    color: var(--cor-accent);
    border-color: rgba(184,123,39,0.78);
}

.sobre-tablist{
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sobre-tab{
    border: 1px solid rgba(184,123,39,0.22);
    background: rgba(255,255,255,0.9);
    color: var(--cor-escura);
    border-radius: 999px;
    padding: 9px 16px;
    cursor: pointer;
    transition: background 0.22s ease, transform 0.22s ease;
}

.sobre-tab:hover{
    transform: translateY(-1px);
}

.sobre-tab[aria-selected="true"]{
    background: linear-gradient(135deg, var(--cor-terra), var(--cor-accent));
    color: var(--cor-branco);
}

.sobre-painel{
    margin-top: 14px;
    padding: 20px 22px;
    border-radius: 20px;
    border: 1px solid rgba(181,133,72,0.16);
    background: rgba(255,255,255,0.78);
    display: none;
}

.sobre-painel.ativo{
    display: block;
    animation: surgirPainel 0.28s ease;
}

.sobre-painel p{
    margin: 0;
}

.sobre-grid-acervo{
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 18px;
    margin: 8px 0 18px;
}

.sobre-card{
    padding: 22px;
    border-radius: 24px;
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(181,133,72,0.14);
}

.sobre-card h3{
    margin: 0 0 10px;
    font-size: 1.28rem;
}

.sobre-card p{
    margin: 0;
}

.sobre-detalhe{
    border: 1px solid rgba(181,133,72,0.2);
    border-radius: 18px;
    background: rgba(255,255,255,0.78);
    padding: 12px 16px;
    margin-top: 12px;
}

.sobre-detalhe summary{
    list-style: none;
    cursor: pointer;
    font-size: 1.06rem;
    font-weight: 600;
    color: var(--cor-escura);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sobre-detalhe summary::-webkit-details-marker{
    display: none;
}

.sobre-detalhe summary::after{
    content: "+";
    font-size: 1.3rem;
    color: var(--cor-accent);
}

.sobre-detalhe[open] summary::after{
    content: "-";
}

.sobre-detalhe p{
    margin: 10px 0 0;
}

.sobre-citacao{
    margin: 18px 0 0;
    padding: 20px 22px;
    border-left: 4px solid var(--cor-accent);
    border-radius: 18px;
    background: rgba(255,255,255,0.82);
}

.sobre-citacao p{
    margin: 0;
    font-size: 1.05rem;
}

#fontes{
    background-image: linear-gradient(to right, transparent,  rgba(255, 255, 255, 0.596), transparent);
    border: none;
    box-shadow: none;
}

.sobre-referencias{
    margin: 10px 0 0;
    padding-left: 22px;
}

.sobre-referencias li{
    margin-bottom: 12px;
    line-height: 1.75;
    color: #5b4635;
}

.sobre-referencias li::marker{
    color: var(--cor-accent);
    font-weight: 700;
}

.leitura-ampliada .sobre-hero-copy p,
.leitura-ampliada .sobre-bloco p,
.leitura-ampliada .sobre-card p,
.leitura-ampliada .sobre-citacao p{
    font-size: 1.13rem;
    line-height: 2;
}

@keyframes surgirPainel{
    from{
        opacity: 0;
        transform: translateY(8px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float{
    0%, 100%{ transform: translateY(0); }
    50%{ transform: translateY(-16px); }
}

/* ========== ACERVO INDEX PANEL STYLES ========== */

.acervo-index-panel {
    position: fixed;
    right: 0;
    top: 120px;
    height: calc(100vh - 120px);
    width: 320px;
    background: rgba(242, 233, 220, 0.98);
    border-left: 2px solid var(--cor-terra);
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    z-index: 3000;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.acervo-index-panel.open {
    transform: translateX(0);
}

.index-toggle-btn {
    position: absolute;
    left: -60px;
    top: 0;
    width: 56px;
    height: 56px;
    background: rgba(45, 34, 23, 0.88);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-right: none;
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    color: var(--cor-luz);
    transition: all 0.3s ease;
    padding: 0;
    flex-direction: column;
    font-size: 10px;
}

.index-toggle-btn:hover {
    background: rgba(45, 34, 23, 1);
    border-color: rgba(200, 165, 111, 0.3);
}

.index-toggle-btn .material-symbols-outlined {
    font-size: 20px;
}

.index-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.index-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.acervo-index-panel:not(.open) .index-content {
    opacity: 0;
    pointer-events: none;
}

.index-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 2px solid var(--cor-terra);
    background: rgba(45, 34, 23, 0.08);
}

.index-header h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--cor-escura);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.index-close-btn {
    background: none;
    border: none;
    color: var(--cor-escura);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.index-close-btn:hover {
    color: var(--cor-terra);
}

.index-category-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 12px;
    background: rgba(142, 106, 58, 0.06);
    border-bottom: 1px solid rgba(142, 106, 58, 0.2);
}

.index-category-btn {
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(142, 106, 58, 0.3);
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--cor-escura);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.index-category-btn:hover {
    background: rgba(200, 165, 111, 0.15);
    border-color: var(--cor-terra);
}

.index-category-btn.active {
    background: var(--cor-terra);
    color: var(--cor-branco);
    border-color: var(--cor-terra);
}

.index-list-container {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.index-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.index-item {
    padding: 0;
    border-bottom: 1px solid rgba(142, 106, 58, 0.15);
}

.index-item-btn {
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
    color: var(--cor-escura);
    font-size: 0.9rem;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.index-item-btn:hover {
    background: rgba(200, 165, 111, 0.12);
    border-left-color: var(--cor-accent);
}

.index-item-btn.active {
    background: rgba(184, 123, 39, 0.12);
    border-left-color: var(--cor-accent);
    color: var(--cor-accent);
    font-weight: 600;
}

.index-item-number {
    font-size: 0.75rem;
    color: rgba(142, 106, 58, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.index-item-title {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Scrollbar customizado para o índice */
.index-list-container::-webkit-scrollbar {
    width: 6px;
}

.index-list-container::-webkit-scrollbar-track {
    background: rgba(142, 106, 58, 0.08);
}

.index-list-container::-webkit-scrollbar-thumb {
    background: rgba(142, 106, 58, 0.4);
    border-radius: 3px;
}

.index-list-container::-webkit-scrollbar-thumb:hover {
    background: rgba(142, 106, 58, 0.6);
}

/* Responsive */
@media (max-width: 1200px) {
    .acervo-index-panel {
        width: 280px;
    }
    
    .index-toggle-btn {
        width: 50px;
        left: -50px;
    }
}

@media (max-width: 900px) {
    .acervo-index-panel {
        width: 260px;
        top: 100px;
        height: calc(100vh - 100px);
    }
    
    .index-category-selector {
        grid-template-columns: 1fr;
    }
    
    .index-toggle-btn {
        width: 48px;
        left: -48px;
        font-size: 8px;
    }
}

@media (max-width: 700px) {
    .acervo-index-panel {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        border-left: none;
        border-bottom: none;
        transform: translateY(100%);
    }
    
    .acervo-index-panel.open {
        transform: translateY(0);
    }
    
    .index-toggle-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        left: auto;
        top: auto;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        border: none;
        flex-direction: row;
        gap: 4px;
        background: var(--cor-terra);
        z-index: 901;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }
    
    .index-toggle-btn:hover {
        transform: scale(1.05);
    }
    
    .index-label {
        display: none;
    }
}


    .hero-image-frame img,
    .sobre-hero-visual img{
        animation: none;
    }

    .sobre-painel.ativo{
        animation: none;
    }

@media (max-width: 1024px){
    .hero{ grid-template-columns: 1fr; }
    .features, .story-grid, .location{ grid-template-columns: 1fr; }
    .sobre-hero{ grid-template-columns: 1fr; }
    .sobre-grid-acervo{ grid-template-columns: 1fr; }
    header{ padding: 0 20px; }
    .hero{ min-height: auto; }
}

@media (max-width: 700px){
    .brand h1{font-size: 22px; bottom: 20px;}
    #logo{width: 80%;}
    .brand-eyebrow{ font-size: 0.80rem; letter-spacing: 0.12em; bottom: 8px;}
    main{ padding: 120px 20px 36px;}
    .hero-copy h2{ font-size: 2.5rem; }
    .button{ width: 100%; justify-content: center; }
    #menu_container{ left: 12px; right: 12px; width: 84%; }
    .hero-image-frame{ padding: 22px; }
    .documental-card, .documental-carousel{ min-height: 340px; }
    .objects-card, .objects-carousel{ min-height: 340px; }
    .imaterial-card, .imaterial-carousel{ min-height: 340px; }
    .documental-overlay{ padding: 120px 20px 22px; }
    .objects-overlay{ padding: 120px 20px 22px; }
    .imaterial-overlay{ padding: 120px 20px 22px; }
    .documental-overlay p{ font-size: 0.94rem; line-height: 1.65; }
    .objects-overlay p{ font-size: 0.94rem; line-height: 1.65; }
    .imaterial-overlay p{ font-size: 0.94rem; line-height: 1.65; }
    .location{ padding: 38px 16px; gap: 24px; border-radius: 30px; }
    .location-copy{ padding: 0; }
    .location-copy h2{ font-size: clamp(1.8rem, 8vw, 2.2rem); margin: 0 0 10px; }
    .location-line{ max-width: 100%; font-size: 1rem; }
    .map-frame{ width: 100%; border-radius: 24px; }
    #localizacao{ min-height: 310px; }
    .sobre-main{ padding-top: 22px; }
    .sobre-hero-copy, .sobre-hero-visual, .sobre-bloco{ padding: 24px; }
    .resumo-institucional{ padding: 16px 15px; }
    .sobre-indice{ padding: 16px; }
    .sobre-tab{ width: 100%; text-align: center; }
    .sobre-painel{ padding: 18px; }
    .sobre-citacao{ padding: 18px; }
    .footer-container{ grid-template-columns: 1fr; gap: 24px; justify-content: center; text-align: center; align-items: center;}
    footer{ padding: 40px 20px 24px; }
    .footer-credit{ font-size: 0.9rem; }
    .footer-note{ font-size: 0.8rem; }
}

/* ===== SOBRE STORY EXPERIENCE ===== */
body.pagina-sobre{
    height: 100dvh;
    overflow: hidden;
    color: #f8eee0;
    background:
        radial-gradient(circle at 12% 18%, rgba(255,205,139,0.32), transparent 30%),
        radial-gradient(circle at 88% 82%, rgba(190,128,59,0.26), transparent 34%),
        linear-gradient(145deg, #100b07 0%, #1e140f 44%, #2f1e14 100%);
}

body.pagina-sobre::-webkit-scrollbar,
body.pagina-sobre *::-webkit-scrollbar{
    width: 0;
    height: 0;
}

body.pagina-sobre *{
    scrollbar-width: none;
}

body.pagina-sobre .skip-link{
    z-index: 2100;
}

body.pagina-sobre header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    z-index: 1600;
    border-bottom: 1px solid rgba(255,255,255,0.14);
    background: linear-gradient(90deg, rgba(12,8,6,0.94), rgba(32,22,17,0.9));
}

body.pagina-sobre .barra-leitura{
    top: 100px;
    z-index: 1700;
    background: rgba(255,255,255,0.12);
}

body.pagina-sobre #barra_progresso_valor{
    background: linear-gradient(90deg, #f6c681 0%, #de9a46 55%, #f8d79f 100%);
}

body.pagina-sobre .sobre-main.sobre-story{
    position: fixed;
    inset: 104px 0 0;
    margin: 0;
    padding: 22px;
    overflow: hidden;
    isolation: isolate;
    --story-progress: 0%;
    --parallax-x: 0px;
    --parallax-y: 0px;
    --cinema-shift: 0px;
    --cinema-depth: 1;
}

.sobre-top-links{
    position: absolute;
    top: 4px;
    right: 20px;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(247,204,147,0.24);
    background: rgba(18,11,8,0.68);
    backdrop-filter: blur(8px);
}

.sobre-top-links a{
    color: #ffe4be;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.65rem;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.sobre-top-links a:hover{
    transform: translateY(-1px);
    background: rgba(255,232,196,0.12);
    border-color: rgba(249,206,145,0.32);
}

.sobre-top-links a[aria-current="page"]{
    color: #251406;
    background: linear-gradient(135deg, #f7c67f, #d68d3b);
    border-color: rgba(255,236,206,0.8);
}

.sobre-cinema-bg{
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.sobre-cinema-bg .camada{
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
    opacity: 0.36;
    transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.7s ease;
}

.sobre-cinema-bg .camada-1{
    width: min(42vw, 640px);
    height: min(42vw, 640px);
    left: -8%;
    top: -16%;
    background: radial-gradient(circle, rgba(252,202,129,0.38), rgba(252,202,129,0.08) 40%, transparent 72%);
    transform: translate3d(calc(var(--parallax-x) * 0.18 + var(--cinema-shift) * 0.22), calc(var(--parallax-y) * 0.16), 0) scale(calc(1.02 + (var(--cinema-depth) * 0.012)));
}

.sobre-cinema-bg .camada-2{
    width: min(34vw, 520px);
    height: min(34vw, 520px);
    right: -6%;
    top: 16%;
    background: radial-gradient(circle, rgba(214,141,59,0.46), rgba(214,141,59,0.14) 46%, transparent 75%);
    transform: translate3d(calc(var(--parallax-x) * -0.26 + var(--cinema-shift) * -0.28), calc(var(--parallax-y) * -0.2), 0) scale(calc(1.03 + (var(--cinema-depth) * 0.015)));
}

.sobre-cinema-bg .camada-3{
    width: min(48vw, 720px);
    height: min(48vw, 720px);
    right: 10%;
    bottom: -30%;
    background: radial-gradient(circle, rgba(255,222,173,0.28), rgba(255,222,173,0.1) 44%, transparent 78%);
    transform: translate3d(calc(var(--parallax-x) * 0.1 + var(--cinema-shift) * 0.12), calc(var(--parallax-y) * 0.28), 0) scale(calc(1 + (var(--cinema-depth) * 0.01)));
}

.sobre-cinema-blur{
    position: absolute;
    inset: -12px;
    z-index: 12;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at center, rgba(255,219,163,0.14), rgba(0,0,0,0.18) 62%, rgba(0,0,0,0.3) 100%);
    backdrop-filter: blur(0px) saturate(110%);
    transition: opacity 0.45s ease, backdrop-filter 0.45s ease;
}

body.pagina-sobre .sobre-main.sobre-story.cinema-transicao .sobre-cinema-blur{
    opacity: 1;
    backdrop-filter: blur(12px) saturate(125%);
}

body.pagina-sobre .sobre-main.sobre-story::before{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 79px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255,230,191,0.32), transparent);
    pointer-events: none;
}

.sobre-cena{
    position: absolute;
    inset: 18px 96px 18px 18px;
    padding: clamp(22px, 2.6vw, 42px);
    border-radius: 34px;
    border: 1px solid rgba(255,224,177,0.22);
    background:
        radial-gradient(circle at top right, rgba(244,199,132,0.16), transparent 34%),
        radial-gradient(circle at bottom left, rgba(248,214,162,0.1), transparent 42%),
        linear-gradient(160deg, rgba(28,19,14,0.94), rgba(18,13,10,0.95));
    box-shadow: 0 32px 68px rgba(0,0,0,0.34);
    overflow: auto;
    opacity: 0;
    pointer-events: none;
    filter: blur(8px);
    transform: translate3d(0, 10vh, 0) scale(0.97);
    transition: opacity 0.68s ease, transform 0.82s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.62s ease;
}

.sobre-cena::before,
.sobre-cena::after{
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.sobre-cena::before{
    width: 240px;
    height: 240px;
    top: -110px;
    right: -40px;
    background: radial-gradient(circle, rgba(255,210,153,0.2), transparent 72%);
}

.sobre-cena::after{
    width: 220px;
    height: 220px;
    left: -90px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(255,173,74,0.16), transparent 68%);
}

.sobre-cena.ativa{
    opacity: 1;
    pointer-events: auto;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
    z-index: 20;
}

.sobre-cena > *{
    position: relative;
    z-index: 2;
    transform: translate3d(calc(var(--parallax-x) * 0.05), calc(var(--parallax-y) * 0.05), 0);
    transition: transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.pagina-sobre .sobre-main.sobre-story.cinema-transicao .sobre-cena.ativa{
    filter: blur(1.2px) brightness(1.05);
}

body.pagina-sobre .sobre-main.sobre-story.cinema-transicao .sobre-cena.ativa > *{
    transform: translate3d(calc(var(--parallax-x) * 0.07 + var(--cinema-shift) * 0.22), calc(var(--parallax-y) * 0.07), 0);
}

.sobre-cena.saindo-up{
    transform: translate3d(0, -11vh, 0) scale(0.985);
    opacity: 0;
}

.sobre-cena.saindo-down{
    transform: translate3d(0, 11vh, 0) scale(0.985);
    opacity: 0;
}

.sobre-tag{
    display: inline-flex;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(253,218,160,0.45);
    background: rgba(248,208,150,0.11);
    letter-spacing: 0.11em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: #f6d8ac;
}

body.pagina-sobre .sobre-cena h2{
    margin: 10px 0 14px;
    font-size: clamp(1.9rem, 3.4vw, 3.4rem);
    line-height: 1.06;
    color: #ffecd0;
    max-width: 16ch;
}

body.pagina-sobre .sobre-cena p,
body.pagina-sobre .sobre-citacao p,
body.pagina-sobre .sobre-referencias li{
    color: rgba(249,235,213,0.86);
    font-size: 1.0rem;
    line-height: 1.72;
}

.sobre-cena-grid{
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 24px;
    align-items: stretch;
}

.sobre-cena-copy{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.pagina-sobre .sobre-visual{
    margin: 0;
    border-radius: 26px;
    border: 1px solid rgba(248,212,166,0.26);
    background: rgba(255,248,235,0.05);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: inset 0 0 32px rgba(255,196,112,0.08);
}

body.pagina-sobre .sobre-visual img{
    width: 100%;
    height: min(46vh, 420px);
    object-fit: cover;
    border-radius: 18px;
    animation: float 9s ease-in-out infinite;
}

body.pagina-sobre .sobre-visual figcaption{
    margin: 0;
    color: rgba(249,228,194,0.84);
    font-size: 0.94rem;
}

body.pagina-sobre .sobre-ferramentas{
    margin-top: 12px;
}

body.pagina-sobre .button.secondary{
    background: rgba(255,232,196,0.1);
    border-color: rgba(249,206,145,0.44);
    color: #ffe6c1;
}

body.pagina-sobre .button.primary{
    background: linear-gradient(135deg, #f5bf74, #cb7d2f);
    color: #2e190a;
}

body.pagina-sobre .resumo-institucional,
body.pagina-sobre .sobre-card,
body.pagina-sobre .sobre-painel,
body.pagina-sobre .sobre-detalhe,
body.pagina-sobre .sobre-citacao{
    border-color: rgba(248,205,150,0.24);
    background: rgba(255,242,216,0.08);
}

body.pagina-sobre .sobre-grid-acervo{
    margin-top: 12px;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
}

body.pagina-sobre .sobre-card h3,
body.pagina-sobre .sobre-detalhe summary,
body.pagina-sobre .sobre-tab,
body.pagina-sobre .sobre-bloco h2,
body.pagina-sobre .sobre-card p,
body.pagina-sobre .sobre-referencias strong,
body.pagina-sobre .sobre-creditos{
    color: #ffe4bc;
}

body.pagina-sobre .sobre-tab{
    background: rgba(255,233,205,0.1);
    border-color: rgba(248,205,149,0.34);
}

body.pagina-sobre .sobre-tab[aria-selected="true"]{
    color: #2a1607;
    background: linear-gradient(135deg, #f7c67f, #d68d3b);
}

body.pagina-sobre .sobre-referencias{
    padding-left: 20px;
    margin: 8px 0 0;
}

body.pagina-sobre .sobre-creditos{
    margin-top: 18px;
    letter-spacing: 0.03em;
    color: rgba(255,226,186,0.8);
}

body.pagina-sobre.leitura-ampliada .sobre-cena p,
body.pagina-sobre.leitura-ampliada .sobre-cena li,
body.pagina-sobre.leitura-ampliada .sobre-citacao p{
    font-size: clamp(1.3rem, 1.75vw, 1.64rem);
    line-height: 1.95;
}

@media (max-width: 1024px){
    body.pagina-sobre .sobre-main.sobre-story{
        padding: 14px;
    }

    body.pagina-sobre .sobre-main.sobre-story::before{
        display: none;
    }

    .sobre-cena{
        inset: 10px 10px 88px;
    }

    .sobre-top-links{
        top: 2px;
        right: 10px;
        padding: 6px 8px;
        gap: 6px;
    }

    .sobre-top-links a{
        font-size: 0.6rem;
        padding: 6px 9px;
    }

    .sobre-cena-grid{
        grid-template-columns: 1fr;
    }

    body.pagina-sobre .sobre-visual img{
        height: min(34vh, 260px);
    }

    .sobre-cinema-bg .camada{
        opacity: 0.24;
    }
}

@media (max-width: 700px){
    header{
        height: 88px;
        padding: 5px 5px 5px 20px;
    }

    body.pagina-sobre .brand h1{
        font-size: 22px;
        bottom: 20px;
    }

    body.pagina-sobre .brand-eyebrow{
        bottom: 8px;
        font-size: 0.8rem;
    }

    body.pagina-sobre #logo{
        width: 80%;
    }

    body.pagina-sobre .sobre-main.sobre-story{
        inset: 92px 0 0;
    }

    .sobre-top-links{
        right: 8px;
        left: 8px;
        justify-content: center;
        top: 6px;
    }

    body.pagina-sobre .barra-leitura{
        top: 88px;
    }

    .sobre-cena{
        border-radius: 24px;
        padding: 18px;
    }

    body.pagina-sobre .sobre-cena h2{
        font-size: clamp(1.62rem, 8vw, 2.22rem);
    }

    body.pagina-sobre .button{
        width: 100%;
    }
    body.pagina-sobre .sobre-cena p{
        font-size: 10pt;
    }

    body.pagina-sobre .sobre-grid-acervo{
        grid-template-columns: 1fr;
    }
}


/* ===== SOBRE MINIMAL TEXT MOTION OVERRIDE ===== */
body.pagina-sobre .sobre-main.sobre-story{
    inset: 104px 0 0;
    width: 100vw;
    max-width: 100vw;
    padding: 0;
}

body.pagina-sobre .sobre-main.sobre-story::before{
    content: "";
    inset: 0;
    right: auto;
    width: 100%;
    background:
        radial-gradient(circle at calc(40% + var(--parallax-x) * 0.5) calc(22% + var(--parallax-y) * 0.3), rgba(244,186,111,0.22), transparent 46%),
        radial-gradient(circle at calc(84% + var(--parallax-x) * -0.4) calc(78% + var(--parallax-y) * -0.3), rgba(216,140,63,0.2), transparent 48%),
        linear-gradient(150deg, #0f0906 0%, #22150f 52%, #321f15 100%);
    opacity: 1;
}

body.pagina-sobre .sobre-main.sobre-story::after{
    content: "";
    position: absolute;
    inset: -10px;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at center, rgba(255,220,165,0.16), rgba(0,0,0,0.24) 62%, rgba(0,0,0,0.34) 100%);
    backdrop-filter: blur(0px) saturate(110%);
    transition: opacity 0.45s ease, backdrop-filter 0.45s ease;
    z-index: 12;
}

body.pagina-sobre .sobre-main.sobre-story.cinema-transicao::after{
    opacity: 1;
    backdrop-filter: blur(10px) saturate(130%);
}

body.pagina-sobre .sobre-top-links{
    top: 10px;
    right: 22px;
    z-index: 90;
}

body.pagina-sobre .sobre-cena{
    inset: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden auto;
    filter: none;
    transform: translate3d(0, 9vh, 0);
    transition: opacity 0.66s ease, transform 0.82s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: clamp(38px, 9vh, 94px) clamp(18px, 4.6vw, 88px) clamp(84px, 12vh, 140px);
}

body.pagina-sobre .sobre-cena.ativa{
    transform: translate3d(0, 0, 0);
}

body.pagina-sobre .sobre-cena.saindo-up{
    transform: translate3d(0, -10vh, 0);
}

body.pagina-sobre .sobre-cena.saindo-down{
    transform: translate3d(0, 10vh, 0);
}

body.pagina-sobre .sobre-cena > *{
    max-width: min(1220px, calc(100vw - 120px));
    position: relative;
    z-index: 20;
    transform: translate3d(calc(var(--parallax-x) * 0.07), calc(var(--parallax-y) * 0.07), 0);
    transition: transform 0.72s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease, filter 0.4s ease;
}

body.pagina-sobre .sobre-main.sobre-story.cinema-transicao .sobre-cena.ativa > *{
    transform: translate3d(calc(var(--parallax-x) * 0.09 + var(--cinema-shift) * 0.24), calc(var(--parallax-y) * 0.09), 0);
    filter: blur(0.25px);
}

body.pagina-sobre .sobre-cena h2{
    margin-top: 12px;
    margin-bottom: 16px;
    max-width: 18ch;
    font-size: 50pt;
    line-height: 1.02;
}

body.pagina-sobre .sobre-cena p,
body.pagina-sobre .sobre-cena li,
body.pagina-sobre .sobre-cena blockquote p{
    max-width: 84ch;
    font-size: clamp(1.18rem, 1.52vw, 1.45rem);
    line-height: 1.88;
}

body.pagina-sobre .sobre-acoes{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

body.pagina-sobre .sobre-acoes .button,
body.pagina-sobre .sobre-acoes a.button{
    font-family: var(--fonte-texto);
    font-size: clamp(0.92rem, 0.95vw, 0.98rem);
    font-weight: 600;
    letter-spacing: 0.03em;
}

body.pagina-sobre #botao_leitura_sobre,
body.pagina-sobre .sobre-jump{
    cursor: pointer;
}

body.pagina-sobre .sobre-citacao{
    margin-top: 16px;
    border-left: 3px solid rgba(247,189,114,0.7);
    border-radius: 0;
    border-top: none;
    border-right: none;
    border-bottom: none;
    background: transparent;
    padding: 8px 0 8px 18px;
}

body.pagina-sobre .sobre-referencias,
body.pagina-sobre .sobre-referencias-lista{
    margin-top: 8px;
    padding-left: 22px;
}

body.pagina-sobre .sobre-referencias-lista{
    list-style: disc;
}

body.pagina-sobre .sobre-creditos{
    margin-top: 18px;
}

body.pagina-sobre .resumo-institucional,
body.pagina-sobre .sobre-card,
body.pagina-sobre .sobre-grid-acervo,
body.pagina-sobre .sobre-visual,
body.pagina-sobre .sobre-cena-grid,
body.pagina-sobre .sobre-cinema-bg,
body.pagina-sobre .sobre-cinema-blur{
    display: none;
}

@media (max-width: 1024px){
    body.pagina-sobre .sobre-cena{
        padding: clamp(34px, 8vh, 72px) clamp(18px, 5vw, 36px) 110px;
    }

    body.pagina-sobre .sobre-cena > *{
        max-width: min(100%, 94ch);
    }

    body.pagina-sobre .sobre-cena h2{
        font-size: clamp(2rem, 6vw, 3.35rem);
    }

    body.pagina-sobre .sobre-cena p,
    body.pagina-sobre .sobre-cena li,
    body.pagina-sobre .sobre-cena blockquote p{
        font-size: clamp(1.08rem, 2vw, 1.28rem);
    }

}

@media (max-width: 700px) {
    body.pagina-sobre .sobre-cena {
        /* padding-top/bottom já existem, mantenha — só ajuste o overflow */
        overflow-y: auto;          /* garante scroll interno acessível */
        -webkit-overflow-scrolling: touch; /* scroll suave no iOS */
        overscroll-behavior-y: contain;    /* impede propagação ao body */
    }

    body.pagina-sobre .sobre-cena h2 {
        font-size: clamp(1.55rem, 7vw, 2.1rem); /* ligeiramente menor p/ caber mais */
        margin-bottom: 10px;
    }

    body.pagina-sobre .sobre-cena p,
    body.pagina-sobre .sobre-cena li,
    body.pagina-sobre .sobre-cena blockquote p {
        font-size: clamp(0.97rem, 3.5vw, 1.1rem); /* reduz levemente para caber mais */
        line-height: 1.68;
    }
}