/* =========================================
   RESET
   ========================================= */
:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --font-main: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    width: 100vw;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s;
}

body.loading { overflow: hidden; height: 100vh; }

/* REMOVE AUTOFILL BACKGROUND */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: white;
    -webkit-box-shadow: 0 0 0px 1000px #000 inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* =========================================
   PRELOADER
   ========================================= */
.preloader {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: #000; z-index: 9999;
    display: flex; justify-content: center; align-items: center; flex-direction: column;
}
.loader-content { width: 300px; text-align: center; }
.loader-text { font-size: 0.8rem; letter-spacing: 3px; margin-bottom: 20px; opacity: 0.7; text-transform: uppercase; }
.progress-container { width: 100%; height: 2px; background-color: #333; position: relative; overflow: hidden; }
.progress-bar { width: 0%; height: 100%; background-color: white; transition: width 0.1s linear; }
.loader-percentage { font-size: 3rem; font-weight: 700; margin-top: 20px; font-variant-numeric: tabular-nums; }

/* =========================================
   CURSOR
   ========================================= */
body, a, button, .menu-toggle, .status-indicator, .insta-trigger { cursor: none; }

.custom-cursor {
    position: fixed; top: 0; left: 0; width: 20px; height: 20px;
    background-color: white; border-radius: 50%; pointer-events: none;
    z-index: 9999; transform: translate(-50%, -50%); mix-blend-mode: difference;
    transition: width 0.3s, height 0.3s, border-radius 0.3s; 
    display: block;
}
.custom-cursor.view-project { 
    width: 80px; height: 80px; 
    background-color: white; mix-blend-mode: normal; 
    display: flex; justify-content: center; align-items: center; 
}
.custom-cursor.view-project::after { content: 'VIEW'; color: black; font-size: 0.8rem; font-weight: 700; }

.custom-cursor.text-mode {
    width: 2px; height: 25px;
    border-radius: 0;
    background-color: white;
    mix-blend-mode: normal;
}

@media (max-width: 900px) {
    .custom-cursor { display: none !important; }
    body, a, button, .menu-toggle, input, textarea, .status-indicator { cursor: auto !important; }
}

/* =========================================
   CANVAS
   ========================================= */
#canvas-stars {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1 !important; background: radial-gradient(circle at center, #0f0f0f 0%, #000000 100%);
}

/* =========================================
   NAVBAR & STATUS
   ========================================= */
