/* =========================================
   WIDGETS PREMIUM - ARS 2026
   Design System for Interactive Widgets
   ========================================= */

/* =========================================
   1. WIDGET VARIABLES
   ========================================= */
:root {
    /* Widget-specific colors */
    --widget-accent: var(--accent-gold);
    --widget-glow: rgba(255, 193, 7, 0.4);
    --widget-overlay: rgba(26, 15, 10, 0.7);

    /* Animation timings */
    --anim-fast: 0.2s;
    --anim-normal: 0.4s;
    --anim-slow: 0.8s;
    --anim-slower: 1.2s;

    /* Easing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   2. ABOUT IMMERSIVE WIDGET - ENHANCED
   ========================================= */
.ars-about-immersive {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #2D1810 0%, #1A0F0A 50%, #0D0705 100%);
}

/* Decorative grid pattern */
.ars-about-immersive::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 193, 7, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 193, 7, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

/* Glowing orbs decorative */
.ars-about-immersive::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(198, 40, 40, 0.15) 0%, transparent 70%);
    bottom: -200px;
    right: -100px;
    z-index: 1;
    animation: floatOrb 10s ease-in-out infinite;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-50px, -30px);
    }
}

.ars-about-immersive__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.ars-about-immersive__bg video,
.ars-about-immersive__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: saturate(0.8);
}

.ars-about-immersive__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(26, 15, 10, 0.4) 0%,
            rgba(26, 15, 10, 0.7) 40%,
            rgba(26, 15, 10, 0.9) 100%);
    z-index: 2;
}

.ars-about-immersive__content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 4rem 2rem;
    text-align: center;
}

/* Title with enhanced styling */
.ars-about-immersive__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--accent-gold);
    text-shadow:
        0 0 40px rgba(255, 193, 7, 0.5),
        0 0 80px rgba(255, 193, 7, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp var(--anim-slow) var(--ease-out-expo) forwards;
    position: relative;
}

/* Decorative line under title */
.ars-about-immersive__title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    margin: 1.5rem auto;
    border-radius: 2px;
}

.ars-about-immersive__subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp var(--anim-slow) var(--ease-out-expo) 0.2s forwards;
    font-weight: 500;
    letter-spacing: 1px;
}

.ars-about-immersive__text {
    font-size: 1.1rem;
    color: var(--text-light);
    opacity: 0.85;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ars-about-immersive__text.visible {
    animation: slideUp var(--anim-slow) var(--ease-out-expo) forwards;
}

/* Stats Grid - Enhanced */
.ars-about-immersive__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2.5rem;
    margin: 3.5rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 193, 7, 0.1);
}

.ars-stat {
    text-align: center;
    opacity: 0;
    transform: scale(0.8);
    padding: 1rem;
}

.ars-stat.visible {
    animation: popIn var(--anim-normal) var(--ease-out-back) forwards;
}

.ars-stat__number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--accent-gold);
    display: inline-block;
    /* Changed from block to inline-block */
    text-shadow: 0 0 30px rgba(255, 193, 7, 0.4);
    line-height: 1;
}

.ars-stat__suffix {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-gold);
    vertical-align: top;
    margin-left: 5px;
}

.ars-stat__label {
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.75rem;
    display: block;
}

/* CTA Button - Enhanced with proper icon color */
.ars-about-immersive__cta {
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp var(--anim-slow) var(--ease-out-expo) 0.6s forwards;
}

.ars-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--primary-red) 0%, #8B0000 100%);
    color: white !important;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow:
        0 8px 30px rgba(198, 40, 40, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* Icon color fix */
.ars-btn-primary i,
.ars-btn-primary svg {
    color: white !important;
    fill: white !important;
    font-size: 1.2rem;
}

.ars-btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 15px 50px rgba(198, 40, 40, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #D32F2F 0%, #8B0000 100%);
}

.ars-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.ars-btn-primary:hover::before {
    left: 100%;
}

/* =========================================
   3. LINEUP TIMELINE WIDGET
   ========================================= */
.ars-lineup-timeline {
    padding: 5rem 0;
    background: var(--bg-dark);
    overflow: hidden;
}

.ars-lineup-timeline__header {
    text-align: center;
    margin-bottom: 4rem;
}

.ars-lineup-timeline__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--accent-gold);
    text-shadow: 0 0 30px rgba(255, 193, 7, 0.3);
}

