/* ============================================================
   SERGIO PACHECO — Pianista & Pedagogo
   Stylesheet principal
   ============================================================ */

/* --- Variables / Root --- */
:root {
    --bg-page: #FDFBF7;
    --bg-card: #FFFFFF;
    --text-primary: #3C2415;
    --text-secondary: #6B5344;
    --text-muted: #9C8B7A;
    --accent-gold: #D4AF37;
    --accent-gold-light: #E8D5A3;
    --accent-gold-dark: #B8962A;
    --border-light: #EDE6D6;
    --shadow-soft: rgba(60, 36, 21, 0.06);
    --shadow-medium: rgba(60, 36, 21, 0.1);
    --shadow-strong: rgba(60, 36, 21, 0.15);
    --font-title: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Lora', Georgia, 'Times New Roman', serif;
    --transition-smooth: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.3s ease;
    --header-height: 72px;
    --max-content: 820px;
    --max-header: 1200px;
}

/* --- Reset --- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.75;
    font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-gold-dark); text-decoration: none; transition: var(--transition-fast); }
a:hover { color: var(--accent-gold); }

::selection {
    background: var(--accent-gold-light);
    color: var(--text-primary);
}

/* --- Skip to Content (acessibilidade) --- */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--text-primary);
    color: var(--bg-page);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0 0 4px 4px;
    transition: top 0.3s ease;
    text-decoration: none;
}
.skip-to-content:focus {
    top: 0;
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
    color: var(--bg-page);
}

/* --- Focus styles (acessibilidade) --- */
:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* --- Header / Nav --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(253, 251, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

header.scrolled {
    box-shadow: 0 2px 30px var(--shadow-soft);
}

.header-inner {
    max-width: var(--max-header);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
    text-transform: uppercase;
    text-decoration: none;
}
.logo:hover { color: var(--text-primary); }
.logo span { color: var(--accent-gold); }

nav { display: flex; gap: 32px; }

nav a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: var(--transition-fast);
    text-decoration: none;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

nav a:hover { color: var(--text-primary); }
nav a:hover::after { width: 100%; }

/* Active nav link (set via JS aria-current) */
nav a[aria-current="page"],
nav a.active-section {
    color: var(--text-primary);
}
nav a[aria-current="page"]::after,
nav a.active-section::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 24px 80px;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #2a1f15;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(42,31,21,0.65) 0%,
        rgba(42,31,21,0.45) 50%,
        rgba(253,251,247,0.92) 100%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
}

.hero-subtitle-top {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold) !important;
    margin-bottom: 20px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.hero h1 {
    font-family: var(--font-title);
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 8px;
    color: #FDFBF7;
    text-transform: uppercase;
    margin-bottom: 24px;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    margin: 0 auto 28px;
}

.hero p {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-style: italic;
    color: #FDFBF7;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 1px 12px rgba(0,0,0,0.3);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 30px;
    color: #FDFBF7;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: float 3s ease-in-out infinite;
    pointer-events: none;
    text-shadow:
        0 1px 4px rgba(0,0,0,0.5),
        0 0 12px rgba(0,0,0,0.3);
}

.hero-scroll-indicator .arrow {
    font-size: 1.2rem;
    color: var(--accent-gold);
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--text-primary);
    color: var(--bg-card);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 16px var(--shadow-strong);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--accent-gold-dark);
    color: var(--bg-card);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(184,150,42,0.3);
}
.back-to-top:focus-visible {
    outline: 3px solid var(--accent-gold);
    outline-offset: 3px;
}

/* --- Sections --- */
section { padding: 100px 0; }

.section-inner {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 12px;
    text-align: center;
}

h2 {
    font-family: var(--font-title);
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.25;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    margin: 18px auto 0;
}

.section-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.85;
}

.section-text p { margin-bottom: 20px; }
.section-text p:last-child { margin-bottom: 0; }

section.alt-bg {
    background-color: rgba(237, 230, 214, 0.3);
}

/* --- Seção com layout alternado (texto + foto) --- */
.section-with-photo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.section-with-photo .section-text {
    font-size: 1rem;
}
.section-with-photo .section-text p {
    margin-bottom: 16px;
}
.artist-photo {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 8px 40px var(--shadow-strong);
    transition: var(--transition-smooth);
}
.artist-photo:hover {
    transform: scale(1.01);
    box-shadow: 0 12px 50px rgba(60,36,21,0.18);
}
.artist-photo-wrapper {
    position: relative;
}
.artist-photo-wrapper::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-gold-light);
    border-radius: 4px;
    z-index: -1;
    pointer-events: none;
}

/* --- Eventos --- */
.eventos-list {
    display: grid;
    gap: 10px;
    margin-top: 40px;
}

.evento-card {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px var(--shadow-soft);
    transition: var(--transition-fast);
    position: relative;
}

.evento-card:hover {
    box-shadow: 0 8px 30px var(--shadow-medium);
    transform: translateY(-3px);
    border-color: var(--accent-gold-light);
}

