@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap");

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #f59e0b;
    --success: #10b981;
    --background: #ffffff;
    --surface: #f8fafc;
    --text: #1e293b;
    --text-secondary: #64748b;
    --border: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo a {
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: var(--primary);
    outline: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    margin-top: 68px;
    overflow: hidden;
    /* Added dark background color as fallback */
    background-color: #1e293b;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Added dark background to prevent white background showing */
    background-color: #1e293b;
}

/* Added dark overlay gradient to improve text readability */
/* Increased overlay opacity for better text contrast */
.slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.92) 0%,
        rgba(30, 41, 59, 0.88) 50%,
        rgba(79, 70, 229, 0.85) 100%
    );
    z-index: 1;
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* Reduced image opacity so background is darker */
    opacity: 0.6;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 40px;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.slide-title {
    font-family: "Playfair Display", serif;
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.slide-description {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
    font-weight: 400;
}

.slide-meta {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.slide-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.slider-nav:hover,
.slider-nav:focus {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    outline: 2px solid white;
}

.slider-nav.prev {
    left: 40px;
}

.slider-nav.next {
    right: 40px;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.dot:hover,
.dot:focus {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
    outline: none;
}

.dot.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: "Inter", sans-serif;
}

.btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    outline: 2px solid white;
}

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

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    outline: 2px solid var(--primary);
}

/* Events Section */
.events-section {
    padding: 100px 0;
    background: var(--surface);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text);
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}
.event-card a {
    text-decoration: none;
    color: inherit;
}

.event-card a:hover {
    text-decoration: underline; /* opcional, se quiser no hover */
}

.event-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
}

.event-card:hover,
.event-card:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-lg);
}

.event-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.event-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-design {
    background: var(--secondary);
}

.badge-business {
    background: var(--success);
}

.badge-marketing {
    background: var(--accent);
}

.event-content {
    padding: 28px;
}

.event-content h3 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
    line-height: 1.3;
}

.event-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 14px;
}

.event-meta svg {
    flex-shrink: 0;
}

.event-excerpt {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Event Details Page */
.event-hero {
    position: relative;
    height: 70vh;
    margin-top: 68px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.event-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.event-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.event-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 60px 0;
    width: 100%;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    margin-bottom: 24px;
    font-weight: 500;
    transition: var(--transition);
}

.back-link:hover,
.back-link:focus {
    gap: 12px;
    outline: 2px solid white;
    border-radius: 4px;
    padding: 4px 8px;
}

.event-hero-title {
    font-family: "Playfair Display", serif;
    font-size: 56px;
    font-weight: 800;
    margin: 20px 0;
    line-height: 1.2;
}

.event-hero-meta {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

/* Event Details Grid */
.event-details-section {
    padding: 80px 0;
}

.event-details-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
}

.event-main-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.content-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 2px 10px var(--shadow);
}

.content-card h2 {
    font-family: "Playfair Display", serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}

.event-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

.event-description p {
    margin-bottom: 16px;
}

/* Speakers */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.speaker-card {
    text-align: center;
}

.speaker-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 16px;
    object-fit: cover;
    border: 4px solid var(--surface);
}

.speaker-name {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--text);
}

.speaker-title {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Schedule */
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.schedule-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.schedule-item:hover {
    background: #f1f5f9;
}

.schedule-time {
    font-weight: 700;
    color: var(--primary);
    min-width: 80px;
    font-size: 16px;
}

.schedule-content h4 {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--text);
}

.schedule-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Benefits */
.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.benefits-list li::before {
    content: "✓";
    color: var(--success);
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

/* Sidebar */
.event-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 2px 10px var(--shadow);
}

.sticky-card {
    position: sticky;
    top: 100px;
}

.sidebar-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.sidebar-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.event-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.info-value {
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.social-share {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.social-share p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.social-buttons {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}



.social-btn:hover,
.social-btn:focus {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    outline: 2px solid var(--primary);
}


/* Registration Page */
.registration-section {
    padding: 120px 0 100px;
    background: var(--surface);
    min-height: 100vh;
}

.registration-header {
    text-align: center;
    margin-bottom: 48px;
}

.registration-header h1 {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: 800;
    margin: 20px 0 12px;
    color: var(--text);
}

.registration-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.registration-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    padding: 0 40px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition);
    z-index: 2;
}

.step.active .step-number {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.step-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
}

.step.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin: 0 -20px;
    margin-bottom: 32px;
}

