/* Global Styles and Font Definitions */
/* Font Definitions */
@font-face {
    font-family: "Globotipo";
    font-weight: 300;
    src: url("https://s3.glbimg.com/v1/AUTH_8b29beb0cbe247a296f902be2fe084b6/fonts/globo-lt-lt.woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "Globotipo";
    font-weight: 400;
    src: url("https://s3.glbimg.com/v1/AUTH_8b29beb0cbe247a296f902be2fe084b6/fonts/globo-lt.woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "Globotipo";
    font-weight: 700;
    src: url("https://s3.glbimg.com/v1/AUTH_8b29beb0cbe247a296f902be2fe084b6/fonts/globo-bd-lt.woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "Globotipo";
    font-weight: 800;
    src: url("https://s3.glbimg.com/v1/AUTH_8b29beb0cbe247a296f902be2fe084b6/fonts/globo-bd.woff2") format("woff2");
    font-display: swap;
}

:root {
    /* Color Palette Extracted from Requirements */
    --red-1: #931B24;
    --red-2: #841820;
    --red-3: #B53D46;

    --orange-1: #D15602;
    --orange-2: #BC4D02;
    --orange-3: #F77C28;

    --gold-1: #D6901E;
    --gold-2: #C1821B;
    --gold-3: #F8B240;

    --teal-1: #056266;
    --teal-2: #05585C;
    --teal-3: #2A878B;

    --beige-1: #F4DCBD;
    --beige-2: #DCC6AA;
    --beige-3: #FEE6C7;

    --dark-1: #211F20;
    --dark-2: #1E1C1D;
    --dark-3: #434142;

    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Globotipo", sans-serif;
    color: var(--dark-1);
    background-color: #000;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)), url('./assets/banner/ANDA_LOGO_BG.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
.title,
.subtitle {
    font-family: 'forevs', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase !important;
}

p {
    font-family: "Globotipo", sans-serif;
    font-weight: 400;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.heading-xl {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.heading-lg {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.heading-md {
    font-size: 2rem;
}

.heading-sm {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Color Classes */
.clr-red {
    color: var(--red-1);
}

.clr-orange {
    color: var(--orange-1);
}

.clr-gold {
    color: var(--gold-1);
}

.clr-teal {
    color: var(--teal-3);
}

.clr-dark {
    color: var(--dark-1);
}

.bg-dark {
    background-color: var(--dark-1);
}

.bg-darker {
    background-color: var(--dark-2);
}

.bg-beige {
    background-color: var(--beige-2);
}

.bg-light {
    background-color: #fff;
}

.text-light {
    color: var(--beige-3);
}

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

.text-center.section-header {
    margin-bottom: 1rem;
}

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

.flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.col-half {
    flex: 1 1 45%;
}

.my-auto {
    margin-top: auto;
    margin-bottom: auto;
}

.mb-md {
    margin-bottom: 2rem;
}

.mb-lg {
    margin-bottom: 4rem;
}

.mt-sm {
    margin-top: 1rem;
}

.pt-lg {
    padding-top: 4rem;
}

.padding-lg {
    padding: 3rem;
}

.overflow-hidden {
    overflow: hidden;
}

/* Components */
/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.glass-light {
    background: transparent;
    border-radius: 20px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    /* We will set the background dynamically or via class */
    background-color: #000;
    background-image: url('assets/banner/load-banner.webp');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.6);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
    transition: opacity 1.5s ease;
    pointer-events: none;
}

.hero-video:not(.is-ready) {
    opacity: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--beige-3);
}

.hero .title {
    font-size: 5rem;
    color: var(--gold-3);
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
}

.hero .subtitle {
    font-size: 1.3rem;
    font-family: "Globotipo", sans-serif;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.btn-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--beige-1);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: "Globotipo", sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 6rem;
    opacity: 0.8;
    transition: var(--transition);
}

.btn-scroll:hover {
    opacity: 1;
    color: var(--gold-1);
}

.scroll-arrow {
    font-size: 2rem;
    margin-top: 0.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* General Section */
.section {
    padding: 6rem 0;
    position: relative;
    width: 100%;
}

/* Split Section (Batanga & Barro Preto) */
.split-section {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.split-pane {
    display: flex;
    min-height: 70vh;
}

.split-pane:nth-child(even) {
    flex-direction: row-reverse;
}

.pane-img {
    flex: 1 1 50%;
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

#img-batanga {
    background-image: url('assets/batanga.webp');
    background-color: var(--teal-2);
}

#img-barropreto {
    background-image: url('assets/barro-preto.webp');
    background-color: var(--gold-2);
}

.pane-content {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    color: white;
}

.bg-batanga {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets/bg-nucleo-a.webp') repeat;
}

.bg-barropreto {
    background: url('assets/bg-nucleo-b.webp') repeat;
}

/* Casal */
#img-casal {
    background: url('assets/casal_moldura.webp') center/contain no-repeat;
    background-color: transparent;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    height: auto;
    align-self: center;
    aspect-ratio: 3/4;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

#casal p {
    color: #fff;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.8);
}

#sinopse p {
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Sections for Elenco */
.nucleo-section {
    padding: 1rem;
    position: relative;
    width: 100%;
}

.nucleo-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    list-style: none;
    perspective: 1000px;
    -webkit-perspective: 1000px;
    /* Essential for the 3D effect */
}

.flip-card {
    background-color: transparent;
    aspect-ratio: 1 / 1;
    height: auto;
    perspective: 1000px;
    -webkit-perspective: 1000px;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg) translateZ(0);
    -webkit-transform: rotateY(180deg) translateZ(0);
}

/* Hover flip no Desktop */
@media (min-width: 1024px) {
    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg) translateZ(0);
        -webkit-transform: rotateY(180deg) translateZ(0);
    }

    .flip-card:hover .card-name-overlay,
    .flip-card:hover .tap-hint {
        opacity: 0;
    }
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    border-radius: 15px;
    overflow: hidden;
    will-change: transform;
}

/* Safari: força o backface em elementos internos para evitar texto espelhado */
.flip-card-front *,
.flip-card-back * {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-front {
    background-color: transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: block;
    transform: rotateY(0deg) translateZ(1px);
    -webkit-transform: rotateY(0deg) translateZ(1px);
    /* Removing flex centering to allow absolute positioning of children */
}

.flip-card-back {
    background-color: var(--dark-1);
    color: white;
    transform: rotateY(180deg) translateZ(1px);
    -webkit-transform: rotateY(180deg) translateZ(1px);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem;
}

/* Removed empty rulesets */

.card-img-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--beige-1);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.card-img-media {
    object-fit: cover;
}

.card-img-fallback {
    background-color: #111;
}



.card-name-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1rem 1.5rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: opacity 0.2s ease;
}

