html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


body {
    background-color: #030200;
}

.logo-container {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #030200;
    will-change: transform;
    backface-visibility: hidden;
    opacity: 1;
}

#logo-svg {
    width: auto;
    height: auto;
    max-width: 400px;
    max-height: 400px;
}

.logo-path {
    stroke: #F3DE9C; 
    stroke-width: 2px;
    fill-opacity: 0; 
}

/* Cena 1 e 2: Estrutura Base */
#scene-1, #scene-2, #scene-3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #030200;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    z-index: 50;
    overflow: hidden;
}

.hero-container {
    position: relative;
    width: 100vw;
    height: calc(100vw * (2532 / 1170));
    max-width: 540px; 
    max-height: calc(540px * (2532 / 1170));
}

#scene-1 .hero-photo {
    width: 102.735%; 
    height: 82.622%; 
    left: -8.974%;   
    top: 8.688%;     
    position: absolute;
}

#scene-1 .hero-blur {
    width: 130%;
    height: 100%;
    left: -15%;
    top: 0;
    position: absolute;
    z-index: 2;
}

#scene-2 .hero-photo {
    width: 99.658%;  
    height: 68.167%; 
    left: 2.735%;    
    top: 0%;         
    position: absolute;
}

#scene-2 .hero-blur {
    width: 100%;     
    height: 79.462%; 
    left: 0%;
    top: 20.537%;    
    position: absolute;
    z-index: 2;
}

#scene-3 .hero-photo {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    object-fit: cover;
}

#scene-3 .hero-blur {
    width: 100%;
    height: 50%;
    left: 0;
    bottom: 0;
    top: auto;
    position: absolute;
    z-index: 2;
}

#play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 5;
    width: 72px;
    height: 72px;
    padding: 0;
    transition: opacity 0.3s ease;
}

#play-btn svg {
    width: 100%;
    height: 100%;
}

#play-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Overlay invisível para toggle pause/play */
#video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    cursor: pointer;
}

/* Botão CTA premium */
#cta-btn {
    position: absolute;
    bottom: 24%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    background: transparent;
    border: none;
    padding: 17px 34px;
    font-size: 17px;
    letter-spacing: 0.12em;
    color: #c8c8c8;
    cursor: pointer;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    font-family: inherit;
}

#cta-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 0;
    padding: 1.5px;
    background: linear-gradient(135deg, #e8e8e8 0%, #888 50%, #d4d4d4 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
}

#cta-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 1s ease;
}

/* Textos das cenas */
.scene-text {
    position: absolute;
    bottom: 27%;
    left: 8%;
    width: 84%;
    z-index: 3;
    color: #ffffff;
    opacity: 0;
}

#scene-1 .scene-text {
    text-align: right;
    left: auto;
    right: 8%;
}

.scene-title {
    font-family: 'Noto Serif Display', serif;
    font-weight: 700;
    font-size: clamp(2.4rem, 8vw, 3.6rem);
    line-height: 1.05;
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
}

.scene-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(0.85rem, 2.8vw, 1.05rem);
    line-height: 1.7;
    margin: 0;
    opacity: 0.85;
}

.scroll-section {
    width: 100vw;
    height: 100vh;
}

/* Logo overlay fixa */
#overlay-logo {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    width: 51px;
    pointer-events: none;
    opacity: 0;
}

/* Utilitários */
.scene-hidden {
    display: none;
}