/* Timeline Container */
.ars-timeline {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold) transparent;
}

.ars-timeline::-webkit-scrollbar {
    height: 8px;
}

.ars-timeline::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.ars-timeline::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}

/* Day Card */
.ars-day-card {
    flex: 0 0 280px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    cursor: pointer;
    transition: all var(--anim-normal) var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.ars-day-card.visible {
    animation: slideUp var(--anim-slow) var(--ease-out-expo) forwards;
}

.ars-day-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 50px rgba(255, 193, 7, 0.2);
}

.ars-day-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-gold));
    opacity: 0;
    transition: opacity var(--anim-fast);
}

.ars-day-card:hover::before {
    opacity: 1;
}

.ars-day-card__date {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.ars-day-card__weekday {
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.ars-day-card__artists {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ars-day-card__artist {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    transition: background var(--anim-fast), transform var(--anim-fast);
}

.ars-day-card__artist:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.ars-day-card__artist-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
}

.ars-day-card__artist-name {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Active/Next Badge */
.ars-day-card--next::after {
    content: 'PRÓXIMO';
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--primary-red);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    animation: pulse 2s infinite;
}

/* =========================================
   4. VENUE SHOWCASE WRAPPER - APPLE PRO MAX STYLE
   ========================================= */
.ars-venue-showcase {
    position: relative;
    padding: 8rem 2rem;
    overflow: hidden;
    /* Use 100% instead of 100vw to prevent horizontal scroll */
    width: 100%;
    max-width: 100%;
}

/* Immersive Background Layer */
.ars-venue-showcase__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ars-venue-showcase__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Parallax-like subtle scale */
    transform: scale(1.05);
}

/* Seamless Merge Gradient */
.ars-venue-showcase__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,
            rgba(26, 2, 2, 0.2) 0%,
            rgba(74, 4, 4, 0.8) 60%,
            #4A0404 100%);
    pointer-events: none;
}

/* Container & Grid Layout */
.ars-venue-showcase__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* === LEFT COLUMN: INFO === */
.ars-venue-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.ars-venue-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.ars-venue-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    max-width: 90%;
}

.ars-venue-address-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 1.5rem;
    border-left: 2px solid #FFC107;
}

.ars-venue-name {
    font-size: 1.5rem;
    color: #FFC107;
    margin: 0;
}

.ars-venue-full-address {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

/* Apple Style Button */
.ars-btn-apple {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    width: fit-content;
}

.ars-btn-apple:hover {
    background: #FFC107;
    border-color: #FFC107;
    color: #4A0404;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* === RIGHT COLUMN: BENTO GRID === */
.ars-venue-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

/* Glassmorphism Card Base */
.ars-bento-card {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Light / Solid Variant (Queima do Alho Style) */
.ars-bento-card--light {
    background: #FDFBF7;
    /* Cream/Off-white solid */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 193, 7, 0.15);
    box-shadow: 0 15px 30px rgba(255, 111, 0, 0.08);
}

.ars-bento-card--light .ars-stat-number,
.ars-bento-card--light .ars-amenity-text,
.ars-bento-card--light h3,
.ars-bento-card--light p {
    color: #4A0404;
    /* Dark Red/Brown for main text */
}

.ars-bento-card--light .ars-stat-number {
    color: #E65100;
    /* Deep Orange for numbers */
    text-shadow: none;
}

.ars-bento-card--light .ars-stat-suffix {
    color: #FFC107;
    /* Amber/Gold for suffix */
}

.ars-bento-card--light .ars-stat-label {
    color: #8D6E63;
    /* Brownish gray for labels */
}

.ars-bento-card--light:hover {
    background: #FFF;
    border-color: #FF6F00;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 111, 0, 0.15);
}

.ars-bento-card:not(.ars-bento-card--light):hover {
    background: rgba(50, 50, 50, 0.5);
    transform: scale(1.02);
    border-color: rgba(255, 193, 7, 0.3);
}

/* Stat Cards */
.ars-stat-card {
    aspect-ratio: 1/1;
    /* Square Shape */
    align-items: center;
    text-align: center;
}

.ars-stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.3));
}

