:root {
    --bg-body: #050814;
    --bg-section: #0b1020;
    --clr-text: #f5f5f5;
    --clr-muted: #9ca3af;
    --clr-accent: #d4af37;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    padding-top: 120px;
}

@media(max-width: 576px) {
    section[id] {
        padding-top: 140px;
    }
}

body {
    background-color: var(--bg-body);
    color: var(--clr-text);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", "Times New Roman", serif;
}

/* ===== HEADER (LOGO + MENU) ===== */

.site-header {
    position: relative;
    min-height: 100vh;
    background:
        radial-gradient(circle at top, #111827 0, var(--bg-section) 40%, var(--bg-body) 100%);
    overflow: hidden;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: -50%;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05) 0, transparent 50%),
        radial-gradient(circle at 80% 0%, rgba(212, 175, 55, 0.08) 0, transparent 55%);
    opacity: .7;
    pointer-events: none;
    z-index: 0;
}

.navbar {
    padding-top: 1.6rem;
    padding-bottom: 1.3rem;
    backdrop-filter: blur(14px);
    background-color: rgba(0, 0, 0, 0.72) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    z-index: 10;
}

.navbar-brand {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.brand-logo {
    height: 60px;
    width: auto;
    padding: 0.4rem 0.75rem;
    border: 3px solid #d4af37;
    border-radius: 999px;
    transform: translateY(-3px);
}


.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text-title {
    font-size: .85rem;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.brand-text-sub {
    font-size: .7rem;
    color: var(--clr-muted);
}

.navbar-nav .nav-link {
    position: relative;
    font-family: "Playfair Display", "Times New Roman", serif;
    padding-inline: 0.9rem;
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-icon {
    width: 20px;
    height: 20px;
    transform: rotate(20deg) translateX(4px) translateY(-3px);
    flex-shrink: 0;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--clr-accent), transparent);
    transform: translateX(34px);
    transition: width .22s ease-out;
}

@media(max-width: 576px) {
    .navbar-nav .nav-link::after {
        transform: translateX(40px);
    }
}

@media (min-width: 992px) {
    .navbar-nav .nav-link.active::after,
    .navbar-nav .nav-link:hover::after {
        width: 60%;
    }
}

.navbar-nav .nav-link.active::after {
    width: 60%;
}

.navbar-nav.is-hovering .nav-link.active::after {
    width: 0;
}

.language-switch .lang-link {
    position: relative;
    top: -2px;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    color: #fff;
    letter-spacing: .5px;
    font-size: .75rem;
    text-transform: uppercase;
    padding: 0px 6px 2px 6px;
    text-decoration: none;
}

body.nav-scrolling .navbar-nav .nav-link::after {
    width: 0;
    transition: none;
}

body.nav-scrolling .navbar-nav .nav-link.nav-clicked::after {
    width: 60%;
}

/* ===== NAVBAR - AJUSTES MOBILE ===== */
@media (max-width: 991.98px) {
    
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.96);
        backdrop-filter: blur(14px);
        padding: 0.75rem 1rem 1rem;
        margin-top: 0.75rem;
        border-radius: 0.75rem;
    }

    .navbar-nav .nav-link {
        padding-block: 0.5rem;
    }

    .navbar-brand {
        position: relative;
        z-index: 11;
    }
}

/* ===== SLIDER FULLWIDTH ===== */

.main-slider {
    position: relative;
    margin-top: 56px;
}

.main-slider .carousel-inner {
    height: 680px;
}

.main-slider .carousel-item {
    position: relative;
    height: 100%;
}

.slider-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: brightness(0.8);
}

.slider-bg-1 {
    background-image:
        linear-gradient(to bottom, rgba(5, 8, 20, 0.1), rgba(5, 8, 20, 0.75)),
        url("../images/slide1.jpg");
}

.slider-bg-2 {
    background-image:
        linear-gradient(to bottom, rgba(5, 8, 20, 0.1), rgba(5, 8, 20, 0.75)),
        url("../images/slide2.jpg");
}

