
:root {
    --black: #000000;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray: #666666;
    --gray-dark: #1a1a1a;
    --accent: #ef4444;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Space Grotesk', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    --spacing-2xl: 12rem;
}


img {
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


img[loading="lazy"] {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}


@media (max-width: 768px) {
    .storyboard-item img {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    
    .storyboard {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .storyboard .section-container {
        opacity: 1 !important;
        visibility: visible !important;
    }
}


.storyboard-item img {
    opacity: 1 !important;
    visibility: visible !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 140px; 
}

body {
    font-family: var(--font-body);
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}


.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-family: 'IM Fell DW Pica', serif;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--white);
    text-decoration: none;
    text-transform: none;
}

.nav-logo-rasurado {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(239, 68, 68, 0.8);
    opacity: 0.6;
    position: relative;
    text-decoration-skip-ink: none;
}

.nav-logo-accent {
    font-family: 'Special Elite', cursive;
    font-weight: 400;
    color: #ef4444;
    letter-spacing: 0.15em;
    text-shadow: 
        0 0 10px rgba(239, 68, 68, 0.6),
        0 0 20px rgba(239, 68, 68, 0.3);
    font-style: normal;
    display: inline-block;
    text-transform: uppercase;
    margin-left: 0.25rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--white);
}

.btn-nav {
    background: var(--white);
    color: var(--black);
    border: none;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: var(--accent);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}


.hero {
    position: relative;
    min-height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 140px 0 8rem 0; 
    box-sizing: border-box;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 600px;
    z-index: 1;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    animation: slowZoom 30s ease-in-out infinite alternate;
}

.hero-image.active {
    opacity: 1;
    z-index: 1;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 2rem 2rem 3rem 2rem;
}