.ars-bento-card--light .ars-stat-icon {
    color: #E65100;
    filter: none;
}

/* Light Venue Container */
.ars-venue-showcase--light .ars-venue-title {
    color: #4A0404;
    text-shadow: none;
}

.ars-venue-showcase--light .ars-venue-subtitle {
    color: #5D4037;
}

.ars-venue-showcase--light .ars-venue-full-address,
.ars-venue-showcase--light .ars-venue-name {
    color: #795548;
}

.ars-venue-showcase--light .ars-venue-address-block {
    border-color: #FFC107;
}

.ars-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #fff;
    line-height: 1;
}

.ars-stat-suffix {
    font-size: 1.5rem;
    color: #FFC107;
}

.ars-stat-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
}

/* Amenities Card (Spans full width of grid) */
.ars-amenities-card {
    grid-column: span 2;
    padding: 2.5rem;
    align-items: flex-start;
}

.ars-amenities-title {
    font-size: 1.2rem;
    color: #FFC107;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ars-amenities-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.ars-amenity-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.ars-amenity-icon {
    color: #FFC107;
    font-size: 1.2rem;
}

.ars-amenity-text {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
}



/* =========================================
   5. EVENT MAP WIDGET
   ========================================= */
.ars-event-map {
    padding: 4rem 2rem;
    background: var(--bg-color);
}

.ars-event-map__header {
    text-align: center;
    margin-bottom: 3rem;
}

.ars-event-map__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.ars-event-map__subtitle {
    color: var(--text-secondary);
}

.ars-event-map__container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    cursor: zoom-in;
}

.ars-event-map__image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transition: transform var(--anim-normal);
}

.ars-event-map__container:hover .ars-event-map__image {
    transform: scale(1.02);
}

/* Hotspots */
.ars-hotspot {
    position: absolute;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.ars-hotspot__dot {
    width: 100%;
    height: 100%;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    animation: pulse 2s infinite;
    transition: transform var(--anim-fast), box-shadow var(--anim-fast);
}

.ars-hotspot:hover .ars-hotspot__dot {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(198, 40, 40, 0.6);
    animation: none;
}

.ars-hotspot__tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--anim-fast);
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.ars-hotspot__tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--bg-dark);
}

.ars-hotspot:hover .ars-hotspot__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.ars-hotspot__title {
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.25rem;
}

.ars-hotspot__desc {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Zoom Button */
.ars-event-map__zoom {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.ars-zoom-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--anim-fast);
}

.ars-zoom-btn:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
}

/* =========================================
   6. QUEIMA DO ALHO WIDGET
   ========================================= */
.ars-queima-alho {
    position: relative;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #2D1810 0%, #1A0F0A 100%);
    overflow: hidden;
}

.ars-queima-alho::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23402010" fill-opacity="0.1" width="50" height="50"/></svg>') repeat;
    opacity: 0.3;
}

.ars-queima-alho__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.ars-queima-alho__header {
    text-align: center;
    margin-bottom: 4rem;
}

.ars-queima-alho__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--accent-orange);
    text-shadow: 0 0 40px rgba(255, 111, 0, 0.5);
    position: relative;
    display: inline-block;
}

/* Fire animation on title */
.ars-queima-alho__title::before,
.ars-queima-alho__title::after {
    content: '🔥';
    position: absolute;
    top: -10px;
    font-size: 1.5rem;
    animation: flicker 0.5s infinite alternate;
}