.slider-bg-3 {
    background-image:
        linear-gradient(to bottom, rgba(5, 8, 20, 0.1), rgba(5, 8, 20, 0.75)),
        url("../images/slide3.jpg");
}

.slider-caption {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 680px;
    z-index: 2;
}

.slider-caption1 {
    position: absolute;
    left: 70%;
    top: 55%;
    transform: translate(-50%, -50%);
    max-width: 680px;
    z-index: 2;
}

.slider-caption2 {
    position: absolute;
    left: 70%;
    top: 55%;
    transform: translate(-50%, -50%);
    max-width: 680px;
    z-index: 2;
}

.slider-caption3 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 680px;
    z-index: 2;
}

.slider-eyebrow {
    display: inline-block;
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: .4rem;
}

.slider-title {
    font-size: clamp(1.6rem, 3vw, 3.1rem);
    margin-bottom: .5rem;
}

.slider-text {
    color: rgba(226, 232, 240, 0.85);
}

.main-slider .carousel-control-prev-icon,
.main-slider .carousel-control-next-icon {
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.8));
}

.main-slider .carousel-control-prev,
.main-slider .carousel-control-next {
    width: 7%;
}

@media (max-width: 767.98px) {
    .main-slider .carousel-inner {
        height: 60vh;
    }

    .slider-caption,
    .slider-caption1,
    .slider-caption2,
    .slider-caption3 {
        top: 50%;
        left: 50%;
        bottom: 12%;
        transform: translate(-50%, 0);
        padding-inline: 1.5rem;
    }

    .slider-title {
        font-size: 1.4rem;
    }
}

/* ===== HERO / HEADER DE CONTEÚDO ===== */

.hero-section {
    position: relative;
    z-index: 1;
    padding: 7.5rem 0 5.5rem;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-subtitle {
    color: var(--clr-muted);
    max-width: 38rem;
}

.accent-line {
    width: 70px;
    height: 2px;
    background: linear-gradient(to right, var(--clr-accent), transparent);
    margin: 1.2rem 0 2.2rem;
}

.badge-tag {
    background-color: rgba(212, 175, 55, 0.09);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--clr-accent);
    border-radius: 999px;
    font-size: 0.75rem;
    padding: 0.35rem 0.8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.2rem;
    margin-top: 1rem;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--clr-muted);
}

.hero-meta span::before {
    content: "•";
    margin-right: .35rem;
    color: var(--clr-accent);
}

.hero-media {
    position: relative;
}

.hero-media .ratio {
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.75);
}

.hero-media-caption {
    font-size: .7rem;
    margin-top: .5rem;
}

/* ===== SEÇÕES GERAIS ===== */

section {
    padding: 5rem 0;
    background:
        radial-gradient(circle at top, #111827 0, var(--bg-section) 40%, var(--bg-body) 100%);
}

.section-title-wrap {
    margin-bottom: 2.5rem;
}

.section-eyebrow {
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--clr-muted);
}

.section-title {
    margin: .3rem 0 0;
}

.section-title+.section-subtitle {
    margin-top: .6rem;
    color: var(--clr-muted);
    max-width: 34rem;
}

/* ===== CARDS ===== */

.card-dark {
    color: var(--clr-text);
    background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.12) 0, rgba(15, 23, 42, 1) 45%, #020617 100%);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.card-dark .card-body {
    position: relative;
    z-index: 1;
}

.card-dark .card-title {
    color: var(--clr-accent);
}

.card-dark .text-muted {
    color: #d1d5db;
}

.card-dark {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.7);
    border-color: rgba(212, 175, 55, 0.55);
}

.card-dark:hover::before {
    opacity: 1;
}

/* ===== AIR NA CULTURA POP ===== */

.text-accent {
    color: var(--clr-accent);
}

#cultura {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top, #111827 0, var(--bg-section) 40%, var(--bg-body) 100%);
}