.tap-hint {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 20;
    transition: opacity 0.2s ease;
}

.flip-card.flipped .card-name-overlay,
.flip-card.flipped .tap-hint {
    opacity: 0;
}

.flip-card-front strong {
    display: block;
    font-size: 1.4rem;
    line-height: 1;
    color: #FFFFFF;
    font-family: 'forevs', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.9), 0px 0px 2px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 3;
}

.flip-card-front span {
    display: block;
    margin-top: 0;
    font-size: 1.2rem;
    color: var(--gold-3);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.9), 0px 0px 2px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.flip-card-back .char-name-back {
    color: var(--gold-3);
    font-family: 'forevs', sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 0.8rem;
}

.flip-card-back .actor-name-back {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.flip-card-back .desc {
    color: var(--beige-3);
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.4;
}

/* Curiosities Carousel Layout */
.curiosities-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 2rem;
    padding-left: 80px;
    padding-right: 80px;
    position: relative;
    z-index: 10;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.curiosities-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.prev-btn,
.prev-curiosity-btn {
    left: -20px;
}

.next-btn,
.next-curiosity-btn {
    right: -20px;
}

.prev-btn,
.prev-video-btn,
.prev-curiosity-btn {
    padding-right: 4px;
}

.next-btn,
.next-video-btn,
.next-curiosity-btn {
    padding-left: 4px;
}

.curiosity-card {
    position: relative;
    padding: 2.5rem 1.75rem;
    border-radius: 12px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets/bg-nucleo-a.webp');
    background-repeat: repeat;
    /* Solid dark reddish color based on reference */
    border: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: var(--transition);
    color: var(--beige-1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);

    /* Carousel item props */
    min-width: 300px;
    max-width: 350px;
    flex: 0 0 auto;
    scroll-snap-align: center;
}

.curiosity-card .bg-number {
    position: absolute;
    top: -5px;
    right: 5px;
    font-size: 6rem;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.04);
    font-weight: 800;
    z-index: 0;
    line-height: 1;
    pointer-events: none;
}