.navbar {
    position: fixed; top: 0; width: 100%; padding: 30px 50px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100; pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.navbar.hidden { transform: translateY(-100%); opacity: 0; }

.logo-container { pointer-events: auto; width: 120px; }
.logo-img { width: 100%; height: auto; display: block; }
.menu-right { display: flex; align-items: center; gap: 20px; pointer-events: auto; }

/* STATUS DOT */
.status-indicator {
    display: flex; align-items: center; background: rgba(255,255,255,0.1);
    padding: 8px 12px; border-radius: 50px; cursor: pointer;
    transition: 0.3s; overflow: hidden; margin-right: 10px;
}
.status-indicator:hover { background: rgba(255,255,255,0.2); }

.status-dot {
    width: 10px; height: 10px; background-color: #2ecc71; 
    border-radius: 50%; margin-right: 0; position: relative;
    box-shadow: 0 0 0 rgba(46, 204, 113, 0.4);
    animation: pulseGreen 2s infinite; transition: 0.3s;
}
@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
.status-text {
    font-size: 0.75rem; font-weight: 600; color: white;
    max-width: 0; opacity: 0; white-space: nowrap; transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.status-indicator:hover .status-text { max-width: 250px; opacity: 1; margin-left: 10px; }

.btn-contact {
    text-decoration: none; padding: 10px 25px; border-radius: 50px;
    font-size: 0.8rem; font-weight: 600; background-color: white; color: black;
    border: 1px solid white; display: inline-block; transition: 0.3s;
}
.btn-contact:hover { background-color: transparent; color: white; }

.menu-toggle {
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    border: 1px solid rgba(255,255,255,0.3); background: transparent; transition: 0.3s;
}
.hamburger-lines span { background-color: white; height: 2px; width: 20px; display: block; margin: 2px 0; }
.menu-toggle:hover { background: white; }
.menu-toggle:hover .hamburger-lines span { background: black; }

/* Menu Overlay */
.menu-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: #000; z-index: 200;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transform: translateX(100%);
}
.menu-close-container { position: absolute; top: 30px; right: 50px; }
.menu-close {
    width: 50px; height: 50px; border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
}
.close-lines { position: absolute; width: 20px; height: 2px; background: white; }
.close-lines:nth-child(1) { transform: rotate(45deg); }
.close-lines:nth-child(2) { transform: rotate(-45deg); }
.menu-links { list-style: none; text-align: center; }
.menu-link { display: block; font-size: 3rem; color: white; text-decoration: none; margin: 10px 0; opacity: 0; }

/* Contact Modal */
.contact-modal, .project-details-modal {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: #050505; z-index: 300; display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: 0.3s;
}
.contact-modal.active { opacity: 1; pointer-events: auto; }
.modal-container { text-align: center; width: 90%; max-width: 500px; }

.project-modal-close {
    position: fixed; top: 30px; right: 30px; width: 50px; height: 50px;
    border: 1px solid rgba(255,255,255,0.3); border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    z-index: 401; background: rgba(0,0,0,0.5); backdrop-filter: blur(5px);
    opacity: 0; pointer-events: none; 
}
.modal-close {
    position: fixed; top: 30px; right: 30px; width: 50px; height: 50px;
    border: 1px solid rgba(255,255,255,0.3); border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
}

.choice-buttons { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.choice-btn { background: transparent; border: 1px solid white; color: white; padding: 20px; transition: 0.3s; }
.choice-btn:hover { background: white; color: black; }
.phone-number { font-size: 2rem; color: white; display: block; margin-bottom: 20px; }

/* INPUTS COM LABELS FIXOS */
.input-group { margin-bottom: 30px; text-align: left; }
.input-group label {
    display: block; font-size: 0.7rem; color: #888; letter-spacing: 2px;
    margin-bottom: 5px; font-weight: 700;
}
.input-group input, .input-group textarea {
    width: 100%; background: transparent; border: none; border-bottom: 1px solid white;
    color: white; padding: 10px 0; font-family: 'Inter', sans-serif; font-size: 1rem;
    outline: none; transition: 0.3s;
}
.input-group input:focus, .input-group textarea:focus { border-bottom-color: #888; }

.submit-btn { background: white; color: black; border: none; padding: 15px 30px; font-weight: 700; cursor: pointer; }
.back-btn { background: transparent; border: none; color: #666; margin-top: 20px; font-size: 0.9rem; cursor: pointer; }

/* Hero */
.hero-section {
    height: 100vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
}
h1 { font-size: clamp(3rem, 12vw, 9rem); font-weight: 700; line-height: 0.9; display: flex; flex-direction: column; }
.subtitle { margin-top: 20px; font-size: 1rem; letter-spacing: 5px; color: #888; }
.badge {
    margin-top: 20px; background: rgba(255,255,255,0.1); color: white;
    padding: 8px 16px; border-radius: 50px; font-size: 0.8rem; letter-spacing: 1px;
    backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.2);
}
.scroll-indicator { position: absolute; bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0.7; animation: pulse 2s infinite; }
.scroll-indicator .line { width: 1px; height: 40px; background: white; animation: pulseLine 2s infinite; }
@keyframes pulse { 0%{opacity:0.5} 50%{opacity:1} 100%{opacity:0.5} }
@keyframes pulseLine { 0%{height:30px} 50%{height:60px} 100%{height:30px} }

/* Ticker */
.ticker-wrap {
    width: 100%; overflow: hidden; height: 60px;
    border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; margin-bottom: 80px;
}
.ticker { display: flex; animation: ticker 30s linear infinite; }
.ticker-item { white-space: nowrap; font-size: 1rem; color: #888; letter-spacing: 2px; padding-right: 40px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Work */
.work-section { padding: 50px; max-width: 1600px; margin: 0 auto; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.project-wrapper { position: relative; width: 100%; aspect-ratio: 16/9; }
.project-wrapper.large { grid-column: span 2; aspect-ratio: 21/9; }
.project-card { width: 100%; height: 100%; border-radius: 8px; overflow: hidden; background: #111; }
.project-thumb { width: 100%; height: 100%; object-fit: cover; }
.project-info {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px;
    background: linear-gradient(to top, black, transparent); opacity: 0; transition: 0.4s;
}
.project-wrapper:hover .project-info { opacity: 1; transform: translateY(0); }
.project-title { font-size: 1.5rem; color: white; font-weight: 700; }

/* POSTER BTN (NOVO) */
.poster-archive-btn {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s;
}
.poster-archive-btn:hover { background: white; color: black; }


/* CLIENTS */
.clients-section { padding: 50px 20px; max-width: 1400px; margin: 0 auto; text-align: center; }
.glass-container {
    background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 60px 20px;
}
.clients-label { font-size: 0.8rem; letter-spacing: 2px; color: #666; margin-bottom: 30px; text-transform: uppercase; }
.clients-grid { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; align-items: center; }
.client-logo { width: 150px; opacity: 0.5; transition: 0.3s; filter: grayscale(1); }
.client-logo:hover { opacity: 1; filter: grayscale(0); }
.client-logo img { width: 100%; display: block; }

/* About & Flip */
.about-section { padding: 100px 50px; }
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1400px; margin: 0 auto; align-items: center; }

.flip-container {
    position: relative; width: 100%; aspect-ratio: 4/5;
    perspective: 1000px; cursor: pointer;
}
.flip-inner {
    position: relative; width: 100%; height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}
.flip-container:hover .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back {
    position: absolute; width: 100%; height: 100%;
    -webkit-backface-visibility: hidden; backface-visibility: hidden;
    border-radius: 8px; overflow: hidden;
}
.flip-front .about-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.flip-front .image-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent); z-index: 1;
}
.flip-hint {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    color: white; font-size: 0.7rem; letter-spacing: 2px;
    background: rgba(0,0,0,0.6); padding: 5px 15px; border-radius: 20px;
    z-index: 2; opacity: 0.8;
}
.flip-back {
    transform: rotateY(180deg) translateZ(5px);
    background-color: #121212; z-index: 2; will-change: transform;
}

.about-content { display: flex; flex-direction: column; gap: 20px; }
.section-title { font-size: clamp(2rem, 5vw, 4rem); font-weight: 700; margin-bottom: 20px; }
.about-bio { font-size: 1.1rem; color: #ccc; line-height: 1.6; }
.skills-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.skill-tag {
    border: 1px solid rgba(255,255,255,0.3); padding: 8px 16px; border-radius: 50px;
    font-size: 0.85rem; color: white; transition: 0.3s; position: relative; z-index: 10; background-color: rgba(0,0,0,0.5);
}
.skill-tag:hover { background: white; color: black; }

/* Services */
.services-section { padding: 100px 50px; position: relative; z-index: 1; }
.services-content { max-width: 1200px; margin: 0 auto; }
.services-list { list-style: none; border-top: 1px solid rgba(255,255,255,0.2); }
.service-item { padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,0.2); display: flex; align-items: baseline; transition: 0.3s; }
.service-item:hover { padding-left: 20px; }
.service-number { font-size: 1rem; color: white !important; width: 50px; opacity: 1 !important; }
.service-name { font-size: clamp(2rem, 5vw, 4rem); font-weight: 700; color: white !important; text-transform: uppercase; opacity: 1 !important; }
.service-tags { margin-left: auto; font-size: 0.9rem; color: white !important; opacity: 0.7 !important; }
.service-preview-container {
    position: fixed; top: 0; left: 0; width: 700px; height: 400px;
    z-index: 50; pointer-events: none; opacity: 0;
    transform: translate(-50%, -50%) scale(0.8); overflow: hidden; border-radius: 8px;
}
#service-preview-img { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.site-footer { padding: 100px 50px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; }
.footer-headline { font-size: clamp(2rem, 5vw, 5rem); font-weight: 700; }
.footer-cta { font-size: 1rem; padding: 15px 30px; border: 1px solid white; }
.footer-bottom { display: flex; justify-content: space-between; color: #666; font-size: 0.8rem; }
.social-links { display: flex; gap: 20px; }
.social-link { color: #888; text-decoration: none; }
.social-link:hover { color: white; }
.footer-meta { font-size: 0.8rem; color: #555; display: flex; gap: 20px; align-items: center; }

/* INSTAGRAM SPLIT BUTTON */
.insta-wrapper { display: flex; align-items: center; position: relative; }
.insta-links {
    display: none; align-items: center; gap: 10px; margin-left: 15px;
    opacity: 0; transform: translateX(-10px); transition: 0.4s ease;
}
.insta-wrapper.active .insta-trigger { display: none; }
.insta-wrapper.active .insta-links { display: flex; opacity: 1; transform: translateX(0); }
.separator { color: #555; }
.sub-link { font-size: 0.9rem; color: white; text-decoration: none; font-weight: 600; }
.sub-link:hover { color: #ccc; }

/* INSTAGRAM EMBEDS */
.insta-embed-wrapper { width: 100%; display: flex; justify-content: center; margin-bottom: 20px; }
.instagram-media { max-width: 540px !important; width: 100% !important; margin: 0 auto !important; }

/* COOKIE BANNER */
.cookie-banner {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
    width: 90%; max-width: 400px;
    background: rgba(20, 20, 20, 0.8); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); padding: 20px; border-radius: 12px;
    z-index: 10000; display: flex; flex-direction: column; gap: 15px;
    opacity: 0; pointer-events: none; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.cookie-banner.active { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.cookie-text { font-size: 0.8rem; color: #ccc; margin: 0 !important; line-height: 1.4; }
.cookie-buttons { display: flex; gap: 10px; }
.cookie-btn { flex: 1; padding: 10px 0; border-radius: 6px; font-size: 0.75rem; font-weight: 700; cursor: pointer; border: 1px solid white; transition: 0.3s; }
.cookie-btn.accept { background: white; color: black; }
.cookie-btn.accept:hover { background: #ccc; border-color: #ccc; }
.cookie-btn.decline { background: transparent; color: white; opacity: 0.6; border-color: transparent; }
.cookie-btn.decline:hover { opacity: 1; background: rgba(255,255,255,0.1); }

/* Project Modal */
.project-details-modal { display: block; overflow-y: auto; transform: translateY(100%); }
.project-content-container { padding: 100px 50px; max-width: 1200px; margin: 0 auto; opacity: 0; }
.project-header { margin-bottom: 40px; }
.project-category-tag { font-size: 0.9rem; color: #888; display: block; margin-bottom: 10px; }
.project-main-title { font-size: clamp(2rem, 5vw, 4rem); font-weight: 700; }
.project-media-wrapper { width: 100%; margin-bottom: 40px; display: flex; flex-direction: column; gap: 20px; }
.project-media-wrapper img, .project-media-wrapper video { width: 100%; height: auto; display: block; }
.project-description-text { font-size: 1.1rem; color: #ccc; line-height: 1.6; max-width: 800px; }

/* MOBILE */
@media (max-width: 900px) {
    .navbar { padding: 20px; }
    .status-indicator { display: none !important; }
    .about-section, .work-section, .clients-section, .services-section, .site-footer { padding: 50px 20px; }
    .about-container { grid-template-columns: 1fr; gap: 40px; }
    .work-grid, .clients-grid { grid-template-columns: 1fr; }
    .project-wrapper.large { grid-column: span 1; aspect-ratio: 16/9; }
    .service-tags, .service-preview-container { display: none !important; }
    .service-item:hover { padding-left: 0; }
    .footer-top { flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
    .project-info { opacity: 1; transform: translateY(0); padding: 15px; }
    .project-title { font-size: 1.2rem; }
}
/* =========================================
   POSTER GALLERY (Estilos da página de posters)
   ========================================= */
.gallery-nav {
    position: fixed; top: 0; left: 0; width: 100%; padding: 30px 50px;
    display: flex; justify-content: space-between; align-items: center; z-index: 100;
}
.gallery-back {
    color: white; text-decoration: none; font-weight: 600; font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.3); padding: 10px 20px; border-radius: 50px;
    transition: 0.3s;
}
.gallery-back:hover { background: white; color: black; }

.gallery-container {
    height: 100vh;
    display: flex;
    flex-wrap: nowrap; /* Impede que quebre linha */
    align-items: center;
    padding-left: 100px;
    width: max-content; /* Permite que cresça infinitamente para o lado */
}

.gallery-item {
    width: 400px; /* Largura do poster */
    height: 600px; /* Altura do poster */
    margin-right: 80px;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: #111;
}

.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-counter {
    position: absolute; bottom: -40px; left: 0;
    color: #666; font-size: 0.8rem; letter-spacing: 2px;
}

.scroll-hint {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
    color: #444; font-size: 0.8rem; letter-spacing: 2px;
    animation: blink 2s infinite; pointer-events: none;
}
@keyframes blink { 0%, 100% {opacity:0.3} 50% {opacity:1} }

/* =========================================
   CONTROLOS DE VÍDEO PERSONALIZADOS
   ========================================= */
.video-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden; 
    margin-bottom: 20px;
}
.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

.custom-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15); /* Vidro */
    backdrop-filter: blur(10px);
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 15px;
    opacity: 0; /* Escondido por defeito */
    transition: opacity 0.3s;
    z-index: 50;
}

/* Mostra os controlos quando passas o rato por cima do vídeo */
.video-wrapper:hover .custom-controls { opacity: 1; }

.play-pause-btn {
    width: 35px; height: 35px;
    background: white; border: none; border-radius: 50%;
    color: black; cursor: pointer;
    display: flex; justify-content: center; align-items: center;
}
.play-pause-btn i { font-size: 0.9rem; pointer-events: none; }

.timeline {
    flex-grow: 1; height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px; cursor: pointer;
    position: relative;
}
.timeline-progress {
    height: 100%; width: 0%;
    background: white;
    border-radius: 2px;
}
.time-display {
    font-size: 0.75rem; color: white;
    font-variant-numeric: tabular-nums;
    width: 85px; text-align: right;
}
/* =========================================
   YOUTUBE EMBEDS
   ========================================= */
.youtube-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    width: 100%;
    margin-bottom: 20px;
    background: #000;
}

.youtube-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.gallery-item {
    width: 400px; 
    height: 600px;
    margin-right: 80px;
    position: relative;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
    
    /* --- OTIMIZAÇÃO DE PERFORMANCE --- */
    /* Removemos a sombra pesada e usamos will-change */
    box-shadow: none; 
    will-change: transform; /* Diz ao browser para preparar a animação */
    transform: translateZ(0); /* Ativa a aceleração 3D */
}
/* =========================================
   MOBILE RESPONSIVE (POSTERS)
   ========================================= */
@media (max-width: 900px) {
    /* Mudar contentor para Vertical */
    .gallery-container {
        width: 100% !important; /* Ocupa a largura do ecrã */
        height: auto !important; /* Altura automática */
        display: flex;
        flex-direction: column; /* Pilha vertical */
        padding: 100px 20px 40px 20px; /* Espaço para a nav em cima */
        align-items: center;
        transform: none !important; /* Remove translações do GSAP se ficarem presas */
    }

    /* Ajustar o tamanho dos Posters */
    .gallery-item {
        width: 100%;
        max-width: 400px; /* Não deixa ficar gigante em tablets */
        height: auto;
        aspect-ratio: 2/3; /* Mantém o formato de poster */
        margin-right: 0;
        margin-bottom: 40px; /* Espaço em baixo */
        transform: none !important; /* Remove o skew */
        opacity: 1 !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.5); /* Sombra mais leve */
    }

    /* Esconder dicas de Desktop */
    .scroll-hint { display: none; }
    
    /* Ajustar Nav */
    .gallery-nav {
        padding: 20px;
        background: rgba(5,5,5,0.9); /* Fundo escuro para ler texto */
        backdrop-filter: blur(10px);
    }
}