.hero-title {
    font-family: 'IM Fell DW Pica', serif;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-title-rasurado {
    text-decoration: line-through;
    text-decoration-thickness: 4px;
    text-decoration-color: rgba(239, 68, 68, 0.8);
    opacity: 0.6;
    position: relative;
    text-decoration-skip-ink: none;
}

.hero-title-accent {
    font-family: 'Special Elite', cursive;
    font-weight: 400;
    color: #ef4444;
    letter-spacing: 0.2em;
    text-shadow: 
        0 0 20px rgba(239, 68, 68, 0.8),
        0 0 40px rgba(239, 68, 68, 0.4),
        3px 3px 6px rgba(0, 0, 0, 0.9),
        -1px -1px 2px rgba(0, 0, 0, 0.5);
    font-style: normal;
    display: inline-block;
    transform: scale(1.08);
    position: relative;
    text-transform: uppercase;
}

.text-accent {
    font-family: 'Special Elite', cursive;
    font-weight: 400;
    color: #ef4444;
    letter-spacing: 0.1em;
    font-style: normal;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-attribution {
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-style: italic;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 300;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-date {
    margin-bottom: 3rem;
}

.hero-date-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.hero-date-info {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    opacity: 0.9;
}

.hero-location-link {
    color: var(--white);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.5);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.hero-location-link:hover {
    text-decoration-color: var(--white);
    opacity: 1;
}

.hero-estudio-info {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-estudio-logo {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.estudio-alfa-logo {
    height: 8rem;
    width: auto;
    opacity: 0.95;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.estudio-alfa-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.hero-directions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hero-directions-link {
    color: var(--white);
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--white);
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.directions-subtitle {
    font-size: 0.7em;
    font-weight: 400;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 0.1rem;
}

.hero-directions-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background: var(--white);
    color: var(--black);
    border: none;
    padding: 1.25rem 3rem;
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.btn-primary:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-subtext {
    font-size: 0.85em;
    font-weight: 400;
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.5);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(20px);
    }
}


.section {
    padding: var(--spacing-xl) 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-number {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gray);
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 300;
    color: var(--gray);
    font-style: italic;
}


.text-large {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.text-body {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.text-italic {
    font-style: italic;
}

.text-center {
    text-align: center;
}


.premissa {
    background: var(--white);
}

.premissa-content {
    max-width: 800px;
}

.attribution-box {
    padding: 2rem;
    margin: 2rem 0;
    border-left: 3px solid var(--black);
    background: var(--gray-light);
}

.character-list {
    list-style: none;
    margin: 2rem 0;
}

.character-list li {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.8;
}

.character-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
}


.excerto {
    background: var(--black);
    color: var(--white);
}

.excerto .section-title,
.excerto .section-subtitle {
    color: var(--white);
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto var(--spacing-lg);
    aspect-ratio: 16 / 9;
    background: var(--gray-dark);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
}

.video-placeholder-content {
    text-align: center;
    color: var(--white);
}

.video-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.video-placeholder-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.8;
}

.video-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.8;
    opacity: 0.9;
}


.galeria {
    padding: 0;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

@media (max-width: 1200px) {
    .galeria-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .galeria-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .realizador-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .realizador-image-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .realizador-info {
        text-align: center;
    }
    
    .realizador-name {
        text-align: center;
    }
}

.galeria-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-in-out, transform 0.6s ease;
    opacity: 1;
}

.galeria-item img.fade-out {
    opacity: 0;
}

.galeria-item:hover img {
    transform: scale(1.1);
}


.elenco {
    background: var(--white);
}

.elenco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 0;
}

.elenco-card {
    text-align: center;
}

.elenco-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin-bottom: 1rem;
}

.elenco-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.elenco-card:hover .elenco-image-wrapper img:not(.elenco-image-zoom) {
    transform: scale(1.05);
}

.elenco-image-zoom {
    object-fit: cover;
    object-position: center top;
    transform: scale(1.8) !important;
}

.elenco-card:hover .elenco-image-wrapper .elenco-image-zoom {
    transform: scale(2.0) !important;
}

.elenco-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.elenco-role {
    font-size: 0.9rem;
    color: var(--gray);
    font-style: italic;
}

.elenco-character {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.elenco-role-special {
    font-size: 0.9rem;
    color: #b8860b;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.elenco-special {
    text-align: center;
    padding: 2rem;
    background: var(--gray-light);
    border-left: 3px solid var(--accent);
    max-width: 400px;
    margin: 1rem auto 0;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.elenco-special-image {
    width: 150px;
    height: 200px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border-radius: 4px;
}

.elenco-special-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.origem {
    background: var(--gray-light);
}

.origem-content {
    max-width: 800px;
}


.realizador {
    background: var(--white);
}

.realizador-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 4rem;
    align-items: start;
}

.realizador-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    min-width: 400px;
    overflow: hidden;
    background: var(--light-gray);
}

.realizador-image-wrapper img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.realizador-image-wrapper:hover img {
    transform: scale(1.05);
}

.realizador-info {
    text-align: left;
}

.realizador-name {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 2rem;
    text-align: left;
}

.realizador-text {
    max-width: 100%;
}


.equipa {
    background: var(--gray-light);
}

.equipa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
}

.equipa-card {
    text-align: center;
}

.equipa-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin-bottom: 1rem;
}

.equipa-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.equipa-card:hover .equipa-image-wrapper img:not(.equipa-image-zoom) {
    transform: scale(1.05);
}

.equipa-image-wrapper-zoom {
    overflow: hidden;
}

.equipa-image-zoom {
    object-fit: cover;
    object-position: center -30px;
    transform: scale(2.3) !important;
    transform-origin: center top;
    transition: transform 0.5s ease !important;
}

.equipa-card:hover .equipa-image-wrapper .equipa-image-zoom {
    transform: scale(2.35) !important;
    transform-origin: center top;
    object-position: center -30px !important;
}

.equipa-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.equipa-role {
    font-size: 0.9rem;
    color: var(--gray);
    font-style: italic;
}


.personagens {
    background: var(--white);
}

.personagens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.personagem-card {
    text-align: center;
}

.personagem-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--gray-light);
}

.personagem-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.personagem-card:hover .personagem-image-wrapper img {
    transform: scale(1.05);
}

.personagem-name {
    font-size: 1.1rem;
    font-weight: 600;
}

.personagens-attribution {
    margin-top: 3rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
}

