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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(to bottom right, rgba(109, 179, 232, 0.1) 0%, white 50%, rgba(232, 123, 123, 0.1) 100%);
    min-height: 100vh;
    color: #1f2937;
    line-height: 1.6;
}

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

/* Header */
header {
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 32px 16px;
}

.logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-placeholder {
    width: 128px;
    height: 128px;
    background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    flex-shrink: 0;
}

.header-title {
    font-size: 48px;
    font-weight: 800;
    color: #1f2937;
    text-align: center;
    background: linear-gradient(135deg, #6DB3E8 0%, #E87B7B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1.5px;
    line-height: 1.3;
    text-shadow: none;
    margin-bottom: 8px;
}

/* Main Content */
main {
    padding: 32px 0;
}

.titulo-principal {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin: 0 auto 40px;
    padding: 20px 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, rgba(109, 179, 232, 0.15) 0%, rgba(232, 123, 123, 0.15) 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #6DB3E8;
    border-right: 5px solid #E87B7B;
    max-width: 800px;
}

.etapas-section {
    background-color: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 2px solid #6DB3E8;
    margin-bottom: 48px;
}

.section-title {
    text-align: center;
    color: #6DB3E8;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 15px;
    margin-bottom: 24px;
}

.etapas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.etapa-card {
    background-color: white;
    border-radius: 12px;
    padding: 16px;
    border: 2px solid;
    transition: transform 0.2s, box-shadow 0.2s;
}

.etapa-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.etapa-card.azul {
    border-color: #6DB3E8;
}

.etapa-card.rosa {
    border-color: #E87B7B;
}

.etapa-header {
    margin-bottom: 12px;
}

.etapa-nome {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.etapa-card.azul .etapa-nome {
    color: #6DB3E8;
}

.etapa-card.rosa .etapa-nome {
    color: #E87B7B;
}

.etapa-idade {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background-color: #1f2937;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.vagas-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.vagas-total {
    color: #6b7280;
    font-weight: 500;
}

.vagas-ocupadas {
    color: #6b7280;
}

.vagas-disponiveis {
    font-weight: 500;
}

.vagas-disponiveis.disponivel {
    color: #10b981;
}

.vagas-disponiveis.poucas {
    color: #f59e0b;
}

.vagas-disponiveis.esgotado {
    color: #dc2626;
}

/* Informações de Turnos */
.turnos-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}

.turno-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.2s;
}

.turno-item:hover {
    background: #f3f4f6;
}

.turno-item.sem-vagas {
    background: #fee2e2;
    color: #991b1b;
}

.turno-icon {
    flex-shrink: 0;
    color: #6b7280;
}

.turno-item.sem-vagas .turno-icon {
    color: #dc2626;
}

.turno-nome {
    flex: 1;
    color: #374151;
    font-weight: 500;
}

.turno-item.sem-vagas .turno-nome {
    color: #991b1b;
}

.turno-vagas {
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.turno-vagas.disponivel {
    background: #d1fae5;
    color: #065f46;
}

.turno-vagas.poucas {
    background: #fed7aa;
    color: #92400e;
}

.turno-vagas.esgotado {
    background: #fee2e2;
    color: #991b1b;
}

/* Informações Importantes */
.info-section {
    background: linear-gradient(to right, rgba(109, 179, 232, 0.1), rgba(232, 123, 123, 0.1));
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 48px;
}

.info-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
    color: #374151;
}

.info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.info-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.info-icon.azul {
    color: #6DB3E8;
}

.info-icon.rosa {
    color: #E87B7B;
}

.info-content strong {
    font-weight: 600;
}

/* Button */
.button-container {
    text-align: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #E87B7B;
    color: white;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #d66a6a;
}

.cta-button-disabled {
    background-color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.cta-button-disabled:hover {
    background-color: #999;
}

.cta-button-icon {
    width: 20px;
    height: 20px;
}

/* Footer */
footer {
    background-color: white;
    padding: 24px 16px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    border-top: 1px solid #e5e7eb;
    margin-top: 48px;
}

/* Responsive */
@media (max-width: 1024px) {
    .etapas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-title {
        font-size: 20px;
    }

    .logo, .logo-placeholder {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }

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

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