.curiosity-card h3,
.curiosity-card p {
    position: relative;
    z-index: 1;
}

.curiosity-card p {
    font-weight: 700;
}

.curiosity-card h3 {
    font-size: 1.8rem;
    letter-spacing: 0.5px;
    line-height: 1.4;
    font-family: 'forevs', sans-serif;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--gold-3);
    text-transform: uppercase !important;
}

.curiosity-card p {
    font-family: "Globotipo", sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    opacity: 1;
    margin: 0;
    line-height: 1.5;
    color: #fff;
}

/* Footer */
.footer {
    background: #0e0e0e;
    /* Solid dark background */
    color: #FFF;
    font-family: 'Globotipo', sans-serif;
    position: relative;
    z-index: 10;
    padding: 4rem 2rem;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.credits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.credits-col {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.credit-block h4 {
    font-family: "Globotipo", sans-serif;
    font-size: 0.85rem;
    color: var(--gold-3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.credit-block p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #f5f5f5;
    /* Light readable color */
    font-weight: 300;
}

/* Animations (Intersection Observer) */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 900px) {

    .split-pane,
    .split-pane:nth-child(even) {
        flex-direction: column;
    }

    .batanga-videos-section,
    .barropreto-videos-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .video-carousel-track,
    .video-container {
        border-radius: 0 !important;
    }

    .pane-img {
        min-height: 400px;
        width: 100%;
    }

    .hero .title {
        font-size: 3rem;
    }

    .col-half {
        flex: 1 1 100%;
    }

    #img-casal {
        aspect-ratio: 3/4;
        width: 100%;
        height: auto;
        min-height: auto;
    }

}

/* Restore WebGL background visibility */
.section {
    background-color: transparent !important;
}

.split-pane .pane-content {
    background-color: rgba(0, 0, 0, 0.4) !important;
    color: white;
}

.bg-beige {
    background-color: transparent !important;
    color: white !important;
}

.bg-dark {
    background-color: transparent !important;
}


/* Card Frames */
.card-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 10;
    pointer-events: none;
}

.card-frame-front {
    background-image: url('assets/moldura-foto-1x1.webp');
}

.card-frame-back {
    background-image: url('assets/moldura-foto-1x1-verso.webp');
}

.flip-card-back> :not(.card-frame) {
    position: relative;
    z-index: 20;
}

