/* 
   Eventos Mulher Viva — Premium Custom Styles
   Standard: Senior Designer / Front-end Senior
*/

:root {
    --mv-header-height: 80px;
    --mv-premium-gradient: linear-gradient(135deg, #241432 0%, #3B1F5C 40%, #5D3B8E 100%);
    --mv-card-shadow: 0 10px 30px -10px rgba(36, 20, 50, 0.12);
    --mv-card-shadow-hover: 0 20px 40px -15px rgba(36, 20, 50, 0.2);
}

/* Event Header (Sticky) Refinement */
.events-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(59, 31, 92, 0.08);
    box-shadow: 0 4px 20px rgba(36, 20, 50, 0.04);
}

.events-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--mv-header-height);
    padding: 0 var(--space-lg);
}

.events-header .brand-mark {
    height: 42px;
    width: auto;
    transition: opacity 0.3s ease;
}

.events-header .brand:hover .brand-mark {
    opacity: 0.8;
}

/* Mobile Sticky Bottom Bar */
.events-cta-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--mv-purple-900);
    padding: 14px 24px;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 1100;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .events-cta-sticky {
        display: flex;
    }

    body.has-sticky-cta {
        padding-bottom: 80px;
    }
}

/* Hero: Premium Versions */
.hero-premium,
.hero-event-hub {
    position: relative;
    text-align: center;
    padding-block: clamp(100px, 15vw, 180px);
    background: var(--mv-premium-gradient);
    color: var(--mv-white);
    overflow: hidden;
}

.hero-premium::before,
.hero-event-hub::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(142, 108, 170, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-premium .eyebrow,
.hero-event-hub .eyebrow {
    color: var(--mv-gold-400);
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: var(--space-md);
    display: block;
}

.hero-premium h1,
.hero-event-hub h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    font-weight: 700;
    color: var(--mv-white);
}

.hero-premium p,
.hero-event-hub p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 720px;
    margin: 0 auto var(--space-xl);
    opacity: 0.9;
    line-height: 1.6;
}

/* Page: Agenda (Hub) Grid & Cards */
.event-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    margin-top: var(--space-xl);
}

@media (max-width: 480px) {
    .event-grid {
        grid-template-columns: 1fr;
    }
}

.event-card {
    display: flex;
    flex-direction: column;
    background: var(--mv-white);
    border: 1px solid rgba(59, 31, 92, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: inherit;
    height: 100%;
    box-shadow: var(--mv-card-shadow);
}

.event-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--mv-card-shadow-hover);
}

.event-card__img {
    aspect-ratio: 16/10;
    background: var(--mv-lilac-100);
    position: relative;
    overflow: hidden;
}

.event-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.event-card__img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(36, 20, 50, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.event-card:hover .event-card__img::after {
    opacity: 1;
}

.event-card__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.event-card__badge .badge {
    background: rgba(255, 255, 255, 0.9);
    color: var(--mv-purple-900);
    backdrop-filter: blur(8px);
    font-weight: 700;
    border: none;
    padding: 6px 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.event-card__content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-card__date {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--mv-purple-700);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.event-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--mv-purple-900);
    line-height: 1.3;
}

.event-card p {
    color: var(--mv-warm-700);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.event-card__loc {
    font-size: 0.95rem;
    color: var(--mv-warm-800);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.event-card__footer {
    margin-top: auto;
    border-top: 1px solid rgba(59, 31, 92, 0.05);
    padding-top: 20px;
}

/* Purchase Section Refinement */
#comprar {
    padding-block: var(--space-xxl);
    background: #F9F7FA;
    border-top: 1px solid rgba(59, 31, 92, 0.05);
}

.purchase-card {
    max-width: 580px;
    margin: 0 auto;
    background: var(--mv-white);
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 30px 60px -20px rgba(36, 20, 50, 0.15);
    text-align: center;
    border: 1px solid rgba(59, 31, 92, 0.1);
    position: relative;
    overflow: hidden;
}

.purchase-card__price {
    font-size: clamp(3.5rem, 10vw, 4.5rem);
    font-weight: 800;
    color: var(--mv-purple-900);
    margin-block: 24px;
    letter-spacing: -0.02em;
}

.purchase-card__price span {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.6;
    vertical-align: super;
}

/* Form Styling - Premium */
.form-premium {
    gap: 20px;
    max-width: 520px;
    background: var(--mv-white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--mv-card-shadow);
}

.form-premium input {
    height: 56px;
    background: #FDFBFF;
    border: 1px solid #E5DFED;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-premium input:focus {
    background: var(--mv-white);
    border-color: var(--mv-purple-600);
    box-shadow: 0 0 0 4px rgba(93, 59, 142, 0.1);
}

/* Badges section */
.badge-refined {
    display: inline-flex;
    padding: 10px 20px;
    background: var(--mv-white);
    border: 1px solid #EEE6F5;
    border-radius: 100px;
    color: var(--mv-purple-800);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.badge-refined:hover {
    border-color: var(--mv-purple-300);
    background: #FDFBFF;
    transform: translateY(-2px);
}

/* Sections */
.section-title h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    color: var(--mv-purple-950);
    margin-bottom: 12px;
}

.section-title p {
    font-size: 1.15rem;
    color: var(--mv-warm-800);
}