/* Registration Form */
.registration-form {
    background: white;
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: 0 4px 20px var(--shadow);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step h2 {
    font-family: "Playfair Display", serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.form-description {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select {
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: "Inter", sans-serif;
    transition: var(--transition);
    background: white;
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input.error,
.form-group select.error {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 13px;
    display: none;
}

.error-message:not(:empty) {
    display: block;
}

.form-help {
    color: var(--text-secondary);
    font-size: 13px;
}

.checkbox-group {
    margin: 24px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    color: var(--text);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

/* Confirmation */
.confirmation-card {
    background: var(--surface);
    border-radius: var(--radius-sm);
    padding: 32px;
    margin-bottom: 32px;
}

.confirmation-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}

.confirmation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.confirmation-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.confirmation-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.confirmation-value {
    font-size: 16px;
    color: var(--text);
    font-weight: 600;
}

/* Success Message */
.success-message {
    background: white;
    border-radius: var(--radius);
    padding: 64px 48px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.success-message h2 {
    font-family: "Playfair Display", serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.success-message p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--text);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-section h3 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover,
.footer-section a:focus {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 68px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 68px);
        background: white;
        flex-direction: column;
        padding: 40px;
        gap: 24px;
        transition: var(--transition);
        box-shadow: 0 4px 20px var(--shadow);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .slide-title {
        font-size: 40px;
    }

    .slide-description {
        font-size: 16px;
    }

    .slider-nav {
        width: 44px;
        height: 44px;
    }

    .slider-nav.prev {
        left: 20px;
    }

    .slider-nav.next {
        right: 20px;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-hero {
        height: 60vh;
    }

    .event-hero-title {
        font-size: 36px;
    }

    .event-details-grid {
        grid-template-columns: 1fr;
    }

    .event-sidebar {
        order: -1;
    }

    .sticky-card {
        position: static;
    }

    .progress-steps {
        padding: 0;
    }

    .step-label {
        font-size: 12px;
    }

    .registration-form {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 32px;
    }

    .slide-meta {
        flex-direction: column;
        gap: 12px;
    }

    .content-card {
        padding: 24px;
    }

    .speakers-grid {
        grid-template-columns: 1fr;
    }

    .registration-header h1 {
        font-size: 32px;
    }
}

/* Focus Visible for Accessibility */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}
/* ===== CONSULTA GRID ===== */
.consulta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

/* ===== CARD ===== */
.consulta-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.consulta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0,0,0,.12);
}

/* ===== HEADER ===== */
.consulta-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
    margin-bottom: 16px;
}

.consulta-card-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}

/* ===== STATUS ===== */
.status {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
}

.status-publicado {
    background: #dcfce7;
    color: #166534;
}

.status-rascunho {
    background: #e5e7eb;
    color: #374151;
}

/* ===== FREQUÊNCIA ===== */
.consulta-frequencia {
    margin-bottom: 18px;
}

.frequencia-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.frequencia-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 6px;
}

.frequencia-fill {
    height: 100%;
    border-radius: 999px;
}