.mobile-title-break {
    display: none;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .mobile-title-break {
        display: block;
    }

    /* Curiosities Cards Mobile Adjustments */
    .curiosities-grid {
        padding-left: 40px;
        padding-right: 40px;
        scroll-padding-left: 40px;
        scroll-padding-right: 40px;
        justify-content: flex-start;
    }

    .prev-curiosity-btn {
        left: 0 !important;
    }

    .next-curiosity-btn {
        right: 0 !important;
    }

    .curiosity-card {
        min-width: 260px;
        max-width: 280px;
        padding: 2rem 1.25rem;
    }

    .carousel-btn img {
        width: 40px !important;
    }

    /* Hero Subtitle */
    .hero .subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-content {
        padding: 0 1rem;
        height: 100vh;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .btn-scroll {
        position: absolute;
        bottom: 2rem;
        left: 0;
        width: 100%;
        margin-top: 0;
    }

    /* Center the banner image instead of making it huge */
    .main-logo {
        max-width: 100% !important;
        width: 100% !important;
    }

    img[src*="assets/titulos/"] {
        max-width: 90vw !important;
        width: auto !important;
    }

    img[src*="reino-batanga.webp"],
    img[src*="barro-preto.webp"] {
        max-width: 60vw !important;
    }

    img[src*="curiosidades.webp"] {
        max-width: 300px !important;
    }

    img[src*="creditos.webp"] {
        max-width: 60vw !important;
    }

    /* Container global width adjustments for mobile */
    .container {
        padding: 0 5%;
        width: 100%;
    }

    /* Synopsis Section (glass-light padding) e Casal padding */
    .glass-light {
        width: 100%;
    }

    .padding-lg {
        padding: 1.5rem 0rem;
        /* Match the width of glass-light inside the 90% container */
    }

    /* Footer / Credits */
    footer p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .heading-xl {
        font-size: 3rem;
    }

    .heading-lg {
        font-size: 2.2rem;
    }

    .heading-md {
        font-size: 1.8rem;
    }

    .split-pane .pane-content {
        width: 100%;
        margin: 0;
        padding: 2rem;
    }

    /* Footer 1 col mobile adjusted */
    .credits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Video Carousel */
.video-carousel-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.video-carousel-track,
.video-container {
    display: flex;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}

.video-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-slide-hidden {
    display: none;
}

.globo-player {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.player-loading {
    color: white;
}

.video-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.video-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s, background-color 0.3s;
    padding: 0;
}

.video-dot.active {
    background-color: var(--gold-3);
    opacity: 1;
}

.video-carousel-container .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
}

.video-carousel-container .carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.video-carousel-container .prev-video-btn {
    left: -70px;
}

.video-carousel-container .next-video-btn {
    right: -70px;
}

@media (max-width: 1300px) {
    .video-carousel-container .prev-video-btn {
        left: 10px;
    }

    .video-carousel-container .next-video-btn {
        right: 10px;
    }
}



/* ====== CAROUSEL DE CITAÇÕES ====== */
.quotes-carousel-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    /* Espaço para as setas */
}

.quotes-carousel {
    overflow: hidden;
    width: 100%;
    border-radius: 16px;
    touch-action: pan-y;
}

.quotes-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.quote-slide {
    flex: 0 0 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.quote-card {
    width: 100%;
    padding: 2rem;
    border-radius: 16px;
    text-align: left;
    background-color: var(--dark-1);
    background-image: url('assets/bg-nucleo-b.webp');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
}

.quote-card-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.72);
    z-index: 1;
}

.quote-card-content {
    position: relative;
    z-index: 2;
}

.quote-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--beige-1);
    margin-bottom: 1.5rem;
}

.quote-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quote-author {
    color: var(--gold-3);
    display: block;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.quote-role {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.quotes-carousel-wrapper .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: inherit;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.quotes-carousel-wrapper .carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.quotes-carousel-wrapper .carousel-btn.prev-btn {
    left: -20px;
}

.quotes-carousel-wrapper .carousel-btn.next-btn {
    right: -20px;
}

.quotes-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.quotes-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: var(--gold-1);
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
    padding: 0;
}

.quotes-dots .dot.active {
    opacity: 1;
    transform: scale(1.2);
}

.quotes-dots .dot:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .quotes-carousel-wrapper .carousel-btn {
        transform-origin: center;
    }

    .quotes-carousel-wrapper .carousel-btn.prev-btn {
        left: 0px;
    }

    .quotes-carousel-wrapper .carousel-btn.next-btn {
        right: 0px;
    }

    .quotes-carousel-wrapper {
        padding: 0 20px;
    }
}