.personagens-attribution-image {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.personagens-attribution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.personagens-attribution-text {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.personagens-attribution-text strong {
    color: var(--black);
    font-weight: 600;
}

.personagens-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background: var(--gray-light);
}

.social-link:hover {
    color: var(--accent);
    background: rgba(239, 68, 68, 0.1);
    transform: translateY(-2px);
}

.social-icon {
    width: 24px;
    height: 24px;
    display: block;
}


.bastidores {
    background: var(--black);
    color: var(--white);
}

.bastidores .section-title,
.bastidores .section-subtitle {
    color: var(--white);
}

.bastidores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.bastidores-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.bastidores-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.bastidores-item:hover img {
    transform: scale(1.1);
    opacity: 0.8;
}


.storyboard {
    background: var(--gray-light);
    display: block;
    visibility: visible;
    opacity: 1;
}

.storyboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.storyboard-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--gray-light);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.storyboard-item img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    display: block;
}

.storyboard-item:hover img {
    transform: scale(1.05);
}


.parceiros {
    background: var(--white);
}

.parceiros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
}

.parceiro-logo {
    width: 100%;
    max-width: 200px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.parceiro-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.parceiro-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.parceiro-logo-zoom {
    overflow: hidden;
}

.parceiro-logo-image-zoom {
    object-fit: contain;
    transform: scale(1.35);
    transform-origin: center center;
}

.parceiro-logo-image-zoom-small {
    object-fit: contain;
    transform: scale(1.2);
    transform-origin: center center;
}


.apoio {
    background: var(--white);
}


.apoio-final {
    position: relative;
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.apoio-final-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url('conteudo/alfa/Alfa Escuro.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.apoio-final-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.apoio-final-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.apoio-final .section-title {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.apoio-final .text-large {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.apoio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.apoio-card {
    padding: 2rem 0;
    border-top: 1px solid var(--black);
}

.apoio-number {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent);
    display: block;
    margin-bottom: 1rem;
}

.apoio-card h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.apoio-card p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.8;
    font-weight: 300;
}


.sustentabilidade {
    background: var(--gray-light);
}

.sustentabilidade-content {
    max-width: 800px;
    margin: 0 auto;
}

.sustentabilidade-list {
    list-style: none;
    margin: 2rem 0;
}

.sustentabilidade-list li {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.8;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sustentabilidade-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}


.plano {
    background: var(--white);
}

.plano-content {
    max-width: 800px;
    margin: 0 auto;
}

.plano-content h3 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-align: center;
}

.plano-box {
    padding: 2rem;
    margin: 2rem 0;
    background: var(--gray-light);
    border-left: 3px solid var(--black);
}

.plano-episode {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.plano-list {
    list-style: none;
}

.plano-list li {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.8;
}

.plano-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}


.contactos {
    background: var(--gray-light);
}

