/* Cardio 2017 - Cardiologia - Design Otimizado */
:root {
    --vermelho: #DC143C;
    --vermelho-claro: #FF6B7D;
    --branco: #FFF;
    --cinza-claro: #F8F9FA;
    --cinza-escuro: #2C3E50;
    --sombra: rgba(220, 20, 60, 0.1);
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: #2C3E50;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 30%, #FFE4E1 70%, #FFF5F5 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(220, 20, 60, 0.05) 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, #DC143C 0%, #FF0000 50%, #B22222 100%);
    background-size: 200% 200%;
    color: var(--branco);
    padding: 2rem 0;
    box-shadow: 0 8px 32px rgba(220, 20, 60, 0.25);
    backdrop-filter: blur(10px);
    animation: heartBeat 2s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { background-position: 0% 50%; transform: scale(1); }
    50% { background-position: 100% 50%; transform: scale(1.01); }
}

.logo { text-align: center; }
.logo h1 {
    font-size: 3rem;
    font-weight: 800;
    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, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.95) 0%, rgba(178, 34, 34, 0.90) 100%);
    padding: 5rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '❤️';
    position: absolute;
    top: -20px; right: 10%;
    font-size: 12rem;
    opacity: 0.06;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.06; }
    50% { transform: scale(1.05); opacity: 0.1; }
}

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

.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: #FFC0CB;
    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(220, 20, 60, 0.08);
    border: 2px solid rgba(220, 20, 60, 0.1);
    transition: all 0.5s;
}

.content-section:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(220, 20, 60, 0.15);
    border-color: #DC143C;
}

.content-section h2 {
    color: var(--vermelho);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 700;
}

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

/* 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(--vermelho);
    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(--vermelho);
}

.timeline-date {
    background: var(--vermelho);
    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(--vermelho);
    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, #FFF5F5 0%, #FFE4E1 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--vermelho);
}

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

/* Program Schedule */
.program-schedule {
    margin-top: 2rem;
}

.day-schedule {
    background: var(--cinza-claro);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--vermelho);
}

.day-schedule h4 {
    color: var(--vermelho);
    margin-bottom: 1rem;
}

.day-schedule ul {
    list-style: none;
    padding: 0;
}

.day-schedule li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #E9ECEF;
}

/* 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(--vermelho);
    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;
}

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

.innovation-item {
    background: linear-gradient(135deg, #FFE4E1 0%, #FFF5F5 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(220, 20, 60, 0.1);
    transition: all 0.3s;
}

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

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

/* Benefits Accordion */
.benefits-accordion {
    margin-top: 2rem;
}

.accordion-item {
    margin-bottom: 1rem;
    border: 1px solid #E9ECEF;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    background: var(--cinza-claro);
    color: var(--vermelho);
    padding: 1.5rem;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #F1F3F4;
}

.accordion-header.active {
    background: var(--vermelho);
    color: white;
}

.accordion-content {
    display: none;
    padding: 1.5rem;
    background: white;
    border-top: 1px solid #E9ECEF;
}

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

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