/* ── Hero Component ─────────────────────────────────────────────────────────── */

.hero {
    --hero-bg-img: none;
    position: relative;
    overflow: hidden;
    background-color: var(--color-surface);
    padding-block: clamp(4rem, 10vw, 8rem);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg-img);
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
}

.hero .container { position: relative; z-index: 1; }

/* Layout */
.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero__actions { justify-content: center; }
}

/* Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: rgba(var(--color-primary-rgb), 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(var(--color-primary-rgb), 0.2);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-family: var(--font-body);
    margin-bottom: 1.25rem;
}

/* Title */
.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin: 0 0 1.25rem;
}

/* Subtitle */
.hero__subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    color: color-mix(in srgb, var(--color-text) 65%, transparent);
    margin: 0 0 2rem;
    max-width: 48ch;
}

/* Actions */
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    align-items: center;
}

/* Visual side */
.hero__visual {
    position: relative;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero__visual { display: none; }
}

.hero__glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.hero__shape {
    position: absolute;
    border-radius: var(--radius-md);
    opacity: 0.6;
}

.hero__shape--1 {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.15), rgba(var(--color-primary-rgb), 0.05));
    border: 1px solid rgba(var(--color-primary-rgb), 0.15);
    top: 30px;
    right: 30px;
    transform: rotate(12deg);
}

.hero__shape--2 {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.1), transparent);
    border: 1px solid rgba(var(--color-primary-rgb), 0.1);
    bottom: 40px;
    left: 40px;
    transform: rotate(-8deg);
}

/* Floating card */
.hero__card-float {
    position: absolute;
    bottom: 20px;
    right: 0;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.875rem 1.25rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    animation: float 4s ease-in-out infinite;
}

.hero__card-float-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
}

.hero__card-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.hero__card-float-inner strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

.hero__card-float-inner span {
    font-size: 0.75rem;
    color: #22c55e;
    font-weight: 600;
}

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

/* ── Hero v2 — Evento ───────────────────────────────────────────────────────── */

.hero--v2 {
    --hero-bg-img: none;
    position: relative;
    background: linear-gradient(160deg, #0d0d1a 0%, #1a1240 60%, #0d0d1a 100%);
    padding-block: clamp(5rem, 14vw, 10rem);
    text-align: center;
    overflow: hidden;
}

.hero--v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg-img);
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(var(--color-primary-rgb), 0.25) 0%, transparent 65%);
    z-index: 0;
    pointer-events: none;
}

.hero-v2__inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin-inline: auto;
}

.hero-v2__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: #fff;
    margin: 0 0 1.25rem;
}

.hero-v2__subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.0625rem, 2.5vw, 1.3125rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin: 0 0 1.75rem;
}

.hero-v2__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    list-style: none;
    margin: 0 0 2.5rem;
}

.hero-v2__meta li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.hero-v2__meta svg { opacity: 0.7; flex-shrink: 0; }

.hero-v2__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    justify-content: center;
    align-items: center;
}

/* Outline white button */
.btn--outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-1px);
}

/* Large button modifier */
.btn--lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

/* Video button */
.hero-v2__video-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.15s;
}

.hero-v2__video-btn:hover { color: #fff; text-decoration: none; }

.hero-v2__play {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: background 0.15s, transform 0.15s;
}

.hero-v2__video-btn:hover .hero-v2__play {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.08);
}

/* ── Shared Button Styles (used site-wide) ─────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    line-height: 1;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(var(--color-primary-rgb), 0.35);
}

.btn--primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 24px rgba(var(--color-primary-rgb), 0.45);
    transform: translateY(-1px);
}

.btn--ghost {
    background-color: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}

.btn--ghost:hover {
    background-color: var(--color-surface);
    transform: translateY(-1px);
}

.btn--secondary {
    background-color: var(--color-secondary);
    color: var(--color-text);
}