.evento-card.destacado {
    border-left: 4px solid var(--accent-gold);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(212,175,55,0.03) 100%);
}

.evento-card.destacado::before {
    content: '★ Destacado';
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--accent-gold);
    color: var(--bg-card);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 0 4px 0 4px;
}

.evento-fecha {
    min-width: 100px;
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.evento-info h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.evento-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.evento-info .evento-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-gold-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.no-eventos {
    text-align: center;
    font-style: italic;
    color: var(--text-muted);
    padding: 60px 20px;
    border: 1px dashed var(--border-light);
}

/* --- Contact --- */
.contact-info-block {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 24px var(--shadow-soft);
}

.contact-info-block p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-item i {
    width: 20px;
    color: var(--accent-gold);
    font-size: 1.1rem;
    text-align: center;
}

.contact-item a {
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.contact-item a:hover {
    color: var(--accent-gold-dark);
}

/* --- Social Links --- */
.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.4s ease;
    background: var(--bg-card);
    text-decoration: none;
}

.social-link:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(212,175,55,0.15);
}

/* YouTube hover */
.social-link[aria-label="YouTube"]:hover {
    color: #FF0000;
    border-color: #FF0000;
    box-shadow: 0 4px 16px rgba(255,0,0,0.15);
}

/* Instagram hover */
.social-link[aria-label="Instagram"]:hover {
    color: #E4405F;
    border-color: #E4405F;
    box-shadow: 0 4px 16px rgba(228,64,95,0.15);
}

/* Facebook hover */
.social-link[aria-label="Facebook"]:hover {
    color: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 4px 16px rgba(24,119,242,0.15);
}

/* --- Video --- */
/* ─── HORIZONTAL VIDEO CAROUSEL (hc-*) ──────────────────── */
.hc-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.hc-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: 4px;
}

.hc-track {
    display: flex;
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.hc-slide {
    flex: 0 0 100%;
    width: 100%;
}

/* 16:9 video wrapper */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #f0ebe0;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 30px var(--shadow-soft);
    overflow: hidden;
    border-radius: 4px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Arrow buttons */
.hc-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-light);
    background: transparent;
    color: var(--accent-gold);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, opacity 0.2s;
    border-radius: 2px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.hc-btn:hover:not(:disabled) {
    background: var(--accent-gold);
    color: var(--bg-card);
    border-color: var(--accent-gold);
}

.hc-btn:disabled {
    opacity: 0.22;
    cursor: default;
}

/* Dots indicator */
.hc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.hc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
}

.hc-dot.active {
    background: var(--accent-gold);
    transform: scale(1.25);
}

.no-videos {
    text-align: center;
    font-style: italic;
    color: var(--text-muted);
    padding: 60px 20px;
    border: 1px dashed var(--border-light);
}

/* --- Noticias --- */
.noticias-list,
.noticias-grid {
    display: grid;
    gap: 10px;
    margin-top: 40px;
}

.noticia-card {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px var(--shadow-soft);
    transition: var(--transition-fast);
    align-items: flex-start;
}

.noticia-card:hover {
    box-shadow: 0 8px 30px var(--shadow-medium);
    transform: translateY(-2px);
    border-color: var(--accent-gold-light);
}

.noticia-img {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    overflow: hidden;
    background: #f0ebe0;
    border: 1px solid var(--border-light);
    border-radius: 3px;
}

.noticia-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.noticia-card:hover .noticia-img img {
    transform: scale(1.05);
}

.noticia-info {
    flex: 1;
    min-width: 0;
}

.noticia-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.noticia-meta i {
    color: var(--accent-gold);
    margin-right: 4px;
}

.noticia-info h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.noticia-subtitulo {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.noticia-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-gold-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.noticia-link:hover { color: var(--accent-gold); }

.no-noticias {
    text-align: center;
    font-style: italic;
    color: var(--text-muted);
    padding: 60px 20px;
    border: 1px dashed var(--border-light);
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 56px 24px 48px;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.85rem;
    position: relative;
}

footer::before {
    content: '♫';
    display: block;
    font-size: 1.5rem;
    color: var(--accent-gold-light);
    margin-bottom: 16px;
    opacity: 0.5;
}

footer a { color: var(--text-muted); }
footer a:hover { color: var(--accent-gold-dark); }

footer .footer-gold { color: var(--accent-gold); }

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-bottom: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}
.footer-nav a:hover {
    color: var(--accent-gold-dark);
}

/* --- Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --- Musical Pattern Background (sutil) --- */
.musical-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Ctext x='10' y='30' font-family='Georgia, serif' font-size='14' fill='%233C2415'%3E♩%3C/text%3E%3Ctext x='70' y='50' font-family='Georgia, serif' font-size='10' fill='%233C2415'%3E♪%3C/text%3E%3Ctext x='30' y='80' font-family='Georgia, serif' font-size='12' fill='%233C2415'%3E♫%3C/text%3E%3Ctext x='80' y='100' font-family='Georgia, serif' font-size='8' fill='%233C2415'%3E♬%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ============================================================
   Responsivo
   ============================================================ */