.ars-queima-alho__title::before {
    left: -2rem;
}

.ars-queima-alho__title::after {
    right: -2rem;
}

.ars-queima-alho__subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    opacity: 0.8;
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
}

/* Institutions Grid */
.ars-queima-institutions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.ars-institution {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    transition: all var(--anim-normal);
    opacity: 0;
    transform: translateY(30px);
}

.ars-institution.visible {
    animation: slideUp var(--anim-slow) var(--ease-out-expo) forwards;
}

.ars-institution:hover {
    border-color: var(--accent-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(255, 111, 0, 0.2);
}

.ars-institution__logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-orange);
}

.ars-institution__name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.ars-institution__desc {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.7;
    line-height: 1.6;
}

.ars-institution__badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 111, 0, 0.2);
    color: var(--accent-orange);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Impact Counter */
.ars-queima-impact {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 111, 0, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.ars-queima-impact__number {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--accent-orange);
    display: block;
}

.ars-queima-impact__label {
    font-size: 1.2rem;
    color: var(--text-light);
    opacity: 0.8;
}

.ars-queima-alho__cta {
    text-align: center;
}

/* --- Queima Areas Grid --- */
.ars-queima-areas__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.ars-queima-areas__card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-top: 4px solid #E65100;
}

/* --- Queima Selling Grid --- */
.ars-queima-selling__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.ars-queima-selling__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

/* =========================================
   7. ARTIST SPOTLIGHT WIDGET
   ========================================= */
.ars-artist-spotlight {
    padding: 4rem 2rem;
    background: var(--bg-dark);
}

.ars-artist-spotlight__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.ars-artist-spotlight--reversed .ars-artist-spotlight__inner {
    direction: rtl;
}

.ars-artist-spotlight--reversed .ars-artist-spotlight__inner>* {
    direction: ltr;
}

/* Image Side */
.ars-artist-spotlight__image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.ars-artist-spotlight__image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform var(--anim-slow);
}

.ars-artist-spotlight:hover .ars-artist-spotlight__image {
    transform: scale(1.05);
}

/* Duotone overlay */
.ars-artist-spotlight__image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(198, 40, 40, 0.3) 0%, transparent 50%);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.ars-artist-spotlight__date-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--primary-red);
    color: white;
    font-family: var(--font-heading);
    font-size: 1rem;
    border-radius: var(--radius-sm);
    z-index: 2;
}

/* Content Side */
.ars-artist-spotlight__content {
    padding: 2rem 0;
}

.ars-artist-spotlight__name {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.ars-artist-spotlight__bio {
    font-size: 1.1rem;
    color: var(--text-light);
    opacity: 0.85;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.ars-artist-spotlight__bio--truncated {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ars-artist-spotlight__expand {
    background: none;
    border: none;
    color: var(--accent-gold);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-bottom: 2rem;
}

/* Social Links */
.ars-artist-spotlight__social {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ars-artist-spotlight__social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.2rem;
    transition: all var(--anim-fast);
}

.ars-artist-spotlight__social a:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 900px) {
    .ars-artist-spotlight__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ars-artist-spotlight--reversed .ars-artist-spotlight__inner {
        direction: ltr;
    }
}

/* =========================================
   8. ANIMATIONS - KEYFRAMES
   ========================================= */
@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.5);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(198, 40, 40, 0);
    }
}

@keyframes flicker {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* =========================================
   9. RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 768px) {
    .ars-timeline {
        flex-direction: column;
        overflow-x: visible;
        padding: 1rem;
    }

    .ars-day-card {
        flex: 0 0 auto;
        width: 100%;
    }

    .ars-about-immersive__content,
    .ars-venue-showcase__content,
    .ars-queima-alho__content {
        padding: 2rem 1rem;
    }

    .ars-venue-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .ars-queima-institutions {
        grid-template-columns: 1fr;
    }
}