#cultura>.container {
    position: relative;
    z-index: 1;
}

#cultura .section-title-wrap {
    max-width: 48rem;
}

#cultura h3.h5 {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .75rem;
}

#cultura h3.h5::after {
    content: "";
    flex: 1;
    height: 1px;
    margin-left: .75rem;
    background: linear-gradient(to right, rgba(212, 175, 55, 0.8), transparent);
    opacity: .7;
}

#cultura .row+.row {
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding-top: 1.75rem;
    margin-top: 1.75rem;
}

#cultura .text-muted.small {
    color: var(--clr-muted);
    opacity: .85;
}

@media (max-width: 991.98px) {
    #cultura h3.h5::after {
        display: none;
    }

    #cultura .row+.row {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }
}

/* ===== TIMELINE ===== */
#timeline {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top, #111827 0, var(--bg-section) 40%, var(--bg-body) 100%);
}

#timeline .timeline {
    position: relative;
    padding: 1rem 0;
    max-width: 620px;
}

#timeline .timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2.3rem;
}

#timeline .timeline-item:last-child {
    margin-bottom: 0;
}

#timeline .timeline::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
            rgba(212, 175, 55, 0.8),
            rgba(212, 175, 55, 0.25));
}

.timeline-marker {
    position: absolute;
    left: 7px;
    top: 0.25rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--clr-accent);
    background: var(--clr-accent);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

@media(max-width: 574px) {
    .timeline-marker {
        left: 1px;
    }
}

.timeline-content {
    color: var(--clr-text);
    font-size: 0.88rem;
}

.timeline-content h4 {
    font-family: "Playfair Display", "Times New Roman", serif;
    color: var(--clr-accent);
    margin-bottom: 0.15rem;
    letter-spacing: .04em;
}

.timeline-content p {
    margin: 0;
    opacity: .88;
}

.timeline-context {
    padding: 1.5rem 1.7rem;
    border-radius: 1.1rem;
    font-size: 0.9rem;
    line-height: 1.7;
}

.timeline-context-eyebrow {
    letter-spacing: .16em;
    color: var(--clr-muted);
    opacity: .9;
    margin-bottom: .35rem;
}

@media (max-width: 575.98px) {
    #timeline .timeline {
        padding-left: 0.4rem;
    }
}

.small, small {
    font-size: .85rem;
}


/* ===== FOOTER ===== */

footer {
    font-family: "Playfair Display", "Times New Roman", serif;
    color: var(--clr-text);
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    background-color: #020617;
}

@media(max-width: 574px) {
    footer div {
        flex-direction: column;
    }
}

/* ===== TEXTOS MUTED ===== */

.text-muted {
    color: #e2e8f0 !important;
    opacity: .75;
}

/* ===== BOTÕES ===== */

.btn-outline-light {
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 999px;
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-width: 1px;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background-color: var(--clr-accent);
    color: #0b1020;
    border-color: var(--clr-accent);
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 6.5rem;
    }

    .hero-title {
        letter-spacing: 0.08em;
    }
}

.dev {
    position: absolute;
    right: 15px;
}

.dev img {
    position: relative;
    top: -1px;
}

@media(max-width: 576px) {
    .dev {
        position: relative;
        right: 0;
    }
}