@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; letter-spacing: 6px; }
    h2 { font-size: 2.2rem; }
    .section-with-photo {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .artist-photo-wrapper::before { display: none; }
}

@media (max-width: 768px) {
    :root { --header-height: 64px; }

    .menu-toggle { display: block; }

    nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: rgba(253,251,247,0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border-light);
        padding: 16px 24px;
        transform: translateY(-110%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
        pointer-events: none;
    }

    nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    nav a {
        padding: 12px 0;
        font-size: 0.8rem;
    }

    .hero {
        padding: 120px 20px 60px;
        min-height: 90vh;
    }
    .hero h1 { font-size: 2.6rem; letter-spacing: 4px; }
    .hero p { font-size: 1.1rem; }
    .hero-subtitle-top { font-size: 0.7rem; letter-spacing: 3px; }

    section { padding: 64px 0; }
    h2 { font-size: 1.8rem; margin-bottom: 32px; }
    .section-inner { padding: 0 20px; }

    .contact-info-block { padding: 28px; }
    /* Horizontal carousel on mobile */
    .hc-btn { width: 36px; height: 36px; font-size: 0.75rem; }

    .evento-card {
        flex-direction: column;
        gap: 8px;
    }
    .evento-fecha { min-width: auto; }

    .noticia-card { flex-direction: column; }
    .noticia-img { width: 100%; height: 200px; }

    .logo { font-size: 1.15rem; }
    .hero-scroll-indicator { display: none; }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .footer-nav { gap: 4px 16px; font-size: 0.75rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; letter-spacing: 3px; }
    .hero p { font-size: 1rem; }
    h2 { font-size: 1.5rem; }
    .section-text { font-size: 0.95rem; }
    .contact-item { font-size: 0.9rem; }
}

/* ═══════════════════════════════════════════════════════════
   VERTICAL CAROUSEL (vc-*)
   Mostra 4 itens de cada vez. Setas rodam entre todos (max 10).
═══════════════════════════════════════════════════════════ */

/* Wrapper geral */
.vc-wrapper {
    margin-top: 40px;
}

/* Seta / contador topo */
.vc-arrow-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0;
}

.vc-arrow-wrap.vc-top  { margin-bottom: 6px; }
.vc-arrow-wrap.vc-bottom { margin-top: 6px; justify-content: flex-start; }

/* Botão seta */
.vc-btn {
    width: 44px;              /* mínimo recomendado para toque em mobile */
    height: 44px;
    border: 1px solid var(--border-light);
    background: transparent;
    color: var(--accent-gold);
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, opacity 0.2s;
    flex-shrink: 0;
    /* Mobile: elimina atraso de 300ms e realce azul no tap */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.vc-btn:hover:not(:disabled) {
    background: var(--accent-gold);
    color: var(--bg-card);
    border-color: var(--accent-gold);
}

.vc-btn:disabled {
    opacity: 0.22;
    cursor: default;
}

/* Contador "1–4 / 10" */
.vc-counter {
    font-family: var(--font-title);
    font-size: 0.68rem;
    letter-spacing: 1.2px;
    color: var(--text-muted);
}

/* Lista de itens */
.vc-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;          /* contém os itens position:absolute em saída */
    -webkit-user-select: none; /* evita selecção de texto durante swipe */
    user-select: none;
}

/* Item oculto por defeito */
.vc-item {
    display: none;
}

/* Item visível: direção definida pelo data-dir */
.vc-item--visible {
    display: flex;
    animation: vcFadeInDown 0.28s ease both;
}

/* Item a sair: fade-out direcional */
.vc-item--hiding {
    display: flex;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    animation: vcFadeOutDown 0.28s ease both;
    pointer-events: none;
    z-index: 0;
}

/* Direção da animação de entrada */
.vc-item--visible[data-dir="down"] {
    animation-name: vcFadeInDown;
}
.vc-item--visible[data-dir="up"] {
    animation-name: vcFadeInUp;
}

/* Direção da animação de saída */
.vc-item--hiding[data-dir="down"] {
    animation-name: vcFadeOutDown;
}
.vc-item--hiding[data-dir="up"] {
    animation-name: vcFadeOutUp;
}

/* evento-card também funciona (usa flex internamente) */
.evento-card.vc-item--visible {
    display: flex;
}
.evento-card.vc-item--hiding {
    display: flex;
}

/* ─── Keyframes ─── */

/* Entrada: vindo de baixo (próximo) */
@keyframes vcFadeInDown {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Entrada: vindo de cima (anterior) */
@keyframes vcFadeInUp {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Saída: indo para baixo (anterior) */
@keyframes vcFadeOutDown {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(12px); }
}

/* Saída: indo para cima (próximo) */
@keyframes vcFadeOutUp {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-12px); }
}

/* Noticia: título como link */
.noticia-titulo-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.noticia-titulo-link:hover h3 {
    color: var(--accent-gold-dark);
}

/* Imagem da notícia clicável */
.noticia-img a {
    display: block;
    width: 100%;
    height: 100%;
}
