/* Congresso de Bioética 2009 - Design Otimizado */
:root {
    --roxo: #4B0082;
    --roxo-claro: #6A0DAD;
    --dourado: #FFD700;
    --branco: #FFF;
    --cinza-claro: #F8F9FA;
    --cinza-escuro: #2C3E50;
    --sombra: rgba(75, 0, 130, 0.1);
}

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

body {
    font-family: 'Georgia', serif;
    color: #2C3E50;
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F0FF 30%, #FFF8E1 70%, #FAFAFA 100%);
    background-attachment: fixed;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 25% 35%, rgba(75, 0, 130, 0.04) 0%, transparent 50%), radial-gradient(circle at 75% 65%, rgba(255, 215, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #4B0082 0%, #6A0DAD 50%, #FFD700 100%);
    background-size: 200% 200%;
    color: var(--branco);
    padding: 2rem 0;
    box-shadow: 0 8px 32px rgba(75, 0, 130, 0.25);
    backdrop-filter: blur(10px);
    animation: headerGlow 10s ease infinite;
}

@keyframes headerGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.logo { text-align: center; }
.logo h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    margin-bottom: 0.5rem;
}

.main-navigation ul {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    list-style: none;
    flex-wrap: wrap;
}

.main-navigation a {
    color: var(--branco);
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.main-navigation a:hover {
    background: rgba(255, 215, 0, 0.3);
    transform: translateY(-3px);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.95) 0%, rgba(106, 13, 173, 0.90) 100%);
    padding: 5rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '⚖️';
    position: absolute;
    top: -30px; right: 10%;
    font-size: 10rem;
    opacity: 0.08;
    animation: rotate 20s linear infinite;
}

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

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4);
    animation: slideDown 1s ease-out;
}

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

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dourado);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Content Sections */
.content-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    margin: 3rem 0;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(75, 0, 130, 0.08);
    border: 2px solid rgba(75, 0, 130, 0.1);
    transition: all 0.5s;
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.02), rgba(255, 215, 0, 0.02));
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.content-section:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(75, 0, 130, 0.15);
    border-color: #4B0082;
}

.content-section:hover::before {
    opacity: 1;
}

.content-section h2 {
    color: var(--roxo);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100px; height: 4px;
    background: linear-gradient(90deg, #4B0082, #FFD700);
    border-radius: 2px;
}

.content-section p {
    color: #5A6A7A;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-section a {
    color: var(--roxo);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s;
}

.content-section a:hover {
    color: var(--roxo-claro);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--sombra);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--roxo);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Timeline */
.timeline {
    margin-top: 2rem;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: -2rem;
    width: 2px;
    background: var(--roxo);
}

.timeline-date {
    background: var(--roxo);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-right: 2rem;
    min-width: 80px;
    text-align: center;
}

.timeline-content h4 {
    color: var(--roxo);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Program Highlights */
.program-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.highlight-card {
    background: linear-gradient(135deg, #F5F0FF 0%, #FFF8E1 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--roxo);
}

.highlight-card h4 {
    color: var(--roxo);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Speakers Grid */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.speaker-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--sombra);
    text-align: center;
    transition: transform 0.3s;
}

.speaker-card:hover {
    transform: translateY(-5px);
}

.speaker-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.speaker-card h4 {
    color: var(--roxo);
    margin-bottom: 0.5rem;
}

.speaker-title {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.speaker-specialty {
    color: #5A6A7A;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Debates Showcase */
.debates-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.debate-item {
    background: linear-gradient(135deg, #F0F8FF 0%, #FFF5EE 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(75, 0, 130, 0.1);
    transition: all 0.3s;
}

.debate-item:hover {
    border-color: var(--roxo);
    transform: translateY(-3px);
}

.debate-item h4 {
    color: var(--roxo);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Impact Metrics */
.impact-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.metric-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--sombra);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--roxo);
    margin-bottom: 0.5rem;
}

.metric-label {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Legacy Content */
.legacy-content {
    background: var(--cinza-claro);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.legacy-content h3 {
    color: var(--roxo);
    margin-bottom: 1rem;
}

.legacy-content ul {
    list-style: none;
    padding: 0;
}

.legacy-content li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #E9ECEF;
    position: relative;
    padding-left: 1.5rem;
}

.legacy-content li::before {
    content: '✓';
    color: var(--roxo);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #4B0082 0%, #6A0DAD 100%);
    color: white;
    text-align: center;
    padding: 3rem 0;
    border-top: 3px solid #FFD700;
}

.site-footer p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 { font-size: 2.5rem; }
    .logo h1 { font-size: 2.2rem; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    .main-navigation ul { flex-direction: column; gap: 0.5rem; }
    .feature-grid, .program-highlights, .speakers-grid, .debates-showcase {
        grid-template-columns: 1fr;
    }
    .timeline-item { flex-direction: column; }
    .timeline-item::before { display: none; }
    .timeline-date { margin-bottom: 1rem; margin-right: 0; }
}