.dev,
.dev a {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 11px;
    color: var(--clr-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== PLAYER DE VÍDEO ===== */

.custom-video-player {
    position: relative;
    background: radial-gradient(circle at top left,
            rgba(148, 163, 184, 0.18) 0,
            rgba(15, 23, 42, 1) 45%,
            #020617 100%);
    border-radius: 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    overflow: hidden;
    padding: 0.75rem 0.75rem 0.55rem;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.75);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.custom-video-player .video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #020617;
}

.custom-video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.4s ease, transform 0.4s ease;
}

.custom-video-player.is-loading video {
    filter: blur(8px) brightness(0.7);
    transform: scale(1.03);
}

.video-loading-tag {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.55);
    background-color: rgba(15, 23, 42, 0.92);
    color: var(--clr-accent);
    font-size: 0.65rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.custom-video-player.is-loading .video-loading-tag {
    opacity: 1;
    transform: translateY(0);
}

.video-overlay-toggle {
    position: absolute;
    inset: 0;
    border: none;
    background: radial-gradient(circle at center,
            rgba(0, 0, 0, 0.25) 0,
            transparent 55%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, opacity 0.25s ease;
}

.video-overlay-toggle:hover {
    background: radial-gradient(circle at center,
            rgba(0, 0, 0, 0.35) 0,
            transparent 60%);
}

.overlay-icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    border: 2px solid rgba(212, 175, 55, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--clr-accent);
    background: radial-gradient(circle at top,
            rgba(15, 23, 42, 1) 0,
            rgba(15, 23, 42, 0.8) 50%,
            rgba(0, 0, 0, 0.9) 100%);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.55);
    transition: transform 0.18s ease;
}

.video-overlay-toggle:hover .overlay-icon {
    transform: scale(1.04);
}

.overlay-icon-pause {
    display: none;
}

.custom-video-player.is-playing .overlay-icon-play {
    display: none;
}

.custom-video-player.is-playing .overlay-icon-pause {
    display: inline-flex;
}

.custom-video-player.is-playing .video-overlay-toggle {
    opacity: 0;
    pointer-events: none;
}

.video-controls {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding-top: 0.4rem;
}

.video-progress-wrap {
    flex: 1;
    display: flex;
    align-items: center;
}

.video-progress-bar {
    position: relative;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    overflow: hidden;
    cursor: pointer;
}

.video-progress-fill {
    position: absolute;
    inset: 0;
    width: 0%;
    background: linear-gradient(to right,
            var(--clr-accent),
            rgba(212, 175, 55, 0.15));
    transition: width 0.08s linear;
}

.video-control-btn {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.7);
    background: radial-gradient(circle at top,
            rgba(15, 23, 42, 1) 0,
            rgba(15, 23, 42, 0.9) 45%,
            rgba(0, 0, 0, 1) 100%);
    color: var(--clr-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
    transition:
        background 0.18s ease,
        transform 0.12s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.video-control-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.6);
    border-color: rgba(250, 204, 21, 0.95);
}

.volume-icon {
    display: none;
}

.custom-video-player:not(.is-muted) .volume-on {
    font-size: 1rem;
    display: inline;
}

.custom-video-player.is-muted .volume-off {
    font-size: 1rem;
    display: inline;
}

.fullscreen-icon {
    font-size: 0.8rem;
    display: none;
}

.custom-video-player:not(.is-fullscreen) .fullscreen-enter {
    display: inline;
}

.custom-video-player.is-fullscreen .fullscreen-exit {
    display: inline;
}

.custom-video-player.is-fullscreen {
    border-radius: 0;
    border-color: rgba(212, 175, 55, 0.9);
}

.video-time {
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
    font-size: 0.72rem;
    color: var(--clr-muted);
    min-width: 72px;
    justify-content: flex-end;
}

/* ===== VARIAÇÃO COMPACTA (cards) ===== */

.custom-video-player.compact {
    padding: 0.6rem 0.6rem 0.45rem;
    border-radius: 1rem;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.7);
}

.custom-video-player.compact .overlay-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
}

.custom-video-player.compact .video-controls {
    gap: 0.45rem;
    padding-top: 0.35rem;
}

.custom-video-player.compact .video-progress-bar {
    height: 3px;
}

.custom-video-player.compact .video-control-btn {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

.custom-video-player.compact .video-time {
    font-size: 0.68rem;
}

.video-sources {
    font-size: 0.7rem;
    opacity: 0.65;
}

@media (max-width: 575.98px) {
    .video-time {
        font-size: 0.65rem;
        min-width: 60px;
    }
}