.frequencia-fill.ok {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.frequencia-fill.warn {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

/* ===== ACTIONS ===== */
.consulta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-outline {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    border: 1px solid;
    text-decoration: none;
    transition: all .2s ease;
}

.btn-outline.success {
    border-color: #22c55e;
    color: #166534;
}

.btn-outline.success:hover {
    background: #dcfce7;
}

.btn-outline.primary {
    border-color: #6366f1;
    color: #4338ca;
}

.btn-outline.primary:hover {
    background: #eef2ff;
}

.certificate-validation-card {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

.validation-status {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.validation-status.success {
    background: #ecfdf5;
    color: #065f46;
}

.validation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.validation-grid .full {
    grid-column: span 2;
}

.validation-grid strong {
    display: block;
    color: #475569;
    margin-bottom: 4px;
}

.validation-grid p {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
}

.validation-grid .hash {
    font-family: monospace;
    background: #f1f5f9;
    padding: 10px;
    border-radius: 8px;
    word-break: break-all;
}

.validation-footer {
    margin-top: 30px;
    text-align: center;
    color: #64748b;
    font-size: .9rem;
}
/* ===== STATUS EXTRA ===== */
.validation-status.danger {
    background: #fef2f2;
    color: #991b1b;
}

/* ===== BOTÕES PADRÃO ===== */
.btn-outline {
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .25s ease;
}

.btn-outline.primary {
    border: 2px solid #6366f1;
    color: #6366f1;
}

.btn-outline.primary:hover {
    background: #6366f1;
    color: #fff;
}

.btn-outline.success {
    border: 2px solid #22c55e;
    color: #22c55e;
}

.btn-outline.success:hover {
    background: #22c55e;
    color: #fff;
}

/* ===== GRID CONSULTA ===== */
.consulta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* ===== CARD CONSULTA ===== */
.consulta-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ===== HEADER ===== */
.consulta-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.consulta-card-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

/* ===== STATUS ===== */
.status {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
}

.status-publicado {
    background: #dcfce7;
    color: #166534;
}

.status-rascunho {
    background: #e5e7eb;
    color: #374151;
}

/* ===== FREQUÊNCIA ===== */
.consulta-frequencia {
    margin: 18px 0;
}

.frequencia-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.frequencia-info span {
    color: #64748b;
}

.frequencia-info strong {
    font-size: 1.1rem;
}

/* ===== BARRA ===== */
.frequencia-bar {
    background: #e5e7eb;
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}

.frequencia-fill {
    height: 100%;
    border-radius: 999px;
}

.frequencia-fill.ok {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.frequencia-fill.warn {
    background: linear-gradient(90deg, #f87171, #dc2626);
}

/* ===== ACTIONS ===== */
.consulta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

/* ===== MOBILE ===== */
@media (max-width: 640px) {
    .validation-grid {
        grid-template-columns: 1fr;
    }

    .validation-grid .full {
        grid-column: span 1;
    }
}

.footer-validacao {
    position: absolute;
    bottom: 14mm;
    right: 18mm;
    z-index: 20;

    background: #0f172a; /* azul escuro elegante */
    color: #e5e7eb;

    border-radius: 10px;
    padding: 10px 14px;
    max-width: 95mm;

    font-size: 9.5px;
    line-height: 1.4;
    font-family: DejaVu Sans, monospace;

    box-shadow: 0 8px 25px rgba(0,0,0,.25);
}

.footer-validacao strong {
    display: block;
    font-size: 10px;
    color: #38bdf8;
    margin-bottom: 2px;
}

.footer-validacao .hash {
    background: rgba(255,255,255,.08);
    padding: 4px 6px;
    border-radius: 6px;
    margin-top: 4px;
    word-break: break-all;
}

/* =====================================================
   NOVOS ESTILOS - REDESIGN PROFISSIONAL
   ===================================================== */

/* ===== LOGO REDESENHADO ===== */
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

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

.logo-title {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===== NAVEGAÇÃO COM ÍCONES ===== */
.nav-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-icon {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    transition: var(--transition);
}

.nav-menu a:hover .nav-icon,
.nav-menu a:focus .nav-icon {
    opacity: 1;
}

/* Destaque para Consultar Inscrição */
.nav-highlight {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: var(--transition);
}

.nav-highlight:hover,
.nav-highlight:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    color: white !important;
}

.nav-highlight::after {
    display: none !important;
}

.nav-highlight .nav-icon {
    opacity: 1;
    stroke: white;
}

/* Link ativo */
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active .nav-icon {
    opacity: 1;
}

/* ===== ÍCONES DE META (data, local, hora) ===== */
.meta-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.9;
}

.slide-meta .meta-icon,
.event-hero-meta .meta-icon {
    stroke: white;
}

.event-meta .meta-icon {
    stroke: var(--primary);
    width: 16px;
    height: 16px;
}

/* ===== FOOTER REDESENHADO ===== */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.footer-logo svg {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.footer-logo h3 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    margin-bottom: 2px;
}

.footer-logo p {
    font-size: 12px;
    opacity: 0.7;
    margin: 0;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
}

.footer-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.7;
}

.footer-section ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section ul li a:hover .footer-icon,
.footer-section ul li a:focus .footer-icon {
    opacity: 1;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

/* Redes sociais do footer */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: white;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover,
.social-link:focus {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-dev {
    font-size: 13px;
    opacity: 0.5;
}

/* ===== FORMULÁRIO - TEXTAREA ===== */
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: "Inter", sans-serif;
    transition: var(--transition);
    background: white;
    color: var(--text);
    min-height: 100px;
    resize: vertical;
    width: 100%;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea.error {
    border-color: #ef4444;
}

/* ===== PROGRESS STEPS MELHORADOS ===== */
.step.completed .step-number {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.step.completed .step-number::after {
    content: "✓";
    font-size: 18px;
}

.step.completed .step-label {
    color: var(--success);
}

.step-line.completed {
    background: var(--success);
}

/* Animação no step ativo */
.step.active .step-number {
    animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

/* ===== ALERT WARNING ===== */
.alert-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    border-radius: var(--radius-sm);
    color: #92400e;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
}

.alert-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: #d97706;
}

/* ===== BOTÕES MELHORADOS ===== */
.btn-primary,
.btn-secondary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.btn-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    left: 100%;
}

/* Botão com loading state */
.btn-loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-loading::after {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== CARDS COM MICRO-ANIMAÇÕES ===== */
.event-card {
    position: relative;
}

.event-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: var(--radius) var(--radius) 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.event-card:hover::before,
.event-card:focus-within::before {
    transform: scaleX(1);
}

/* ===== ANIMAÇÕES DE ENTRADA ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-card {
    animation: fadeInUp 0.6s ease backwards;
}

.event-card:nth-child(1) { animation-delay: 0.1s; }
.event-card:nth-child(2) { animation-delay: 0.2s; }
.event-card:nth-child(3) { animation-delay: 0.3s; }
.event-card:nth-child(4) { animation-delay: 0.4s; }
.event-card:nth-child(5) { animation-delay: 0.5s; }
.event-card:nth-child(6) { animation-delay: 0.6s; }

/* ===== HERO SLIDER MELHORADO ===== */
.slide-content {
    animation: none;
}

.slide.active .slide-content {
    animation: slideContentIn 0.8s ease-out;
}

@keyframes slideContentIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.slide-badge {
    animation: badgePop 0.5s ease-out 0.3s backwards;
}

@keyframes badgePop {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Indicador de autoplay no slider */
.slider-dots .dot.active {
    position: relative;
    overflow: hidden;
}

.slider-dots .dot.active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    animation: dotProgress 5s linear infinite;
}

@keyframes dotProgress {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* ===== STATUS BADGES MELHORADOS ===== */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ===== HOVER EFFECTS GLOBAIS ===== */
a, button {
    transition: var(--transition);
}

/* ===== SCROLL SUAVE PARA SEÇÕES ===== */
html {
    scroll-padding-top: 100px;
}

/* ===== SELECTION STYLE ===== */
::selection {
    background: var(--primary);
    color: white;
}

/* ===== SCROLLBAR CUSTOMIZADA ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--surface);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== RESPONSIVO PARA NOVOS ELEMENTOS ===== */
@media (max-width: 768px) {
    .logo-icon {
        width: 38px;
        height: 38px;
    }

    .logo-title {
        font-size: 18px;
    }

    .logo-subtitle {
        font-size: 10px;
    }

    .nav-highlight {
        padding: 8px 16px !important;
        font-size: 14px;
    }

    .nav-icon {
        width: 20px;
        height: 20px;
    }

    .footer-logo svg {
        width: 40px;
        height: 40px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }

    .alert-warning {
        font-size: 13px;
        padding: 12px 14px;
    }
}

@media (max-width: 480px) {
    .logo-subtitle {
        display: none;
    }

    .nav-menu a span:not(.nav-icon) {
        font-size: 14px;
    }
}

/* ===== PROGRESS STEPS AVANÇADOS ===== */
.step-number {
    position: relative;
}

.step-num {
    display: block;
}

.step-icon {
    display: none;
    width: 24px;
    height: 24px;
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step.completed .step-num {
    display: none;
}

.step.completed .step-icon {
    display: block;
}

.step.completed .step-number {
    background: var(--success);
    border-color: var(--success);
}

.step.completed .step-number::after {
    display: none;
}

/* ===== ÍCONES NOS BOTÕES ===== */
.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-primary .btn-icon,
.btn-secondary .btn-icon {
    stroke: currentColor;
}

/* ===== BOTÃO DE SUBMIT COM LOADING ===== */
.btn-submit.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-submit.loading .btn-icon {
    animation: spin 0.8s linear infinite;
}

/* ===== BACK LINK MELHORADO ===== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.registration-header .back-link {
    color: var(--text-secondary);
    background: white;
    border: 1px solid var(--border);
    margin-bottom: 16px;
}

.registration-header .back-link:hover {
    background: var(--surface);
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== SECTION HEADER MELHORADO ===== */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* ===== CONTENT CARD HOVER ===== */
.content-card {
    transition: var(--transition);
}

.content-card:hover {
    box-shadow: 0 8px 30px var(--shadow-lg);
}

/* ===== SIDEBAR CARD MELHORADO ===== */
.sidebar-card {
    border: 1px solid var(--border);
    transition: var(--transition);
}

.sidebar-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.1);
}

/* ===== REGISTRATION FORM CARD ===== */
.registration-form {
    border: 1px solid var(--border);
}

/* ===== FORM VALIDATION VISUAL ===== */
.form-group input:valid:not(:placeholder-shown),
.form-group select:valid {
    border-color: var(--success);
}

.form-group input:invalid:not(:placeholder-shown):not(:focus) {
    border-color: #fca5a5;
}

/* ===== EVENT HERO BADGES ===== */
.event-badge {
    animation: fadeInUp 0.5s ease-out 0.2s backwards;
}

.status-badge {
    animation: fadeInUp 0.5s ease-out 0.3s backwards;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px var(--shadow);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--text-secondary);
    opacity: 0.5;
}

.empty-state h3 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text);
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* ===== LOADING SKELETON ===== */
.skeleton {
    background: linear-gradient(90deg, var(--surface) 25%, #e2e8f0 50%, var(--surface) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ===== TOOLTIP ===== */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 8px 12px;
    background: var(--text);
    color: white;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .footer,
    .slider-nav,
    .slider-dots,
    .btn-primary,
    .btn-secondary,
    .social-share {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }

    .container {
        max-width: 100%;
    }
}