.contactos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.contacto-item {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.contacto-item strong {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

.contacto-item a {
    color: var(--black);
    text-decoration: none;
    border-bottom: 1px solid var(--black);
    transition: color 0.3s ease;
}

.contacto-item a:hover {
    color: var(--accent);
    border-color: var(--accent);
}


.footer {
    background: var(--black);
    color: var(--white);
    padding: 4rem 0 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-title {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-title .footer-text,
.footer-title .footer-attribution {
    margin-top: 0.5rem;
}

.footer-title-main {
    font-family: 'IM Fell DW Pica', serif;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--white);
    display: inline-block;
    line-height: 1.2;
}

.footer-title-rasurado {
    text-decoration: line-through;
    text-decoration-thickness: 3px;
    text-decoration-color: rgba(239, 68, 68, 0.8);
    opacity: 0.6;
    position: relative;
    text-decoration-skip-ink: none;
}

.footer-title-accent {
    font-family: 'Special Elite', cursive;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 400;
    color: #ef4444;
    letter-spacing: 0.2em;
    text-shadow: 
        0 0 20px rgba(239, 68, 68, 0.8),
        0 0 40px rgba(239, 68, 68, 0.4);
    font-style: normal;
    display: inline-block;
    text-transform: uppercase;
    margin-left: 0.5rem;
}


.footer-text {
    font-family: var(--font-body);
    font-size: clamp(0.7rem, 1.5vw, 0.875rem);
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-attribution {
    font-family: var(--font-body);
    font-size: clamp(0.65rem, 1.3vw, 0.75rem);
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin: 0;
}

.footer-copyright {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-logos {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.footer-logo-estudio {
    height: 3rem;
    width: auto;
    opacity: 0.8;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.footer-logo-estudio:hover {
    opacity: 1;
}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 250px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    line-height: 1.6;
}

.cookie-banner-text a {
    color: var(--accent);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.cookie-banner-text a:hover {
    opacity: 0.8;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--white);
    color: var(--black);
}

.cookie-btn-accept:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.cookie-btn-decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-btn-settings {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: none;
    text-decoration: underline;
    font-size: 0.8rem;
}

.cookie-btn-settings:hover {
    color: var(--white);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.25rem 1.5rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

.footer-copyright p {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-made {
    margin-top: 1rem !important;
    font-size: 0.7rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
}

.footer-flag {
    width: 1.2rem;
    height: auto;
    display: inline-block;
    margin: 0 0.25rem;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.footer-author {
    color: #00ff41 !important;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.footer-author:hover {
    color: #00ff41 !important;
    border-bottom-color: #00ff41;
    opacity: 0.8;
}

.footer-link-text {
    color: rgba(255, 255, 255, 0.4) !important;
}

.footer-author-link {
    color: #00ff41 !important;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.footer-author-link:hover {
    color: #00ff41 !important;
    border-bottom-color: #00ff41;
    opacity: 0.8;
}


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--white);
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    z-index: 2001;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--black);
    line-height: 1;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--accent);
}

.modal-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.modal-content p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    margin-bottom: 1rem;
    line-height: 1.6;
}

#emailForm {
    margin-top: 2rem;
}

#emailInput {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--black);
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

#emailInput:focus {
    outline: none;
    border-color: var(--accent);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

.btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 0.75rem;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-primary:disabled .btn-spinner {
    border-color: rgba(0, 0, 0, 0.2);
    border-top-color: currentColor;
}



@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 2rem 0;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .btn-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .section-container {
        padding: 0 1.5rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .storyboard .section-container {
        padding: 0 1rem;
    }
    
    .storyboard-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .storyboard-item {
        width: 100%;
        max-width: 100%;
        overflow: visible;
        min-height: 250px;
        aspect-ratio: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
    }
    
    .storyboard-item img {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        display: block;
    }
    
    .elenco-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .equipa-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .personagens-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .bastidores-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .storyboard-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .storyboard-item {
        width: 100%;
        max-width: 100%;
        overflow: visible;
        min-height: 250px;
        aspect-ratio: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
    }
    
    .storyboard-item img {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        display: block;
    }
    
    .parceiros-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 2rem;
    }
    
    .apoio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .galeria-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .realizador-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .realizador-image-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .realizador-info {
        text-align: center;
    }
    
    .realizador-name {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
    }
    
    .realizador-image-wrapper {
        max-width: 100%;
        min-width: unset;
        width: 100%;
        padding: 0 1rem;
    }
    
    .realizador-content {
        padding: 0 1rem;
    }
    
    .realizador-info {
        padding: 0 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .realizador-text {
        max-width: 100%;
        overflow-x: hidden;
        word-wrap: break-word;
    }
    
    .storyboard-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .storyboard-item {
        width: 100%;
        max-width: 100%;
        overflow: visible;
        min-height: 250px;
        aspect-ratio: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
    }
    
    .storyboard-item img {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        display: block;
    }
    
    .storyboard .section-container {
        padding: 0 1rem;
    }
    
    .footer-title {
        margin-bottom: 2rem;
    }
}

@media (max-width: 900px) {
    .realizador-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 0 1.5rem;
    }
    
    .realizador-image-wrapper {
        max-width: 100%;
        min-width: unset;
        width: 100%;
        margin: 0 auto;
        padding: 0 1rem;
    }
    
    .realizador-info {
        text-align: center;
        padding: 0 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .realizador-name {
        text-align: center;
    }
    
    .realizador-text {
        max-width: 100%;
        overflow-x: hidden;
        word-wrap: break-word;
    }
}