/* Venue Showcase Mobile - Stack layout */
@media (max-width: 900px) {
    .ars-venue-showcase {
        padding: 4rem 1rem;
    }

    .ars-venue-showcase__container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1rem;
    }

    .ars-venue-info {
        text-align: center;
        gap: 2rem;
    }

    .ars-venue-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .ars-venue-subtitle {
        max-width: 100%;
    }

    .ars-venue-address-block {
        border-left: none;
        border-top: 2px solid #FFC107;
        padding-left: 0;
        padding-top: 1rem;
        text-align: center;
    }

    .ars-btn-apple {
        align-self: center;
    }

    .ars-venue-grid {
        grid-template-columns: 1fr;
    }

    .ars-amenities-card {
        grid-column: span 1;
    }

    .ars-stat-card {
        aspect-ratio: auto;
        padding: 1.5rem;
    }

    .ars-bento-card {
        padding: 1.5rem;
    }

    .ars-amenities-list {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

/* Queima do Alho - Mobile Responsive */
@media (max-width: 768px) {
    .ars-queima-areas__grid {
        grid-template-columns: 1fr;
    }

    .ars-queima-selling__grid {
        grid-template-columns: 1fr;
    }

    .ars-queima-areas,
    .ars-queima-map,
    .ars-queima-selling {
        margin-top: 2rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .ars-queima-areas__card {
        padding: 1.25rem;
    }

    .ars-queima-alho-v2 {
        padding: 2rem 0 !important;
    }

    .ars-amenities-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .ars-venue-stats {
        grid-template-columns: 1fr;
    }
}

/* Global: Prevent horizontal overflow on mobile */
html, body {
    overflow-x: hidden;
}

/* =========================================
   10. ARS GRAVITY FORM WIDGET V2
   Clean layout style (like Queima do Alho)
   ========================================= */

/* Widget inherits layout from ars-venue-showcase base classes */

/* Title styling */
.ars-gf-v2__title {
    color: #C62828 !important;
    text-shadow: none !important;
}

/* Dark theme */
.ars-gf-v2--dark .ars-gf-v2__title {
    color: #FFC107 !important;
    text-shadow: 0 0 40px rgba(255, 193, 7, 0.3) !important;
}

.ars-gf-v2--dark .ars-venue-subtitle,
.ars-gf-v2--dark .ars-venue-full-address {
    color: rgba(248, 245, 242, 0.85) !important;
}

.ars-gf-v2--dark .ars-venue-address-block {
    border-color: #FFC107 !important;
}

/* Form Card Override */
.ars-gf-v2__form-card {
    padding: 2rem !important;
}

.ars-gf-v2__form-title {
    color: #C62828 !important;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.ars-gf-v2--dark .ars-gf-v2__form-title {
    color: #FFC107 !important;
}

/* Gravity Forms Styling - Light Theme */
.ars-gf-v2__form--light .gform_wrapper {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}

.ars-gf-v2__form--light .gform_wrapper .gform_body,
.ars-gf-v2__form--light .gform_wrapper .gform_fields,
.ars-gf-v2__form--light .gform_wrapper .gfield,
.ars-gf-v2__form--light .gform_wrapper .ginput_container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

.ars-gf-v2__form--light .gform_wrapper .gform_footer {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ars-gf-v2__form--light .gfield {
    margin-bottom: 1rem !important;
}

.ars-gf-v2__form--light .gfield_label {
    color: #4A0404 !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    margin-bottom: 0.4rem !important;
}

.ars-gf-v2__form--light .gfield_required {
    color: #C62828 !important;
}

.ars-gf-v2__form--light input[type="text"],
.ars-gf-v2__form--light input[type="email"],
.ars-gf-v2__form--light input[type="tel"],
.ars-gf-v2__form--light input[type="number"],
.ars-gf-v2__form--light textarea,
.ars-gf-v2__form--light select,
.ars-gf-v2__form--light input.medium,
.ars-gf-v2__form--light input.large,
.ars-gf-v2__form--light .ginput_container input,
.ars-gf-v2__form--light .ginput_container_email input,
.ars-gf-v2__form--light .ginput_container_phone input,
.ars-gf-v2__form--light .ginput_container_text input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.875rem 1rem !important;
    background: #fff !important;
    border: 1px solid rgba(198, 40, 40, 0.2) !important;
    border-radius: 10px !important;
    color: #4A0404 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.ars-gf-v2__form--light input:focus,
.ars-gf-v2__form--light textarea:focus,
.ars-gf-v2__form--light select:focus {
    border-color: #C62828 !important;
    box-shadow: 0 0 15px rgba(198, 40, 40, 0.15) !important;
    outline: none !important;
}

.ars-gf-v2__form--light ::placeholder {
    color: rgba(74, 4, 4, 0.4) !important;
}

/* Submit Button - Light Theme */
.ars-gf-v2__form--light input[type="submit"],
.ars-gf-v2__form--light button[type="submit"],
.ars-gf-v2__form--light .gform_button {
    width: 100% !important;
    padding: 1rem 2rem !important;
    background: #C62828 !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 20px rgba(198, 40, 40, 0.35) !important;
    margin-top: 0.5rem !important;
}

.ars-gf-v2__form--light input[type="submit"]:hover,
.ars-gf-v2__form--light button[type="submit"]:hover,
.ars-gf-v2__form--light .gform_button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(198, 40, 40, 0.45) !important;
    background: #B71C1C !important;
}

/* Gravity Forms Styling - Dark Theme */
.ars-gf-v2__form:not(.ars-gf-v2__form--light) .gform_wrapper {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}

.ars-gf-v2__form:not(.ars-gf-v2__form--light) .gform_wrapper .gform_body,
.ars-gf-v2__form:not(.ars-gf-v2__form--light) .gform_wrapper .gform_fields,
.ars-gf-v2__form:not(.ars-gf-v2__form--light) .gform_wrapper .gfield,
.ars-gf-v2__form:not(.ars-gf-v2__form--light) .gform_wrapper .ginput_container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

.ars-gf-v2__form:not(.ars-gf-v2__form--light) .gform_wrapper .gform_footer {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ars-gf-v2__form:not(.ars-gf-v2__form--light) .gfield {
    margin-bottom: 1rem !important;
}

.ars-gf-v2__form:not(.ars-gf-v2__form--light) .gfield_label {
    color: #F8F5F2 !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    margin-bottom: 0.4rem !important;
}

.ars-gf-v2__form:not(.ars-gf-v2__form--light) .gfield_required {
    color: #FFC107 !important;
}

.ars-gf-v2__form:not(.ars-gf-v2__form--light) input[type="text"],
.ars-gf-v2__form:not(.ars-gf-v2__form--light) input[type="email"],
.ars-gf-v2__form:not(.ars-gf-v2__form--light) input[type="tel"],
.ars-gf-v2__form:not(.ars-gf-v2__form--light) input[type="number"],
.ars-gf-v2__form:not(.ars-gf-v2__form--light) textarea,
.ars-gf-v2__form:not(.ars-gf-v2__form--light) select,
.ars-gf-v2__form:not(.ars-gf-v2__form--light) input.medium,
.ars-gf-v2__form:not(.ars-gf-v2__form--light) input.large,
.ars-gf-v2__form:not(.ars-gf-v2__form--light) .ginput_container input,
.ars-gf-v2__form:not(.ars-gf-v2__form--light) .ginput_container_email input,
.ars-gf-v2__form:not(.ars-gf-v2__form--light) .ginput_container_phone input,
.ars-gf-v2__form:not(.ars-gf-v2__form--light) .ginput_container_text input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.875rem 1rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 193, 7, 0.25) !important;
    border-radius: 10px !important;
    color: #F8F5F2 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.ars-gf-v2__form:not(.ars-gf-v2__form--light) input:focus,
.ars-gf-v2__form:not(.ars-gf-v2__form--light) textarea:focus,
.ars-gf-v2__form:not(.ars-gf-v2__form--light) select:focus {
    border-color: #FFC107 !important;
    background: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.2) !important;
    outline: none !important;
}

.ars-gf-v2__form:not(.ars-gf-v2__form--light) ::placeholder {
    color: rgba(248, 245, 242, 0.5) !important;
}

/* Submit Button - Dark Theme */
.ars-gf-v2__form:not(.ars-gf-v2__form--light) input[type="submit"],
.ars-gf-v2__form:not(.ars-gf-v2__form--light) button[type="submit"],
.ars-gf-v2__form:not(.ars-gf-v2__form--light) .gform_button {
    width: 100% !important;
    padding: 1rem 2rem !important;
    background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%) !important;
    color: #4A0404 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.35) !important;
    margin-top: 0.5rem !important;
}

.ars-gf-v2__form:not(.ars-gf-v2__form--light) input[type="submit"]:hover,
.ars-gf-v2__form:not(.ars-gf-v2__form--light) button[type="submit"]:hover,
.ars-gf-v2__form:not(.ars-gf-v2__form--light) .gform_button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.5) !important;
}

/* Validation Messages */
.ars-gf-v2__form .validation_error,
.ars-gf-v2__form .gfield_error .validation_message {
    background: rgba(198, 40, 40, 0.1) !important;
    border: 1px solid #C62828 !important;
    color: #C62828 !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    margin-bottom: 1rem !important;
    font-size: 0.9rem;
}

.ars-gf-v2--dark .ars-gf-v2__form .validation_error,
.ars-gf-v2--dark .ars-gf-v2__form .gfield_error .validation_message {
    background: rgba(198, 40, 40, 0.2) !important;
    color: #fff !important;
}

.ars-gf-v2__form .gfield_error input,
.ars-gf-v2__form .gfield_error textarea {
    border-color: #C62828 !important;
}

/* Confirmation Message - Premium Style */
.ars-gf-v2__form .gform_confirmation_message,
.ars-gf-v2__form .gform_confirmation_wrapper .gform_confirmation_message {
    background: linear-gradient(135deg, #FDFBF7 0%, #FFF8E1 100%) !important;
    border: 2px solid #C62828 !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    text-align: center !important;
    box-shadow: 0 8px 30px rgba(198, 40, 40, 0.15) !important;
    font-family: var(--font-body), system-ui, sans-serif !important;
}

.ars-gf-v2__form .gform_confirmation_message::before {
    content: '🎉';
    display: block;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.ars-gf-v2__form .gform_confirmation_message {
    color: #4A0404 !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
}

.ars-gf-v2__form .gform_confirmation_message strong,
.ars-gf-v2__form .gform_confirmation_message b {
    color: #C62828 !important;
    font-weight: 700 !important;
}

/* Dark theme confirmation */
.ars-gf-v2--dark .ars-gf-v2__form .gform_confirmation_message,
.ars-gf-v2--dark .ars-gf-v2__form .gform_confirmation_wrapper .gform_confirmation_message {
    background: linear-gradient(135deg, rgba(26, 15, 10, 0.95) 0%, rgba(40, 20, 10, 0.95) 100%) !important;
    border-color: #FFC107 !important;
    color: #F8F5F2 !important;
    box-shadow: 0 8px 30px rgba(255, 193, 7, 0.15) !important;
}

.ars-gf-v2--dark .ars-gf-v2__form .gform_confirmation_message strong,
.ars-gf-v2--dark .ars-gf-v2__form .gform_confirmation_message b {
    color: #FFC107 !important;
}

/* Spinner */
.ars-gf-v2__form .gform_ajax_spinner {
    margin-left: 10px;
}

/* Responsive */
@media screen and (max-width: 900px) {
    .ars-gf-v2__form-card {
        padding: 1.5rem !important;
    }
}

/* =========================================
   11. REDUCED MOTION
   ========================================= */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}